coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: "John Wiegley" <johnw AT newartisans.com>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Relation between a Coq proof and decision procedure?
- Date: Mon, 29 Sep 2014 10:36:34 -0500
- Organization: New Artisans LLC
>>>>> Zhoulai FU@Gmail
>>>>> <zhoulai.fu AT gmail.com>
>>>>> writes:
> Let P denote a predicate over natural numbers. Suppose that I have a coq
> proof for "forall n:nat, P(n)”. Then, can I establish a mapping A from
> natural numbers to {true, false}, so that for any natural number n, A(n) is
> true if and only if P(n) can be proved?
You can if P is "decidable". If it is decidable, then you switch back and
forth between True and true freely. Take a look at Coq.Logic.Decidable.
John
- [Coq-Club] Relation between a Coq proof and decision procedure?, Zhoulai.FU@Gmail, 09/29/2014
- Re: [Coq-Club] Relation between a Coq proof and decision procedure?, Arthur Azevedo de Amorim, 09/29/2014
- Re: [Coq-Club] Relation between a Coq proof and decision procedure?, John Wiegley, 09/29/2014
- Re: [Coq-Club] Relation between a Coq proof and decision procedure?, Pierre Courtieu, 09/29/2014
- Re: [Coq-Club] Relation between a Coq proof and decision procedure?, Kristopher Micinski, 09/29/2014
Archive powered by MHonArc 2.6.18.