aboutsummaryrefslogtreecommitdiffhomepage
path: root/library/univops.mli
blob: b5f7715b110d8b85d99114c7a323802cd04a1ace (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
(************************************************************************)
(*  v      *   The Coq Proof Assistant  /  The Coq Development Team     *)
(* <O___,, *   INRIA - CNRS - LIX - LRI - PPS - Copyright 1999-2017     *)
(*   \VV/  **************************************************************)
(*    //   *      This file is distributed under the terms of the       *)
(*         *       GNU Lesser General Public License Version 2.1        *)
(************************************************************************)

open Term
open Univ
open Declarations

(** Shrink a universe context to a restricted set of variables *)

val universes_of_constr : constr -> universe_set
val universes_of_inductive : mutual_inductive_body -> universe_set
val restrict_universe_context : universe_context_set -> universe_set -> universe_context_set