aboutsummaryrefslogtreecommitdiffhomepage
path: root/pretyping/univdecls.mli
Commit message (Collapse)AuthorAge
* Allow declaring universe constraints at definition level.Gravatar Matthieu Sozeau2017-09-19
Introduce a "+" modifier for universe and constraint declarations to indicate that these can be extended in the final definition/proof. By default [Definition f] is equivalent to [Definition f@{+|+}], i.e universes can be introduced and constraints as well. For [f@{}] or [f@{i j}], the constraints can be extended, no universe introduced, to maintain compatibility with existing developments. Use [f@{i j | }] to indicate that no constraint (nor universe) can be introduced. These kind of definitions could benefit from asynchronous processing. Declarations of universe binders and constraints also works for monomorphic definitions.