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.
18 lines
518 B
Text
18 lines
518 B
Text
/-!
|
|
It used to be that aux theorems could only be created within declarations. But with `omega` wanting
|
|
to create an aux theorem, and `omega` being used in, say, `variable` commands, this is not tenable.
|
|
-/
|
|
|
|
structure Foo (n : Nat) (h : n > 1 := by omega) : Type
|
|
|
|
set_option pp.proofs true
|
|
|
|
/-- info: Foo 3 (Decidable.byContradiction fun a => _check._proof_1 a) : Type -/
|
|
#guard_msgs in
|
|
#check Foo 3
|
|
|
|
variable (x : Foo 2)
|
|
|
|
/-- info: x : Foo 2 (Decidable.byContradiction fun a => _proof_6 a) -/
|
|
#guard_msgs in
|
|
#check x
|