coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Victor Porton <porton AT narod.ru>
- To: Coq <coq-club AT inria.fr>
- Subject: [Coq-Club] Why this does not verify?
- Date: Mon, 14 Nov 2011 18:41:07 +0400
- Envelope-from: porton AT yandex.ru
The last line of this file does not compile. What is my error?
[[[[
Hypothesis P: nat->Prop.
Hypothesis Q: nat->Prop.
Axiom Eq: forall x:nat, P(x)<->Q(x).
Class C := {
num: nat;
cond: P num
}.
Section sect.
Hypothesis Other: forall obj:C, Q num.
Instance C2: C := { num:=0 }.
Proof. Admitted.
End sect.
Axiom ax2: forall obj:C, Q num.
Definition C3 := C2(ax2).
]]]]
--
Victor Porton - http://portonvictor.org
- [Coq-Club] Why this does not verify?, Victor Porton
- Re: [Coq-Club] Why this does not verify?, Alexandre Pilkiewicz
- <Possible follow-ups>
- Fwd: [Coq-Club] Why this does not verify?,
Victor Porton
- Re: Fwd: [Coq-Club] Why this does not verify?,
Adam Chlipala
- Re: [Coq-Club] Why this does not verify?, Victor Porton
- Re: Fwd: [Coq-Club] Why this does not verify?,
Alexandre Pilkiewicz
- Re: [Coq-Club] Why this does not verify?, Victor Porton
- Re: Fwd: [Coq-Club] Why this does not verify?, Adam Chlipala
- Re: Fwd: [Coq-Club] Why this does not verify?,
Adam Chlipala
- Re: [Coq-Club] Why this does not verify?, Paolo Herms
- Re: [Coq-Club] Why this does not verify?, Paolo Herms
Archive powered by MhonArc 2.6.16.