1
(************************************************************************)
2
(* v * The Coq Proof Assistant / The Coq Development Team *)
3
(* <O___,, * CNRS-Ecole Polytechnique-INRIA Futurs-Universite Paris Sud *)
4
(* \VV/ **************************************************************)
5
(* // * This file is distributed under the terms of the *)
6
(* * GNU Lesser General Public License Version 2.1 *)
7
(************************************************************************)
9
(*i $Id: decls.mli 10841 2008-04-24 07:19:57Z herbelin $ i*)
24
(** This module manages non-kernel informations about declarations. It
25
is either non-logical informations or logical informations that
26
have no place to be (yet) in the kernel *)
28
(** Registration and access to the table of variable *)
31
dir_path * bool (* opacity *) * Univ.constraints * logical_kind
33
val add_variable_data : variable -> variable_data -> unit
34
val variable_kind : variable -> logical_kind
35
val variable_opacity : variable -> bool
36
val variable_constraints : variable -> Univ.constraints
37
val variable_exists : variable -> bool
39
(** Registration and access to the table of constants *)
41
val add_constant_kind : constant -> logical_kind -> unit
42
val constant_kind : constant -> logical_kind
44
(** Miscellaneous functions *)
46
val last_section_hyps : dir_path -> identifier list
47
val clear_proofs : named_context -> Environ.named_context_val