Sign in
◑
Theme
fuchsia
/
third_party
/
github.com
/
leanprover
/
lean4
/
HEAD
/
.
/
tests
/
elab
/
grind_bitvec.lean
blob: f219e8428485b9bcb0e96cb63c5abe6e0bba8f77 [
file
]
module
open
BitVec
example
(
x
:
BitVec
(
w
+
1
))
:
(
cons x
.
msb
(
x
.
setWidth w
))
=
x
:=
by
grind
example
{
x
:
BitVec
v
}
(
h
:
w
≤
v
)
:
BitVec
.
setWidth w
(-
x
)
=
-
BitVec
.
setWidth w x
:=
by
grind