Zulip Chat Archive
Stream: maths
Topic: Definition of compactness using filter
Jiatong Yang (Aug 07 2022 at 14:13):
I can't understand the def of compactness in mathlib. Can anyone give a short proof of the equivalence between this and the usual "finite covering" def?
"A set s is compact if for every nontrivial filter f that contains s, there exists a ∈ s such that every set of f meets every neighborhood of a."
Junyan Xu (Aug 07 2022 at 14:23):
The equivalence is docs#is_compact_iff_finite_subcover.
Jiatong Yang (Aug 07 2022 at 14:42):
I'm sorry. Is there a more mathematical proof? :rolling_on_the_floor_laughing:
Patrick Massot (Aug 07 2022 at 14:42):
Jiatong, the docstring you quote is confusing because it breaks the abstraction barrier of the implementation of filters in "that contains s". It would be much better to say that f
as a generalized set is contained in s
, and this is indeed much closer to how the actual definition is stated.
Jiatong Yang (Aug 07 2022 at 14:57):
I can now use filter to describe some limit procedures, but when I am given a filter, I don't know what to do to use it.
Patrick Massot (Aug 07 2022 at 14:58):
Maybe watching https://icerm.brown.edu/video_archive/?play=2899 could help
Kevin Buzzard (Aug 07 2022 at 16:48):
@Jiatong Yang setting up topology using filters is a really cool trick but if you don't want a filter then you probably never need to deal with them. Just because the internal implementation of something uses filters this doesn't matter to an end user, who can just use the API (ie the theorems).
Anatole Dedecker (Aug 07 2022 at 18:34):
Maybe it helps to think about what the statement looks like when applied to the whole space. In the topology library we like to make definitions about sets, but it is often harder to parse. Here, this really just means "a topological space is compact iff each nontrivial filter on has a cluster point" (docs#cluster_pt)
Anatole Dedecker (Aug 07 2022 at 18:52):
Here is a mathematical proof. We'll use the dual characterization of compactness (with intersections of closed sets), and the fact that cluster points of a filter are exactly the elements of .
- First, assume is compact, and let be a nontrivial filter on . By contradiction, assume that has no cluster point, i.e . Since is compact, that gives a finite set with hence so is trivial, contradiction.
- Second, assume is "filter-compact", and let be a family of closed sets of with . By contradiction, assume that for all finite , . Then the filter generated by is nontrivial, which gives that , which is a contradiction
Anatole Dedecker (Aug 07 2022 at 18:54):
(I'm not claiming this is the way it's done in mathlib, but this is the proof I know)
Jiatong Yang (Aug 11 2022 at 13:18):
Thank you very much! I didn't know that equivalent characterization of cluster pts :joy: .
Last updated: Dec 20 2023 at 11:08 UTC