This PR both adds initial `@[grind]` annotations for `BitVec`, and uses `grind` to remove many proofs from `BitVec/Lemmas`. --------- Co-authored-by: Sebastian Ullrich <sebasti@nullri.ch>
7 lines
188 B
Text
7 lines
188 B
Text
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
|