This PR ensures that `grind` can be used as a more powerful `contradiction` tactic, sparing the user from having to type `exfalso; grind` or `intros; exfalso; grind`.
13 lines
245 B
Text
13 lines
245 B
Text
set_option grind.warning false
|
|
|
|
example (x : Nat) (h : x < 0) : Nat → Nat := by
|
|
grind
|
|
|
|
example : False → Nat := by
|
|
grind
|
|
|
|
example : (x : Nat) → x < 0 → Nat := by
|
|
grind
|
|
|
|
example : (x : Nat) → x < 3 → x > 4 → Nat := by
|
|
grind
|