Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Decision procedures in Coq

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Decision procedures in Coq


Chronological Thread 
  • From: Andrej Bauer <andrej.bauer AT andrej.com>
  • To: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] Decision procedures in Coq
  • Date: Mon, 1 Oct 2012 10:32:26 -0400

You could define a decision procedure for a predicate P : A -> Prop to
be a function f : A -> bool such that forall x : A, P x <-> f x =
true. While this avoids mentioning false or negation explicitly, I
suspect it won't really help you in showing that some compllicated P
has a decision procedure. You might be better off by starting with a
different definition of decidable predicates, i.e, instead of defining

Definition decidable {A : Type} (P : A -> Prop) (x : A) := {P x} + {not (P
x)},

you simply notice that bool is a subtype of Prop and so

Definition decidable {A : Type} := A -> bool.

But again, I don't think there is any free lunch here and things will
be equally complicated.

With kind regards,

Andrej



Archive powered by MHonArc 2.6.18.

Top of Page