lean4-htt/tests/lean/run/grind_11697_a.lean
Leonardo de Moura 5440bf724d
fix: case-splitting selection in grind (#11749)
This PR fixes a bug in the function `selectNextSplit?` used in `grind`.
It was incorrectly computing the generation of each candidate.

Closes #11697
2025-12-20 20:17:09 +00:00

10 lines
247 B
Text

namespace Nat
@[grind =]
theorem testBit_shiftRight_shiftLeft_add {n j k : Nat} (x : Nat) : (x >>> n <<< (n + k)).testBit j =
(decide (n + k ≤ j) && x.testBit (j - k)) := by
grind
theorem myTheorem {x : Nat} : x = x := by grind
end Nat