X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=helm%2Focaml%2Ftactics%2FproofEngineHelpers.mli;h=b04f1313923404bc4c9533bf4937ba89e8220b9c;hb=0409d6974224ddfc00a5f3d9918651c6d99aa661;hp=b77fd88ac7e4a36b31cc276124bc049c6f5ddacf;hpb=bf40c378bd2c624405be2118a478a0734eb8d3aa;p=helm.git diff --git a/helm/ocaml/tactics/proofEngineHelpers.mli b/helm/ocaml/tactics/proofEngineHelpers.mli index b77fd88ac..b04f13139 100644 --- a/helm/ocaml/tactics/proofEngineHelpers.mli +++ b/helm/ocaml/tactics/proofEngineHelpers.mli @@ -80,6 +80,8 @@ val select: ] option list * (Cic.context * Cic.term) list +val locate_in_term: Cic.term -> where:Cic.term -> Cic.context + (* saturate_term newmeta metasenv context ty *) (* Given a type [ty] (a backbone), it returns its head and a new metasenv in *) (* which there is new a META for each hypothesis, a list of arguments for the *) @@ -88,3 +90,7 @@ val select: val saturate_term: int -> Cic.metasenv -> Cic.context -> Cic.term -> Cic.term * Cic.metasenv * Cic.term list * int + +(* returns the index and the type of a premise in a context *) +val lookup_type: Cic.metasenv -> Cic.context -> string -> int * Cic.term +