aboutsummaryrefslogtreecommitdiffhomepage
path: root/pretyping/univdecls.mli
blob: 242eb802faa1c50f41f9a4ed597d27c4d0411e3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
(************************************************************************)
(*         *   The Coq Proof Assistant / The Coq Development Team       *)
(*  v      *   INRIA, CNRS and contributors - Copyright 1999-2018       *)
(* <O___,, *       (see CREDITS file for the list of authors)           *)
(*   \VV/  **************************************************************)
(*    //   *    This file is distributed under the terms of the         *)
(*         *     GNU Lesser General Public License Version 2.1          *)
(*         *     (see LICENSE file for the text of the license)         *)
(************************************************************************)

(** Local universe and constraint declarations. *)
type universe_decl =
  (Misctypes.lident list, Univ.Constraint.t) Misctypes.gen_universe_decl

val default_univ_decl : universe_decl

val interp_univ_decl : Environ.env -> Vernacexpr.universe_decl_expr ->
                       Evd.evar_map * universe_decl

val interp_univ_decl_opt : Environ.env -> Vernacexpr.universe_decl_expr option ->
                       Evd.evar_map * universe_decl