Sign in
◑
Theme
fuchsia
/
third_party
/
github.com
/
leanprover
/
lean4
/
HEAD
/
.
/
tests
/
elab
/
grind_11697_b.lean
blob: e5cd1f74e437cf4cc41d28c28cfa2389e8053920 [
file
]
namespace
Nat
theorem myTheorem
{
x
:
Nat
}
:
x
=
x
:=
by
grind
@[
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
end
Nat