Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Why this does not verify?

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Why this does not verify?


chronological Thread 
  • From: Alexandre Pilkiewicz <alexandre.pilkiewicz AT polytechnique.org>
  • To: Victor Porton <porton AT narod.ru>
  • Cc: Coq <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] Why this does not verify?
  • Date: Mon, 14 Nov 2011 09:54:37 -0500

I guess the problem is that the expression "C2" of type "C" cannot be
applied to the term "ax2" : "forall obj : C, Q num".

Cheers

Alexandre

On Mon, Nov 14, 2011 at 9:41 AM, Victor Porton 
<porton AT narod.ru>
 wrote:
> 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).




Archive powered by MhonArc 2.6.16.

Top of Page