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.
10 lines
439 B
Text
10 lines
439 B
Text
axiom foo {p : Prop} {x : BitVec 32} (h : (!x == x + 0#32) = true) : p
|
|
|
|
theorem add_eq_sub_not_sub_one (x : BitVec 32) (h : (!x == x + (1#32 + 4294967295#32)) = true) : False := by
|
|
simp only [BitVec.reduceAdd] at h
|
|
exact foo h -- this works
|
|
|
|
theorem add_eq_sub_not_sub_one' (x : BitVec 32) (h : (!x == x + 1#32 + 4294967295#32) = true) : False := by
|
|
ac_nf0 at h
|
|
simp only [BitVec.reduceAdd] at h
|
|
exact foo h -- this used to hang
|