diff options
author | Amin Timany <amintimany@gmail.com> | 2017-03-30 18:12:43 +0200 |
---|---|---|
committer | Emilio Jesus Gallego Arias <e+git@x80.org> | 2017-06-16 04:45:19 +0200 |
commit | 4dd4f186895d16510f217778bb83933be8956082 (patch) | |
tree | 94c4b2b18c013be0305e37a49c2bf63f475a8a64 /engine/universes.mli | |
parent | 44f462aa380de847452c0809d15c86649d5d6a7a (diff) |
New datastructure for universes of inductive types
Diffstat (limited to 'engine/universes.mli')
-rw-r--r-- | engine/universes.mli | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/engine/universes.mli b/engine/universes.mli index 83ca1ea60..17a9deb3a 100644 --- a/engine/universes.mli +++ b/engine/universes.mli @@ -227,3 +227,14 @@ val pr_universe_opt_subst : universe_opt_subst -> Pp.std_ppcmds val solve_constraints_system : universe option array -> universe array -> universe array -> universe array + +(** Operations for universe_info_ind *) + +(** Given a universe context representing constraints of an inductive + this function produces a UInfoInd.t that with the trivial subtyping relation. *) +val univ_inf_ind_from_universe_context : universe_context -> universe_info_ind + +(** This function adds universe constraints to the universe + constraints of the given universe_info_ind. However one must be + CAUTIOUS as it resets the subtyping constraints to equality. *) +val univ_inf_ind_union : universe_info_ind -> universe_context -> universe_info_ind |