Sign in
◑
Theme
fuchsia
/
third_party
/
github.com
/
leanprover
/
lean4
/
HEAD
/
.
/
tests
/
elab
/
grind_11697_a.lean
blob: 23d6adbc0c2cf0104bd858c7b28c92b8770eb22e [
file
]
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