Zulip Chat Archive

Stream: Is there code for X?

Topic: Nontrivial closed balls are a basis


Geoffrey Irving (Oct 23 2023 at 21:54):

Is there the lemma that closedBall x r for r > 0 forms a basis for nhds x?

Geoffrey Irving (Oct 23 2023 at 21:54):

(This is trivial, and I've already proved it, but I want to confirm that I shouldn't upstream it.)

Geoffrey Irving (Oct 23 2023 at 21:56):

Ah, found it: https://leanprover-community.github.io/mathlib4_docs/Mathlib/Topology/MetricSpace/Basic.html#Metric.nhds_basis_closedBall

Eric Wieser (Oct 23 2023 at 22:00):

For future reference, loogle can help here:

Eric Wieser (Oct 23 2023 at 22:00):

@loogle Filter.HasBasis, Metric.closedBall

loogle (Oct 23 2023 at 22:00):

:search: Metric.hasBasis_cobounded_compl_closedBall, Metric.nhds_basis_closedBall, and 2 more


Last updated: Dec 20 2023 at 11:08 UTC