type goal = int
type status = proof * goal
+ (** @param goal
+ * @param goal's metasenv
+ * @return initial proof status for the given goal *)
+val initial_status: Cic.term -> Cic.metasenv -> status
+
(**
a tactic: make a transition from one status to another one or, usually,
raise a "Fail" (@see Fail) exception in case of failure
type tactic
val mk_tactic: (status -> proof * goal list) -> tactic
+(** the type of a tactic application domain
+ * [ hypothesis_name * path ] * goal_path
+ *)
+type pattern = (string * Cic.term) list * Cic.term option
+
+(** the pattern for the whole goal *)
+val goal_pattern : pattern
+
(** tactic failure *)
exception Fail of string