lean4-htt/tests/lean/run/grind_11597.lean
Leonardo de Moura 05a81248df
fix: power internalization in grind linarith (#11605)
This PR fixes a bug in the internalizer of `a^p` terms in `grind
linarith`.

Closes #11597
2025-12-11 08:44:47 +00:00

7 lines
226 B
Text

instance : HPow Rat Rat Rat := sorry
example (b p : Rat) (_ : 0 < b^p) (_ : ¬ 0 ≤ b^p) : False := by
grind
example (b : Rat) (n : Nat) (_ : 0 < b^n) (_ : ¬ 0 ≤ b^n) : False := by
grind -- this one also used to fai