A helper gadget for annotating nested proofs in goals.
Equations
- ⋯ = h
Gadget for marking match
-expressions that should not be reduced by the grind
simplifier, but the discriminants should be normalized.
We use it when adding instances of match
-equations to prevent them from being simplified to true.
Remark: it must not be marked as [reducible]
. Otherwise, simp
will reduce
simpMatchDiscrsOnly (match 0 with | 0 => true | _ => false) = true
using eq_self
.
Equations
Gadget for representing a = b
in patterns for backward propagation.
Equations
- Lean.Grind.eqBwdPattern a b = (a = b)
@[reducible, inline]
Gadget for annotating conditions of match
equational lemmas.
We use this annotation for two different reasons:
- We don't want to normalize them.
- We have a propagator for them.
Equations
- p = p
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.