This simproc reduces _ == _ when both arguments are constructor applications and the BEq instance
in question has been annotated with @[method_specs].
Equations
- reduceBEq e = if e.isAppOfArity `BEq.beq 4 = true then reduceMethodā "beq" e else pure Lean.Meta.Simp.Step.continue
Instances For
This simproc reduces Ord.compare _ _ when both arguments are constructor applications and the
Ord instance in question has been annotated with @[method_specs].
Equations
- reduceOrd e = if e.isAppOfArity `Ord.compare 4 = true then reduceMethodā "compare" e else pure Lean.Meta.Simp.Step.continue