X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fcomponents%2Fng_kernel%2FnCicEnvironment.mli;h=650d126207d9704f2e47c18b60d95d747f217a93;hb=e3369ffc8b690703cfafc7985f69db5fc140d749;hp=5128831bea9ed279a6097203e99e253578294e6c;hpb=2c01ff6094173915e7023076ea48b5804dca7778;p=helm.git diff --git a/matita/components/ng_kernel/nCicEnvironment.mli b/matita/components/ng_kernel/nCicEnvironment.mli index 5128831be..650d12620 100644 --- a/matita/components/ng_kernel/nCicEnvironment.mli +++ b/matita/components/ng_kernel/nCicEnvironment.mli @@ -16,35 +16,38 @@ exception ObjectNotFound of string Lazy.t;; exception BadDependency of string Lazy.t * exn;; exception AlreadyDefined of string Lazy.t;; -val set_get_obj: (NUri.uri -> NCic.obj) -> unit +val set_get_obj: (NCic.status -> NUri.uri -> NCic.obj) -> unit -val get_checked_obj: NUri.uri -> NCic.obj +val get_checked_obj: #NCic.status -> NUri.uri -> NCic.obj -val check_and_add_obj: NCic.obj -> unit +val check_and_add_obj: #NCic.status -> NCic.obj -> unit -val get_relevance: NReference.reference -> bool list +val get_relevance: #NCic.status -> NReference.reference -> bool list + +val get_checked_decl: + #NCic.status -> NReference.reference -> + NCic.relevance * string * NCic.term * NCic.c_attr * int val get_checked_def: - NReference.reference -> + #NCic.status -> NReference.reference -> NCic.relevance * string * NCic.term * NCic.term * NCic.c_attr * int (* the last integer is the index of the inductive type in the reference *) val get_checked_indtys: - NReference.reference -> + #NCic.status -> NReference.reference -> bool * int * NCic.inductiveType list * NCic.i_attr * int val get_checked_fixes_or_cofixes: - NReference.reference -> + #NCic.status -> NReference.reference -> NCic.inductiveFun list * NCic.f_attr * int -(* invalidate the object and all those that entered the environment after it *) val invalidate_item: [ `Obj of NUri.uri * NCic.obj | `Constr of NCic.universe * NCic.universe ] -> unit val invalidate: unit -> unit -val set_typecheck_obj: (NCic.obj -> unit) -> unit +val set_typecheck_obj: (NCic.status -> NCic.obj -> unit) -> unit (* =========== universes ============= *) @@ -59,7 +62,7 @@ val max: NCic.universe -> NCic.universe -> NCic.universe (* raise BadConstraints if the second arg. is an inferred universe or * if the added constraint gives circularity *) exception BadConstraint of string Lazy.t;; -val add_lt_constraint: NCic.universe -> NCic.universe -> unit +val add_lt_constraint: acyclic:bool -> NCic.universe -> NCic.universe -> unit val universe_eq: NCic.universe -> NCic.universe -> bool val universe_leq: NCic.universe -> NCic.universe -> bool val universe_lt: NCic.universe -> NCic.universe -> bool