Expand description
Auto-generated module
🤖 Generated with SplitRS
Functions§
- check_
inductive - Check an inductive type declaration for validity.
- constructor_
field_ counts - Given an
InductiveType, return the number of fields in each constructor. - is_
enum_ inductive - Check whether an inductive type is an enum (all constructors have no fields).
- is_
singleton_ inductive - Check whether an inductive type is a singleton (one constructor, no recursive fields).
- mk_
bool_ inductive - Build the
Boolinductive type (no parameters, two constructors). - mk_
empty_ inductive - Build the
Emptyinductive type (no constructors — ex falso). - mk_
nat_ inductive - Build the
Natinductive type. - mk_
unit_ inductive - Build the
Unitinductive type (single constructor, no fields). - recursor_
name - Return the recursor name for a given inductive type name.
- reduce_
recursor - Reduce a recursor application (iota-reduction).