coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Talia Ringer <tringer AT cs.washington.edu>
- To: Coq-Club <coq-club AT inria.fr>
- Subject: Re: [Coq-Club] Just for fun: From Coq to a paraconsistent poof assistant
- Date: Thu, 28 Mar 2019 20:52:03 -0700
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=tringer AT cs.washington.edu; spf=None smtp.mailfrom=tringer AT cs.washington.edu; spf=None smtp.helo=postmaster AT mail-wr1-f53.google.com
- Ironport-phdr: 9a23:YlQVVRMb5JwCRLnNiIkl6mtUPXoX/o7sNwtQ0KIMzox0Lf/zrarrMEGX3/hxlliBBdydt6sczbqL+P2+EUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQpFiCehbb9oLxi7rQrdu8kXjIB/Nqs/1xzFr2dSde9L321oP1WTnxj95se04pFu9jlbtuwi+cBdT6j0Zrw0QrNEAjsoNWA1/9DrugLYTQST/HscU34ZnQRODgPY8Rz1RJbxsi/9tupgxCmXOND9QL4oVTi+6apgVRnlgzoFOTEk6mHaksN/jKxZrxyhqRJxwJPabp+JO/dlZKzRYckXSHBdUspNVSFMBJ63YYsVD+oGOOZVt5fzqEEKrRu/HwanGf/hyj5Ohn/5w6I6yfkqHAba3Aw6HtIOtnvUo8vvNKoJTe+117PEzDvZYPNN2Tf96Y7Ich89ofGLW7J8a9TexlQyFw7ciFibtI/rPyuN2+gTr2SW6/BsWOGvhmI9tQ19vCWjyt0sh4THgI8e10rK+j9jwIkvIN21UE57bsCgEJtXryyaMpF5QsImQ21xtic60KAKtYe1fCUKxpkr3RHfa/uAc4iH5hLsSvydLit/hHJgYL6/hhCy/la8yuDkSMW4zFJHojBGn9TMrHwByQLf5tWdRvZ98EqtwTOP2BrS6uFAL0A0j63bK5s5z74sjJoTsELDHiDol0Xsl6KZal4k9vKm6uv9ebXmpp6cN4l7igHiNaQunNazDvolPQgTR2Sb4/iz1KX//U3lR7VHluE5kq7AsJzDOcsborO5DBRO34Y46xe/Ci+m384CkXkGKlJFYhOHgJLzN1HAOvCrRcu41n+riXJAw+3MdunqBYyIJXzemp/ge6x84ghS0lxg48pY4sdoA7UAKbrJW0n+ucaQWgMjMgq7zvzPA847yYoFWWOJDbOeNuXfvULetbFnGPWFeIJA4GW1EPMi/fO71SZoy29YRrGg2N4sUF79G/1nJ0uDZn+104UKCiEVtxE+TerllFqEFzNfeiTqBv5u1nQAEIujSLz7aMW1mrXYjXWwBdtJb3tGC1aDDXDuMYiIRqVUMX/AEopaijUBEIOZZcoh2BWp7lKozrNmKq/L4HRdu8+4ktdy4OLXmFc58jkmV8k=
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.