Skip to content

Commit 10016a7

Browse files
committed
chore(Topology/MetricSpace/MetricSeparated): doctrings (leanprover-community#34761)
Adapt the meaning of the docstring to the code ("strictly greater" versus "at least")
1 parent 25817d6 commit 10016a7

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Mathlib/Topology/MetricSpace/MetricSeparated.lean

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ public import Mathlib.Topology.EMetricSpace.Defs
1414
This file defines a few notions of separations of sets in a metric space.
1515
1616
17-
The first notion (`Metric.IsSeparated`) is quantitative and about a single set: A set `s` is
18-
`ε`-separated if its elements are pairwise at distance at least `ε` from each other.
17+
The first notion (`Metric.IsSeparated`) is quantitative and describes a single set: a set `s` is
18+
`ε`-separated if the distance between any two distinct elements is strictly greater than `ε`
1919
2020
The second notion (`Metric.AreSeparated`) is qualitative and about two sets: Two sets `s` and `t`
2121
are separated if the distance between `x ∈ s` and `y ∈ t` is bounded from below by a positive
@@ -38,8 +38,8 @@ variable {X : Type*} [PseudoEMetricSpace X] {s t : Set X} {ε δ : ℝ≥0∞} {
3838
In this section we define the predicate `Metric.IsSeparated` for `ε`-separated sets.
3939
-/
4040

41-
/-- A set `s` is `ε`-separated if its elements are pairwise at distance at least `ε` from each
42-
other. -/
41+
/-- A set `s` is `ε`-separated if the extended distance between any two distinct
42+
elements is strictly greater than `ε`. -/
4343
def IsSeparated (ε : ℝ≥0∞) (s : Set X) : Prop := s.Pairwise (ε < edist · ·)
4444

4545
lemma isSeparated_iff_setRelIsSeparated :

0 commit comments

Comments
 (0)