]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/tests/dependent_injection.ma
- bug fix in destruct
[helm.git] / matita / tests / dependent_injection.ma
index ebadd3c2ee0223944119f71ef12b83da3dd8d842..e217a76526ec78472d40ee2d66120ea0d8093cd0 100644 (file)
@@ -12,9 +12,9 @@
 (*                                                                        *)
 (**************************************************************************)
 
-set "baseuri" "cic:/matita/test/dependent_injection/".
+set "baseuri" "cic:/matita/tests/dependent_injection".
 
-include "legacy/coq.ma".
+include "../legacy/coq.ma".
 
 alias id "nat" = "cic:/Coq/Init/Datatypes/nat.ind#xpointer(1/1)".
 alias id "bool" = "cic:/Coq/Init/Datatypes/bool.ind#xpointer(1/1)".
@@ -33,9 +33,9 @@ inductive ttree : Type → Type :=
     (that state the existence of a ?1 such that ...) *)
 theorem injection_test3:
  ∀t,t'. tnode nat t tempty = tnode nat t' tempty → t = t'.
- intros;
- destruct H;
assumption.
+ intros.
+ destruct H.
reflexivity.
 qed.
 
 theorem injection_test3: