X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatitaprover.ml;h=7a6503ab36e7f15c2730770ce5c55d3aa7a3d504;hb=dfc523454502ccab6a154a32d1d9b4d941d9a6a0;hp=d085b350c8db1b4d0df21f1d9d9e72596181ed71;hpb=f27b26f3f3d2300b11aa4d68dbe823e15ffbdf1c;p=helm.git diff --git a/matita/matitaprover.ml b/matita/matitaprover.ml index d085b350c..7a6503ab3 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 = @@ -83,7 +83,6 @@ let p_to_ma ?timeout ~tptppath ~filename () = ;; let main () = - MatitaInit.fill_registry (); let tptppath = ref "./" in let timeout = ref 600 in MatitaInit.add_cmdline_spec @@ -91,9 +90,7 @@ let main () = "Where to find the Axioms/ and Problems/ directory"; "-timeout", Arg.Int (fun x -> timeout := x), "Timeout in seconds"]; - MatitaInit.parse_cmdline (); - MatitaInit.load_configuration_file (); - Helm_registry.set_bool "db.nodb" true; + MatitaInit.parse_cmdline_and_configuration_file (); Helm_registry.set_bool "matita.nodisk" true; HLog.set_log_callback (fun _ _ -> ()); let args = Helm_registry.get_list Helm_registry.string "matita.args" in