]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/tactics/autoTypes.ml
many changes:
[helm.git] / helm / software / components / tactics / autoTypes.ml
index 5a84c2c2ba73bab691fdd39cc606ebfa718346a9..45f981be1ffebe1d6403921a42796ddb7efc5954 100644 (file)
@@ -25,7 +25,9 @@
 
 type flags = {
   maxwidth: int;
+  maxsize: int;
   maxdepth: int;
+  maxgoalsizefactor : int;
   timeout: float;
   use_library: bool;
   use_paramod: bool;
@@ -37,6 +39,8 @@ type flags = {
 let default_flags _ =
   {maxwidth=3;
    maxdepth=3;
+   maxsize = 6;
+   maxgoalsizefactor = max_int;
    timeout=Unix.gettimeofday() +.3.0;
    use_library=false;
    use_paramod=true;
@@ -47,8 +51,8 @@ let default_flags _ =
 
 (* (metasenv, subst, (metano,depth)list *)
 type sort = P | T;;
-type and_elem =  Cic.metasenv * Cic.substitution * (int * int * sort) list
+type and_elem =  (int * Cic.term * Cic.term) * Cic.metasenv * Cic.substitution * (int * int * sort) list
 type auto_result = 
   | Fail of string 
-  | Success of Cic.metasenv * Cic.substitution * and_elem list
+  | Success of (int * Cic.term * Cic.term) * Cic.metasenv * Cic.substitution * and_elem list