package rocq-runtime
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=a45280ab4fbaac7540b136a6b073b4a6db15739ec1e149bded43fa6f4fc25f20
doc/rocq-runtime.engine/PolyFlags/index.html
Module PolyFlagsSource
Set of flags for universe polymorphism, implicit sort polymorphism and cumulativity. Note that implicit sort polymorphism (not collapsing sort variables to Type) and cumulativity only make sense for constructions that are already polymorphic. This invariant is ensured by the smart constructor below.
Raises a user error if univ_poly = false and either collapse_sort_variables = false or cumulative = true.
The default is monomorphic: univ_poly and cumulative are false, collapse_sort_variables is true
Only sets the universe univ_poly flag. Use with care, this probably indicates that the code does not handle cumulative constructions when it should. Code relying on elaboration should also support the collapse_sort_variables flag.
Used to have distinguished default behaviors when treating assumptions/axioms, definitions or inductives