The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V13. General topology

Mathlib.Topology.EMetricSpace.PairReduction

46 declarations. Mathlib docs · Source

Pair Reduction

The goal of this file is to prove the theorem pair_reduction. This is essentially Lemma 6.1 in [kratschmer_urusov2023] which is an extension of Lemma B.2.7. in [talagrand2014]. Given pseudometric spaces T and E, c ≥ 0, and a finite subset J of T such that |J| ≤ aⁿ for some a ≥ 0 and n : ℕ, pair_reduction states that there exists a set K ⊆ J² such that for any function f : T → E:

  1. |K| ≤ a|J|
  2. ∀ (s, t) ∈ K, d(s, t) ≤ cn
  3. sup_{s, t ∈ J : d(s, t) ≤ c} d(f(s), f(t)) ≤ 2 sup_{(s, t) ∈ K} d(f(s), f(t))

When applying the chaining technique for bounding the supremum of the increments of stochastic processes, pair_reduction is used to reduce the order of the dependence of the bound on the covering numbers of the pseudometric space. As a simple example of how it could be used, suppose T has an ε-covering number N and suppose J is an ε-covering of T with |J| = N. Let f : Ω → T → E be any stochastic process such that 𝔼 d(f(s), f(t)) ≤ d (s, t) for all s, t ∈ T. Then naively

  𝔼[sup_{(s, t) ∈ J} : d(s, t) ≤ c} d(f(s), f(t))]
    ≤ ∑_{(s, t) ∈ J² : d(s, t) ≤ c} 𝔼[d(f(s), f(t))]
    ≤ |J|² c
    = c N²

but applying pair_reduction with n = log |J| we get

  𝔼[sup_{(s, t) ∈ J : d(s, t) ≤ c} d(f(s), f(t))]
    ≤ 2 𝔼[sup_{(s, t) ∈ K} d(f(s), f(t))]
    ≤ 2 ∑_{(s, t) ∈ K} 𝔼[d(f(s), f(t))]
    ≤ 2 a |J| c log |J|
    ≤ 2 a c N log N

pair_reduction is used in [kratschmer_urusov2023] to prove a form of the Kolmogorov-Chentsov theorem that applies to stochastic processes which satisfy the Kolmogorov condition but works on very general metric spaces.

Implementation

In this section we sketch a proof of pair_reduction with references to the corresponding steps in the lean code.

For any V : Finset T and t : T we define the log-size radius of t in V to be the smallest natural number k greater than zero such that |{x ∈ V | d(t, x) ≤ kc}| ≤ aᵏ. (see logSizeRadius)

We construct a sequence Vᵢ of subsets of J, a sequence tᵢ ∈ Vᵢ and a sequence of rᵢ : ℕ inductively as follows (see logSizeBallSeq):

  • V₀ = J, t₀ is chosen arbitrarily in J, r₀ is the log-size radius of t₀ in V₀
  • Vᵢ₊₁ = Vᵢ \ Bᵢ where Bᵢ := {x ∈ V | d(t, x) ≤ (rᵢ - 1) c}, tᵢ₊₁ is chosen arbitrarily in Vᵢ₊₁ (if it is nonempty), rᵢ₊₁ is the log-size radius of tᵢ₊₁ in Vᵢ₊₁.

Then Vᵢ is a strictly decreasing sequence (see card_finset_logSizeBallSeq_add_one_lt) until Vᵢ is empty. In particular Vᵢ = ∅ for i ≥ |J| (see card_finset_logSizeBallSeq_card_eq_zero).

We will show that K = ⋃_{i=1}^|J| {tᵢ} × {x ∈ Vᵢ | d(tᵢ, x) ≤ crᵢ} suffices (see pairSet and pairSetSeq).

To prove (1) we have that

  |K| ≤ ∑_{i=0}^|J| |{x ∈ Vᵢ : d(t, x) ≤ crᵢ}|
      ≤ ∑_{i=0}^|J| a ^ rᵢ  (by definition of `rᵢ`)
      = a ∑_{i=0}^|J| a ^ (rᵢ - 1)
      ≤ a ∑_{i=0}^|J| |Bᵢ| (by definition of `rᵢ`)
      ≤ a |J| (since the `Bᵢ` are disjoint (see `disjoint_smallBall_logSizeBallSeq`))

(see card_pairSet_le).

(2) follows easily from the definition of K and the fact that rᵢ ≤ n for each i (see edist_le_of_mem_pairSet and radius_logSizeBallSeq_le)

Finally we prove (3). Let s, t ∈ J such that d(s, t) ≤ c. Let i be the largest integer such that both s, t ∈ Vᵢ. WLOG suppose s ∉ Vᵢ₊₁ so that in particular s ∈ Bᵢ which means by definition that d(tᵢ, s) ≤ (rᵢ - 1)c. Then we also have

d(tᵢ, t) ≤ d(tᵢ, s) + d(s, t) ≤ (rᵢ - 1)c + c = rᵢc

hence (tᵢ, s), (tᵢ, t) ∈ K. Furthermore

d(f(s), f(t)) ≤ d(f(tᵢ), f(s)) + d(f(tᵢ), f(t))

taking supremums completes the proof (see iSup_edist_pairSet).

References

  • [V. Krätschmer, M. Urusov, A Kolmogorov–Chentsov Type Theorem on General Metric Spaces with Applications to Limit Theorems for Banach-Valued Processes][kratschmer_urusov2023]
  • [M. Talagrand, Upper and Lower Bounds for Stochastic Processes][talagrand2014]

theorem PairReduction.logSizeBallStruct.mk.inj E1 #

∀ {T : Type u_2} {finset : Finset T} {point : T} {radius : ℕ} {finset_1 : Finset T} {point_1 : T} {radius_1 : ℕ},
  { finset := finset, point := point, radius := radius } =
      { finset := finset_1, point := point_1, radius := radius_1 } →
    finset = finset_1 ∧ point = point_1 ∧ radius = radius_1

theorem PairReduction.logSizeBallStruct.mk.injEq E0 #

∀ {T : Type u_2} (finset : Finset T) (point : T) (radius : ℕ) (finset_1 : Finset T) (point_1 : T) (radius_1 : ℕ),
  ({ finset := finset, point := point, radius := radius } =
      { finset := finset_1, point := point_1, radius := radius_1 }) =
    (finset = finset_1 ∧ point = point_1 ∧ radius = radius_1)

theorem PairReduction.logSizeBallSeq.congr_simp E1 #

∀ {T : Type u_1} [inst : TopologicalSpace T] [inst_1 : WeakPseudoEMetricSpace T] [inst_2 : DecidableEq T]
  (J J_1 : Finset T) (e_J : J = J_1) (hJ : J.Nonempty) (a a_1 : ENNReal),
  a = a_1 →
    ∀ (c c_1 : ENNReal),
      c = c_1 →
        ∀ (a_2 a_3 : ℕ),
          a_2 = a_3 → PairReduction.logSizeBallSeq J hJ a c a_2 = PairReduction.logSizeBallSeq J_1 ⋯ a_1 c_1 a_3

def PairReduction.logSizeBallStruct.ctorIdx E1 #

{T : Type u_2} → PairReduction.logSizeBallStruct T → ℕ

theorem PairReduction.exists_radius_le E1 #

∀ {T : Type u_1} [inst : TopologicalSpace T] [inst_1 : WeakPseudoEMetricSpace T] {a : ENNReal} (t : T) (V : Finset T),
  1 < a → ∀ (c : ENNReal), ∃ r, 1 ≤ r ∧ ↑{x ∈ V | edist t x ≤ ↑r * c}.card ≤ a ^ r

def PairReduction.logSizeRadius E1 #

{T : Type u_1} → [inst : TopologicalSpace T] → [WeakPseudoEMetricSpace T] → T → Finset T → ENNReal → ENNReal → ℕ

The log-size radius of t in V is the smallest natural number n greater than zero such that |{x ∈ V | d(t, x) ≤ nc}| ≤ aⁿ.

theorem PairReduction.one_le_logSizeRadius E1 #

∀ {T : Type u_1} [inst : TopologicalSpace T] [inst_1 : WeakPseudoEMetricSpace T] {a c : ENNReal} {V : Finset T} {t : T},
  1 < a → 1 ≤ PairReduction.logSizeRadius t V a c

theorem PairReduction.card_le_logSizeRadius_le_pow_logSizeRadius E1 #

∀ {T : Type u_1} [inst : TopologicalSpace T] [inst_1 : WeakPseudoEMetricSpace T] {a c : ENNReal} {V : Finset T} {t : T},
  1 < a →
    ↑{x ∈ V | edist t x ≤ ↑(PairReduction.logSizeRadius t V a c) * c}.card ≤ a ^ PairReduction.logSizeRadius t V a c

theorem PairReduction.pow_logSizeRadius_le_card_le_logSizeRadius E1 #

∀ {T : Type u_1} [inst : TopologicalSpace T] [inst_1 : WeakPseudoEMetricSpace T] {a c : ENNReal} {V : Finset T} {t : T},
  1 < a →
    t ∈ V →
      a ^ (PairReduction.logSizeRadius t V a c - 1) ≤
        ↑{x ∈ V | edist t x ≤ (↑(PairReduction.logSizeRadius t V a c) - 1) * c}.card

structure PairReduction.logSizeBallStruct E1 #

Type u_2 → Type u_2

A structure for carrying the data of logSizeBallSeq

ctor PairReduction.logSizeBallStruct.mk E0 #

{T : Type u_2} → Finset T → T → ℕ → PairReduction.logSizeBallStruct T

abbrev PairReduction.logSizeBallStruct.finset E1 #

{T : Type u_2} → PairReduction.logSizeBallStruct T → Finset T

The underlying finite set of a logSizeBallStruct

abbrev PairReduction.logSizeBallStruct.point E1 #

{T : Type u_2} → PairReduction.logSizeBallStruct T → T

The underlying point of a logSizeBallStruct (typically a point in the underlying finite set)

abbrev PairReduction.logSizeBallStruct.radius E1 #

{T : Type u_2} → PairReduction.logSizeBallStruct T → ℕ

The underlying radius of a logSizeBallStruct (typically the log-size radius of the underlying point in the underlying finite set)

def PairReduction.logSizeBallStruct.smallBall E1 #

{T : Type u_1} →
  [inst : TopologicalSpace T] → [WeakPseudoEMetricSpace T] → PairReduction.logSizeBallStruct T → ENNReal → Finset T

If (V, t, r) is a logSizeBallStruct then logSizeBallStruct.smallBall is {x ∈ V | d(t, x) ≤ (r - 1)c}.

def PairReduction.logSizeBallStruct.ball E1 #

{T : Type u_1} →
  [inst : TopologicalSpace T] → [WeakPseudoEMetricSpace T] → PairReduction.logSizeBallStruct T → ENNReal → Finset T

If (V, t, r) is a logSizeBallStruct then logSizeBallStruct.ball is {x ∈ V | d(t, x) ≤ rc}.

def PairReduction.logSizeBallSeq E1 #

{T : Type u_1} →
  [inst : TopologicalSpace T] →
    [WeakPseudoEMetricSpace T] →
      [DecidableEq T] → (J : Finset T) → J.Nonempty → ENNReal → ENNReal → ℕ → PairReduction.logSizeBallStruct T

We recursively define a log-size ball sequence (Vᵢ, tᵢ, rᵢ) by

  • V₀ = J, t₀ is chosen arbitrarily in J, r₀ is the log-size radius of t₀ in V₀
  • Vᵢ₊₁ = Vᵢ \ {x ∈ V | d(t, x) ≤ (rᵢ - 1)c}, tᵢ₊₁ is chosen arbitrarily in Vᵢ₊₁, rᵢ₊₁ is the log-size radius of tᵢ₊₁ in Vᵢ₊₁.

theorem PairReduction.finset_logSizeBallSeq_zero E1 #

∀ {T : Type u_1} [inst : TopologicalSpace T] [inst_1 : WeakPseudoEMetricSpace T] {a c : ENNReal} {J : Finset T}
  [inst_2 : DecidableEq T] (hJ : J.Nonempty), (PairReduction.logSizeBallSeq J hJ a c 0).finset = J

theorem PairReduction.point_logSizeBallSeq_zero E1 #

∀ {T : Type u_1} [inst : TopologicalSpace T] [inst_1 : WeakPseudoEMetricSpace T] {a c : ENNReal} {J : Finset T}
  [inst_2 : DecidableEq T] (hJ : J.Nonempty), (PairReduction.logSizeBallSeq J hJ a c 0).point = Exists.choose hJ

theorem PairReduction.radius_logSizeBallSeq_zero E1 #

∀ {T : Type u_1} [inst : TopologicalSpace T] [inst_1 : WeakPseudoEMetricSpace T] {a c : ENNReal} {J : Finset T}
  [inst_2 : DecidableEq T] (hJ : J.Nonempty),
  (PairReduction.logSizeBallSeq J hJ a c 0).radius = PairReduction.logSizeRadius (Exists.choose hJ) J a c

theorem PairReduction.finset_logSizeBallSeq_add_one E1 #

∀ {T : Type u_1} [inst : TopologicalSpace T] [inst_1 : WeakPseudoEMetricSpace T] {a c : ENNReal} {J : Finset T}
  [inst_2 : DecidableEq T] (hJ : J.Nonempty) (i : ℕ),
  (PairReduction.logSizeBallSeq J hJ a c (i + 1)).finset =
    (PairReduction.logSizeBallSeq J hJ a c i).finset \ (PairReduction.logSizeBallSeq J hJ a c i).smallBall c

theorem PairReduction.point_logSizeBallSeq_add_one E1 #

∀ {T : Type u_1} [inst : TopologicalSpace T] [inst_1 : WeakPseudoEMetricSpace T] {a c : ENNReal} {J : Finset T}
  [inst_2 : DecidableEq T] (hJ : J.Nonempty) (i : ℕ),
  (PairReduction.logSizeBallSeq J hJ a c (i + 1)).point =
    if hV' : (PairReduction.logSizeBallSeq J hJ a c (i + 1)).finset.Nonempty then Exists.choose hV'
    else (PairReduction.logSizeBallSeq J hJ a c i).point

theorem PairReduction.radius_logSizeBallSeq_add_one E1 #

∀ {T : Type u_1} [inst : TopologicalSpace T] [inst_1 : WeakPseudoEMetricSpace T] {a c : ENNReal} {J : Finset T}
  [inst_2 : DecidableEq T] (hJ : J.Nonempty) (i : ℕ),
  (PairReduction.logSizeBallSeq J hJ a c (i + 1)).radius =
    PairReduction.logSizeRadius (PairReduction.logSizeBallSeq J hJ a c (i + 1)).point
      (PairReduction.logSizeBallSeq J hJ a c (i + 1)).finset a c

theorem PairReduction.finset_logSizeBallSeq_add_one_subset E1 #

∀ {T : Type u_1} [inst : TopologicalSpace T] [inst_1 : WeakPseudoEMetricSpace T] {a c : ENNReal} {J : Finset T}
  [inst_2 : DecidableEq T] (hJ : J.Nonempty) (i : ℕ),
  (PairReduction.logSizeBallSeq J hJ a c (i + 1)).finset ⊆ (PairReduction.logSizeBallSeq J hJ a c i).finset

theorem PairReduction.antitone_logSizeBallSeq_add_one_subset E1 #

∀ {T : Type u_1} [inst : TopologicalSpace T] [inst_1 : WeakPseudoEMetricSpace T] {a c : ENNReal} {J : Finset T}
  [inst_2 : DecidableEq T] (hJ : J.Nonempty), Antitone fun i ↦ (PairReduction.logSizeBallSeq J hJ a c i).finset

theorem PairReduction.finset_logSizeBallSeq_subset_logSizeBallSeq_init E1 #

∀ {T : Type u_1} [inst : TopologicalSpace T] [inst_1 : WeakPseudoEMetricSpace T] {a c : ENNReal} {J : Finset T}
  [inst_2 : DecidableEq T] (hJ : J.Nonempty) (i : ℕ), (PairReduction.logSizeBallSeq J hJ a c i).finset ⊆ J

theorem PairReduction.radius_logSizeBallSeq_le E1 #

∀ {T : Type u_1} [inst : TopologicalSpace T] [inst_1 : WeakPseudoEMetricSpace T] {a c : ENNReal} {n : ℕ} {J : Finset T}
  [inst_2 : DecidableEq T] (hJ : J.Nonempty),
  1 < a → 1 ≤ n → ↑J.card ≤ a ^ n → ∀ (i : ℕ), (PairReduction.logSizeBallSeq J hJ a c i).radius ≤ n

theorem PairReduction.one_le_radius_logSizeBallSeq E1 #

∀ {T : Type u_1} [inst : TopologicalSpace T] [inst_1 : WeakPseudoEMetricSpace T] {a c : ENNReal} {J : Finset T}
  [inst_2 : DecidableEq T] (hJ : J.Nonempty), 1 < a → ∀ (i : ℕ), 1 ≤ (PairReduction.logSizeBallSeq J hJ a c i).radius

theorem PairReduction.point_mem_finset_logSizeBallSeq E1 #

∀ {T : Type u_1} [inst : TopologicalSpace T] [inst_1 : WeakPseudoEMetricSpace T] {a c : ENNReal} {J : Finset T}
  [inst_2 : DecidableEq T] (hJ : J.Nonempty) (i : ℕ),
  (PairReduction.logSizeBallSeq J hJ a c i).finset.Nonempty →
    (PairReduction.logSizeBallSeq J hJ a c i).point ∈ (PairReduction.logSizeBallSeq J hJ a c i).finset

theorem PairReduction.point_mem_logSizeBallSeq_init E1 #

∀ {T : Type u_1} [inst : TopologicalSpace T] [inst_1 : WeakPseudoEMetricSpace T] {a c : ENNReal} {J : Finset T}
  [inst_2 : DecidableEq T] (hJ : J.Nonempty) (i : ℕ), (PairReduction.logSizeBallSeq J hJ a c i).point ∈ J

theorem PairReduction.point_notMem_finset_logSizeBallSeq_add_one E1 #

∀ {T : Type u_1} [inst : TopologicalSpace T] [inst_1 : WeakPseudoEMetricSpace T] {a c : ENNReal} {J : Finset T}
  [inst_2 : DecidableEq T] (hJ : J.Nonempty) (i : ℕ),
  (PairReduction.logSizeBallSeq J hJ a c i).point ∉ (PairReduction.logSizeBallSeq J hJ a c (i + 1)).finset

theorem PairReduction.finset_logSizeBallSeq_add_one_ssubset E1 #

∀ {T : Type u_1} [inst : TopologicalSpace T] [inst_1 : WeakPseudoEMetricSpace T] {a c : ENNReal} {J : Finset T}
  [inst_2 : DecidableEq T] (hJ : J.Nonempty) (i : ℕ),
  (PairReduction.logSizeBallSeq J hJ a c i).finset.Nonempty →
    (PairReduction.logSizeBallSeq J hJ a c (i + 1)).finset ⊂ (PairReduction.logSizeBallSeq J hJ a c i).finset

theorem PairReduction.card_finset_logSizeBallSeq_add_one_lt E1 #

∀ {T : Type u_1} [inst : TopologicalSpace T] [inst_1 : WeakPseudoEMetricSpace T] {a c : ENNReal} {J : Finset T}
  [inst_2 : DecidableEq T] (hJ : J.Nonempty) (i : ℕ),
  (PairReduction.logSizeBallSeq J hJ a c i).finset.Nonempty →
    (PairReduction.logSizeBallSeq J hJ a c (i + 1)).finset.card < (PairReduction.logSizeBallSeq J hJ a c i).finset.card

theorem PairReduction.card_finset_logSizeBallSeq_le E1 #

∀ {T : Type u_1} [inst : TopologicalSpace T] [inst_1 : WeakPseudoEMetricSpace T] {a c : ENNReal} {J : Finset T}
  [inst_2 : DecidableEq T] (hJ : J.Nonempty) (i : ℕ), (PairReduction.logSizeBallSeq J hJ a c i).finset.card ≤ J.card - i

theorem PairReduction.card_finset_logSizeBallSeq_card_eq_zero E1 #

∀ {T : Type u_1} [inst : TopologicalSpace T] [inst_1 : WeakPseudoEMetricSpace T] {a c : ENNReal} {J : Finset T}
  [inst_2 : DecidableEq T] (hJ : J.Nonempty), (PairReduction.logSizeBallSeq J hJ a c J.card).finset.card = 0

theorem PairReduction.disjoint_smallBall_logSizeBallSeq E1 #

∀ {T : Type u_1} [inst : TopologicalSpace T] [inst_1 : WeakPseudoEMetricSpace T] {a c : ENNReal} {J : Finset T}
  [inst_2 : DecidableEq T] (hJ : J.Nonempty) {i j : ℕ},
  i ≠ j →
    Disjoint ((PairReduction.logSizeBallSeq J hJ a c i).smallBall c)
      ((PairReduction.logSizeBallSeq J hJ a c j).smallBall c)

def PairReduction.pairSetSeq E1 #

{T : Type u_1} →
  [inst : TopologicalSpace T] →
    [WeakPseudoEMetricSpace T] → [DecidableEq T] → Finset T → ENNReal → ENNReal → ℕ → Finset (T × T)

Given a log-size ball sequence (Vᵢ, tᵢ, rᵢ), we define the pair set sequence by Kᵢ = {tᵢ} × {x ∈ Vᵢ | dist(tᵢ, x) ≤ rᵢc}.

def PairReduction.pairSet E1 #

{T : Type u_1} →
  [inst : TopologicalSpace T] →
    [WeakPseudoEMetricSpace T] → [DecidableEq T] → Finset T → ENNReal → ENNReal → Finset (T × T)

Given the pair set sequence Kᵢ we define the pair set K by K = ⋃ i, Kᵢ.

theorem PairReduction.pairSet_empty_eq_empty E1 #

∀ {T : Type u_1} [inst : TopologicalSpace T] [inst_1 : WeakPseudoEMetricSpace T] [inst_2 : DecidableEq T]
  (a c : ENNReal), PairReduction.pairSet ∅ a c = ∅

theorem PairReduction.pairSet_subset E1 #

∀ {T : Type u_1} [inst : TopologicalSpace T] [inst_1 : WeakPseudoEMetricSpace T] {a c : ENNReal} {J : Finset T}
  [inst_2 : DecidableEq T], PairReduction.pairSet J a c ⊆ J ×ˢ J

theorem PairReduction.card_pairSetSeq_le_logSizeRadius_mul E1 #

∀ {T : Type u_1} [inst : TopologicalSpace T] [inst_1 : WeakPseudoEMetricSpace T] {a c : ENNReal} {J : Finset T}
  [inst_2 : DecidableEq T] (hJ : J.Nonempty) (i : ℕ),
  1 < a →
    ↑(PairReduction.pairSetSeq J a c i).card ≤
      (if (PairReduction.logSizeBallSeq J hJ a c i).finset.Nonempty then 1 else 0) *
        a ^ (PairReduction.logSizeBallSeq J hJ a c i).radius

theorem PairReduction.logSizeRadius_le_card_smallBall E1 #

∀ {T : Type u_1} [inst : TopologicalSpace T] [inst_1 : WeakPseudoEMetricSpace T] {a c : ENNReal} {J : Finset T}
  [inst_2 : DecidableEq T] (hJ : J.Nonempty) (i : ℕ),
  1 < a →
    (if (PairReduction.logSizeBallSeq J hJ a c i).finset.Nonempty then 1 else 0) *
        a ^ ((PairReduction.logSizeBallSeq J hJ a c i).radius - 1) ≤
      ↑((PairReduction.logSizeBallSeq J hJ a c i).smallBall c).card

theorem PairReduction.card_pairSet_le E1 #

∀ {T : Type u_1} [inst : TopologicalSpace T] [inst_1 : WeakPseudoEMetricSpace T] {a c : ENNReal} {J : Finset T}
  [inst_2 : DecidableEq T], 1 < a → ↑(PairReduction.pairSet J a c).card ≤ a * ↑J.card

theorem PairReduction.edist_le_of_mem_pairSet E1 #

∀ {T : Type u_1} [inst : TopologicalSpace T] [inst_1 : WeakPseudoEMetricSpace T] {a c : ENNReal} {n : ℕ} {J : Finset T}
  [inst_2 : DecidableEq T],
  1 < a → ↑J.card ≤ a ^ n → ∀ {s t : T}, (s, t) ∈ PairReduction.pairSet J a c → edist s t ≤ ↑n * c

theorem PairReduction.iSup_edist_pairSet E1 #

∀ {T : Type u_1} [inst : TopologicalSpace T] [inst_1 : WeakPseudoEMetricSpace T] {a c : ENNReal} {J : Finset T}
  [inst_2 : DecidableEq T] {E : Type u_2} [inst_3 : TopologicalSpace E] [inst_4 : WeakPseudoEMetricSpace E],
  1 < a → ∀ (f : T → E), ⨆ s, ⨆ t, edist (f ↑s) (f ↑↑t) ≤ 2 * ⨆ p, edist (f (↑p).1) (f (↑p).2)

theorem EMetric.pair_reduction E1 #

∀ {T : Type u_1} [inst : TopologicalSpace T] [inst_1 : WeakPseudoEMetricSpace T] {a : ENNReal} {n : ℕ} {J : Finset T},
  ↑J.card ≤ a ^ n →
    ∀ (c : ENNReal) (E : Type u_2) [inst_2 : TopologicalSpace E] [inst_3 : WeakPseudoEMetricSpace E],
      ∃ K ⊆ J ×ˢ J,
        ↑K.card ≤ a * ↑J.card ∧
          (∀ (s t : T), (s, t) ∈ K → edist s t ≤ ↑n * c) ∧
            ∀ (f : T → E), ⨆ s, ⨆ t, edist (f ↑s) (f ↑↑t) ≤ 2 * ⨆ p, edist (f (↑p).1) (f (↑p).2)

Pair Reduction: Given pseudometric spaces T and E, c ≥ 0, and a finite subset J of T such that |J| ≤ aⁿ for some a ≥ 0 and n : ℕ, pair_reduction states that there exists a set K ⊆ J² such that for any function f : T → E:

  1. |K| ≤ a|J|
  2. ∀ (s, t) ∈ K, d(s, t) ≤ cn
  3. sup_{s, t ∈ J : d(s, t) ≤ c} d(f(s), f(t)) ≤ 2 sup_{(s, t) ∈ K} d(f(s), f(t))