]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/ng_tactics/nTactics.ml
First tests for paramodulation (pretty printer, unification)
[helm.git] / helm / software / components / ng_tactics / nTactics.ml
index a0d8eba48a6b555718c45625968ccc6ddc451666..f9916befc851b48a2eeca70d6aa7d476fc819740 100644 (file)
@@ -553,3 +553,15 @@ let assert_tac seqs status =
           [merge_tac])
      ) status
 ;;
+
+let auto ~params status goal =
+  let gty = get_goalty status goal in
+  let n,h,metasenv,subst,o = status.pstatus in
+  let status,t = term_of_cic_term status gty (ctx_of gty) in
+    Paramod.nparamod metasenv subst (ctx_of gty) t;      
+    status
+;;
+
+let auto_tac ~params status =
+  distribute_tac (auto ~params) status
+;;