X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=inline;f=helm%2Fmatita%2FmatitaEngine.ml;h=59d1c7b79891464d51348e9136716dadd4fd5303;hb=532cedb4dfaee23bbddffa70801f6abf604bd436;hp=f3ac49e16deb10355e3bdbad14c7f250c3931b33;hpb=de9a83f286eee12117fb478ea2db18f7faebac9a;p=helm.git diff --git a/helm/matita/matitaEngine.ml b/helm/matita/matitaEngine.ml index f3ac49e16..59d1c7b79 100644 --- a/helm/matita/matitaEngine.ml +++ b/helm/matita/matitaEngine.ml @@ -43,7 +43,8 @@ let tactic_of_ast = function Tactics.elim_intros_simpl term | TacticAst.ElimType (_, term) -> Tactics.elim_type term | TacticAst.Replace (_, what, with_what) -> Tactics.replace ~what ~with_what -(* | TacticAst.Auto _ -> Tactics.auto_new ~dbd *) + | TacticAst.Auto (_,num) -> + AutoTactic.auto_tac ~num ~dbd:(MatitaDb.instance ()) | TacticAst.Change (_, what, with_what, _) -> Tactics.change ~what ~with_what (* (* TODO Zack a lot more of tactics to be implemented here ... *) @@ -286,7 +287,7 @@ let disambiguate_tactic status = function *) | TacticAst.Intros (loc, num, names) -> status, TacticAst.Intros (loc, num, names) - | TacticAst.Auto loc -> status, TacticAst.Auto loc + | TacticAst.Auto (loc,num) -> status, TacticAst.Auto (loc,num) | TacticAst.Reflexivity loc -> status, TacticAst.Reflexivity loc | TacticAst.Assumption loc -> status, TacticAst.Assumption loc | TacticAst.Contradiction loc -> status, TacticAst.Contradiction loc