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.
18 lines
420 B
Text
18 lines
420 B
Text
axiom abs : Int → Int
|
|
|
|
axiom abs_eq_self {a : Int }: abs a = a ↔ 0 ≤ a
|
|
|
|
example (x : Int) : False := by
|
|
let y := x/2
|
|
have h : 0 ≤ y := sorry
|
|
have : abs y = y := by
|
|
-- generalize y = z at *
|
|
simp (config := {zeta := false}) only [abs_eq_self.mpr h]
|
|
sorry
|
|
|
|
example (x : Int) : False := by
|
|
let y := x/2
|
|
have h : 0 ≤ y := sorry
|
|
have : abs y = y := by
|
|
simp only [abs_eq_self.mpr h]
|
|
sorry
|