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
557 B
Text
13 lines
557 B
Text
module
|
||
-- From Mathlib.Data.List.Defs
|
||
-- These needed `attribute [grind =] Prod.lex_def`
|
||
|
||
theorem List.permutationsAux.rec.extracted_1 {α : Type u_1} (ts is : List α) :
|
||
Prod.Lex (fun x1 x2 ↦ x1 < x2) (fun x1 x2 ↦ x1 < x2) (ts.length + (is.length + 1), ts.length)
|
||
(ts.length + 1 + is.length, ts.length + 1) := by
|
||
grind
|
||
|
||
theorem List.permutationsAux.rec.extracted_4 {α : Type u_1} (ts is : List α) :
|
||
Prod.Lex (fun x1 x2 ↦ x1 < x2) (fun x1 x2 ↦ x1 < x2) (is.length, is.length)
|
||
(ts.length + 1 + is.length, ts.length + 1) := by
|
||
grind
|