summaryrefslogtreecommitdiff
path: root/kernel/univ.mli
diff options
context:
space:
mode:
authorGravatar Samuel Mimram <smimram@debian.org>2006-04-28 14:59:16 +0000
committerGravatar Samuel Mimram <smimram@debian.org>2006-04-28 14:59:16 +0000
commit3ef7797ef6fc605dfafb32523261fe1b023aeecb (patch)
treead89c6bb57ceee608fcba2bb3435b74e0f57919e /kernel/univ.mli
parent018ee3b0c2be79eb81b1f65c3f3fa142d24129c8 (diff)
Imported Upstream version 8.0pl3+8.1alphaupstream/8.0pl3+8.1alpha
Diffstat (limited to 'kernel/univ.mli')
-rw-r--r--kernel/univ.mli20
1 files changed, 17 insertions, 3 deletions
diff --git a/kernel/univ.mli b/kernel/univ.mli
index e15971eb..f39f05d9 100644
--- a/kernel/univ.mli
+++ b/kernel/univ.mli
@@ -6,20 +6,27 @@
(* * GNU Lesser General Public License Version 2.1 *)
(************************************************************************)
-(*i $Id: univ.mli,v 1.21.14.1 2004/07/16 19:30:28 herbelin Exp $ i*)
+(*i $Id: univ.mli 8673 2006-03-29 21:21:52Z herbelin $ i*)
(* Universes. *)
type universe
+val base_univ : universe
val prop_univ : universe
val make_univ : Names.dir_path * int -> universe
+val is_base : universe -> bool
+
(* The type of a universe *)
val super : universe -> universe
+
(* The max of 2 universes *)
val sup : universe -> universe -> universe
+(* The max of an array of universes *)
+val sup_array : universe array -> universe
+
(*s Graphs of universes. *)
type universes
@@ -47,13 +54,20 @@ exception UniverseInconsistency
val merge_constraints : constraints -> universes -> universes
+(*s Support for sort-polymorphic inductive types *)
+
+val fresh_local_univ : unit -> universe
+
+val solve_constraints_system : universe array -> universe array ->
+ universe array
+
+val is_empty_universe : universe -> bool
+
(*s Pretty-printing of universes. *)
val pr_uni : universe -> Pp.std_ppcmds
val pr_universes : universes -> Pp.std_ppcmds
-val string_of_univ : universe -> string
-
(*s Dumping to a file *)
val dump_universes : out_channel -> universes -> unit