lean4-htt/tests/lean/run/grind_match_cond_issue.lean
Leonardo de Moura 455fd0b448
chore: use not_value at Nat.pow_pos (#11523)
and remove `TODO` from `grind_lint_bitvec.lean`
2025-12-05 06:25:17 +00:00

21 lines
563 B
Text

/--
error: `grind` failed
case grind.1
n m a : Nat
ih : ∀ {a : Nat}, a ^ 2 = 4 ^ m * n → False
h : a ^ 2 = 4 ^ (m + 1) * n
h_1 : ↑a = 4
⊢ False
-/
#guard_msgs in
example {n m a : Nat} (ih : ∀ {a : Nat}, a ^ 2 = 4 ^ m * n → False)
(h : a ^ 2 = 4 ^ (m + 1) * n) : False := by
grind -verbose
example {n m a : Nat} (ih : ∀ {a : Nat}, a ^ 2 = 4 ^ m * n → False)
(h : a ^ 2 = 4 ^ m * n) : False := by
grind
example {m a n : Nat} (ih : ∀ {a : Nat}, a ^ 2 = 4 ^ m * 4 * n → False)
(h : a ^ 2 = 4 ^ (m + 1) * n) : False := by
grind