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.
55 lines
1.8 KiB
Text
55 lines
1.8 KiB
Text
/--
|
|
info: Try these:
|
|
[apply] simp +arith
|
|
[apply] simp +arith +decide
|
|
---
|
|
error: `simp_arith` has been deprecated. It was a shorthand for `simp +arith +decide`, but most of the time, `+decide` was redundant since simprocs have been implemented.
|
|
-/
|
|
#guard_msgs in
|
|
example : x + 2 = 1 + 1 + x := by
|
|
simp_arith
|
|
|
|
/--
|
|
info: Try these:
|
|
[apply] simp +arith [h, id] at h₂
|
|
[apply] simp +arith +decide [h, id] at h₂
|
|
---
|
|
error: `simp_arith` has been deprecated. It was a shorthand for `simp +arith +decide`, but most of the time, `+decide` was redundant since simprocs have been implemented.
|
|
-/
|
|
#guard_msgs in
|
|
example (h : x = y) (h₂ : y + 2 = 1 + 1 + x) : True := by
|
|
simp_arith [h, id] at h₂
|
|
|
|
/--
|
|
info: Try these:
|
|
[apply] simp! +arith [h, id] at h₂
|
|
[apply] simp! +arith +decide [h, id] at h₂
|
|
---
|
|
error: `simp_arith!` has been deprecated. It was a shorthand for `simp! +arith +decide`, but most of the time, `+decide` was redundant since simprocs have been implemented.
|
|
-/
|
|
#guard_msgs in
|
|
example (h : x = y) (h₂ : y + 2 = 1 + 1 + x) : True := by
|
|
simp_arith! [h, id] at h₂
|
|
|
|
|
|
/--
|
|
info: Try these:
|
|
[apply] simp_all +arith
|
|
[apply] simp_all +arith +decide
|
|
---
|
|
error: `simp_all_arith` has been deprecated. It was a shorthand for `simp_all +arith +decide`, but most of the time, `+decide` was redundant since simprocs have been implemented.
|
|
-/
|
|
#guard_msgs in
|
|
example (h : x = y) (h₂ : y + 2 = 1 + 1 + x) : True := by
|
|
simp_all_arith
|
|
|
|
/--
|
|
info: Try these:
|
|
[apply] simp_all! +arith
|
|
[apply] simp_all! +arith +decide
|
|
---
|
|
error: `simp_all_arith!` has been deprecated. It was a shorthand for `simp_all! +arith +decide`, but most of the time, `+decide` was redundant since simprocs have been implemented.
|
|
-/
|
|
#guard_msgs in
|
|
example (h : x = y) (h₂ : y + 2 = 1 + 1 + x) : True := by
|
|
simp_all_arith!
|