diff options
author | Matthieu Sozeau <mattam@mattam.org> | 2014-05-30 20:55:48 +0200 |
---|---|---|
committer | Matthieu Sozeau <mattam@mattam.org> | 2014-06-04 15:48:31 +0200 |
commit | dd96b1e5e8d0eb9f93cff423b6f9cf900aee49d7 (patch) | |
tree | 70a184062496f64841ca013929a0622600ac1b2f /kernel/inductive.mli | |
parent | 0bbaba7bde67a8673692356c3b3b401b4f820eb7 (diff) |
- Fix hashing of levels to get the "right" order in universe contexts etc...
- Add a tentative syntax for specifying universes: Type{"i"} and foo@{Type{"i"},Type{"j"}}.
These are always rigid.
- Use level-to-level substitutions where the more general level-to-universe substitutions
were previously used.
Diffstat (limited to 'kernel/inductive.mli')
-rw-r--r-- | kernel/inductive.mli | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/kernel/inductive.mli b/kernel/inductive.mli index a23d170f5..497c06417 100644 --- a/kernel/inductive.mli +++ b/kernel/inductive.mli @@ -35,13 +35,14 @@ val lookup_mind_specif : env -> inductive -> mind_specif (** {6 Functions to build standard types related to inductive } *) val ind_subst : mutual_inductive -> mutual_inductive_body -> universe_instance -> constr list -val make_inductive_subst : mutual_inductive_body -> universe_instance -> universe_subst +val make_inductive_subst : mutual_inductive_body -> universe_instance -> universe_level_subst val inductive_instance : mutual_inductive_body -> universe_instance val inductive_context : mutual_inductive_body -> universe_context val inductive_params_ctxt : mutual_inductive_body puniverses -> rel_context -val instantiate_inductive_constraints : mutual_inductive_body -> universe_subst -> constraints +val instantiate_inductive_constraints : + mutual_inductive_body -> universe_level_subst -> constraints val constrained_type_of_inductive : env -> mind_specif puniverses -> types constrained val constrained_type_of_inductive_knowing_parameters : |