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: Sean Wilson <sean.wilson AT ed.ac.uk>
  • To: coq-club AT pauillac.inria.fr
  • Subject: Re: [Coq-Club] Coq doesn't match identic types?
  • Date: Thu, 31 Jul 2008 01:04:40 +0100
  • List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>
  • Organization: School of Informatics, The University of Edinburgh

On Thursday 31 July 2008 00:41:53 Brian Aydemir wrote:
> To expand on Andrew's remark, p and q in prop_eq are inferred to have
> type Type.  Thus, the eq argument to prop_eq is at Type, not at Prop.
>
> As a general remark: Enabling the printing of implicit arguments is a
> good way to debug problems where Coq refuses to match or unify terms
> that look identical to the user.
>
> -Brian

I suppose these kinds of error messages could be improved by having Coq check 
if the current string representation of each type is the same and, if so, 
display the types without implicit arguments.

Regards,

Sean





Archive powered by MhonArc 2.6.16.

Top of Page