Skip to Content.
Sympa Menu

coq-club - [Coq-Club] Take a proof of a true proposition

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] Take a proof of a true proposition


chronological Thread 
  • From: Victor Porton <porton AT narod.ru>
  • To: Coq Club <coq-club AT inria.fr>
  • Subject: [Coq-Club] Take a proof of a true proposition
  • Date: Wed, 23 Nov 2011 22:56:32 +0400
  • Envelope-from: porton AT yandex.ru

We should be able to take a proof of a true proposition. Is it implemented in 
Coq 8.3.pl2? My native attempt to do this steps on an error.

[[[[
Parameter P: Prop.

Axiom P_true: P.

Theorem t: True.
proof.
  let X be such that (X : P).
end proof. Qed.
]]]]

Error: In environment
X : P
The term "X:P" has type "P" which should be Set, Prop or Type.

I hope Coq allows to get around this, but I'm not sure.

-- 
Victor Porton - http://portonvictor.org



Archive powered by MhonArc 2.6.16.

Top of Page