You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Manual/BasicProps.lean
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -113,6 +113,7 @@ Because {lean}`Sum` is a type, it is possible to check _which_ constructor was u
113
113
In other words, because {lean}`Or` is not a {tech}[subsingleton], its proofs cannot be used as part of a computation.
114
114
115
115
In a {ref "tactics"}[tactic] proof, disjunctions can be proved using either constructor ({name}`Or.inl` or {name}`Or.inr`) explicitly via {tactic}`apply`.
116
+
The {tactic}`left` and {tactic}`right` tactics select the left and right disjuncts.
116
117
Assumptions of disjunctions in the context can be simplified using {tactic}`cases`, pattern matching with {tactic (show := "match")}`Lean.Parser.Tactic.match`, or {tactic}`rcases`.
0 commit comments