X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Ftactics%2Fdeclarative.mli;h=987663e15ebb929c346b66a59d848f7009539cef;hb=4ccc7ef7fe3d43fb0f882768d2818a54e24c8857;hp=64147b778d55a4c90f9bda0ffef6243d1ea4515e;hpb=403b7486e9f2cb5583a2c8035cf419bbac982fb1;p=helm.git diff --git a/helm/software/components/tactics/declarative.mli b/helm/software/components/tactics/declarative.mli index 64147b778..987663e15 100644 --- a/helm/software/components/tactics/declarative.mli +++ b/helm/software/components/tactics/declarative.mli @@ -23,20 +23,25 @@ * 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 +val we_proceed_by_cases_on : Cic.term -> Cic.term -> ProofEngineTypes.tactic + val we_proceed_by_induction_on : Cic.term -> Cic.term -> ProofEngineTypes.tactic val byinduction : Cic.term -> string -> ProofEngineTypes.tactic @@ -46,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 -> 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 -> Cic.term option -> Cic.term -> - [ `Term of Cic.term | `Auto of (string * string) list ] -> Cic.name option -> ProofEngineTypes.tactic + dbd:HSql.dbd -> universe:Universe.universe -> + (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