X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Ftactics%2FproofEngineHelpers.mli;h=219d426e475b04f12d00cba5b060fabf9117251d;hb=249d79bebff886846fbab65cc079623d90684baf;hp=85dc61e81d7fa5e03fbc86b115f5884453c63e3b;hpb=fa2c122dc2d20e0d8b473bef9128464c3477d419;p=helm.git diff --git a/helm/ocaml/tactics/proofEngineHelpers.mli b/helm/ocaml/tactics/proofEngineHelpers.mli index 85dc61e81..219d426e4 100644 --- a/helm/ocaml/tactics/proofEngineHelpers.mli +++ b/helm/ocaml/tactics/proofEngineHelpers.mli @@ -48,6 +48,16 @@ val compare_metasenvs : * A pattern is a Cic term in which Cic.Implicit terms annotated with `Hole * appears *) +(** create a pattern from a term and a list of subterms. +* the pattern is granted to have a ? for every subterm that has no selected +* subterms +* @param equality equality function used while walking the term. Defaults to +* physical equality (==) *) +val pattern_of: + ?equality:(Cic.term -> Cic.term -> bool) -> term:Cic.term -> Cic.term list -> + Cic.term + + (** select metasenv conjecture pattern * select all subterms of [conjecture] matching [pattern]. * It returns the set of matched terms (that can be compared using physical