Create a "sizeOf" function with name declName
using the recursor recName
.
Equations
- One or more equations did not get rendered due to their size.
Create sizeOf
functions for all inductive datatypes in the mutual inductive declaration containing typeName
The resulting array contains the generated functions names. The NameMap
maps recursor names into the generated function names.
There is a function for each element of the mutual inductive declaration, and for auxiliary recursors for nested inductive types.
Equations
- One or more equations did not get rendered due to their size.
Equations
- Lean.Meta.mkSizeOfSpecLemmaName ctorName = ctorName ++ `sizeOf_spec
Equations
- One or more equations did not get rendered due to their size.
- indInfo : Lean.InductiveVal
- ctorName : Lean.Name
- recMap : Lean.NameMap Lean.Name
@[inline]
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.