coq-club AT inria.fr
Subject: The Coq mailing list
List archive
Re: [Coq-Club] Not sure if this is the right forum for beginners' questions, however .....
Chronological Thread
- From: Adam Chlipala <adamc AT csail.mit.edu>
- To: Satrajit Roy <satrajit.roy AT gmail.com>
- Cc: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Not sure if this is the right forum for beginners' questions, however .....
- Date: Sat, 07 Sep 2013 09:08:53 -0400
On 09/06/2013 07:27 PM, Satrajit Roy wrote:
Why can't I prove:
forall p:Type->Prop, ~(forall q:Type, (p q))->(exists q:Type, ~(p q))
When I can easily prove:
forall p:Type->Prop, exists q, ~p q->~forall q, p q
To expand on the answer from t x, or come at it from a different angle:
You can't prove the first one because it isn't true. :P [<-- tongue-in-cheek answer]
Newcomers often assume that there is one uncontroversial notion of logical truth, which all theorem-proving tools must implement. In fact, there are some points of contention, like whether a logic is _constructive_ or _classical_. Coq's is constructive, though you can make it classical by assuming the right axioms. The first formula above is unprovable in constructive logic, which has a fundamentally computational flavor, such that it wouldn't make sense for a procedure to exist of the type you gave. (A famous idea called the Curry-Howard Isomorphism explains how to interpret formulas as the types of functional programs.)
For more information on this distinction, there are many sources, and I try to explain it in CPDT <http://adam.chlipala.net/cpdt/>.
- [Coq-Club] Not sure if this is the right forum for beginners' questions, however ....., Satrajit Roy, 09/07/2013
- Re: [Coq-Club] Not sure if this is the right forum for beginners' questions, however ....., t x, 09/07/2013
- Re: [Coq-Club] Not sure if this is the right forum for beginners' questions, however ....., Adam Chlipala, 09/07/2013
- Re: [Coq-Club] Not sure if this is the right forum for beginners' questions, however ....., Andrew Hirsch, 09/08/2013
- RE: [Coq-Club] Not sure if this is the right forum for beginners' questions, however ....., Shigeo Nishi, 09/08/2013
- Re: [Coq-Club] Not sure if this is the right forum for beginners' questions, however ....., Adam Chlipala, 09/08/2013
- RE: [Coq-Club] Not sure if this is the right forum for beginners' questions, however ....., Shigeo Nishi, 09/08/2013
- Re: [Coq-Club] Not sure if this is the right forum for beginners' questions, however ....., Andrew Hirsch, 09/08/2013
Archive powered by MHonArc 2.6.18.