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.
24 lines
845 B
Text
24 lines
845 B
Text
theorem ex1 (x : Nat) : 0 + x = x := by
|
|
cases x with
|
|
| zero => skip -- Error: unsolved goals
|
|
| succ y => skip -- Error: unsolved goals
|
|
|
|
theorem ex2 (x : Nat) : 0 + x = x := by
|
|
induction x with
|
|
| zero => skip -- Error: unsolved goals
|
|
| succ y ih => skip -- Error: unsolved goals
|
|
|
|
theorem ex3 (x : Nat) : 0 + x = x := by
|
|
cases x with
|
|
| zero => rfl
|
|
| succ y => skip -- Error: unsolved goals
|
|
|
|
theorem ex4 (x : Nat) {y : Nat} (h : y > 0) : x % y < y := by
|
|
induction x, y using Nat.mod.inductionOn with
|
|
| ind x y h₁ ih => skip -- Error: unsolved goals
|
|
| base x y h₁ => skip -- Error: unsolved goals
|
|
|
|
theorem ex5 (x : Nat) {y : Nat} (h : y > 0) : x % y < y := by
|
|
cases x, y using Nat.mod.inductionOn with
|
|
| ind x y h₁ ih => skip -- Error: unsolved goals
|
|
| base x y h₁ => skip -- Error: unsolved goals
|