The by_cases! tactic #
The by_cases! tactic is a variant of the by_cases tactic that also calls push_neg
on the generated hypothesis that is a negation.
by_cases! h : p runs the by_cases h : p tactic, followed by
try push_neg at h in the second subgoal. For example,
by_cases! h : a < bcreates one goal with hypothesish : a < band another withh : b ≤ a.by_cases! h : a ≠ bcreates one goal with hypothesish : a ≠ band another withh : a = b.
Equations
- One or more equations did not get rendered due to their size.