coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: "Carlos.SIMPSON" <carlos AT math1.unice.fr>
- To: coq-club AT pauillac.inria.fr
- Subject: [Coq-Club] functors
- Date: Mon, 10 Mar 2003 08:58:52 -0200
- List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>
Hi. Does anybody have any comments on the following behavior? Is it a
problem which will
be fixed in a future release?
---Carlos Simpson
Parameter A : Type.
Parameter f : A -> A.
Module Type Mm.
Parameter a : A.
End Mm.
Module Constr [U:Mm] : Mm.
Definition a := (f U.a).
End Constr.
Module Constr2 [V:Mm].
Module Z := (Constr V).
Module Z2 := Z.
Module Z3 := (Constr V).
Lemma lem1 : Z.a == Z2.a.
Reflexivity.
Save.
Lemma lem2 : Z.a == Z3.a.
Reflexivity.
Toplevel input, characters 0-11
> Reflexivity.
> ^^^^^^^^^^^
Error: Impossible to unify Z3.a with Z.a
- [Coq-Club] functors, Carlos.SIMPSON
- Re: [Coq-Club] functors, Pierre Casteran
Archive powered by MhonArc 2.6.16.