-
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(order/filter,*): lemmas about filter.ne_bot
#9234
Conversation
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.
LGTM, maybe someone more familiar with filters should take a quick look.
Getting the instance from the iff
s is a nice approach.
{ simp [comap_ne_bot_iff_frequently, h] } | ||
end | ||
|
||
@[instance] lemma comap_fst_ne_bot [nonempty β] {f : filter α} [ne_bot f] : |
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.
Is there a reason why you are using @[instance] lemma
instead of just instance
, here and in most lemmas below? (but not in Coprod_ne_bot
, surprisingly).
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.
With @[instance] lemma
, the lemma is not protected
. For Coprod_ne_bot
this is a typo.
bors d+ |
✌️ urkud can now approve this pull request. To approve and merge a pull request, simply reply with |
bors merge |
* add `prod.range_fst`, `prod.range_snd`, `set.range_eval`; * add `function.surjective_eval`; * add `filter.*_ne_bot` and/or `filter.*_ne_bot_iff` lemmas for `sup`, `supr`, `comap prod.fst _`, `comap prod.snd _`, `coprod`, `Coprod`.
Pull request successfully merged into master. Build succeeded: |
filter.ne_bot
filter.ne_bot
prod.range_fst
,prod.range_snd
,set.range_eval
;function.surjective_eval
;filter.*_ne_bot
and/orfilter.*_ne_bot_iff
lemmas forsup
,supr
,comap prod.fst _
,comap prod.snd _
,coprod
,Coprod
.