]> 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 28991acf43cfcf55cc07ef6ef3cb5047126d4927..e217a76526ec78472d40ee2d66120ea0d8093cd0 100644 (file)
@@ -14,7 +14,7 @@
 
 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: