From: Enrico Tassi Date: Fri, 29 Sep 2006 12:46:59 +0000 (+0000) Subject: ported to the new reflexivity implementation X-Git-Tag: 0.4.95@7852~975 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=5d3ea284281464633474c92fffcf11480b2ce7e0;p=helm.git ported to the new reflexivity implementation --- diff --git a/matita/matitaprover.ml b/matita/matitaprover.ml index d085b350c..5383493ed 100644 --- a/matita/matitaprover.ml +++ b/matita/matitaprover.ml @@ -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 =