X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Ftactics%2FproofEngineTypes.mli;h=4d418b5bcda0a8c4614343bc8e9524282366f24e;hb=12cc5b2b8e7f7bb0b5e315094b008a293a4df6b1;hp=af5daf5dcbdce17986cd475a25308d70190c0732;hpb=728734356fbb8f3d66fb022c8a97b464f8893be8;p=helm.git diff --git a/helm/ocaml/tactics/proofEngineTypes.mli b/helm/ocaml/tactics/proofEngineTypes.mli index af5daf5dc..4d418b5bc 100644 --- a/helm/ocaml/tactics/proofEngineTypes.mli +++ b/helm/ocaml/tactics/proofEngineTypes.mli @@ -44,6 +44,12 @@ val initial_status: Cic.term -> Cic.metasenv -> status type tactic val mk_tactic: (status -> proof * goal list) -> tactic + (** what, hypothesis patterns, conclusion pattern *) +type pattern = Cic.term option * (string * Cic.term) list * Cic.term + + (** conclusion_pattern [t] returns the pattern (t,[],%) *) +val conclusion_pattern : Cic.term option -> pattern + (** tactic failure *) exception Fail of string