lean4-htt/tests/lean/run/grind_10670.lean
Leonardo de Moura feb864712f
fix: spurious warning message in grind (#10962)
This PR fixes a spurious warning message in `grind`.

Closes #10670
2025-10-26 02:40:12 +00:00

11 lines
218 B
Text

inductive Foo : Nat → Prop
| one : Foo 1
| two : Foo 2
attribute [grind ·] Foo.one
#guard_msgs in
example {l : Nat} (hl : Foo l) : Foo (3 - l) := by
induction hl with
| one => grind [Foo]
| two => grind