coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Jason Gross <jasongross9 AT gmail.com>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Just for fun: From Coq to a paraconsistent poof assistant
- Date: Fri, 29 Mar 2019 00:21:07 -0400
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=jasongross9 AT gmail.com; spf=Pass smtp.mailfrom=jasongross9 AT gmail.com; spf=None smtp.helo=postmaster AT mail-ed1-f47.google.com
- Ironport-phdr: 9a23:JpeKMRb1214IQ4EDp9Xaqfb/LSx+4OfEezUN459isYplN5qZoMy+bnLW6fgltlLVR4KTs6sC17OO9fC9EjJbqb+681k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRoLerpBIHSk9631+ev8JHPfglEnjWwba5uIBmsrgjctsYajIpsJ60s1hbHv3xEdvhMy2h1P1yThRH85smx/J5n7Stdvu8q+tBDX6vnYak2VKRUAzs6PW874s3rrgTDQhCU5nQASGUWkwFHDBbD4RrnQ5r+qCr6tu562CmHIc37SK0/VDq+46t3ThLjlSEKPCM7/m7KkMx9lK1UoByjqBJ/zYDaY5ybOuRica7GZ9wWWXBMU9xNWyBdAI6xaZYEAeobPeZfqonwv18AogGlBQmrAuPk1z5GhmXx3a0hyOQqDAbL3A46ENIVt3TUqtr1NL0VUeCu16nFyS7Ob/xT2Tjn6YjIdgotru2LXbJ1aMfcz1QkGQDdjliIt4DpIzeY2v4OvmWb9eZsS/6jhm09pwx+oDWiwNonhJPTiYIP0F/E8D10wIYrKt28T052edukH4FRtyGeLod5XN4tT3xxtCY0xbALu4S3fCcNyJQgyB7fb+KIf5KU7RLkUeadOTZ4hHR7d7Kjnxu+71Ssx+nmWsS30FtGtDRJnsXPu3wX2BHe6NCLSv5n8Ueg3TaP2RrT6uZBIU0sl6rUMYUhwrk2lpocq0TDGTT2mF7ygaKNeUUk//Kn6+XjYrn8upCcMIp0hhnkMqsygsy/Hfg4Mg8WUmeH/uS8zaTv8lH9QLVXlfI7ibLZsZDfJcQDvKG1GQ5V0oA56xa+FTiqytoYnWNUZG5CLRmAls3iP0zECPH+F/a2xVq2wxlxwPWTHLT6BZOFAWLEi6ypKbR08ElaxxA01ssOz51RA7AFZvn0Xxmi55TjEhYlPlnskK7cA9Jn29ZGADPdMuqiKKrX9GSwyKcqKuiIapUSvW+kefcg7v/qy3Q+nA1EJPX77d4scHm9W89eDQCBe3O124UOFG4Lukw1S+m40ATfAw4WXG67WucH3h9+CI+iCt2eFIWkgbjE0SviW5MKOSZJDVeDFXqufIKBCa8B
Is there an existing theory that combines paraconsistent logic with dependent types? You can do a lot with just the Church encoding of inductives, and all you need for that is Pi.
On Thu, Mar 28, 2019, 23:52 Talia Ringer <tringer AT cs.washington.edu> wrote:
Interesting! I can't say I had a plan; I thought of this while going for a run 30 minutes ago. I wonder if there's a restriction that it is possible to place either on inductive types or on pattern matching that makes this possible, but still leaves a useful and interesting set of inductive types and their eliminators.On Thu, Mar 28, 2019 at 8:49 PM Jason Gross <jasongross9 AT gmail.com> wrote:What are your plans for the Church encoding of False := forall A : Prop, A?I think you can also get False_ind by defining Fin : nat -> Set and then doing a match on an element of Fin 0:(fun A x => match x in Fin n return match n with O => A | _ => True end with <each ctor> => I end) : forall A, Fin 0 -> AOn Thu, Mar 28, 2019, 23:38 Talia Ringer <tringer AT cs.washington.edu> wrote:I anticipate being bored next week, and I'd like a quick, fun, and interesting side project to fill my time (and I'm familiar enough with the Coq internals that playing with the code can meet these criteria). I think, if so tasked, I could write a paraconsistent proof assistant from scratch. But what if I wanted to fork Coq and trim it down to a paraconsistent proof assistant? What is the minimal set of changes I would need to make?Clearly, I would need for the principle of explosion to no longer hold, which means that False_ind and similar terms should no longer type-check. This means that empty pattern matching ought to be impossible, since in Coq:False_ind :=fun (P : Prop) (f : False) => match f return P with end: forall (P : Prop), False -> P.It looks like in so doing, I would make disjunctive syllogism (forall A B, or A B -> ~ A -> B) impossible to prove, since I think all proofs of this in Coq must go through a term like False_ind. Am I wrong?If this makes disjunctive syllogism unprovable, then I would not need to remove or_introl or or_intror. Does this mean that I could keep inductive types? Or would they cause unforeseen problems?What about other features that Coq has?Best,Talia
- [Coq-Club] Just for fun: From Coq to a paraconsistent poof assistant, Talia Ringer, 03/29/2019
- Re: [Coq-Club] Just for fun: From Coq to a paraconsistent poof assistant, Jason Gross, 03/29/2019
- Re: [Coq-Club] Just for fun: From Coq to a paraconsistent poof assistant, Talia Ringer, 03/29/2019
- Re: [Coq-Club] Just for fun: From Coq to a paraconsistent poof assistant, Jason Gross, 03/29/2019
- Re: [Coq-Club] Just for fun: From Coq to a paraconsistent poof assistant, Talia Ringer, 03/29/2019
- Re: [Coq-Club] Just for fun: From Coq to a paraconsistent poof assistant, Jason Gross, 03/29/2019
- Re: [Coq-Club] Just for fun: From Coq to a paraconsistent poof assistant, Talia Ringer, 03/29/2019
- Re: [Coq-Club] Just for fun: From Coq to a paraconsistent poof assistant, Amin Timany, 03/29/2019
- Re: [Coq-Club] Just for fun: From Coq to a paraconsistent poof assistant, Talia Ringer, 03/29/2019
- Re: [Coq-Club] Just for fun: From Coq to a paraconsistent poof assistant, Talia Ringer, 03/29/2019
- Re: [Coq-Club] Just for fun: From Coq to a paraconsistent poof assistant, Jason Gross, 03/29/2019
- Re: [Coq-Club] Just for fun: From Coq to a paraconsistent poof assistant, Talia Ringer, 03/29/2019
- Re: [Coq-Club] Just for fun: From Coq to a paraconsistent poof assistant, Jason Gross, 03/29/2019
- Re: [Coq-Club] Just for fun: From Coq to a paraconsistent poof assistant, Talia Ringer, 03/29/2019
- Re: [Coq-Club] Just for fun: From Coq to a paraconsistent poof assistant, Jason Gross, 03/29/2019
Archive powered by MHonArc 2.6.18.