coq-club AT inria.fr
Subject: The Coq mailing list
List archive
Re: [Coq-Club] Without law-of-excluded-middles, do we need a hierarchy of Types?
Chronological Thread
- From: Cedric Auger <sedrikov AT gmail.com>
- To: t x <txrev319 AT gmail.com>
- Cc: coq-club <coq-club AT inria.fr>
- Subject: Re: [Coq-Club] Without law-of-excluded-middles, do we need a hierarchy of Types?
- Date: Mon, 28 Oct 2013 16:50:37 +0100
2013/10/28 t x <txrev319 AT gmail.com>
You are mixing set theory and type theory, but well, the problem is not there…
What do you say that you cannot prove "P ⇒ ⊥"?
Of course, you could prove it.
By definition of X, from "H: X ∈ X", you can infer that "K: (X ∈ X) ⇒ ⊥". From there, "K H" is a proof of "⊥". Conclusion: "X ∈ X ⇒ ⊥".
So excluded-middle (without extra 's', as far as I know) is not involved here.
I can also prove "P".
As I know (see previous proof) that "X ∈ X ⇒ ⊥", by definition of X, I can tell that "X ∈ X".
Conclusion: I CAN PROVE BOTH "P" and "P⇒⊥". So I can prove "⊥". Excluded-middle is excluded from proof.
Let us suppose the previous thing I wrote is wrong, and that excluded middle is mandatory for known proofs of the paradox. If Coq did not have that kind of guard against this family of inconsistencies, then that would mean that you could not add Excluded-Middle to your theory without breaking all. So you could not do classical reasoning. That would not be acceptable by many of Coq users. In intuitionistic type theory, you cannot prove excluded-middle (well assuming the theory is consistant), but you cannot prove its contrary either. And we do not want to be incompatible with it. So any theory known to be contradicting excluded-middle is very unlikely to be implemented for Coq.
Definitions (in case the true meaning of a word is different from my understanding of it)Law of excluded-middles:forall (P: Prop), P \/ (P -> False)Hierarchy of Types:type_of(nat) = Type0type_of(Type0) = Type1type_of(Type1) = Type2...Paradox with "sets of sets":X = { s | s \not\in s }In classical logic, there's the argument:does X \in X?if yes, then X \not\in X, contradictionif not, then X \in X, contradictionHowever, in constructive logic, since we don't have the law of excluded middles, it could just be that for "P = X \in X?", we can neither prove P nor prove (P -> False).
You are mixing set theory and type theory, but well, the problem is not there…
What do you say that you cannot prove "P ⇒ ⊥"?
Of course, you could prove it.
By definition of X, from "H: X ∈ X", you can infer that "K: (X ∈ X) ⇒ ⊥". From there, "K H" is a proof of "⊥". Conclusion: "X ∈ X ⇒ ⊥".
So excluded-middle (without extra 's', as far as I know) is not involved here.
I can also prove "P".
As I know (see previous proof) that "X ∈ X ⇒ ⊥", by definition of X, I can tell that "X ∈ X".
Conclusion: I CAN PROVE BOTH "P" and "P⇒⊥". So I can prove "⊥". Excluded-middle is excluded from proof.
Thus, my question: why does Coq have a hierarchy of Types?
Let us suppose the previous thing I wrote is wrong, and that excluded middle is mandatory for known proofs of the paradox. If Coq did not have that kind of guard against this family of inconsistencies, then that would mean that you could not add Excluded-Middle to your theory without breaking all. So you could not do classical reasoning. That would not be acceptable by many of Coq users. In intuitionistic type theory, you cannot prove excluded-middle (well assuming the theory is consistant), but you cannot prove its contrary either. And we do not want to be incompatible with it. So any theory known to be contradicting excluded-middle is very unlikely to be implemented for Coq.
Thanks!
--
.../Sedrikov\...
- [Coq-Club] Without law-of-excluded-middles, do we need a hierarchy of Types?, t x, 10/28/2013
- Re: [Coq-Club] Without law-of-excluded-middles, do we need a hierarchy of Types?, J. Ian Johnson, 10/28/2013
- Re: [Coq-Club] Without law-of-excluded-middles, do we need a hierarchy of Types?, Arnaud Spiwack, 10/28/2013
- Re: [Coq-Club] Without law-of-excluded-middles, do we need a hierarchy of Types?, Guillaume Brunerie, 10/28/2013
- Re: [Coq-Club] Without law-of-excluded-middles, do we need a hierarchy of Types?, Cedric Auger, 10/28/2013
- Re: [Coq-Club] Without law-of-excluded-middles, do we need a hierarchy of Types?, J. Ian Johnson, 10/28/2013
Archive powered by MHonArc 2.6.18.