The disj tactic #
disj n selects the n-th disjunct of a goal that is an iterated disjunction, replacing the
chain of left and right (or of Or.inl and Or.inr) that would otherwise name it.
Equations
- One or more equations did not get rendered due to their size.
Instances For
disj n replaces a goal p₁ ∨ p₂ ∨ ⋯ ∨ pₙ ∨ ⋯ by its n-th disjunct, counting from 1; it
is right applied n - 1 times followed by left. The disjuncts are those of the right-nested
chain the goal displays, so disj 2 on p ∨ (q ∨ r) ∨ s leaves q ∨ r.
Equations
- Mathlib.Tactic.disj = Lean.ParserDescr.node `Mathlib.Tactic.disj 1022 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.nonReservedSymbol "disj " false) (Lean.ParserDescr.const `num))