X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fcomponents%2Fng_kernel%2FnCicEnvironment.mli;h=650d126207d9704f2e47c18b60d95d747f217a93;hb=076439def28e649ec384fae038ed021dadd5f75c;hp=8483b8a1f771c17be9651dbf83458064051b5115;hpb=77dbf2cad247bbcb13e39c4341573b220d1d08a9;p=helm.git diff --git a/matita/components/ng_kernel/nCicEnvironment.mli b/matita/components/ng_kernel/nCicEnvironment.mli index 8483b8a1f..650d12620 100644 --- a/matita/components/ng_kernel/nCicEnvironment.mli +++ b/matita/components/ng_kernel/nCicEnvironment.mli @@ -16,25 +16,29 @@ 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 val invalidate_item: @@ -43,7 +47,7 @@ val invalidate_item: val invalidate: unit -> unit -val set_typecheck_obj: (NCic.obj -> unit) -> unit +val set_typecheck_obj: (NCic.status -> NCic.obj -> unit) -> unit (* =========== universes ============= *) @@ -58,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