Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Unification with metavars

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Unification with metavars


chronological Thread 
  • From: Adam Chlipala <adamc AT cs.berkeley.edu>
  • To: Edsko de Vries <devriese AT cs.tcd.ie>
  • Cc: coq-club AT pauillac.inria.fr
  • Subject: Re: [Coq-Club] Unification with metavars
  • Date: Tue, 15 May 2007 09:52:17 -0700
  • List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>

Edsko de Vries wrote:
Sometimes in the middle of a proof with lots of yet-to-be-decided
meta-variables, I get strange unification errors. For example:

Error: Impossible to unify "(?1871 * ?1872)%type" with "AttrType"

where AttrType is defined as

Definition AttrType : Set := (PreType * Attr)%type.

(It would seem to me that these two types trivially unify?).

The simple explanation is that unification is of the simplest possible kind and doesn't take the definitional equality into account. This includes not unfolding any definitions.





Archive powered by MhonArc 2.6.16.

Top of Page