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).
!
theorem
Set.einfsep_eq_iInf
{α : Type u_1}
[EDist α]
{s : Set α}
:
s.einfsep = ⨅ (d : ↑s.offDiag), Function.uncurry edist ↑d
theorem
Set.einfsep_of_fintype
{α : Type u_1}
[EDist α]
{s : Set α}
[DecidableEq α]
[Fintype ↑s]
:
s.einfsep = s.offDiag.toFinset.inf (Function.uncurry edist)
theorem
Set.Finite.einfsep
{α : Type u_1}
[EDist α]
{s : Set α}
(hs : s.Finite)
:
s.einfsep = ⋯.toFinset.inf (Function.uncurry edist)
theorem
Set.Finset.coe_einfsep
{α : Type u_1}
[EDist α]
[DecidableEq α]
{s : Finset α}
:
(↑s).einfsep = s.offDiag.inf (Function.uncurry edist)
theorem
Set.le_einfsep_pi_of_le
{β : Type u_2}
{π : β → Type u_3}
[Fintype β]
[(b : β) → PseudoEMetricSpace (π b)]
{s : (b : β) → Set (π b)}
{c : ENNReal}
(h : ∀ (b : β), c ≤ (s b).einfsep)
:
c ≤ (Set.univ.pi s).einfsep
theorem
Set.subsingleton_of_einfsep_eq_top
{α : Type u_1}
[PseudoMetricSpace α]
{s : Set α}
(hs : s.einfsep = ⊤)
:
s.Subsingleton
theorem
Set.Nontrivial.einfsep_ne_top
{α : Type u_1}
[PseudoMetricSpace α]
{s : Set α}
(hs : s.Nontrivial)
:
theorem
Set.Nontrivial.einfsep_lt_top
{α : Type u_1}
[PseudoMetricSpace α]
{s : Set α}
(hs : s.Nontrivial)
:
theorem
Set.le_einfsep_of_forall_dist_le
{α : Type u_1}
[PseudoMetricSpace α]
{s : Set α}
{d : ℝ}
(h : ∀ x ∈ s, ∀ y ∈ s, x ≠ y → d ≤ dist x y)
:
ENNReal.ofReal d ≤ s.einfsep
theorem
Set.einfsep_pos_of_finite
{α : Type u_1}
[EMetricSpace α]
{s : Set α}
[Finite ↑s]
:
0 < s.einfsep
theorem
Set.Finite.einfsep_pos
{α : Type u_1}
[EMetricSpace α]
{s : Set α}
(hs : s.Finite)
:
0 < s.einfsep
theorem
Set.Finite.relatively_discrete
{α : Type u_1}
[EMetricSpace α]
{s : Set α}
(hs : s.Finite)
:
theorem
Set.Nontrivial.le_infsep
{α : Type u_1}
[PseudoMetricSpace α]
{s : Set α}
{d : ℝ}
(hs : s.Nontrivial)
(h : ∀ x ∈ s, ∀ y ∈ s, x ≠ y → d ≤ dist x y)
:
d ≤ s.infsep
theorem
Set.infsep_le_dist_of_mem
{α : Type u_1}
[PseudoMetricSpace α]
{x y : α}
{s : Set α}
(hx : x ∈ s)
(hy : y ∈ s)
(hxy : x ≠ y)
:
theorem
Set.Nontrivial.infsep_anti
{α : Type u_1}
[PseudoMetricSpace α]
{s t : Set α}
(hs : s.Nontrivial)
(hst : s ⊆ t)
:
t.infsep ≤ s.infsep
theorem
Set.infsep_eq_iInf
{α : Type u_1}
[PseudoMetricSpace α]
{s : Set α}
[Decidable s.Nontrivial]
:
s.infsep = if s.Nontrivial then ⨅ (d : ↑s.offDiag), Function.uncurry dist ↑d else 0
theorem
Set.Nontrivial.infsep_eq_iInf
{α : Type u_1}
[PseudoMetricSpace α]
{s : Set α}
(hs : s.Nontrivial)
:
s.infsep = ⨅ (d : ↑s.offDiag), Function.uncurry dist ↑d
theorem
Set.infsep_of_fintype
{α : Type u_1}
[PseudoMetricSpace α]
{s : Set α}
[Decidable s.Nontrivial]
[DecidableEq α]
[Fintype ↑s]
:
s.infsep = if hs : s.Nontrivial then s.offDiag.toFinset.inf' ⋯ (Function.uncurry dist) else 0
theorem
Set.Nontrivial.infsep_of_fintype
{α : Type u_1}
[PseudoMetricSpace α]
{s : Set α}
[DecidableEq α]
[Fintype ↑s]
(hs : s.Nontrivial)
:
s.infsep = s.offDiag.toFinset.inf' ⋯ (Function.uncurry dist)
theorem
Set.Finite.infsep
{α : Type u_1}
[PseudoMetricSpace α]
{s : Set α}
[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
{α : Type u_1}
[PseudoMetricSpace α]
{s : Set α}
(hsf : s.Finite)
(hs : s.Nontrivial)
:
s.infsep = ⋯.toFinset.inf' ⋯ (Function.uncurry dist)
theorem
Finset.coe_infsep
{α : Type u_1}
[PseudoMetricSpace α]
[DecidableEq α]
(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
{α : Type u_1}
[PseudoMetricSpace α]
[DecidableEq α]
{s : Finset α}
(hs : s.offDiag.Nonempty)
:
(↑s).infsep = s.offDiag.inf' hs (Function.uncurry dist)
theorem
Finset.coe_infsep_of_offDiag_empty
{α : Type u_1}
[PseudoMetricSpace α]
[DecidableEq α]
{s : Finset α}
(hs : s.offDiag = ∅)
:
(↑s).infsep = 0
theorem
Set.Nontrivial.infsep_exists_of_finite
{α : Type u_1}
[PseudoMetricSpace α]
{s : Set α}
[Finite ↑s]
(hs : s.Nontrivial)
:
theorem
Set.Finite.infsep_exists_of_nontrivial
{α : Type u_1}
[PseudoMetricSpace α]
{s : Set α}
(hsf : s.Finite)
(hs : s.Nontrivial)
:
theorem
Set.infsep_zero_iff_subsingleton_of_finite
{α : Type u_1}
[MetricSpace α]
{s : Set α}
[Finite ↑s]
:
theorem
Set.infsep_pos_iff_nontrivial_of_finite
{α : Type u_1}
[MetricSpace α]
{s : Set α}
[Finite ↑s]
:
theorem
Set.Finite.infsep_zero_iff_subsingleton
{α : Type u_1}
[MetricSpace α]
{s : Set α}
(hs : s.Finite)
:
theorem
Set.Finite.infsep_pos_iff_nontrivial
{α : Type u_1}
[MetricSpace α]
{s : Set α}
(hs : s.Finite)
: