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.
20 lines
381 B
Text
20 lines
381 B
Text
def f1 (n : Nat) := n + 1
|
|
def g1 : Bool :=
|
|
let N := fun t => f1 2 + if t % f1 2 = 0 then 1 else 0
|
|
¬N 0 = f1 2 + if 0 % f1 2 = 0 then 1 else 0
|
|
|
|
def f2 (n : Nat) := (n + 0) + 1
|
|
def g2 : Bool :=
|
|
¬ (fun _ => f2 2 + if 0 % f2 2 = 0 then 1 else 0) 0 = f2 2 + if 0 % f2 2 = 0 then 1 else 0
|
|
|
|
/--
|
|
info: false
|
|
-/
|
|
#guard_msgs in
|
|
#reduce g2
|
|
|
|
/--
|
|
info: false
|
|
-/
|
|
#guard_msgs in
|
|
#eval g2
|