X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2FgTopLevel%2FproofEngineTypes.ml;h=f5e75fc47e817acc192fffd24e003839c70f4049;hb=b1fb6b8e1767d775bc452303629e95941d142bea;hp=38492fce9b551641fa71dc5f378dbf2992918a5f;hpb=76cb30ecd0159512548aee0ba7085ab17c6fd5bd;p=helm.git diff --git a/helm/gTopLevel/proofEngineTypes.ml b/helm/gTopLevel/proofEngineTypes.ml index 38492fce9..f5e75fc47 100644 --- a/helm/gTopLevel/proofEngineTypes.ml +++ b/helm/gTopLevel/proofEngineTypes.ml @@ -24,19 +24,17 @@ *) (** - current proof (proof uri * metas * (in)complete proof * term to be prooved), - possibly None + current proof (proof uri * metas * (in)complete proof * term to be prooved) *) -type proof = (UriManager.uri * Cic.metasenv * Cic.term * Cic.term) option +type proof = UriManager.uri * Cic.metasenv * Cic.term * Cic.term (** current goal, integer index *) -type goal = int option - (** current status: (proof, goal) pair *) -type status = proof * goal +type goal = int (** 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 = status:status -> status + (** an unfinished proof with the optional current goal *) +type tactic = status:(proof * goal) -> proof * goal list (** tactic failure *) exception Fail of string