This PR sets up the new integrated test/bench suite. It then migrates all benchmarks and some related tests to the new suite. There's also some documentation and some linting. For now, a lot of the old tests are left alone so this PR doesn't become even larger than it already is. Eventually, all tests should be migrated to the new suite though so there isn't a confusing mix of two systems.
14 lines
474 B
Text
14 lines
474 B
Text
import Std.Tactic.BVDecide
|
|
|
|
-- This previously was an internal error due to the constant shift not being eliminated because
|
|
-- of the non constant width shift, now it's an error.
|
|
|
|
/--
|
|
error: The prover found a potentially spurious counterexample:
|
|
- It abstracted the following unsupported expressions as opaque variables: [x <<< 1 == x]
|
|
Consider the following assignment:
|
|
x <<< 1 == x = false
|
|
-/
|
|
#guard_msgs in
|
|
example (x : BitVec w) : x <<< (1 : Nat) = x := by
|
|
bv_decide
|