]> 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 97514b684b64bf8486b4fb8ddc9c8732c7ca40e5..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 :
- dbd:HSql.dbd -> universe:Universe.universe -> Cic.term option -> Cic.term ->
-  string option -> 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 : dbd:HSql.dbd -> universe:Universe.universe -> 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 option -> Cic.term option -> ProofEngineTypes.tactic
@@ -48,14 +51,16 @@ val thesisbecomes : Cic.term -> ProofEngineTypes.tactic
 val case : string -> params:(string * Cic.term) list -> ProofEngineTypes.tactic
 
 val existselim :
-  dbd:HSql.dbd -> universe:Universe.universe ->
Cic.term option -> string -> Cic.term -> string -> Cic.lazy_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 :
- dbd:HSql.dbd -> universe:Universe.universe ->
+ dbd:HSql.dbd -> automation_cache:AutomationCache.cache ->
   (string option * Cic.term) option -> Cic.term ->
-   [ `Term of Cic.term | `Auto of (string * string) list ] ->
+   [ `Term of Cic.term | `Auto of Auto.auto_params
+   | `Proof  | `SolveWith of Cic.term] ->
     bool (* last step *) -> ProofEngineTypes.tactic