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.
19 lines
436 B
Text
19 lines
436 B
Text
theorem ex1 : a + b < b + 1 + a + c := by
|
|
simp (config := { arith := true })
|
|
|
|
theorem ex2 : a + b < b + 1 + a + c := by
|
|
simp +arith
|
|
|
|
theorem ex3 : a + (fun x => x) b < b + 1 + a + c := by
|
|
simp +arith
|
|
|
|
theorem ex5 (h : a + d + b > b + 1 + (a + (c + c) + d)) : False := by
|
|
simp +arith at h
|
|
|
|
#print ex5
|
|
|
|
theorem ex6 (p : Nat → Prop) (h : p (a + 1 + a + 2 + b)) : p (2*a + b + 3) := by
|
|
simp +arith at h
|
|
assumption
|
|
|
|
#print ex6
|