From: Enrico Tassi Date: Tue, 25 Oct 2005 15:49:58 +0000 (+0000) Subject: fixed -debug X-Git-Tag: V_0_7_2_3~187 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=9815046bf21f6423225b33faf02df25ac7fcd599;p=helm.git fixed -debug --- diff --git a/helm/matita/contribs/LAMBDA-TYPES/.depend b/helm/matita/contribs/LAMBDA-TYPES/.depend index b4b21a2e6..dd2c59b75 100644 --- a/helm/matita/contribs/LAMBDA-TYPES/.depend +++ b/helm/matita/contribs/LAMBDA-TYPES/.depend @@ -1,9 +1,9 @@ -/home/sacerdot/miohelm/matita/.matita/xml/matita/LAMBDA-TYPES/lref_map_defs.moo: ./lref_map_defs.ma /home/sacerdot/miohelm/matita/.matita/xml/matita/LAMBDA-TYPES/terms_defs.moo -./lref_map_defs.mo: /home/sacerdot/miohelm/matita/.matita/xml/matita/LAMBDA-TYPES/lref_map_defs.moo -/home/sacerdot/miohelm/matita/.matita/xml/matita/LAMBDA-TYPES/terms_defs.moo: ./terms_defs.ma /home/sacerdot/miohelm/matita/coq.moo -./terms_defs.mo: /home/sacerdot/miohelm/matita/.matita/xml/matita/LAMBDA-TYPES/terms_defs.moo -/home/sacerdot/miohelm/matita/.matita/xml/matita/LAMBDA-TYPES/tlt_defs.moo: ./tlt_defs.ma /home/sacerdot/miohelm/matita/.matita/xml/matita/LAMBDA-TYPES/terms_defs.moo -./tlt_defs.mo: /home/sacerdot/miohelm/matita/.matita/xml/matita/LAMBDA-TYPES/tlt_defs.moo +/home/tassi/helm/matita/.matita/xml/matita/LAMBDA-TYPES/lref_map_defs.moo: ./lref_map_defs.ma /home/tassi/helm/matita/.matita/xml/matita/LAMBDA-TYPES/terms_defs.moo +./lref_map_defs.mo: /home/tassi/helm/matita/.matita/xml/matita/LAMBDA-TYPES/lref_map_defs.moo +/home/tassi/helm/matita/.matita/xml/matita/LAMBDA-TYPES/terms_defs.moo: ./terms_defs.ma /home/tassi/helm/matita/coq.moo +./terms_defs.mo: /home/tassi/helm/matita/.matita/xml/matita/LAMBDA-TYPES/terms_defs.moo +/home/tassi/helm/matita/.matita/xml/matita/LAMBDA-TYPES/tlt_defs.moo: ./tlt_defs.ma /home/tassi/helm/matita/.matita/xml/matita/LAMBDA-TYPES/terms_defs.moo +./tlt_defs.mo: /home/tassi/helm/matita/.matita/xml/matita/LAMBDA-TYPES/tlt_defs.moo !! TOTAL TIME SPENT IN disambiguate_thing: 0. !! TOTAL TIME SPENT IN disambiguate_thing.refine_thing: 0. !! TOTAL TIME SPENT IN add_obj: 0. diff --git a/helm/matita/contribs/PREDICATIVE-TOPOLOGY/ac_defs.ma b/helm/matita/contribs/PREDICATIVE-TOPOLOGY/ac_defs.ma index d23ed4e1a..6a5b86cf1 100644 --- a/helm/matita/contribs/PREDICATIVE-TOPOLOGY/ac_defs.ma +++ b/helm/matita/contribs/PREDICATIVE-TOPOLOGY/ac_defs.ma @@ -41,5 +41,5 @@ record AC: Type \def { coercion ac. inductive eq (A:AC) (a:A): A \to Prop \def - | eq_refl: acin ? a \to eq A a a. + | eq_refl: acin ? a \to eq ? a a. (* | eq_sing_r: \forall b,c. eq A a b \to aceq A b c \to eq A a c. *) diff --git a/helm/matita/matitacLib.ml b/helm/matita/matitacLib.ml index a10594ab2..413b3b552 100644 --- a/helm/matita/matitacLib.ml +++ b/helm/matita/matitacLib.ml @@ -140,6 +140,7 @@ let main ~mode = in if Helm_registry.get_bool "matita.quiet" then MatitaLog.set_log_callback newcb; + let matita_debug = Helm_registry.get_bool "matita.debug" in try let time = Unix.time () in if Helm_registry.get_bool "matita.quiet" then @@ -207,7 +208,7 @@ let main ~mode = else pp_ocaml_mode () | exn -> - if Helm_registry.get_bool "matita.debug" then raise exn; + if matita_debug then raise exn; if mode = `COMPILER then clean_exit (Some 3) else diff --git a/helm/matita/tests/fguidi.ma b/helm/matita/tests/fguidi.ma index 19f527e8f..567f15c97 100644 --- a/helm/matita/tests/fguidi.ma +++ b/helm/matita/tests/fguidi.ma @@ -50,7 +50,7 @@ intros. auto. qed. theorem eq_gen_S_S: \forall m,n. (S m) = (S n) \to m = n. -intros. cut (pred (S m)) = (pred (S n)). +intros. cut ((pred (S m)) = (pred (S n))). assumption. elim H. auto paramodulation. qed. @@ -83,7 +83,7 @@ theorem le_gen_S_x_aux: \forall m,x,y. (le y x) \to (y = S m) \to (\exists n. x = (S n) \land (le m n)). intros 4. elim H. apply eq_gen_S_O. exact m. elim H1. auto paramodulation. -cut n = m. elim Hcut. apply ex_intro. exact n1. auto paramodulation. auto. (* paramodulation non trova la prova *) +cut (n = m). elim Hcut. apply ex_intro. exact n1. auto paramodulation. auto. (* paramodulation non trova la prova *) qed. theorem le_gen_S_x: \forall m,x. (le (S m) x) \to @@ -93,7 +93,7 @@ qed. theorem le_gen_S_x_cc: \forall m,x. (\exists n. x = (S n) \land (le m n)) \to (le (S m) x). -intros. elim H. elim H1. cut (S x1) = x. elim Hcut. auto paramodulation. elim H2. auto paramodulation. +intros. elim H. elim H1. cut ((S x1) = x). elim Hcut. auto paramodulation. elim H2. auto paramodulation. qed. theorem le_gen_S_S: \forall m,n. (le (S m) (S n)) \to (le m n).