Tactics.elim_intros term
| TacticAst.ElimType (_, term) -> Tactics.elim_type term
| TacticAst.Replace (_, what, with_what) -> Tactics.replace ~what ~with_what
- | TacticAst.Auto (_,num) ->
- AutoTactic.auto_tac ~num (MatitaDb.instance ())
+ | TacticAst.Auto (_,depth) ->
+(* AutoTactic.auto_tac ~num (MatitaDb.instance ()) *)
+ AutoTactic.auto_tac_new ?depth ~dbd:(MatitaDb.instance ()) ()
| TacticAst.Change (_, what, with_what, _) -> Tactics.change ~what ~with_what
(*
(* TODO Zack a lot more of tactics to be implemented here ... *)
let context = [] in
let src_uri =
let ty_src = CicReduction.whd context ty_src in
- UriManager.uri_of_string (CicUtil.uri_of_term ty_src)
+ CicUtil.uri_of_term ty_src
in
let tgt_uri =
let ty_tgt = CicReduction.whd context ty_tgt in
- UriManager.uri_of_string (CicUtil.uri_of_term ty_tgt)
+ CicUtil.uri_of_term ty_tgt
in
let new_coercions =
(* also adds them to the Db *)
{status with aliases =
DisambiguateTypes.Environment.add
(DisambiguateTypes.Id id)
- ("boh?",(fun _ _ _ -> CicUtil.term_of_uri uri))
+ ("boh?",(fun _ _ _ -> CicUtil.term_of_uri (UriManager.uri_of_string uri)))
status.aliases }
| TacticAst.Symbol_alias (symb, instance, desc) ->
{status with aliases =