X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Ftactics%2Fdeclarative.ml;h=139dcb1f8757995a9a39fc8df047338885708e80;hb=806ecbdd749ecf2a1cabff52b41cf748fe022401;hp=79e627409ed5794f451f23b40c13316bde7e3379;hpb=b4f6b1a39b59e923527f5c17d8fdd0fa1e13e1bf;p=helm.git diff --git a/helm/software/components/tactics/declarative.ml b/helm/software/components/tactics/declarative.ml index 79e627409..139dcb1f8 100644 --- a/helm/software/components/tactics/declarative.ml +++ b/helm/software/components/tactics/declarative.ml @@ -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 ;;