Skip to Content.
Sympa Menu

coq-club - [Coq-Club] A beginner question in class instances

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] A beginner question in class instances


chronological Thread 
  • From: Victor Porton <porton AT narod.ru>
  • To: Coq <coq-club AT inria.fr>
  • Subject: [Coq-Club] A beginner question in class instances
  • Date: Wed, 09 Nov 2011 02:50:01 +0400
  • Envelope-from: porton AT yandex.ru

(*
What's wrong with the following .v file which does not verify:
How to correct it?
*)

Class C := {
  num: nat;
  cond: num=0
}.

Instance C2: C := { num:=0 }.
proof.
  have (num C2=0) using tauto.
end proof.


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



Archive powered by MhonArc 2.6.16.

Top of Page