lean4-htt/tests/lean/run/grind_11633.lean
Leonardo de Moura 9be007ad70
fix: enforce Grind.genPattern and Grind.getHEqPattern assumptions (#11635)
This PR ensures the pattern normalizer used in `grind` does violate
assumptions made by the gadgets `Grind.genPattern` and
`Grind.getHEqPattern`.

Closes #11633
2025-12-12 14:05:46 +00:00

9 lines
136 B
Text

inductive MyBool where
| i0
| other
theorem ex (b: MyBool)
(h: b = .i0)
: match b with | .i0 => True | _ => False
:= by
grind