Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Coq doesn't match identic types?

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Coq doesn't match identic types?


chronological Thread 
  • From: rabforum <rabforum AT ukr.net>
  • To: adamc AT hcoop.net, coq-club AT pauillac.inria.fr
  • Subject: Re: [Coq-Club] Coq doesn't match identic types?
  • Date: Thu, 31 Jul 2008 13:53:35 +0300
  • List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>

Thanks for replies. I should have known about "Set Printing All" and @-notation.
I thought that definition assumes that (p q:Prop). In fact it may be (p q:Set).

Now, running the [Check] command again, you get this more explicit message:
    Error: The term "@f_equal2 nat nat Prop lt x1 y1 x2 y2 eq1 eq2" has type
     "@eq Prop (lt x1 x2) (lt y1 y2)" while it is expected to have type
     "@eq Type (lt x1 x2) (lt y1 y2)"


Best regards,
 Roman Beslik.





Archive powered by MhonArc 2.6.16.

Top of Page