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.
13 lines
658 B
Text
13 lines
658 B
Text
ac_expr.lean:95:16-95:22: warning: This simp argument is unused:
|
|
denote
|
|
|
|
Hint: Omit it from the simp argument list.
|
|
simp [d̵e̵n̵o̵t̵e̵,̵ ̵ih]
|
|
|
|
Note: This linter can be disabled with `set_option linter.unusedSimpArgs false`
|
|
theorem ex₂ : ∀ (x₁ x₂ x₃ x₄ : Nat), x₁ + x₂ + (x₃ + x₄) = x₃ + x₁ + x₂ + x₄ :=
|
|
fun x₁ x₂ x₃ x₄ =>
|
|
Expr.eq_of_sort_flat
|
|
{ op := Nat.add, assoc := Nat.add_assoc, comm := Nat.add_comm, vars := [x₁, x₂, x₃, x₄], someVal := x₁ }
|
|
(((Expr.var 0).op (Expr.var 1)).op ((Expr.var 2).op (Expr.var 3)))
|
|
((((Expr.var 2).op (Expr.var 0)).op (Expr.var 1)).op (Expr.var 3)) rfl
|