This PR fixes a bug in the function `selectNextSplit?` used in `grind`. It was incorrectly computing the generation of each candidate. Closes #11697
10 lines
247 B
Text
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
|