]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/tactics/tactics.mli
added support for goal patterns
[helm.git] / helm / ocaml / tactics / tactics.mli
index 8938b99f37cd00ec055bf4f1b19bfe3e2945ff5d..5eb66704f7fe61f2d76cc379709ef49c7e1ecc19 100644 (file)
@@ -45,29 +45,29 @@ val left : ProofEngineTypes.tactic
 val letin :
   ?mk_fresh_name_callback:ProofEngineTypes.mk_fresh_name_type ->
   Cic.term -> ProofEngineTypes.tactic
-val reduce :
-  also_in_hypotheses:bool ->
-  terms:Cic.term list option -> ProofEngineTypes.tactic
+val reduce : pattern:ProofEngineTypes.pattern -> ProofEngineTypes.tactic
 val reflexivity : ProofEngineTypes.tactic
 val replace : what:Cic.term -> with_what:Cic.term -> ProofEngineTypes.tactic
-val rewrite_back : term:Cic.term -> ProofEngineTypes.tactic
-val rewrite_back_simpl : term:Cic.term -> ProofEngineTypes.tactic
-val rewrite : term:Cic.term -> ProofEngineTypes.tactic
-val rewrite_simpl : term:Cic.term -> ProofEngineTypes.tactic
+val rewrite_back :
+  ?where:ProofEngineTypes.pattern ->
+  term:Cic.term -> unit -> ProofEngineTypes.tactic
+val rewrite_back_simpl :
+  ?where:ProofEngineTypes.pattern ->
+  term:Cic.term -> unit -> ProofEngineTypes.tactic
+val rewrite :
+  ?where:ProofEngineTypes.pattern ->
+  term:Cic.term -> unit -> ProofEngineTypes.tactic
+val rewrite_simpl :
+  ?where:ProofEngineTypes.pattern ->
+  term:Cic.term -> unit -> ProofEngineTypes.tactic
 val right : ProofEngineTypes.tactic
 val ring : ProofEngineTypes.tactic
-val simpl :
-  also_in_hypotheses:bool ->
-  terms:Cic.term list option -> ProofEngineTypes.tactic
+val simpl : pattern:ProofEngineTypes.pattern -> ProofEngineTypes.tactic
 val split : ProofEngineTypes.tactic
 val symmetry : ProofEngineTypes.tactic
 val transitivity : term:Cic.term -> ProofEngineTypes.tactic
-val whd :
-  also_in_hypotheses:bool ->
-  terms:Cic.term list option -> ProofEngineTypes.tactic
-val normalize :
-  also_in_hypotheses:bool ->
-  terms:Cic.term list option -> ProofEngineTypes.tactic
+val whd : pattern:ProofEngineTypes.pattern -> ProofEngineTypes.tactic
+val normalize : pattern:ProofEngineTypes.pattern -> ProofEngineTypes.tactic
 val fwd_simpl : hyp:Cic.name -> dbd:Mysql.dbd -> ProofEngineTypes.tactic
 val lapply :
   ?mk_fresh_name_callback:ProofEngineTypes.mk_fresh_name_type ->