Mathlib Changelog
v4
Changelog
About
Github
Commit
2023-09-06 13:50
380bf315
View on Github →
feat(Data/Sum/Basic): create direct versions of get(Left|Right)? analogous to Option.get (
#6663
)
Estimated changes
Modified
Mathlib/Data/Sum/Basic.lean
added
theorem
Sum.eq_left_getLeft_of_isLeft
added
theorem
Sum.eq_left_iff_getLeft_eq
added
theorem
Sum.eq_right_getRight_of_isRight
added
theorem
Sum.eq_right_iff_getRight_eq
added
def
Sum.getLeft
modified
theorem
Sum.getLeft?_eq_some_iff
added
theorem
Sum.getLeft_eq_getLeft?
added
theorem
Sum.getLeft_eq_iff
added
theorem
Sum.getLeft_inl
added
def
Sum.getRight
modified
theorem
Sum.getRight?_eq_some_iff
added
theorem
Sum.getRight_eq_getRight?
added
theorem
Sum.getRight_eq_iff
added
theorem
Sum.getRight_inr
added
theorem
Sum.inl_getLeft
added
theorem
Sum.inr_getRight
added
theorem
Sum.isSome_getLeft?_iff_isLeft
added
theorem
Sum.isSome_getRight?_iff_isRight