aboutsummaryrefslogtreecommitdiffhomepage
path: root/library/univops.mli
blob: 5b499c75bcfd24676c6f7da165483149b828b73f (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-2016     *)
(*   \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