-
Notifications
You must be signed in to change notification settings - Fork 298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Merged by Bors] - feat(data/set/basic): symm_diff
lemmas
#17051
Conversation
src/data/set/basic.lean
Outdated
h.le_symm_diff_sup_symm_diff_right | ||
|
||
@[simp] lemma symm_diff_nonempty : (s ∆ t).nonempty ↔ s ≠ t := | ||
ne_empty_iff_nonempty.symm.trans symm_diff_eq_bot.not |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should symm_diff_eq_bot
be duplicated as symm_diff_eq_empty
?
@@ -1584,12 +1596,19 @@ begin | |||
exact image_subset f (subset_union_right t s) | |||
end | |||
|
|||
lemma subset_image_symm_diff : (f '' s) ∆ (f '' t) ⊆ f '' s ∆ t := |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lemma subset_image_symm_diff : (f '' s) ∆ (f '' t) ⊆ f '' s ∆ t := | |
lemma subset_image_symm_diff {f : α → β} : (f '' s) ∆ (f '' t) ⊆ f '' s ∆ t := |
to match all the other nearby lemmas.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bors d+
Thanks!
✌️ YaelDillies can now approve this pull request. To approve and merge a pull request, simply reply with |
bors merge |
Pull request successfully merged into master. Build succeeded: |
symm_diff
lemmassymm_diff
lemmas
A few lemma about
symm_diff
, and their translation toset
.From Con(NF)