]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/tactics/declarative.ml
Inverters/Inversion:
[helm.git] / helm / software / components / tactics / declarative.ml
index 79e627409ed5794f451f23b40c13316bde7e3379..139dcb1f8757995a9a39fc8df047338885708e80 100644 (file)
@@ -29,7 +29,7 @@ let mk_just ~dbd ~automation_cache =
  function
     `Auto (l,params) -> 
        Tactics.auto ~dbd 
-       ~params:(l,("skip_trie_filtering","1")::("skip_context","1")::params) ~automation_cache
+       ~params:(l,("skip_trie_filtering","1")::(*("skip_context","1")::*)params) ~automation_cache
   | `Term t -> Tactics.apply t
 ;;
 
@@ -196,7 +196,9 @@ let rewritingstep ~dbd ~automation_cache lhs rhs just last_step =
             Tactics.auto ~dbd ~params:(univ, params') ~automation_cache]
     | `Term just -> Tactics.apply just
     | `SolveWith term -> 
-         Tactics.solve_rewrite ~automation_cache ~params:([term],["steps","1"]) ()
+                    Tactics.demodulate ~automation_cache ~dbd
+                    ~params:([term],
+                      ["all","1";"steps","1"; "use_context","false"])
     | `Proof ->
         Tacticals.id_tac
   in
@@ -274,7 +276,7 @@ let we_proceed_by_cases_on t pat =
 ;;
 
 let we_proceed_by_induction_on t pat =
- let pattern = None, [], Some pat in
+(*  let pattern = None, [], Some pat in *)
  Tactics.elim_intros ~depth:0 (*~pattern*) t
 ;;