]> matita.cs.unibo.it Git - helm.git/commitdiff
ported to the new reflexivity implementation
authorEnrico Tassi <enrico.tassi@inria.fr>
Fri, 29 Sep 2006 12:46:59 +0000 (12:46 +0000)
committerEnrico Tassi <enrico.tassi@inria.fr>
Fri, 29 Sep 2006 12:46:59 +0000 (12:46 +0000)
helm/software/matita/matitaprover.ml

index d085b350c8db1b4d0df21f1d9d9e72596181ed71..5383493ed4091824a33bc63c162d2fb27d1a5782 100644 (file)
@@ -41,6 +41,15 @@ theorem trans_eq :
 intros.elim H1.assumption.
 qed.
 
+default \"equality\"
+ " ^ buri ^ "/eq.ind
+ " ^ buri ^ "/sym_eq.con
+ " ^ buri ^ "/trans_eq.con
+ " ^ buri ^ "/eq_ind.con
+ " ^ buri ^ "/eq_elim_r.con
+ " ^ buri ^ "/eq_f.con
+ " ^ buri ^ "/eq_f1.con.
+
 theorem eq_f: \\forall  A,B:Type.\\forall f:A\\to B.
   \\forall x,y:A. eq A x y \\to eq B (f x) (f y).
 intros.elim H.reflexivity.
@@ -51,15 +60,6 @@ theorem eq_f1: \\forall  A,B:Type.\\forall f:A\\to B.
 intros.elim H.reflexivity.
 qed.
 
-default \"equality\"
- " ^ buri ^ "/eq.ind
- " ^ buri ^ "/sym_eq.con
- " ^ buri ^ "/trans_eq.con
- " ^ buri ^ "/eq_ind.con
- " ^ buri ^ "/eq_elim_r.con
- " ^ buri ^ "/eq_f.con
- " ^ buri ^ "/eq_f1.con.
-
 inductive ex (A:Type) (P:A \\to Prop) : Prop \\def
     ex_intro: \\forall x:A. P x \\to ex A P.
 interpretation \"exists\" 'exists \\eta.x =