X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fcic_unification%2FcicMetaSubst.mli;h=a816d86b9cc8af9d333263a18b9a59e98927ae9d;hb=e67aacd065c5f2bb90dc6b07850b4f4c2bc865fc;hp=9a0bee6ae842d2c551778843bf809ce857a422a6;hpb=1592bfa20a80f2f58fe0593c019689cb32072db6;p=helm.git diff --git a/helm/ocaml/cic_unification/cicMetaSubst.mli b/helm/ocaml/cic_unification/cicMetaSubst.mli index 9a0bee6ae..a816d86b9 100644 --- a/helm/ocaml/cic_unification/cicMetaSubst.mli +++ b/helm/ocaml/cic_unification/cicMetaSubst.mli @@ -26,6 +26,7 @@ exception MetaSubstFailure of string exception Uncertain of string exception AssertFailure of string +exception DeliftingARelWouldCaptureAFreeVariable;; (* The entry (i,t) in a substitution means that *) (* (META i) have been instantiated with t. *) @@ -50,6 +51,14 @@ val delift : val restrict : Cic.substitution -> (int * int) list -> Cic.metasenv -> Cic.metasenv * Cic.substitution + +(** delifts the Rels in t of n + * @raise DeliftingARelWouldCaptureAFreeVariable + *) +val delift_rels : + Cic.substitution -> Cic.metasenv -> int -> Cic.term -> + Cic.term * Cic.substitution * Cic.metasenv + (** {2 Pretty printers} *) val ppsubst_unfolded: Cic.substitution -> string