The areas / V13. General topology
Mathlib.Topology.MetricSpace.Infsep
82 declarations. Mathlib docs · Source
Infimum separation
This file defines the extended infimum separation of a set. This is approximately dual to the diameter of a set, but where the extended diameter of a set is the supremum of the extended distance between elements of the set, the extended infimum separation is the infimum of the (extended) distance between distinct elements in the set.
We also define the infimum separation as the cast of the extended infimum separation to the reals. This is the infimum of the distance between distinct elements of the set when in a pseudometric space.
All lemmas and definitions are in the Set namespace to give access to dot notation.
Main definitions
Set.einfsep: Extended infimum separation of a set.Set.infsep: Infimum separation of a set (when in a pseudometric space).
def Set.einfsep E3 #
{α : Type u_1} → [EDist α] → Set α → ENNReal
The "extended infimum separation" of a set with an edist function.
theorem Set.le_einfsep_iff E0 #
∀ {α : Type u_1} [inst : EDist α] {s : Set α} {d : ENNReal}, d ≤ s.einfsep ↔ ∀ x ∈ s, ∀ y ∈ s, x ≠ y → d ≤ edist x y
theorem Set.einfsep_zero E1 #
∀ {α : Type u_1} [inst : EDist α] {s : Set α}, s.einfsep = 0 ↔ ∀ C > 0, ∃ x ∈ s, ∃ y ∈ s, x ≠ y ∧ edist x y < C
theorem Set.einfsep_pos E1 #
∀ {α : Type u_1} [inst : EDist α] {s : Set α}, 0 < s.einfsep ↔ ∃ C > 0, ∀ x ∈ s, ∀ y ∈ s, x ≠ y → C ≤ edist x y
theorem Set.einfsep_top E1 #
∀ {α : Type u_1} [inst : EDist α] {s : Set α}, s.einfsep = ⊤ ↔ ∀ x ∈ s, ∀ y ∈ s, x ≠ y → edist x y = ⊤
theorem Set.einfsep_lt_top E1 #
∀ {α : Type u_1} [inst : EDist α] {s : Set α}, s.einfsep < ⊤ ↔ ∃ x ∈ s, ∃ y ∈ s, x ≠ y ∧ edist x y < ⊤
theorem Set.einfsep_ne_top E1 #
∀ {α : Type u_1} [inst : EDist α] {s : Set α}, s.einfsep ≠ ⊤ ↔ ∃ x ∈ s, ∃ y ∈ s, x ≠ y ∧ edist x y ≠ ⊤
theorem Set.einfsep_lt_iff E0 #
∀ {α : Type u_1} [inst : EDist α] {s : Set α} {d : ENNReal}, s.einfsep < d ↔ ∃ x ∈ s, ∃ y ∈ s, x ≠ y ∧ edist x y < d
theorem Set.nontrivial_of_einfsep_lt_top E1 #
∀ {α : Type u_1} [inst : EDist α] {s : Set α}, s.einfsep < ⊤ → s.Nontrivial
theorem Set.nontrivial_of_einfsep_ne_top E1 #
∀ {α : Type u_1} [inst : EDist α] {s : Set α}, s.einfsep ≠ ⊤ → s.Nontrivial
theorem Set.Subsingleton.einfsep E1 #
∀ {α : Type u_1} [inst : EDist α] {s : Set α}, s.Subsingleton → s.einfsep = ⊤
theorem Set.le_einfsep_image_iff E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : EDist α] {d : ENNReal} {f : β → α} {s : Set β},
d ≤ (f '' s).einfsep ↔ ∀ x ∈ s, ∀ y ∈ s, f x ≠ f y → d ≤ edist (f x) (f y)
theorem Set.le_edist_of_le_einfsep E1 #
∀ {α : Type u_1} [inst : EDist α] {s : Set α} {d : ENNReal} {x : α},
x ∈ s → ∀ {y : α}, y ∈ s → x ≠ y → d ≤ s.einfsep → d ≤ edist x y
theorem Set.einfsep_le_edist_of_mem E1 #
∀ {α : Type u_1} [inst : EDist α] {s : Set α} {x : α}, x ∈ s → ∀ {y : α}, y ∈ s → x ≠ y → s.einfsep ≤ edist x y
theorem Set.einfsep_le_of_mem_of_edist_le E1 #
∀ {α : Type u_1} [inst : EDist α] {s : Set α} {d : ENNReal} {x : α},
x ∈ s → ∀ {y : α}, y ∈ s → x ≠ y → edist x y ≤ d → s.einfsep ≤ d
theorem Set.le_einfsep E1 #
∀ {α : Type u_1} [inst : EDist α] {s : Set α} {d : ENNReal}, (∀ x ∈ s, ∀ y ∈ s, x ≠ y → d ≤ edist x y) → d ≤ s.einfsep
theorem Set.einfsep_empty E0 #
∀ {α : Type u_1} [inst : EDist α], ∅.einfsep = ⊤
theorem Set.einfsep_singleton E0 #
∀ {α : Type u_1} [inst : EDist α] {x : α}, {x}.einfsep = ⊤
theorem Set.einfsep_iUnion_mem_option E1 #
∀ {α : Type u_1} [inst : EDist α] {ι : Type u_3} (o : Option ι) (s : ι → Set α),
(⋃ i ∈ o, s i).einfsep = ⨅ i ∈ o, (s i).einfsep
theorem Set.einfsep_anti E1 #
∀ {α : Type u_1} [inst : EDist α] {s t : Set α}, s ⊆ t → t.einfsep ≤ s.einfsep
theorem Set.einfsep_insert_le E1 #
∀ {α : Type u_1} [inst : EDist α] {x : α} {s : Set α}, (insert x s).einfsep ≤ ⨅ y ∈ s, ⨅ (_ : x ≠ y), edist x y
theorem Set.le_einfsep_pair E1 #
∀ {α : Type u_1} [inst : EDist α] {x y : α}, min (edist x y) (edist y x) ≤ {x, y}.einfsep
theorem Set.einfsep_pair_le_left E1 #
∀ {α : Type u_1} [inst : EDist α] {x y : α}, x ≠ y → {x, y}.einfsep ≤ edist x y
theorem Set.einfsep_pair_le_right E1 #
∀ {α : Type u_1} [inst : EDist α] {x y : α}, x ≠ y → {x, y}.einfsep ≤ edist y x
theorem Set.einfsep_pair_eq_inf E1 #
∀ {α : Type u_1} [inst : EDist α] {x y : α}, x ≠ y → {x, y}.einfsep = min (edist x y) (edist y x)
theorem Set.einfsep_eq_iInf E1 #
∀ {α : Type u_1} [inst : EDist α] {s : Set α}, s.einfsep = ⨅ d, Function.uncurry edist ↑d
theorem Set.einfsep_of_fintype E1 #
∀ {α : Type u_1} [inst : EDist α] {s : Set α} [inst_1 : Fintype ↑s],
s.einfsep = s.offDiag.toFinset.inf (Function.uncurry edist)
theorem Set.Finite.einfsep E1 #
∀ {α : Type u_1} [inst : EDist α] {s : Set α} (hs : s.Finite), s.einfsep = ⋯.toFinset.inf (Function.uncurry edist)
theorem Set.Finset.coe_einfsep E0 #
∀ {α : Type u_1} [inst : EDist α] {s : Finset α}, (↑s).einfsep = s.offDiag.inf (Function.uncurry edist)
theorem Set.Nontrivial.einfsep_exists_of_finite E1 #
∀ {α : Type u_1} [inst : EDist α] {s : Set α} [Finite ↑s],
s.Nontrivial → ∃ x ∈ s, ∃ y ∈ s, x ≠ y ∧ s.einfsep = edist x y
theorem Set.Finite.einfsep_exists_of_nontrivial E1 #
∀ {α : Type u_1} [inst : EDist α] {s : Set α}, s.Finite → s.Nontrivial → ∃ x ∈ s, ∃ y ∈ s, x ≠ y ∧ s.einfsep = edist x y
theorem Set.einfsep_pair E1 #
∀ {α : Type u_1} [inst : PseudoEMetricSpace α] {x y : α}, x ≠ y → {x, y}.einfsep = edist x y
theorem Set.einfsep_insert E1 #
∀ {α : Type u_1} [inst : PseudoEMetricSpace α] {x : α} {s : Set α},
(insert x s).einfsep = min (⨅ y ∈ s, ⨅ (_ : x ≠ y), edist x y) s.einfsep
theorem Set.einfsep_triple E1 #
∀ {α : Type u_1} [inst : PseudoEMetricSpace α] {x y z : α},
x ≠ y → y ≠ z → x ≠ z → {x, y, z}.einfsep = min (min (edist x y) (edist x z)) (edist y z)
theorem Set.le_einfsep_pi_of_le E1 #
∀ {β : Type u_2} {X : β → Type u_3} [inst : Fintype β] [inst_1 : (b : β) → PseudoEMetricSpace (X b)]
{s : (b : β) → Set (X b)} {c : ENNReal}, (∀ (b : β), c ≤ (s b).einfsep) → c ≤ (Set.univ.pi s).einfsep
theorem Set.subsingleton_of_einfsep_eq_top E1 #
∀ {α : Type u_1} [inst : PseudoMetricSpace α] {s : Set α}, s.einfsep = ⊤ → s.Subsingleton
theorem Set.einfsep_eq_top_iff E0 #
∀ {α : Type u_1} [inst : PseudoMetricSpace α] {s : Set α}, s.einfsep = ⊤ ↔ s.Subsingleton
theorem Set.Nontrivial.einfsep_ne_top E1 #
∀ {α : Type u_1} [inst : PseudoMetricSpace α] {s : Set α}, s.Nontrivial → s.einfsep ≠ ⊤
theorem Set.Nontrivial.einfsep_lt_top E1 #
∀ {α : Type u_1} [inst : PseudoMetricSpace α] {s : Set α}, s.Nontrivial → s.einfsep < ⊤
theorem Set.einfsep_lt_top_iff E0 #
∀ {α : Type u_1} [inst : PseudoMetricSpace α] {s : Set α}, s.einfsep < ⊤ ↔ s.Nontrivial
theorem Set.einfsep_ne_top_iff E0 #
∀ {α : Type u_1} [inst : PseudoMetricSpace α] {s : Set α}, s.einfsep ≠ ⊤ ↔ s.Nontrivial
theorem Set.le_einfsep_of_forall_dist_le E1 #
∀ {α : Type u_1} [inst : PseudoMetricSpace α] {s : Set α} {d : ℝ},
(∀ x ∈ s, ∀ y ∈ s, x ≠ y → d ≤ dist x y) → ENNReal.ofReal d ≤ s.einfsep
theorem Set.einfsep_pos_of_finite E1 #
∀ {α : Type u_1} [inst : EMetricSpace α] {s : Set α} [Finite ↑s], 0 < s.einfsep
theorem Set.relatively_discrete_of_finite E1 #
∀ {α : Type u_1} [inst : EMetricSpace α] {s : Set α} [Finite ↑s], ∃ C > 0, ∀ x ∈ s, ∀ y ∈ s, x ≠ y → C ≤ edist x y
theorem Set.Finite.einfsep_pos E1 #
∀ {α : Type u_1} [inst : EMetricSpace α] {s : Set α}, s.Finite → 0 < s.einfsep
theorem Set.Finite.relatively_discrete E1 #
∀ {α : Type u_1} [inst : EMetricSpace α] {s : Set α}, s.Finite → ∃ C > 0, ∀ x ∈ s, ∀ y ∈ s, x ≠ y → C ≤ edist x y
def Set.infsep E3 #
{α : Type u_1} → [EDist α] → Set α → ℝ
The "infimum separation" of a set with an edist function.
theorem Set.infsep_zero E1 #
∀ {α : Type u_1} [inst : EDist α] {s : Set α}, s.infsep = 0 ↔ s.einfsep = 0 ∨ s.einfsep = ⊤
theorem Set.infsep_nonneg E1 #
∀ {α : Type u_1} [inst : EDist α] {s : Set α}, 0 ≤ s.infsep
theorem Set.infsep_pos E1 #
∀ {α : Type u_1} [inst : EDist α] {s : Set α}, 0 < s.infsep ↔ 0 < s.einfsep ∧ s.einfsep < ⊤
theorem Set.Subsingleton.infsep_zero E1 #
∀ {α : Type u_1} [inst : EDist α] {s : Set α}, s.Subsingleton → s.infsep = 0
theorem Set.nontrivial_of_infsep_pos E1 #
∀ {α : Type u_1} [inst : EDist α] {s : Set α}, 0 < s.infsep → s.Nontrivial
theorem Set.infsep_empty E1 #
∀ {α : Type u_1} [inst : EDist α], ∅.infsep = 0
theorem Set.infsep_singleton E1 #
∀ {α : Type u_1} [inst : EDist α] {x : α}, {x}.infsep = 0
theorem Set.infsep_pair_le_toReal_inf E1 #
∀ {α : Type u_1} [inst : EDist α] {x y : α}, x ≠ y → {x, y}.infsep ≤ (min (edist x y) (edist y x)).toReal
theorem Set.infsep_pair_eq_toReal E1 #
∀ {α : Type u_1} [inst : PseudoEMetricSpace α] {x y : α}, {x, y}.infsep = (edist x y).toReal
theorem Set.Nontrivial.le_infsep_iff E0 #
∀ {α : Type u_1} [inst : PseudoMetricSpace α] {s : Set α} {d : ℝ},
s.Nontrivial → (d ≤ s.infsep ↔ ∀ x ∈ s, ∀ y ∈ s, x ≠ y → d ≤ dist x y)
theorem Set.Nontrivial.infsep_lt_iff E0 #
∀ {α : Type u_1} [inst : PseudoMetricSpace α] {s : Set α} {d : ℝ},
s.Nontrivial → (s.infsep < d ↔ ∃ x ∈ s, ∃ y ∈ s, x ≠ y ∧ dist x y < d)
theorem Set.Nontrivial.le_infsep E1 #
∀ {α : Type u_1} [inst : PseudoMetricSpace α] {s : Set α} {d : ℝ},
s.Nontrivial → (∀ x ∈ s, ∀ y ∈ s, x ≠ y → d ≤ dist x y) → d ≤ s.infsep
theorem Set.le_edist_of_le_infsep E1 #
∀ {α : Type u_1} [inst : PseudoMetricSpace α] {s : Set α} {d : ℝ} {x : α},
x ∈ s → ∀ {y : α}, y ∈ s → x ≠ y → d ≤ s.infsep → d ≤ dist x y
theorem Set.infsep_le_dist_of_mem E1 #
∀ {α : Type u_1} [inst : PseudoMetricSpace α] {x y : α} {s : Set α}, x ∈ s → y ∈ s → x ≠ y → s.infsep ≤ dist x y
theorem Set.infsep_le_of_mem_of_edist_le E1 #
∀ {α : Type u_1} [inst : PseudoMetricSpace α] {s : Set α} {d : ℝ} {x : α},
x ∈ s → ∀ {y : α}, y ∈ s → x ≠ y → dist x y ≤ d → s.infsep ≤ d
theorem Set.infsep_pair E1 #
∀ {α : Type u_1} [inst : PseudoMetricSpace α] {x y : α}, {x, y}.infsep = dist x y
theorem Set.infsep_triple E1 #
∀ {α : Type u_1} [inst : PseudoMetricSpace α] {x y z : α},
x ≠ y → y ≠ z → x ≠ z → {x, y, z}.infsep = min (min (dist x y) (dist x z)) (dist y z)
theorem Set.Nontrivial.infsep_anti E1 #
∀ {α : Type u_1} [inst : PseudoMetricSpace α] {s t : Set α}, s.Nontrivial → s ⊆ t → t.infsep ≤ s.infsep
theorem Set.infsep_eq_iInf E1 #
∀ {α : Type u_1} [inst : PseudoMetricSpace α] {s : Set α} [inst_1 : Decidable s.Nontrivial],
s.infsep = if s.Nontrivial then ⨅ d, Function.uncurry dist ↑d else 0
theorem Set.Nontrivial.infsep_eq_iInf E1 #
∀ {α : Type u_1} [inst : PseudoMetricSpace α] {s : Set α}, s.Nontrivial → s.infsep = ⨅ d, Function.uncurry dist ↑d
theorem Set.infsep_of_fintype E1 #
∀ {α : Type u_1} [inst : PseudoMetricSpace α] {s : Set α} [inst_1 : Decidable s.Nontrivial] [inst_2 : Fintype ↑s],
s.infsep = if hs : s.Nontrivial then s.offDiag.toFinset.inf' ⋯ (Function.uncurry dist) else 0
theorem Set.Nontrivial.infsep_of_fintype E1 #
∀ {α : Type u_1} [inst : PseudoMetricSpace α] {s : Set α} [inst_1 : Fintype ↑s] (hs : s.Nontrivial),
s.infsep = s.offDiag.toFinset.inf' ⋯ (Function.uncurry dist)
theorem Set.Finite.infsep E1 #
∀ {α : Type u_1} [inst : PseudoMetricSpace α] {s : Set α} [inst_1 : Decidable s.Nontrivial] (hsf : s.Finite),
s.infsep = if hs : s.Nontrivial then ⋯.toFinset.inf' ⋯ (Function.uncurry dist) else 0
theorem Set.Finite.infsep_of_nontrivial E1 #
∀ {α : Type u_1} [inst : PseudoMetricSpace α] {s : Set α} (hsf : s.Finite) (hs : s.Nontrivial),
s.infsep = ⋯.toFinset.inf' ⋯ (Function.uncurry dist)
theorem Finset.coe_infsep E0 #
∀ {α : Type u_1} [inst : PseudoMetricSpace α] (s : Finset α),
(↑s).infsep = if hs : s.offDiag.Nonempty then s.offDiag.inf' hs (Function.uncurry dist) else 0
theorem Finset.coe_infsep_of_offDiag_nonempty E0 #
∀ {α : Type u_1} [inst : PseudoMetricSpace α] {s : Finset α} (hs : s.offDiag.Nonempty),
(↑s).infsep = s.offDiag.inf' hs (Function.uncurry dist)
theorem Finset.coe_infsep_of_offDiag_empty E0 #
∀ {α : Type u_1} [inst : PseudoMetricSpace α] {s : Finset α}, s.offDiag = ∅ → (↑s).infsep = 0
theorem Set.Nontrivial.infsep_exists_of_finite E1 #
∀ {α : Type u_1} [inst : PseudoMetricSpace α] {s : Set α} [Finite ↑s],
s.Nontrivial → ∃ x ∈ s, ∃ y ∈ s, x ≠ y ∧ s.infsep = dist x y
theorem Set.Finite.infsep_exists_of_nontrivial E1 #
∀ {α : Type u_1} [inst : PseudoMetricSpace α] {s : Set α},
s.Finite → s.Nontrivial → ∃ x ∈ s, ∃ y ∈ s, x ≠ y ∧ s.infsep = dist x y
theorem Set.infsep_zero_iff_subsingleton_of_finite E1 #
∀ {α : Type u_1} [inst : MetricSpace α] {s : Set α} [Finite ↑s], s.infsep = 0 ↔ s.Subsingleton
theorem Set.infsep_pos_iff_nontrivial_of_finite E1 #
∀ {α : Type u_1} [inst : MetricSpace α] {s : Set α} [Finite ↑s], 0 < s.infsep ↔ s.Nontrivial
theorem Set.Finite.infsep_zero_iff_subsingleton E1 #
∀ {α : Type u_1} [inst : MetricSpace α] {s : Set α}, s.Finite → (s.infsep = 0 ↔ s.Subsingleton)
theorem Set.Finite.infsep_pos_iff_nontrivial E1 #
∀ {α : Type u_1} [inst : MetricSpace α] {s : Set α}, s.Finite → (0 < s.infsep ↔ s.Nontrivial)
theorem Finset.infsep_zero_iff_subsingleton E1 #
∀ {α : Type u_1} [inst : MetricSpace α] (s : Finset α), (↑s).infsep = 0 ↔ (↑s).Subsingleton
theorem Finset.infsep_pos_iff_nontrivial E1 #
∀ {α : Type u_1} [inst : MetricSpace α] (s : Finset α), 0 < (↑s).infsep ↔ (↑s).Nontrivial