Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Relation between a Coq proof and decision procedure?

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Relation between a Coq proof and decision procedure?


Chronological Thread 
  • 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



Archive powered by MHonArc 2.6.18.

Top of Page