X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Ftactics%2Fdeclarative.mli;h=987663e15ebb929c346b66a59d848f7009539cef;hb=ffdd3ddd6ce10a5fa0729ab407647bd46c44b9d8;hp=a42faac4b599b2cdd361159417146fc20eb5573e;hpb=c2d8fcd86793151c8cf24f45fc3064b97f16f596;p=helm.git diff --git a/helm/software/components/tactics/declarative.mli b/helm/software/components/tactics/declarative.mli index a42faac4b..987663e15 100644 --- a/helm/software/components/tactics/declarative.mli +++ b/helm/software/components/tactics/declarative.mli @@ -23,16 +23,19 @@ * 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:HMysql.dbd -> universe:Universe.universe -> Cic.term option -> Cic.term -> - string option -> Cic.term option -> ProofEngineTypes.tactic +val by_just_we_proved : + dbd:HSql.dbd -> universe:Universe.universe -> + just -> Cic.term -> string option -> Cic.term option -> + ProofEngineTypes.tactic -val bydone : dbd:HMysql.dbd -> universe:Universe.universe -> Cic.term option -> - ProofEngineTypes.tactic +val bydone : dbd:HSql.dbd -> universe:Universe.universe -> + 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:HMysql.dbd -> universe:Universe.universe -> - Cic.term option -> string -> Cic.term -> string -> Cic.lazy_term -> ProofEngineTypes.tactic + dbd:HSql.dbd -> universe:Universe.universe -> 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 -> universe:Universe.universe -> just -> + string -> Cic.term -> string -> Cic.term -> ProofEngineTypes.tactic val rewritingstep : - dbd:HMysql.dbd -> universe:Universe.universe -> + dbd:HSql.dbd -> universe:Universe.universe -> (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