coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Houda Anoun <anoun AT labri.fr>
- To: coq-club AT pauillac.inria.fr
- Subject: [Coq-Club] Injection Tactic?!
- Date: Mon, 22 Sep 2003 16:57:54 +0200
- List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>
Hi everybody,
I still find a lot of problems while using Coq module system (V 7.4)
We consider for example what follows:
Module Type TIT.
Inductive X:Set:=
b:X.
End TIT.
Module Type TOTO.
Declare Module t:TIT.
Inductive titi:Set:=
a:t.X->titi.
End TOTO.
Module toto[ta:TOTO].
Module ti:=ta.t.
Definition ex1:(c,d:ti.X)(ta.a d)=(ta.a c) -> d=c.
Intros.
Injection H.
Error: Failed to decompose the equalityInjection H.
^^^^^^^^^^^
I wonder where is the problem here?!
Thanks for helping me to undestand this...
Houda.
- [Coq-Club] Injection Tactic?!, Houda Anoun
Archive powered by MhonArc 2.6.16.