Expand description
Auto-generated module
🤖 Generated with SplitRS
Functions§
- app_
args - Collect the arguments from an application spine.
- app_
head - Return the head of an application spine (strips all Apps).
- count_
occurrences - Count the total number of occurrences of a sub-expression in another.
- mk_and
- Build
And a b: logical conjunction. - mk_
arrow - Build a non-dependent arrow type:
a → b. - mk_
arrows - Build a chain of non-dependent arrow types.
- mk_
const - Build a named constant with no universe parameters.
- mk_eq
- Build
Eq α a b: the propositional equality type. - mk_
lam_ many - Build a lambda over a list of binders, innermost last.
- mk_let
- Build a let-binding
let x : ty := val in body. - mk_not
- Build
Not p = p → False. - mk_or
- Build
Or a b: logical disjunction. - mk_
pi_ many - Build a Pi type over a list of binders.
- mk_refl
- Build
Eq.refl α a. - prop
- Convenience constructor:
Prop(Sort 0). - same_
head - Check if two expressions share the same head constant.
- subst_
expr - Substitute
oldwithnew_expreverywhere it appears inexpr. - type0
- Convenience constructor:
Type 0(Sort 1). - type1
- Convenience constructor:
Type 1(Sort 2).