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.
17 lines
500 B
Text
17 lines
500 B
Text
-- dsimp can close goals by rfl
|
||
-- but metadata would inhibit this
|
||
|
||
-- Easy case: no metadata, so expected to work even without fix.
|
||
example : ∀ (x : α × α), x = id x := by
|
||
intro p
|
||
dsimp
|
||
|
||
-- The `intro` adds `noImplicitLambda` metadata. Without fix, a `rfl` is needed.
|
||
example : ∀ (x : α × α), x = id x := by
|
||
intro (x, y)
|
||
dsimp
|
||
|
||
-- The `have` adds `noImplicitLambda` metadata. Without fix, `dsimp` makes no progress.
|
||
example {α : Type _} (n : α) : n = n := by
|
||
have := 0
|
||
dsimp
|