lean4-htt/tests/lean/run/grind_match_cond_split.lean
Leonardo de Moura 6683d1eb91
chore: add module keyword to grind tests (#10036)
This PR also fixes missing `@[expose]` in grind support definitions.
2025-08-21 22:02:08 +00:00

13 lines
314 B
Text

module
@[expose] public section -- TODO: remove after we fix congr_eq
example (x n : Nat)
: 0 < match x with
| 0 => 1
| _ => x + n := by
grind
example (x y : Nat)
: 0 < match x, y with
| 0, 0 => 1
| _, _ => x + y := by -- x or y must be greater than 0
grind