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) : add 2 constructors #9200
Conversation
Add two definitions to create filter from a property on sets: - Filter.ofProp_finite_inter if the property is stable under finite intersections and set enlargements. - Filter.ofProp_finite_union if the property is stable under finite unions and set shrinking. Filter.ofProp_finite_union is the key ingredient in IsCompact.induction_on but may be convenient to have as individual building block. Both results also specialise to properties that are stable under countable unions/intersections, in which case the filter is a CountableInterFilter. This plays a role in IsLindelof.induction_on and will be added when this PR is accepted.
Rename Filter.ofProp_finite_union to Filter.comk Remove Filter.ofProp_finite_inter
I added |
This PR/issue depends on:
|
maintainer merge |
🚀 Pull request has been placed on the maintainer queue by urkud. |
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.
Thanks 🎉
bors merge
Add two constructors to create filters from a property on sets: - `Filter.comk` if the property is stable under finite unions and set shrinking. - `Filter.ofCountableUnion` if the property is stable under countable unions and set shrinking `Filter.comk` is the key ingredient in `IsCompact.induction_on` but may be convenient to have as individual building block. A `Filter` generated by `Filter.ofCountableUnion` is a `CountableInterFilter`, which is given by the instance `Filter.countableInter_ofCountableUnion`. ### Other changes - Use `Filter.comk` for `Filter.cofinite`, `Bornology.ofBounded` and `MeasureTheory.Measure.cofinite`. - Use `Filter.ofCountableUnion` for `MeasureTheory.Measure.ae`. - Use `{_ : Bornology _}` instead of `[Bornology _]` in some lemmas so that `rw/simp` work with non-instance bornologies. Co-authored-by: Yury G. Kudryashov <urkud@urkud.name>
Build failed: |
Does the failure of the build relate to the cache issues recently discussed on Zulip? |
Topology/Compactness/Compact now imports Order/Filter/Basic to have access to Filter.comk
I've fixed the import issue, now everything seems to work! |
bors merge |
Add two constructors to create filters from a property on sets: - `Filter.comk` if the property is stable under finite unions and set shrinking. - `Filter.ofCountableUnion` if the property is stable under countable unions and set shrinking `Filter.comk` is the key ingredient in `IsCompact.induction_on` but may be convenient to have as individual building block. A `Filter` generated by `Filter.ofCountableUnion` is a `CountableInterFilter`, which is given by the instance `Filter.countableInter_ofCountableUnion`. ### Other changes - Use `Filter.comk` for `Filter.cofinite`, `Bornology.ofBounded` and `MeasureTheory.Measure.cofinite`. - Use `Filter.ofCountableUnion` for `MeasureTheory.Measure.ae`. - Use `{_ : Bornology _}` instead of `[Bornology _]` in some lemmas so that `rw/simp` work with non-instance bornologies. Co-authored-by: Yury G. Kudryashov <urkud@urkud.name>
Pull request successfully merged into master. Build succeeded: |
Add two constructors to create filters from a property on sets:
Filter.comk
if the property is stable under finite unions and set shrinking.Filter.ofCountableUnion
if the property is stable under countable unions and set shrinkingFilter.comk
is the key ingredient inIsCompact.induction_on
but may be convenient to have as individual building block.A
Filter
generated byFilter.ofCountableUnion
is aCountableInterFilter
, which is given by the instanceFilter.countableInter_ofCountableUnion
.Other changes
Filter.comk
forFilter.cofinite
,Bornology.ofBounded
andMeasureTheory.Measure.cofinite
.Filter.ofCountableUnion
forMeasureTheory.Measure.ae
.{_ : Bornology _}
instead of[Bornology _]
in some lemmas so thatrw/simp
work with non-instance bornologies.