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.
23 lines
662 B
Text
23 lines
662 B
Text
module
|
|
/--
|
|
trace: [grind.eqResolution] ∀ (x : Nat), p x a → ∀ (y : Nat), p y b → ¬x = y, ∀ (y : Nat), p y a → p y b → False
|
|
[grind.ematch.instance] h: p c a → p c b → c ≠ c
|
|
[grind.ematch.instance] local_0: p c a → ¬p c b
|
|
-/
|
|
#guard_msgs (trace) in
|
|
example
|
|
(p : Nat → Nat → Prop)
|
|
(a b c : Nat)
|
|
(h : ∀ x, p x a → ∀ y, p y b → x ≠ y)
|
|
(h₁ : p c a)
|
|
(h₂ : p c b)
|
|
: False := by
|
|
set_option trace.grind.eqResolution true in
|
|
set_option trace.grind.ematch.instance true in
|
|
grind
|
|
|
|
example
|
|
(f : Nat → Nat)
|
|
(h : ∀ x y, f x = f y → x = y)
|
|
: f (f a) = f (f b) → a = b := by
|
|
grind only
|