The areas / V34. The tactics of Mathlib
Mathlib.Tactic.ByCases
1 declarations. Mathlib docs · Source
The by_cases! tactic
The by_cases! tactic is a variant of the by_cases tactic that also calls push Not
on the generated hypothesis that is a negation.
def Mathlib.Tactic.ByCases.byCases! E1 #
Lean.ParserDescr
by_cases! h : p runs the by_cases h : p tactic, followed by
push Not 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.