X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fng_kernel%2FnCicUntrusted.mli;h=cb0b54b82ef18e72451b275c3e7912989e46cbb7;hb=0581f3c8dc2098b82cd31a0fbed224a95652bd88;hp=9cde401b04542c5b0dd04eb4d4bfe8bbdcf66c43;hpb=11b2157bacf59cfc561c2ef6f92ee41ee2c1a006;p=helm.git diff --git a/helm/software/components/ng_kernel/nCicUntrusted.mli b/helm/software/components/ng_kernel/nCicUntrusted.mli index 9cde401b0..cb0b54b82 100644 --- a/helm/software/components/ng_kernel/nCicUntrusted.mli +++ b/helm/software/components/ng_kernel/nCicUntrusted.mli @@ -19,6 +19,17 @@ val map_obj_kind: ?skip_body:bool -> (NCic.term -> NCic.term) -> NCic.obj_kind -> NCic.obj_kind val metas_of_term : NCic.substitution -> NCic.context -> NCic.term -> int list +val sort_metasenv: NCic.substitution -> NCic.metasenv -> NCic.metasenv + +type meta_kind = [ `IsSort | `IsType | `IsTerm ] +val kind_of_meta: NCic.meta_attrs -> meta_kind +val set_kind: meta_kind -> NCic.meta_attrs -> NCic.meta_attrs +val replace_in_metasenv: + int -> (NCic.conjecture -> NCic.conjecture) -> NCic.metasenv -> NCic.metasenv +val replace_in_subst: + int -> (NCic.subst_entry -> NCic.subst_entry) -> NCic.substitution -> + NCic.substitution +val max_kind: meta_kind -> meta_kind -> meta_kind module NCicHash : Hashtbl.S with type key = NCic.term @@ -26,6 +37,6 @@ val mk_appl : NCic.term -> NCic.term list -> NCic.term (* the context is needed only to honour Barendregt's naming convention *) val apply_subst : NCic.substitution -> NCic.context -> NCic.term -> NCic.term +val apply_subst_context : fix_projections:bool -> + NCic.substitution -> NCic.context -> NCic.context val apply_subst_metasenv : NCic.substitution -> NCic.metasenv -> NCic.metasenv - -val height_of_obj_kind: NUri.uri -> NCic.obj_kind -> int