]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/tactics/declarative.mli
parameter sintax added to axiom statement
[helm.git] / helm / software / components / tactics / declarative.mli
index 6e3a7b6960111d7eba970d579a0f1c4649641dde..21e49b8e2e3ef40bfe290ce76e6c22c321800374 100644 (file)
  * http://cs.unibo.it/helm/.
  *)
 
+type just = [ `Term of Cic.term | `Auto of Auto.auto_params ]
+
 val assume : string -> Cic.term -> ProofEngineTypes.tactic
 
 val suppose : Cic.term -> string -> Cic.term option -> ProofEngineTypes.tactic
 
-val by_term_we_proved : Cic.term option -> Cic.term -> string -> Cic.term option ->ProofEngineTypes.tactic
+val by_just_we_proved :
+ dbd:HSql.dbd -> automation_cache:AutomationCache.cache -> 
+ just -> Cic.term -> string option -> Cic.term option ->
+ ProofEngineTypes.tactic
 
-val bydone : Cic.term option -> ProofEngineTypes.tactic
+val bydone : dbd:HSql.dbd -> automation_cache:AutomationCache.cache ->
+  just -> ProofEngineTypes.tactic
 
 val we_need_to_prove :
- Cic.term -> string -> Cic.term option -> ProofEngineTypes.tactic
+ Cic.term -> string option -> Cic.term option -> ProofEngineTypes.tactic
+
+val we_proceed_by_cases_on : Cic.term -> Cic.term -> ProofEngineTypes.tactic
 
 val we_proceed_by_induction_on : Cic.term -> Cic.term -> ProofEngineTypes.tactic
 
@@ -43,11 +51,16 @@ val thesisbecomes : Cic.term -> ProofEngineTypes.tactic
 val case : string -> params:(string * Cic.term) list -> ProofEngineTypes.tactic
 
 val existselim :
- Cic.term -> string -> Cic.term -> string -> Cic.term -> ProofEngineTypes.tactic
+  dbd:HSql.dbd -> automation_cache:AutomationCache.cache -> just ->
+  string -> Cic.term -> string -> Cic.lazy_term -> ProofEngineTypes.tactic
 
 val andelim :
- Cic.term -> string -> Cic.term -> string -> Cic.term -> ProofEngineTypes.tactic
+ dbd:HSql.dbd -> automation_cache:AutomationCache.cache -> just ->
+ string -> Cic.term -> string -> Cic.term -> ProofEngineTypes.tactic
 
 val rewritingstep :
- Cic.term option -> Cic.term -> Cic.term option -> Cic.name option ->
-  ProofEngineTypes.tactic
+ dbd:HSql.dbd -> automation_cache:AutomationCache.cache ->
+  (string option * Cic.term) option -> Cic.term ->
+   [ `Term of Cic.term | `Auto of Auto.auto_params
+   | `Proof  | `SolveWith of Cic.term] ->
+    bool (* last step *) -> ProofEngineTypes.tactic