]> matita.cs.unibo.it Git - helm.git/commitdiff
0. core_notation.ma splitted into coq.moo and core_notation.moo
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Fri, 29 Jul 2005 08:10:41 +0000 (08:10 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Fri, 29 Jul 2005 08:10:41 +0000 (08:10 +0000)
1. 'include "coq.ma"' is now explicitly required to activate the notation of Coq
2. 'include "coq.ma"' added here and there in the tests
3. .ma headers updated

45 files changed:
helm/matita/buildTimeConf.ml.in
helm/matita/coq.moo [new file with mode: 0644]
helm/matita/core_notation.ma [deleted file]
helm/matita/core_notation.moo [new file with mode: 0644]
helm/matita/matita.ml
helm/matita/matitaEngine.ml
helm/matita/matitaMathView.ml
helm/matita/matitaMisc.ml
helm/matita/matitadep.ml
helm/matita/tests/absurd.ma
helm/matita/tests/apply.ma
helm/matita/tests/assumption.ma
helm/matita/tests/auto.ma
helm/matita/tests/baseuri.ma
helm/matita/tests/change.ma
helm/matita/tests/clear.ma
helm/matita/tests/clearbody.ma
helm/matita/tests/coercions.ma
helm/matita/tests/comments.ma
helm/matita/tests/constructor.ma
helm/matita/tests/contradiction.ma
helm/matita/tests/cut.ma
helm/matita/tests/decompose.ma
helm/matita/tests/discriminate.ma
helm/matita/tests/elim.ma
helm/matita/tests/fguidi.ma
helm/matita/tests/first.ma
helm/matita/tests/fix_betareduction.ma
helm/matita/tests/fold.ma
helm/matita/tests/generalize.ma
helm/matita/tests/inversion.ma
helm/matita/tests/letrec.ma
helm/matita/tests/match_inference.ma
helm/matita/tests/mysql_escaping.ma
helm/matita/tests/paramodulation.ma
helm/matita/tests/record.ma
helm/matita/tests/replace.ma
helm/matita/tests/rewrite.ma
helm/matita/tests/second.ma
helm/matita/tests/simpl.ma
helm/matita/tests/test2.ma
helm/matita/tests/test3.ma
helm/matita/tests/test4.ma
helm/matita/tests/third.ma
helm/matita/tests/unfold.ma

index 5ceabc66f7bcdd8cd4e187a17a501ab9087aeeff..d8daa1fd754fa24bba9cfa299cfb1776fc59c98c 100644 (file)
@@ -40,7 +40,8 @@ let images_dir = runtime_base_dir ^ "/icons"
 let gtkrc_file = runtime_base_dir ^ "/matita.gtkrc"
 let lang_file  = runtime_base_dir ^ "/matita.lang"
 let script_template  = runtime_base_dir ^ "/matita.ma.templ"
-let core_notation_script = runtime_base_dir ^ "/core_notation.ma"
+let core_notation_script = runtime_base_dir ^ "/core_notation.moo"
+let coq_notation_script = runtime_base_dir ^ "/coq.moo"
 let matita_conf  = runtime_base_dir ^ "/matita.conf.xml"
 let gtkmathview_conf = runtime_base_dir ^ "/gtkmathview.matita.conf.xml"
 
diff --git a/helm/matita/coq.moo b/helm/matita/coq.moo
new file mode 100644 (file)
index 0000000..4c3d8f7
--- /dev/null
@@ -0,0 +1,42 @@
+(* aritmetic operators *)
+
+interpretation "Coq's natural plus" 'plus x y = (cic:/Coq/Init/Peano/plus.con x y).
+interpretation "Coq's real plus" 'plus x y = (cic:/Coq/Reals/Rdefinitions/Rplus.con x y).
+interpretation "Coq's binary integer plus" 'plus x y = (cic:/Coq/ZArith/BinInt/Zplus.con x y).
+interpretation "Coq's binary positive plus" 'plus x y = (cic:/Coq/NArith/BinPos/Pplus.con x y).
+interpretation "Coq's natural minus" 'minus x y = (cic:/Coq/Init/Peano/minus.con x y).
+interpretation "Coq's real minus" 'minus x y = (cic:/Coq/Reals/Rdefinitions/Rminus.con x y).
+interpretation "Coq's binary integer minus" 'minus x y = (cic:/Coq/ZArith/BinInt/Zminus.con x y).
+interpretation "Coq's binary positive minus" 'minus x y = (cic:/Coq/NArith/BinPos/Pminus.con x y).
+interpretation "Coq's natural times" 'times x y = (cic:/Coq/Init/Peano/mult.con x y).
+interpretation "Coq's real times" 'times x y = (cic:/Coq/Reals/Rdefinitions/Rmult.con x y).
+interpretation "Coq's binary positive times" 'times x y = (cic:/Coq/NArith/BinPos/Pmult.con x y).
+interpretation "Coq's binary integer times" 'times x y = (cic:/Coq/ZArith/BinInt/Zmult.con x y).
+interpretation "Coq's real power" 'power x y = (cic:/Coq/Reals/Rfunctions/pow.con x y).
+interpretation "Coq's integer power" 'power x y = (cic:/Coq/ZArith/Zpower/Zpower.con x y).
+interpretation "Coq's real divide" 'divide x y = (cic:/Coq/Reals/Rdefinitions/Rdiv.con x y).
+interpretation "Coq's real unary minus" 'uminus x = (cic:/Coq/Reals/Rdefinitions/Ropp.con x).
+interpretation "Coq's binary integer negative sign" 'uminus x = (cic:/Coq/ZArith/BinInt/Z.ind#xpointer(1/1/3) x).
+interpretation "Coq's binary integer unary minus" 'uminus x = (cic:/Coq/ZArith/BinInt/Zopp.con x).
+
+(* logical operators *)
+
+interpretation "Coq's logical and" 'and x y = (cic:/Coq/Init/Logic/and.ind#xpointer(1/1) x y).
+interpretation "Coq's logical or" 'or x y = (cic:/Coq/Init/Logic/or.ind#xpointer(1/1) x y).
+interpretation "Coq's logical not" 'not x = (cic:/Coq/Init/Logic/not.con x).
+interpretation "Coq's exists" 'exists x y = (cic:/Coq/Init/Logic/ex.ind#xpointer(1/1) x y).
+
+(* relational operators *)
+
+interpretation "Coq's natural 'less or equal to'" 'leq x y = (cic:/Coq/Init/Peano/le.ind#xpointer(1/1) x y).
+interpretation "Coq's real 'less or equal to'" 'leq x y = (cic:/Coq/Reals/Rdefinitions/Rle.con x y).
+interpretation "Coq's natural 'greater or equal to'" 'geq x y = (cic:/Coq/Init/Peano/ge.con x y).
+interpretation "Coq's real 'greater or equal to'" 'geq x y = (cic:/Coq/Reals/Rdefinitions/Rge.con x y).
+interpretation "Coq's natural 'less than'" 'lt x y = (cic:/Coq/Init/Peano/lt.con x y).
+interpretation "Coq's real 'less than'" 'lt x y = (cic:/Coq/Reals/Rdefinitions/Rlt.con x y).
+interpretation "Coq's natural 'greater than'" 'gt x y = (cic:/Coq/Init/Peano/gt.con x y).
+interpretation "Coq's real 'greater than'" 'gt x y = (cic:/Coq/Reals/Rdefinitions/Rgt.con x y).
+
+interpretation "Coq's leibnitz's equality" 'eq x y = (cic:/Coq/Init/Logic/eq.ind#xpointer(1/1) _ x y).
+interpretation "Coq's not equal to (leibnitz)" 'neq x y = (cic:/Coq/Init/Logic/not.con (cic:/Coq/Init/Logic/eq.ind#xpointer(1/1) _ x y)).
+
diff --git a/helm/matita/core_notation.ma b/helm/matita/core_notation.ma
deleted file mode 100644 (file)
index 91e205f..0000000
+++ /dev/null
@@ -1,118 +0,0 @@
-notation "hvbox(a break \to b)" 
-  right associative with precedence 20
-for @{ \forall $_:$a.$b }.
-
-notation < "hvbox(a break \to b)" 
-  right associative with precedence 20
-for @{ \Pi $_:$a.$b }.
-
-notation "hvbox(a break = b)" 
-  non associative with precedence 45
-for @{ 'eq $a $b }.
-
-notation "hvbox(a break \leq b)" 
-  non associative with precedence 45
-for @{ 'leq $a $b }.
-
-notation "hvbox(a break \geq b)" 
-  non associative with precedence 45
-for @{ 'geq $a $b }.
-
-notation "hvbox(a break \lt b)" 
-  non associative with precedence 45
-for @{ 'lt $a $b }.
-
-notation "hvbox(a break \gt b)" 
-  non associative with precedence 45
-for @{ 'gt $a $b }.
-
-notation "hvbox(a break \neq b)" 
-  non associative with precedence 45
-for @{ 'neq $a $b }.
-
-notation "hvbox(a break + b)" 
-  left associative with precedence 50
-for @{ 'plus $a $b }.
-
-notation "hvbox(a break - b)" 
-  left associative with precedence 50
-for @{ 'minus $a $b }.
-
-notation "hvbox(a break * b)" 
-  left associative with precedence 55
-for @{ 'times $a $b }.
-
-notation "hvbox(a break / b)" 
-  left associative with precedence 55
-for @{ 'divide $a $b }.
-
-notation "\frac a b" 
-  non associative with precedence 90
-for @{ 'divide $a $b }.
-
-notation "a \over b" 
-  left associative with precedence 55
-for @{ 'divide $a $b }.
-
-notation "- a" 
-  non associative with precedence 60
-for @{ 'uminus $a }.
-
-notation "\sqrt a" 
-  non associative with precedence 60
-for @{ 'sqrt $a }.
-
-notation "hvbox(a break \lor b)" 
-  left associative with precedence 30
-for @{ 'or $a $b }.
-
-notation "hvbox(a break \land b)" 
-  left associative with precedence 35
-for @{ 'and $a $b }.
-
-notation "hvbox(\lnot a)" 
-  left associative with precedence 40
-for @{ 'not $a }.
-
-(* aritmetic operators *)
-
-interpretation "Coq's natural plus" 'plus x y = (cic:/Coq/Init/Peano/plus.con x y).
-interpretation "Coq's real plus" 'plus x y = (cic:/Coq/Reals/Rdefinitions/Rplus.con x y).
-interpretation "Coq's binary integer plus" 'plus x y = (cic:/Coq/ZArith/BinInt/Zplus.con x y).
-interpretation "Coq's binary positive plus" 'plus x y = (cic:/Coq/NArith/BinPos/Pplus.con x y).
-interpretation "Coq's natural minus" 'minus x y = (cic:/Coq/Init/Peano/minus.con x y).
-interpretation "Coq's real minus" 'minus x y = (cic:/Coq/Reals/Rdefinitions/Rminus.con x y).
-interpretation "Coq's binary integer minus" 'minus x y = (cic:/Coq/ZArith/BinInt/Zminus.con x y).
-interpretation "Coq's binary positive minus" 'minus x y = (cic:/Coq/NArith/BinPos/Pminus.con x y).
-interpretation "Coq's natural times" 'times x y = (cic:/Coq/Init/Peano/mult.con x y).
-interpretation "Coq's real times" 'times x y = (cic:/Coq/Reals/Rdefinitions/Rmult.con x y).
-interpretation "Coq's binary positive times" 'times x y = (cic:/Coq/NArith/BinPos/Pmult.con x y).
-interpretation "Coq's binary integer times" 'times x y = (cic:/Coq/ZArith/BinInt/Zmult.con x y).
-interpretation "Coq's real power" 'power x y = (cic:/Coq/Reals/Rfunctions/pow.con x y).
-interpretation "Coq's integer power" 'power x y = (cic:/Coq/ZArith/Zpower/Zpower.con x y).
-interpretation "Coq's real divide" 'divide x y = (cic:/Coq/Reals/Rdefinitions/Rdiv.con x y).
-interpretation "Coq's real unary minus" 'uminus x = (cic:/Coq/Reals/Rdefinitions/Ropp.con x).
-interpretation "Coq's binary integer negative sign" 'uminus x = (cic:/Coq/ZArith/BinInt/Z.ind#xpointer(1/1/3) x).
-interpretation "Coq's binary integer unary minus" 'uminus x = (cic:/Coq/ZArith/BinInt/Zopp.con x).
-
-(* logical operators *)
-
-interpretation "Coq's logical and" 'and x y = (cic:/Coq/Init/Logic/and.ind#xpointer(1/1) x y).
-interpretation "Coq's logical or" 'or x y = (cic:/Coq/Init/Logic/or.ind#xpointer(1/1) x y).
-interpretation "Coq's logical not" 'not x = (cic:/Coq/Init/Logic/not.con x).
-interpretation "Coq's exists" 'exists x y = (cic:/Coq/Init/Logic/ex.ind#xpointer(1/1) x y).
-
-(* relational operators *)
-
-interpretation "Coq's natural 'less or equal to'" 'leq x y = (cic:/Coq/Init/Peano/le.ind#xpointer(1/1) x y).
-interpretation "Coq's real 'less or equal to'" 'leq x y = (cic:/Coq/Reals/Rdefinitions/Rle.con x y).
-interpretation "Coq's natural 'greater or equal to'" 'geq x y = (cic:/Coq/Init/Peano/ge.con x y).
-interpretation "Coq's real 'greater or equal to'" 'geq x y = (cic:/Coq/Reals/Rdefinitions/Rge.con x y).
-interpretation "Coq's natural 'less than'" 'lt x y = (cic:/Coq/Init/Peano/lt.con x y).
-interpretation "Coq's real 'less than'" 'lt x y = (cic:/Coq/Reals/Rdefinitions/Rlt.con x y).
-interpretation "Coq's natural 'greater than'" 'gt x y = (cic:/Coq/Init/Peano/gt.con x y).
-interpretation "Coq's real 'greater than'" 'gt x y = (cic:/Coq/Reals/Rdefinitions/Rgt.con x y).
-
-interpretation "Coq's leibnitz's equality" 'eq x y = (cic:/Coq/Init/Logic/eq.ind#xpointer(1/1) _ x y).
-interpretation "Coq's not equal to (leibnitz)" 'neq x y = (cic:/Coq/Init/Logic/not.con (cic:/Coq/Init/Logic/eq.ind#xpointer(1/1) _ x y)).
-
diff --git a/helm/matita/core_notation.moo b/helm/matita/core_notation.moo
new file mode 100644 (file)
index 0000000..5b3759c
--- /dev/null
@@ -0,0 +1,75 @@
+notation "hvbox(a break \to b)" 
+  right associative with precedence 20
+for @{ \forall $_:$a.$b }.
+
+notation < "hvbox(a break \to b)" 
+  right associative with precedence 20
+for @{ \Pi $_:$a.$b }.
+
+notation "hvbox(a break = b)" 
+  non associative with precedence 45
+for @{ 'eq $a $b }.
+
+notation "hvbox(a break \leq b)" 
+  non associative with precedence 45
+for @{ 'leq $a $b }.
+
+notation "hvbox(a break \geq b)" 
+  non associative with precedence 45
+for @{ 'geq $a $b }.
+
+notation "hvbox(a break \lt b)" 
+  non associative with precedence 45
+for @{ 'lt $a $b }.
+
+notation "hvbox(a break \gt b)" 
+  non associative with precedence 45
+for @{ 'gt $a $b }.
+
+notation "hvbox(a break \neq b)" 
+  non associative with precedence 45
+for @{ 'neq $a $b }.
+
+notation "hvbox(a break + b)" 
+  left associative with precedence 50
+for @{ 'plus $a $b }.
+
+notation "hvbox(a break - b)" 
+  left associative with precedence 50
+for @{ 'minus $a $b }.
+
+notation "hvbox(a break * b)" 
+  left associative with precedence 55
+for @{ 'times $a $b }.
+
+notation "hvbox(a break / b)" 
+  left associative with precedence 55
+for @{ 'divide $a $b }.
+
+notation "\frac a b" 
+  non associative with precedence 90
+for @{ 'divide $a $b }.
+
+notation "a \over b" 
+  left associative with precedence 55
+for @{ 'divide $a $b }.
+
+notation "- a" 
+  non associative with precedence 60
+for @{ 'uminus $a }.
+
+notation "\sqrt a" 
+  non associative with precedence 60
+for @{ 'sqrt $a }.
+
+notation "hvbox(a break \lor b)" 
+  left associative with precedence 30
+for @{ 'or $a $b }.
+
+notation "hvbox(a break \land b)" 
+  left associative with precedence 35
+for @{ 'and $a $b }.
+
+notation "hvbox(\lnot a)" 
+  left associative with precedence 40
+for @{ 'not $a }.
index 72dff80581b73e641240e364384684bab9f1c37a..0066d1c1816fcc5d3a7ab8ea142d1eef1744ba4f 100644 (file)
@@ -82,6 +82,7 @@ let script =
 let _ =
   let cic_math_view = MatitaMathView.cicMathView_instance () in
   let sequents_viewer = MatitaMathView.sequentsViewer_instance () in
+  sequents_viewer#load_logo;
   cic_math_view#set_href_callback
     (Some (fun uri -> (MatitaMathView.cicBrowser ())#load
       (`Uri (UriManager.uri_of_string uri))));
index f329780633b423d2d0d626fdfd6ad18cb4b34156..24872ffd0c408ceffdb163eb58499baa125946c8 100644 (file)
@@ -518,17 +518,19 @@ let disambiguate_command status = function
        status, GrafiteAst.Obj (loc,obj)
 
 let make_absolute paths path =
-  let rec aux = function
-  | [] -> ignore (Unix.stat path); path
-  | p :: tl ->
-     let path = p ^ "/" ^ path in
-      try
-        ignore (Unix.stat path); path
-      with Unix.Unix_error _ -> aux tl
-  in
-  try
-    aux paths
-  with Unix.Unix_error _ as exc -> raise (UnableToInclude path)
+  if path = "coq.ma" then path
+  else
+   let rec aux = function
+   | [] -> ignore (Unix.stat path); path
+   | p :: tl ->
+      let path = p ^ "/" ^ path in
+       try
+         ignore (Unix.stat path); path
+       with Unix.Unix_error _ -> aux tl
+   in
+   try
+     aux paths
+   with Unix.Unix_error _ as exc -> raise (UnableToInclude path)
 ;;
        
 let eval_command opts status cmd =
index 13035b02b5ca8be6e57ab626f7551796fabf0728..481b8fd6c8c58e8dd528810de2490bb5f09aa368 100644 (file)
@@ -519,12 +519,6 @@ type term_source =
   | `String of string
   ]
 
-let reloadable = function
-  | `About `Current_proof
-  | `Dir _ ->
-      true
-  | _ -> false
-
 class cicBrowser_impl ~(history:MatitaTypes.mathViewer_entry MatitaMisc.history)
   ()
 =
@@ -605,7 +599,7 @@ class cicBrowser_impl ~(history:MatitaTypes.mathViewer_entry MatitaMisc.history)
       ignore (win#browserHomeButton#connect#clicked (handle_error' (fun () ->
         self#load (`About `Current_proof))));
       ignore (win#browserRefreshButton#connect#clicked
-        (handle_error' self#refresh));
+        (handle_error' (self#refresh ~force:true)));
       ignore (win#browserBackButton#connect#clicked (handle_error' self#back));
       ignore (win#browserForwardButton#connect#clicked
         (handle_error' self#forward));
@@ -685,9 +679,10 @@ class cicBrowser_impl ~(history:MatitaTypes.mathViewer_entry MatitaMisc.history)
 
       (* loads a uri which can be a cic uri or an about:* uri
       * @param uri string *)
-    method private _load entry =
+    method private _load ?(force=false) entry =
       try
-        if entry <> current_entry || reloadable entry then begin
+       if entry <> current_entry || entry = `About `Current_proof || force then
+        begin
           (match entry with
           | `About `Current_proof -> self#home ()
           | `About `Blank -> self#blank ()
@@ -808,8 +803,7 @@ class cicBrowser_impl ~(history:MatitaTypes.mathViewer_entry MatitaMisc.history)
     method win = win
     method history = history
     method currentEntry = current_entry
-    method refresh () =
-      if reloadable current_entry then self#_load current_entry
+    method refresh ~force () = self#_load ~force current_entry
 
   end
   
@@ -864,7 +858,8 @@ let mathViewer () =
       (self#get_browser reuse)#load entry
   end
 
-let refresh_all_browsers () = List.iter (fun b -> b#refresh ()) !cicBrowsers
+let refresh_all_browsers () =
+ List.iter (fun b -> b#refresh ~force:false ()) !cicBrowsers
 
 let update_font_sizes () =
   List.iter (fun b -> b#updateFontSize) !cicBrowsers;
index ca8dc2446660ec11d5e424119f53be2ff4ebd6a4..e3aadd5b5a616d143c17dd22ab71d25f7ac06626 100644 (file)
@@ -291,8 +291,9 @@ let obj_file_of_baseuri baseuri =
   path ^ ".moo"
 
 let obj_file_of_script f =
- let baseuri = baseuri_of_file f in
-  obj_file_of_baseuri baseuri
+ if f = "coq.ma" then BuildTimeConf.coq_notation_script else
+  let baseuri = baseuri_of_file f in
+   obj_file_of_baseuri baseuri
 
 let rec list_uniq = function 
   | [] -> []
index e355ab59c9efeaff8ca90a642114104e0e25d64d..0676aa93ec290e15c50bf581b1e27c6379192ace 100644 (file)
@@ -95,13 +95,14 @@ let main () =
               (_, TA.Alias (_, TA.Ident_alias(_, uri)))) -> 
                 Hashtbl.add aliases file uri
           | TA.Executable (_, TA.Command (_, TA.Include (_, path))) ->
-             (try
-               Hashtbl.add deps file (MatitaMisc.obj_file_of_script (find path))
-              with
-               Sys_error _ ->
-                MatitaLog.error
-                 ("In file " ^ file ^ " unable to include " ^ path)
-             )
+             if path <> "coq.ma" then
+              (try
+                Hashtbl.add deps file (MatitaMisc.obj_file_of_script (find path))
+               with
+                Sys_error _ ->
+                 MatitaLog.error
+                  ("In file " ^ file ^ " unable to include " ^ path)
+              )
           | _ -> ()
         with 
           CicNotationParser.Parse_error _ as exn ->
index 24d2d885f945198023f1bbbcafd53d829aa14aaa..19c738d054b1bf67f036993ee1eba2ee747cce0a 100644 (file)
@@ -1,5 +1,5 @@
 (**************************************************************************)
-(*       ___                                                               *)
+(*       ___                                                              *)
 (*      ||M||                                                             *)
 (*      ||A||       A project by Andrea Asperti                           *)
 (*      ||T||                                                             *)
 (**************************************************************************)
 
 set "baseuri" "cic:/matita/tests/absurd/".
+include "coq.ma".
 alias num (instance 0) = "natural number".
 alias symbol "eq" (instance 0) = "Coq's leibnitz's equality".
 alias id "not" = "cic:/Coq/Init/Logic/not.con".
 
-
-
 theorem stupid : \forall a:Prop. a \to not a \to 0 = 1.
 intros.
 absurd a.
index 41bdd3afc63e19fec85e78d8137967dbd36ce871..35a788ac68171c75a56b2fe4e95947e5f9f0c3ee 100644 (file)
@@ -1,5 +1,20 @@
+(**************************************************************************)
+(*       ___                                                              *)
+(*      ||M||                                                             *)
+(*      ||A||       A project by Andrea Asperti                           *)
+(*      ||T||                                                             *)
+(*      ||I||       Developers:                                           *)
+(*      ||T||         The HELM team.                                      *)
+(*      ||A||         http://helm.cs.unibo.it                             *)
+(*      \   /                                                             *)
+(*       \ /        This file is distributed under the terms of the       *)
+(*        v         GNU General Public License Version 2                  *)
+(*                                                                        *)
+(**************************************************************************)
+
 (* test _with_ the WHD on the apply argument *)
 set "baseuri" "cic:/matita/tests/apply/".
+include "coq.ma".
 
 alias id "not" = "cic:/Coq/Init/Logic/not.con".
 alias id "False" = "cic:/Coq/Init/Logic/False.ind#xpointer(1/1)".
index 4679ea1c32e5d414cc1f38799385524a908e1adc..fde8f8c98dccb929d1ebe93eee246f74d583567e 100644 (file)
@@ -1,5 +1,5 @@
 (**************************************************************************)
-(*       ___                                                               *)
+(*       ___                                                              *)
 (*      ||M||                                                             *)
 (*      ||A||       A project by Andrea Asperti                           *)
 (*      ||T||                                                             *)
@@ -13,6 +13,7 @@
 (**************************************************************************)
 
 set "baseuri" "cic:/matita/tests/assumption".
+include "coq.ma".
 
 alias id "nat" = "cic:/Coq/Init/Datatypes/nat.ind#xpointer(1/1)".
 alias num (instance 0) = "natural number".
index e7e59554c3764b1f3c226ba040603b7f49453a39..5c6c043587966de99df4cc69f667073a0a71fe2f 100755 (executable)
@@ -1,4 +1,19 @@
+(**************************************************************************)
+(*       ___                                                              *)
+(*      ||M||                                                             *)
+(*      ||A||       A project by Andrea Asperti                           *)
+(*      ||T||                                                             *)
+(*      ||I||       Developers:                                           *)
+(*      ||T||         The HELM team.                                      *)
+(*      ||A||         http://helm.cs.unibo.it                             *)
+(*      \   /                                                             *)
+(*       \ /        This file is distributed under the terms of the       *)
+(*        v         GNU General Public License Version 2                  *)
+(*                                                                        *)
+(**************************************************************************)
+
 set "baseuri" "cic:/matita/tests/auto/".
+include "coq.ma".
 
 alias id "O" = "cic:/Coq/Init/Datatypes/nat.ind#xpointer(1/1/1)".
 alias id "S" = "cic:/Coq/Init/Datatypes/nat.ind#xpointer(1/1/2)".
index eb4ae6a68b9718b950aa50181c0d97e7b72dd522..0e06223fa4404751ca250c35eb15e269eb11931c 100644 (file)
@@ -1,2 +1,16 @@
+(**************************************************************************)
+(*       ___                                                              *)
+(*      ||M||                                                             *)
+(*      ||A||       A project by Andrea Asperti                           *)
+(*      ||T||                                                             *)
+(*      ||I||       Developers:                                           *)
+(*      ||T||         The HELM team.                                      *)
+(*      ||A||         http://helm.cs.unibo.it                             *)
+(*      \   /                                                             *)
+(*       \ /        This file is distributed under the terms of the       *)
+(*        v         GNU General Public License Version 2                  *)
+(*                                                                        *)
+(**************************************************************************)
+
 set "baseuri" "cic:/matita/tests/baseuri/".
 set "baseuri" "cic:/matita/tests/baseuri/".
index 199ce3bd8352c8eb2b6d3954b74efef06d89bbe7..2c5daf0d2f459285ec9f003d74083487f83215b3 100644 (file)
@@ -1,5 +1,5 @@
 (**************************************************************************)
-(*       ___                                                               *)
+(*       ___                                                              *)
 (*      ||M||                                                             *)
 (*      ||A||       A project by Andrea Asperti                           *)
 (*      ||T||                                                             *)
@@ -13,6 +13,7 @@
 (**************************************************************************)
 
 set "baseuri" "cic:/matita/tests/change/".
+include "coq.ma".
 alias num (instance 0) = "natural number".
 alias symbol "eq" (instance 0) = "Coq's leibnitz's equality".
 alias symbol "plus" (instance 0) = "Coq's natural plus".
index 24bb3377ca92172c0f2653848677f9c5776529f2..71457ae2c295e980bf85673bc3b25b8fefa07a57 100644 (file)
@@ -1,5 +1,5 @@
 (**************************************************************************)
-(*       ___                                                               *)
+(*       ___                                                              *)
 (*      ||M||                                                             *)
 (*      ||A||       A project by Andrea Asperti                           *)
 (*      ||T||                                                             *)
 (**************************************************************************)
 
 set "baseuri" "cic:/matita/tests/clear".
+include "coq.ma".
 alias num (instance 0) = "natural number".
 alias symbol "eq" (instance 0) = "Coq's leibnitz's equality".
 alias id "True" = "cic:/Coq/Init/Logic/True.ind#xpointer(1/1)".
 
-
-
 theorem stupid:
   \forall a: True.
   \forall b: 0 = 0.
index 9a125e687530a041aaab0b2dad6b57d636f97c4e..0956cbc1e2f89cafb6d195c5e9fcabf269b21ac8 100644 (file)
@@ -1,5 +1,5 @@
 (**************************************************************************)
-(*       ___                                                               *)
+(*       ___                                                              *)
 (*      ||M||                                                             *)
 (*      ||A||       A project by Andrea Asperti                           *)
 (*      ||T||                                                             *)
@@ -13,6 +13,7 @@
 (**************************************************************************)
 
 set "baseuri" "cic:/matita/tests/clearbody".
+include "coq.ma".
 alias num (instance 0) = "natural number".
 alias symbol "eq" (instance 0) = "Coq's leibnitz's equality".
 alias symbol "plus" (instance 0) = "Coq's natural plus".
index 5c157368d053b4a708ee84f43bc211e996653b41..663656e05faf57e38008a240a72f10f893267123 100644 (file)
@@ -1,4 +1,19 @@
+(**************************************************************************)
+(*       ___                                                              *)
+(*      ||M||                                                             *)
+(*      ||A||       A project by Andrea Asperti                           *)
+(*      ||T||                                                             *)
+(*      ||I||       Developers:                                           *)
+(*      ||T||         The HELM team.                                      *)
+(*      ||A||         http://helm.cs.unibo.it                             *)
+(*      \   /                                                             *)
+(*       \ /        This file is distributed under the terms of the       *)
+(*        v         GNU General Public License Version 2                  *)
+(*                                                                        *)
+(**************************************************************************)
+
 set "baseuri" "cic:/matita/tests/coercions/".
+include "coq.ma".
 
 inductive pos: Set \def
 | one : pos
index e9caa7edc183a5922178343ad10d4c1e9ad91218..f9412f45a9eb39feeae55cf3070605ef2c05d840 100644 (file)
@@ -1,18 +1,19 @@
-(****************************************************************************)
-(*       ___                                                                *)
-(*      ||M||                                                               *)
-(*      ||A||       A project by Andrea Asperti                             *)
-(*      ||T||                                                               *) 
-(*      ||I||       Developers:                                             *) 
-(*      ||T||       A.Asperti, C.Sacerdoti Coen,                            *)
-(*      ||A||       E.Tassi, S.Zacchiroli                                   *)
-(*      \   /                                                               *)
-(*       \ /        This file is distributed under the terms of the         *)
-(*        v         GNU General Public License Version 2                    *) 
-(*                                                                          *)
-(****************************************************************************)
+(**************************************************************************)
+(*       ___                                                              *)
+(*      ||M||                                                             *)
+(*      ||A||       A project by Andrea Asperti                           *)
+(*      ||T||                                                             *)
+(*      ||I||       Developers:                                           *)
+(*      ||T||         The HELM team.                                      *)
+(*      ||A||         http://helm.cs.unibo.it                             *)
+(*      \   /                                                             *)
+(*       \ /        This file is distributed under the terms of the       *)
+(*        v         GNU General Public License Version 2                  *)
+(*                                                                        *)
+(**************************************************************************)
 
 set "baseuri" "cic:/matita/tests/comments/".
+include "coq.ma".
 
 (* commento che va nell'ast, ma non viene contato
     come step perche' non e' un executable
index 0cd22d35bc1d53c4fd42402afce9175da4cead8b..3ee7f4b9843f688728e7496c221895ba1326304f 100644 (file)
@@ -1,5 +1,5 @@
 (**************************************************************************)
-(*       ___                                                               *)
+(*       ___                                                              *)
 (*      ||M||                                                             *)
 (*      ||A||       A project by Andrea Asperti                           *)
 (*      ||T||                                                             *)
@@ -13,6 +13,7 @@
 (**************************************************************************)
 
 set "baseuri" "cic:/matita/tests/constructor".
+include "coq.ma".
 alias num (instance 0) = "natural number".
 alias symbol "eq" (instance 0) = "Coq's leibnitz's equality".
 
index e4519ec3e10b8a2217020e444112030e92cee7ae..886bc8c80273031be132f1963c3ab89ef7d84659 100644 (file)
@@ -1,5 +1,5 @@
 (**************************************************************************)
-(*       ___                                                               *)
+(*       ___                                                              *)
 (*      ||M||                                                             *)
 (*      ||A||       A project by Andrea Asperti                           *)
 (*      ||T||                                                             *)
@@ -13,6 +13,7 @@
 (**************************************************************************)
 
 set "baseuri" "cic:/matita/tests/contradiction".
+include "coq.ma".
 alias id "True" = "cic:/Coq/Init/Logic/True.ind#xpointer(1/1)".
 alias id "not" = "cic:/Coq/Init/Logic/not.con".
 alias num (instance 0) = "natural number".
index f5850e576589a664c81742d11c15df68b063e753..e20db6f5dceb48a96b87778dea17df3da5bad46a 100644 (file)
@@ -1,5 +1,5 @@
 (**************************************************************************)
-(*       ___                                                               *)
+(*       ___                                                              *)
 (*      ||M||                                                             *)
 (*      ||A||       A project by Andrea Asperti                           *)
 (*      ||T||                                                             *)
@@ -13,6 +13,7 @@
 (**************************************************************************)
 
 set "baseuri" "cic:/matita/tests/cut".
+include "coq.ma".
 alias num (instance 0) = "natural number".
 alias symbol "eq" (instance 0) = "Coq's leibnitz's equality".
 
index 0b5ef7a804d3c6c76c23a43f8a495ee27d9c5efa..caf2d52890bb5b239fe01432017bcce9f621a7bc 100644 (file)
@@ -1,5 +1,5 @@
 (**************************************************************************)
-(*       ___                                                               *)
+(*       ___                                                              *)
 (*      ||M||                                                             *)
 (*      ||A||       A project by Andrea Asperti                           *)
 (*      ||T||                                                             *)
@@ -13,6 +13,7 @@
 (**************************************************************************)
 
 set "baseuri" "cic:/matita/tests/decompose".
+include "coq.ma".
 alias symbol "and" (instance 0) = "Coq's logical and".
 alias symbol "or" (instance 0) = "Coq's logical or".
 
index f94624567c75c028be737c655b3a88a3b8839aa3..6cfcea0bbe9b9eb71d6eddbfbf120e1ccfb13142 100644 (file)
@@ -1,5 +1,5 @@
 (**************************************************************************)
-(*       ___                                                               *)
+(*       ___                                                              *)
 (*      ||M||                                                             *)
 (*      ||A||       A project by Andrea Asperti                           *)
 (*      ||T||                                                             *)
@@ -13,6 +13,7 @@
 (**************************************************************************)
 
 set "baseuri" "cic:/matita/tests/discriminate".
+include "coq.ma".
 alias id "not" = "cic:/Coq/Init/Logic/not.con".
 alias num (instance 0) = "natural number".
 alias symbol "eq" (instance 0) = "Coq's leibnitz's equality".
index ab7afafa69e34cf52a33b9530ffaa2aa4e5ab9b6..fcc130e9ecece535348456f59a0abe07b4ba549d 100644 (file)
@@ -1,5 +1,5 @@
 (**************************************************************************)
-(*       ___                                                               *)
+(*       ___                                                              *)
 (*      ||M||                                                             *)
 (*      ||A||       A project by Andrea Asperti                           *)
 (*      ||T||                                                             *)
@@ -13,6 +13,7 @@
 (**************************************************************************)
 
 set "baseuri" "cic:/matita/tests/elim".
+include "coq.ma".
 
 inductive stupidtype: Set \def
   | Base : stupidtype
index 07e7989ceb38745e55dca3d61b0a9556f0cd180f..e72e28e5c579b795a97d11d975063b224911e92a 100644 (file)
@@ -1,4 +1,19 @@
+(**************************************************************************)
+(*       ___                                                              *)
+(*      ||M||                                                             *)
+(*      ||A||       A project by Andrea Asperti                           *)
+(*      ||T||                                                             *)
+(*      ||I||       Developers:                                           *)
+(*      ||T||         The HELM team.                                      *)
+(*      ||A||         http://helm.cs.unibo.it                             *)
+(*      \   /                                                             *)
+(*       \ /        This file is distributed under the terms of the       *)
+(*        v         GNU General Public License Version 2                  *)
+(*                                                                        *)
+(**************************************************************************)
+
 set "baseuri" "cic:/matita/tests/fguidi/".
+include "coq.ma".
 
 alias id "O" = "cic:/Coq/Init/Datatypes/nat.ind#xpointer(1/1/1)".
 alias id "nat" = "cic:/Coq/Init/Datatypes/nat.ind#xpointer(1/1)".
@@ -27,20 +42,20 @@ definition pred: nat \to nat \def
       ]. 
 
 theorem eq_gen_S_O: \forall x. (S x = O) \to \forall P:Prop. P.
-intros. apply False_ind. cut (is_S O). auto. elim H. exact I.
+intros. apply False_ind. cut (is_S O). auto paramodulation. elim H. exact I.
 qed.
 
 theorem eq_gen_S_O_cc: (\forall P:Prop. P) \to \forall x. (S x = O).
-intros. auto.
+intros. auto. (* paramodulation non trova la prova *)
 qed.
 
 theorem eq_gen_S_S: \forall m,n. (S m) = (S n) \to m = n. 
 intros. cut (pred (S m)) = (pred (S n)). 
-assumption. elim H. auto.
+assumption. elim H. auto. (* bug paramodulation *)
 qed.
 
 theorem eq_gen_S_S_cc: \forall m,n. m = n \to (S m) = (S n).
-intros. elim H. auto.
+intros. elim H. auto. (* bug paramodulation *)
 qed.
 
 inductive le: nat \to nat \to Prop \def
@@ -48,37 +63,37 @@ inductive le: nat \to nat \to Prop \def
    | le_succ: \forall m, n. (le m n) \to (le (S m) (S n)).
 
 theorem le_refl: \forall x. (le x x).
-intros. elim x. auto. auto.
+intros. elim x. auto paramodulation. auto paramodulation.
 qed.
 
 theorem le_gen_x_O_aux: \forall x, y. (le x y) \to (y =O) \to 
                         (x = O).
-intros 3. elim H. auto. apply eq_gen_S_O. exact n1. auto.
+intros 3. elim H. auto paramodulation. apply eq_gen_S_O. exact n1. auto paramodulation.
 qed.
 
 theorem le_gen_x_O: \forall x. (le x O) \to (x = O).
-intros. apply le_gen_x_O_aux. exact O. auto. auto.
+intros. apply le_gen_x_O_aux. exact O. auto paramodulation. auto. (* bug paramodulation *)
 qed.
 
 theorem le_gen_x_O_cc: \forall x. (x = O) \to (le x O).
-intros. elim H. auto.
+intros. elim H. auto paramodulation.
 qed.
 
 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. 
-cut n = m. elim Hcut. apply ex_intro. exact n1. auto. auto.
+apply eq_gen_S_O. exact m. elim H1. auto. (* bug paramodulation *) 
+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 
                     (\exists n. x = (S n) \land (le m n)).
-intros. apply le_gen_S_x_aux. exact (S m). auto. auto.
+intros. apply le_gen_S_x_aux. exact (S m). auto paramodulation. auto. (* bug paramodulation *)
 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. elim H2. auto.
+intros. elim H. elim H1. cut (S x1) = x. elim Hcut. auto paramodulation. elim H2. auto. (* bug paramodulation *)
 qed.
 
 theorem le_gen_S_S: \forall m,n. (le (S m) (S n)) \to (le m n).
@@ -88,12 +103,12 @@ lapply eq_gen_S_S to H2 using H4. rewrite > H4. assumption.
 qed.
 
 theorem le_gen_S_S_cc: \forall m,n. (le m n) \to (le (S m) (S n)).
-intros. auto.
+intros. auto paramodulation.
 qed.
 
 (*
 theorem le_trans: \forall x,y. (le x y) \to \forall z. (le y z) \to (le x z).
 intros 1. elim x; clear H. clear x. 
-auto.
+auto paramodulation.
 fwd H1 [H]. decompose H.
 *)
index 69b4adf26f4221a6a19b006617740fe4e253c0b4..6120d93c4b2ac12af53b95883fada8556c3ee8d6 100644 (file)
@@ -1,3 +1,17 @@
+(**************************************************************************)
+(*       ___                                                              *)
+(*      ||M||                                                             *)
+(*      ||A||       A project by Andrea Asperti                           *)
+(*      ||T||                                                             *)
+(*      ||I||       Developers:                                           *)
+(*      ||T||         The HELM team.                                      *)
+(*      ||A||         http://helm.cs.unibo.it                             *)
+(*      \   /                                                             *)
+(*       \ /        This file is distributed under the terms of the       *)
+(*        v         GNU General Public License Version 2                  *)
+(*                                                                        *)
+(**************************************************************************)
+
 set "baseuri" "cic:/matita/tests/first/".
 
 inductive nat : Set \def
index b4ea8d8b510371aacc0eb638af9fb292f1ea3561..82f0b1cf63e26d1bb498a0dbdaa284e2ad2725cc 100644 (file)
@@ -1,3 +1,17 @@
+(**************************************************************************)
+(*       ___                                                              *)
+(*      ||M||                                                             *)
+(*      ||A||       A project by Andrea Asperti                           *)
+(*      ||T||                                                             *)
+(*      ||I||       Developers:                                           *)
+(*      ||T||         The HELM team.                                      *)
+(*      ||A||         http://helm.cs.unibo.it                             *)
+(*      \   /                                                             *)
+(*       \ /        This file is distributed under the terms of the       *)
+(*        v         GNU General Public License Version 2                  *)
+(*                                                                        *)
+(**************************************************************************)
+
 set "baseuri" "cic:/matita/tests/fix_betareduction/".
 
 alias id "eq" = "cic:/Coq/Init/Logic/eq.ind#xpointer(1/1)".
index 7b91c5b24036c30eb2e6aae0c05b383dd52cef79..003d45f4784440ea515a715e4f47ca3e72858a51 100644 (file)
@@ -1,4 +1,19 @@
+(**************************************************************************)
+(*       ___                                                              *)
+(*      ||M||                                                             *)
+(*      ||A||       A project by Andrea Asperti                           *)
+(*      ||T||                                                             *)
+(*      ||I||       Developers:                                           *)
+(*      ||T||         The HELM team.                                      *)
+(*      ||A||         http://helm.cs.unibo.it                             *)
+(*      \   /                                                             *)
+(*       \ /        This file is distributed under the terms of the       *)
+(*        v         GNU General Public License Version 2                  *)
+(*                                                                        *)
+(**************************************************************************)
+
 set "baseuri" "cic:/matita/tests/fold".
+include "coq.ma".
 alias id "nat" = "cic:/Coq/Init/Datatypes/nat.ind#xpointer(1/1)".
 alias num (instance 0) = "natural number".
 alias symbol "eq" (instance 0) = "Coq's leibnitz's equality".
index 4fe9af34067132f04431b03de8a47b37baf9ea70..ee0732225e57a6b6b62c1a8149fab19e1b3af281 100644 (file)
@@ -1,5 +1,5 @@
 (**************************************************************************)
-(*       ___                                                               *)
+(*       ___                                                              *)
 (*      ||M||                                                             *)
 (*      ||A||       A project by Andrea Asperti                           *)
 (*      ||T||                                                             *)
@@ -13,6 +13,7 @@
 (**************************************************************************)
 
 set "baseuri" "cic:/matita/generalize".
+include "coq.ma".
 
 alias num (instance 0) = "natural number".
 alias symbol "eq" (instance 0) = "Coq's leibnitz's equality".
index 99e18012d79bdc43ac445116627aefcf26eef832..4f8c4c6d42b6560bd04872e007892776bab10ab0 100644 (file)
@@ -1,4 +1,19 @@
+(**************************************************************************)
+(*       ___                                                              *)
+(*      ||M||                                                             *)
+(*      ||A||       A project by Andrea Asperti                           *)
+(*      ||T||                                                             *)
+(*      ||I||       Developers:                                           *)
+(*      ||T||         The HELM team.                                      *)
+(*      ||A||         http://helm.cs.unibo.it                             *)
+(*      \   /                                                             *)
+(*       \ /        This file is distributed under the terms of the       *)
+(*        v         GNU General Public License Version 2                  *)
+(*                                                                        *)
+(**************************************************************************)
+
 set "baseuri" "cic:/matita/tests/inversion/".
+include "coq.ma".
 
 inductive nat : Set \def
    O : nat
index e8e81fa014e0d0df11cefecbcfb015339894de04..55933cd31bf8aeb42aa0834e890fedf877cf958d 100644 (file)
@@ -1,3 +1,17 @@
+(**************************************************************************)
+(*       ___                                                              *)
+(*      ||M||                                                             *)
+(*      ||A||       A project by Andrea Asperti                           *)
+(*      ||T||                                                             *)
+(*      ||I||       Developers:                                           *)
+(*      ||T||         The HELM team.                                      *)
+(*      ||A||         http://helm.cs.unibo.it                             *)
+(*      \   /                                                             *)
+(*       \ /        This file is distributed under the terms of the       *)
+(*        v         GNU General Public License Version 2                  *)
+(*                                                                        *)
+(**************************************************************************)
+
 set "baseuri" "cic:/matita/tests/letrec/".
 
 
index afb2513eeb9344df5c7b54feafea0ba91bac97a5..0e27ce4098d58eeee7276da93673e292b443d7df 100644 (file)
@@ -1,3 +1,17 @@
+(**************************************************************************)
+(*       ___                                                              *)
+(*      ||M||                                                             *)
+(*      ||A||       A project by Andrea Asperti                           *)
+(*      ||T||                                                             *)
+(*      ||I||       Developers:                                           *)
+(*      ||T||         The HELM team.                                      *)
+(*      ||A||         http://helm.cs.unibo.it                             *)
+(*      \   /                                                             *)
+(*       \ /        This file is distributed under the terms of the       *)
+(*        v         GNU General Public License Version 2                  *)
+(*                                                                        *)
+(**************************************************************************)
+
 set "baseuri" "cic:/matita/tests/match_inference/".
 
 inductive pos: Set \def
index e1698abd2b6186b5d880226b5da1d0f2b2c69d38..bd0eb8d5a8a97fccb37891c97bbeaba8b0e61c5d 100644 (file)
@@ -1,5 +1,17 @@
+(**************************************************************************)
+(*       ___                                                              *)
+(*      ||M||                                                             *)
+(*      ||A||       A project by Andrea Asperti                           *)
+(*      ||T||                                                             *)
+(*      ||I||       Developers:                                           *)
+(*      ||T||         The HELM team.                                      *)
+(*      ||A||         http://helm.cs.unibo.it                             *)
+(*      \   /                                                             *)
+(*       \ /        This file is distributed under the terms of the       *)
+(*        v         GNU General Public License Version 2                  *)
+(*                                                                        *)
+(**************************************************************************)
+
 set "baseuri" "cic:/matita/tests/mysql_escaping/".
 
 theorem a' : Prop \to Prop.intros.assumption.qed.
-
-
index 80a39fa3f141a567733cbe93d535e895b997ce77..d918fb4511ccf88566d6ea9f91852a12225144fe 100644 (file)
@@ -13,6 +13,7 @@
 (**************************************************************************)
 
 set "baseuri" "cic:/matita/tests/paramodulation".
+include "coq.ma".
 alias id "nat" = "cic:/Coq/Init/Datatypes/nat.ind#xpointer(1/1)".
 alias symbol "eq" (instance 0) = "Coq's leibnitz's equality".
 alias symbol "plus" (instance 0) = "Coq's natural plus".
index 02ef85a0504ddd2c939b2a69ffe752bc544caedd..ed9ecfed89044bb99ba17cf90fcb14f411dab30e 100644 (file)
@@ -1,3 +1,17 @@
+(**************************************************************************)
+(*       ___                                                              *)
+(*      ||M||                                                             *)
+(*      ||A||       A project by Andrea Asperti                           *)
+(*      ||T||                                                             *)
+(*      ||I||       Developers:                                           *)
+(*      ||T||         The HELM team.                                      *)
+(*      ||A||         http://helm.cs.unibo.it                             *)
+(*      \   /                                                             *)
+(*       \ /        This file is distributed under the terms of the       *)
+(*        v         GNU General Public License Version 2                  *)
+(*                                                                        *)
+(**************************************************************************)
+
 set "baseuri" "cic:/matita/tests/record/".
 
 record empty : Type \def {}.
index d70a7af600a7c08909f87f2e2683cef65ad44e5e..6d62e41d19179dccd5c7cb78efe10575f42a068c 100644 (file)
@@ -1,4 +1,19 @@
+(**************************************************************************)
+(*       ___                                                              *)
+(*      ||M||                                                             *)
+(*      ||A||       A project by Andrea Asperti                           *)
+(*      ||T||                                                             *)
+(*      ||I||       Developers:                                           *)
+(*      ||T||         The HELM team.                                      *)
+(*      ||A||         http://helm.cs.unibo.it                             *)
+(*      \   /                                                             *)
+(*       \ /        This file is distributed under the terms of the       *)
+(*        v         GNU General Public License Version 2                  *)
+(*                                                                        *)
+(**************************************************************************)
+
 set "baseuri" "cic:/matita/tests/replace/".
+include "coq.ma".
 alias id "nat" = "cic:/Coq/Init/Datatypes/nat.ind#xpointer(1/1)".
 alias num (instance 0) = "natural number".
 alias symbol "eq" (instance 0) = "Coq's leibnitz's equality".
index 71a7514fa1f519e5b4c1f085d3b34db31e4393a8..ebb54f126588f9dd5abb4895a40d6286a155ddc3 100644 (file)
@@ -1,4 +1,19 @@
+(**************************************************************************)
+(*       ___                                                              *)
+(*      ||M||                                                             *)
+(*      ||A||       A project by Andrea Asperti                           *)
+(*      ||T||                                                             *)
+(*      ||I||       Developers:                                           *)
+(*      ||T||         The HELM team.                                      *)
+(*      ||A||         http://helm.cs.unibo.it                             *)
+(*      \   /                                                             *)
+(*       \ /        This file is distributed under the terms of the       *)
+(*        v         GNU General Public License Version 2                  *)
+(*                                                                        *)
+(**************************************************************************)
+
 set "baseuri" "cic:/matita/tests/rewrite/".
+include "coq.ma".
 
 alias id "nat" = "cic:/Coq/Init/Datatypes/nat.ind#xpointer(1/1)".
 alias num (instance 0) = "natural number".
index ef13fc18ca26747c59ab84a79e6d6916998510aa..450c6767176a58d80c41ee39fed3ca04c3c34c8d 100644 (file)
@@ -1,3 +1,17 @@
+(**************************************************************************)
+(*       ___                                                              *)
+(*      ||M||                                                             *)
+(*      ||A||       A project by Andrea Asperti                           *)
+(*      ||T||                                                             *)
+(*      ||I||       Developers:                                           *)
+(*      ||T||         The HELM team.                                      *)
+(*      ||A||         http://helm.cs.unibo.it                             *)
+(*      \   /                                                             *)
+(*       \ /        This file is distributed under the terms of the       *)
+(*        v         GNU General Public License Version 2                  *)
+(*                                                                        *)
+(**************************************************************************)
+
 set "baseuri" "cic:/matita/tests/second/".
 alias id "nat" = "cic:/matita/tests/first/nat.ind#xpointer(1/1)".
 alias id "O" = "cic:/matita/tests/first/nat.ind#xpointer(1/1/1)".
index 61d5b11631451266bfdfebc87634f0ca5c4d86b3..dbc4e9c06e54cfbf1c50d7d2345f2d31dd0c236c 100644 (file)
@@ -1,4 +1,19 @@
+(**************************************************************************)
+(*       ___                                                              *)
+(*      ||M||                                                             *)
+(*      ||A||       A project by Andrea Asperti                           *)
+(*      ||T||                                                             *)
+(*      ||I||       Developers:                                           *)
+(*      ||T||         The HELM team.                                      *)
+(*      ||A||         http://helm.cs.unibo.it                             *)
+(*      \   /                                                             *)
+(*       \ /        This file is distributed under the terms of the       *)
+(*        v         GNU General Public License Version 2                  *)
+(*                                                                        *)
+(**************************************************************************)
+
 set "baseuri" "cic:/matita/tests/simpl/".
+include "coq.ma".
 
 alias id "not" = "cic:/Coq/Init/Logic/not.con".
 alias symbol "eq" (instance 0) = "Coq's leibnitz's equality".
index 1adf17326007cf5276d32dbfc231dbda79aa1d5a..0ffdb82682fb9f402965a304463f1074e037f786 100644 (file)
@@ -1,4 +1,19 @@
+(**************************************************************************)
+(*       ___                                                              *)
+(*      ||M||                                                             *)
+(*      ||A||       A project by Andrea Asperti                           *)
+(*      ||T||                                                             *)
+(*      ||I||       Developers:                                           *)
+(*      ||T||         The HELM team.                                      *)
+(*      ||A||         http://helm.cs.unibo.it                             *)
+(*      \   /                                                             *)
+(*       \ /        This file is distributed under the terms of the       *)
+(*        v         GNU General Public License Version 2                  *)
+(*                                                                        *)
+(**************************************************************************)
+
 set "baseuri" "cic:/matita/tests/test2/".
+include "coq.ma".
 
 alias id "nat" = "cic:/Coq/Init/Datatypes/nat.ind#xpointer(1/1)".
 alias symbol "and" (instance 0) = "Coq's logical and".
index 561bd6564bad0ca0e8da9bcf936c7c70e141c2ce..6b05351e6526825e09c83d9befa40dcbd03d89b1 100644 (file)
@@ -1,4 +1,19 @@
+(**************************************************************************)
+(*       ___                                                              *)
+(*      ||M||                                                             *)
+(*      ||A||       A project by Andrea Asperti                           *)
+(*      ||T||                                                             *)
+(*      ||I||       Developers:                                           *)
+(*      ||T||         The HELM team.                                      *)
+(*      ||A||         http://helm.cs.unibo.it                             *)
+(*      \   /                                                             *)
+(*       \ /        This file is distributed under the terms of the       *)
+(*        v         GNU General Public License Version 2                  *)
+(*                                                                        *)
+(**************************************************************************)
+
 set "baseuri" "cic:/matita/tests/test3/".
+include "coq.ma".
 
 alias symbol "eq" (instance 0) = "Coq's leibnitz's equality".
 theorem a:\forall x.x=x.
index 8d8cac4e3653bfba8c258ce2d43bf4187f896676..d680378ebc84efeeb7bfd09e9ee8d431b9b590ae 100644 (file)
@@ -1,4 +1,19 @@
+(**************************************************************************)
+(*       ___                                                              *)
+(*      ||M||                                                             *)
+(*      ||A||       A project by Andrea Asperti                           *)
+(*      ||T||                                                             *)
+(*      ||I||       Developers:                                           *)
+(*      ||T||         The HELM team.                                      *)
+(*      ||A||         http://helm.cs.unibo.it                             *)
+(*      \   /                                                             *)
+(*       \ /        This file is distributed under the terms of the       *)
+(*        v         GNU General Public License Version 2                  *)
+(*                                                                        *)
+(**************************************************************************)
+
 set "baseuri" "cic:/matita/tests/test4/".
+include "coq.ma".
 
 
 (* commento che va nell'ast, ma non viene contato
index e0ae453b49c77f42cdbbd2a811843b093eae3652..124cdc121a0a4ae4d28db1f89cb42fbf21a6f961 100644 (file)
@@ -1,3 +1,17 @@
+(**************************************************************************)
+(*       ___                                                              *)
+(*      ||M||                                                             *)
+(*      ||A||       A project by Andrea Asperti                           *)
+(*      ||T||                                                             *)
+(*      ||I||       Developers:                                           *)
+(*      ||T||         The HELM team.                                      *)
+(*      ||A||         http://helm.cs.unibo.it                             *)
+(*      \   /                                                             *)
+(*       \ /        This file is distributed under the terms of the       *)
+(*        v         GNU General Public License Version 2                  *)
+(*                                                                        *)
+(**************************************************************************)
+
 set "baseuri" "cic:/matita/tests/third/".
 alias id "nat" = "cic:/matita/tests/first/nat.ind#xpointer(1/1)".
 alias id "O" = "cic:/matita/tests/first/nat.ind#xpointer(1/1/1)".
index c91ff18636999638c233c9844a8481c1b3a6f776..28ffcf3f2d7dba97aeec48b497ef9b7d030758ca 100644 (file)
@@ -14,6 +14,8 @@
 
 set "baseuri" "cic:/matita/unfold".
 
+include "coq.ma".
+
 alias symbol "plus" (instance 0) = "Coq's natural plus".
 definition myplus \def \lambda x,y. x+y.
 
@@ -27,4 +29,4 @@ theorem trivial: \forall n. S (myplus n n) = myplus (S n) n.
  unfold myplus.
  rewrite > lem.
  reflexivity.
-qed.
\ No newline at end of file
+qed.