OAI/Analysis/Brenier/Approximation.lean

GitHub source file

13 declarations, 0 contain sorry, 0 declared as axioms

  1. theorem OAI.Problem358.le_wasserstein2_add_of_le_rootCost line 16

    Source documentation

    An estimate against every finite-cost coupling descends to the transport infimum. The finite-cost witness is essential because the definition sends infinite cost to zero.

    theorem le_wasserstein2_add_of_le_rootCost {d : ℕ} {μ ν : Measure (E d)}
        {a δ : ℝ}
        (hfinite : ∃ π : Measure (E d × E d),
          IsCoupling μ ν π ∧ quadraticPlanCost π ≠ ∞)
        (hbound : ∀ π : Measure (E d × E d), IsCoupling μ ν π →
          quadraticPlanCost π ≠ ∞ →
            a ≤ Real.sqrt (quadraticPlanCost π).toReal + δ) :
        a ≤ wasserstein2 μ ν + δ := by
    …
  2. theorem OAI.Problem358.wasserstein2_map_le line 49

    Source documentation

    Quantizing the two marginals changes their Wasserstein distance by at most the two uniform approximation errors. This does not require an optimal coupling.

    theorem wasserstein2_map_le {d : ℕ} {μ ν : Measure (E d)}
        {Q R : E d → E d} (hQ : Measurable Q) (hR : Measurable R)
        {ε η : ℝ} (hε : 0 ≤ ε) (hη : 0 ≤ η)
        (hQerr : ∀ᵐ x ∂μ, ‖Q x - x‖ ≤ ε)
        (hRerr : ∀ᵐ y ∂ν, ‖R y - y‖ ≤ η)
        (hfinite : ∃ π : Measure (E d × E d),
          IsCoupling μ ν π ∧ quadraticPlanCost π ≠ ∞) :
        wasserstein2 (Measure.map Q μ) (Measure.map R ν) ≤
          wasserstein2 μ ν + ε + η := by
    …
  3. theorem OAI.Problem358.exists_finiteCost_coupling_of_compact line 67

    Source documentation

    Compactly supported probability marginals admit a finite-cost coupling.

    theorem exists_finiteCost_coupling_of_compact {d : ℕ} {μ ν : Measure (E d)}
        [IsProbabilityMeasure μ] [IsProbabilityMeasure ν]
        {K Y : Set (E d)} (hK : IsCompact K) (hY : IsCompact Y)
        (hμ : IsSupported μ K) (hν : IsSupported ν Y) :
        ∃ π : Measure (E d × E d), IsCoupling μ ν π ∧ quadraticPlanCost π ≠ ∞ := by
    …
  4. theorem OAI.Problem358.wasserstein2_map_le_of_compact line 77

    Source documentation

    The approximation inequality with the compact-support hypotheses of the challenge.

    theorem wasserstein2_map_le_of_compact {d : ℕ} {μ ν : Measure (E d)}
        [IsProbabilityMeasure μ] [IsProbabilityMeasure ν]
        {K Y : Set (E d)} (hK : IsCompact K) (hY : IsCompact Y)
        (hμ : IsSupported μ K) (hν : IsSupported ν Y)
        {Q R : E d → E d} (hQ : Measurable Q) (hR : Measurable R)
        {ε η : ℝ} (hε : 0 ≤ ε) (hη : 0 ≤ η)
        (hQerr : ∀ᵐ x ∂μ, ‖Q x - x‖ ≤ ε)
        (hRerr : ∀ᵐ y ∂ν, ‖R y - y‖ ≤ η) :
        wasserstein2 (Measure.map Q μ) (Measure.map R ν) ≤
          wasserstein2 μ ν + ε + η :=
    …
  5. theorem OAI.Problem358.pairwise_cauchy_of_error_rpow_bound line 102

    Source documentation

    A pairwise Hölder bound in errors tending to zero is a Cauchy estimate.

    theorem pairwise_cauchy_of_error_rpow_bound {D : ℕ → ℕ → ℝ}
        {ε : ℕ → ℝ} {C p : ℝ} (hp : 0 < p)
        (hε : Tendsto ε atTop (𝓝 0))
        (hbound : ∀ m n, D m n ≤ C * Real.rpow (ε m + ε n) p) :
        ∀ δ > 0, ∃ N, ∀ m ≥ N, ∀ n ≥ N, D m n < δ := by
    …
  6. theorem OAI.Problem358.mapL2Dist_cauchy_of_quantization_stability line 123

    Source documentation

    Finite-target one-third stability makes transport maps to a quantized target Cauchy. The stability input here is an explicit hypothesis, not a new assumption on the challenge.

    theorem mapL2Dist_cauchy_of_quantization_stability {d : ℕ}
        {ρ μ : Measure (E d)} [IsProbabilityMeasure μ]
        {Y : Set (E d)} (hY : IsCompact Y) (hμ : IsSupported μ Y)
        {Q T : ℕ → E d → E d} (hQ : ∀ n, Measurable (Q n))
        {ε : ℕ → ℝ} (hε : ∀ n, 0 ≤ ε n)
        (hεlim : Tendsto ε atTop (𝓝 0))
        (hQerr : ∀ n, ∀ᵐ x ∂μ, ‖Q n x - x‖ ≤ ε n)
        {C : ℝ} (hC : 0 ≤ C)
        (hstab : ∀ m n, mapL2Dist ρ (T m) (T n) ≤
          C * Real.rpow (wasserstein2 (Measure.map (Q m) μ) (Measure.map (Q n) μ))
            (1 / 3 : ℝ)) :
        ∀ δ > 0, ∃ N, ∀ m ≥ N, ∀ n ≥ N, mapL2Dist ρ (T m) (T n) < δ := by
    …
  7. theorem OAI.Problem358.exists_limit_of_quantization_stability line 147

    Source documentation

    The Cauchy estimate yields a genuine measurable L² limit of the finite maps.

    theorem exists_limit_of_quantization_stability {d : ℕ}
        {ρ μ : Measure (E d)} [IsProbabilityMeasure μ]
        {Y : Set (E d)} (hY : IsCompact Y) (hμ : IsSupported μ Y)
        {Q T : ℕ → E d → E d} (hQ : ∀ n, Measurable (Q n))
        (hT : ∀ n, MemLp (T n) 2 ρ)
        {ε : ℕ → ℝ} (hε : ∀ n, 0 ≤ ε n)
        (hεlim : Tendsto ε atTop (𝓝 0))
        (hQerr : ∀ n, ∀ᵐ x ∂μ, ‖Q n x - x‖ ≤ ε n)
        {C : ℝ} (hC : 0 ≤ C)
        (hstab : ∀ m n, mapL2Dist ρ (T m) (T n) ≤
          C * Real.rpow (wasserstein2 (Measure.map (Q m) μ) (Measure.map (Q n) μ))
            (1 / 3 : ℝ)) :
    …
  8. theorem OAI.Problem358.exists_target_limit_of_quantization_stability line 165

    Source documentation

    If all finite maps take values in the compact target almost everywhere, so does the limit.

    theorem exists_target_limit_of_quantization_stability {d : ℕ}
        {ρ μ : Measure (E d)} [IsProbabilityMeasure μ]
        {Y : Set (E d)} (hY : IsCompact Y) (hμ : IsSupported μ Y)
        {Q T : ℕ → E d → E d} (hQ : ∀ n, Measurable (Q n))
        (hT : ∀ n, MemLp (T n) 2 ρ) (hTmem : ∀ n, ∀ᵐ x ∂ρ, T n x ∈ Y)
        {ε : ℕ → ℝ} (hε : ∀ n, 0 ≤ ε n)
        (hεlim : Tendsto ε atTop (𝓝 0))
        (hQerr : ∀ n, ∀ᵐ x ∂μ, ‖Q n x - x‖ ≤ ε n)
        {C : ℝ} (hC : 0 ≤ C)
        (hstab : ∀ m n, mapL2Dist ρ (T m) (T n) ≤
          C * Real.rpow (wasserstein2 (Measure.map (Q m) μ) (Measure.map (Q n) μ))
            (1 / 3 : ℝ)) :
    …
  9. theorem OAI.Problem358.ae_tendsto_of_quantization_error line 196

    Source documentation

    Uniformly vanishing almost-everywhere quantization errors give pointwise convergence.

    theorem ae_tendsto_of_quantization_error {d : ℕ} {μ : Measure (E d)}
        {Q : ℕ → E d → E d} {ε : ℕ → ℝ}
        (hεlim : Tendsto ε atTop (𝓝 0))
        (hQerr : ∀ n, ∀ᵐ x ∂μ, ‖Q n x - x‖ ≤ ε n) :
        ∀ᵐ x ∂μ, Tendsto (fun n => Q n x) atTop (𝓝 x) := by
    …
  10. theorem OAI.Problem358.exists_supporting_potential_of_mapL2_limit line 208

    Source documentation

    A strong L² limit of maps with compactly normalized supporting potentials still has a Lipschitz supporting potential.

    theorem exists_supporting_potential_of_mapL2_limit {d : ℕ} {K : Set (E d)}
        (hK : IsCompact K) (x₀ : E d) (hx₀ : x₀ ∈ K)
        {T : ℕ → E d → E d} {S : E d → E d}
        (hT : ∀ n, MemLp (T n) 2 (uniformMeasure K))
        (hS : MemLp S 2 (uniformMeasure K))
        (hlim : Tendsto (fun n => mapL2Dist (uniformMeasure K) (T n) S) atTop (𝓝 0))
        {u : ℕ → E d → ℝ} {L : ℝ≥0}
        (hLip : ∀ n, LipschitzOnWith L (u n) K)
        (hconv : ∀ n, ConvexOn ℝ K (u n))
        (hnormal : ∀ n, u n x₀ = 0)
        (hsupport : ∀ n, ∀ᵐ x ∂uniformMeasure K,
          ∀ z ∈ K, u n x + ⟪T n x, z - x⟫ ≤ u n z) :
    …
  11. theorem OAI.Problem358.exists_uniqueOptimal_limit_of_quantization line 240

    Source documentation

    Conditional arbitrary-target extension: finite-map stability and a fixed Lipschitz potential bound produce a unique optimal map to the limiting target. Every finite-map input is explicit; this theorem does not assert the missing finite stability estimate.

    theorem exists_uniqueOptimal_limit_of_quantization {d : ℕ}
        {K Y : Set (E d)} (hK : IsCompact K) (hKconv : Convex ℝ K)
        (x₀ : E d) (hx₀ : x₀ ∈ K)
        {μ : Measure (E d)} [IsProbabilityMeasure μ]
        (hY : IsCompact Y) (hμ : IsSupported μ Y)
        {Q T : ℕ → E d → E d} (hQ : ∀ n, Measurable (Q n))
        (hTm : ∀ n, Measurable (T n))
        (hT : ∀ n, MemLp (T n) 2 (uniformMeasure K))
        (hTmem : ∀ n, ∀ᵐ x ∂uniformMeasure K, T n x ∈ Y)
        (hpush : ∀ n, Measure.map (T n) (uniformMeasure K) = Measure.map (Q n) μ)
        {ε : ℕ → ℝ} (hε : ∀ n, 0 ≤ ε n)
        (hεlim : Tendsto ε atTop (𝓝 0))
    …
  12. theorem OAI.Problem358.exists_uniqueOptimal_pair_of_quantized_stability line 305

    Source documentation

    A paired finite-target estimate passes to arbitrary target laws. The only quantitative assumption is the bound for the supplied approximating maps; all limit maps and their all-plan uniqueness certificates are constructed here.

    theorem exists_uniqueOptimal_pair_of_quantized_stability
        {d : ℕ} {K Y : Set (E d)}
        [IsFiniteMeasure (uniformMeasure K)]
        (hK : IsCompact K) (hKconv : Convex ℝ K) (hY : IsCompact Y)
        (x₀ : E d) (hx₀ : x₀ ∈ K)
        {μ ν : Measure (E d)} [IsProbabilityMeasure μ] [IsProbabilityMeasure ν]
        (hμ : IsSupported μ Y) (hν : IsSupported ν Y)
        (u v : ℕ → E d → ℝ) (T S Q R : ℕ → E d → E d) (L : ℝ≥0)
        (huLip : ∀ n, LipschitzOnWith L (u n) K)
        (hvLip : ∀ n, LipschitzOnWith L (v n) K)
        (huconv : ∀ n, ConvexOn ℝ K (u n))
        (hvconv : ∀ n, ConvexOn ℝ K (v n))
    …
  13. theorem OAI.Problem358.one_third_stability_of_finite_targets line 397

    Source documentation

    Finite-target stability is the sole quantitative input needed for the full compact-target conclusion. The finite hypothesis only asks for some pair of optimal maps; uniqueness transfers its estimate to the constructed potentials.

    theorem one_third_stability_of_finite_targets
        {d : ℕ} {K Y : Set (E d)}
        (hK : IsCompact K) (hKconv : Convex ℝ K)
        (hKint : (interior K).Nonempty) (hY : IsCompact Y) (hYne : Y.Nonempty)
        {C : ℝ} (hC : 0 ≤ C)
        (hfinite : ∀ (μ ν : Measure (E d)),
          IsProbabilityMeasure μ → IsProbabilityMeasure ν →
          (∃ F : Set (E d), F.Finite ∧ F ⊆ Y ∧ IsSupported μ F) →
          (∃ G : Set (E d), G.Finite ∧ G ⊆ Y ∧ IsSupported ν G) →
          ∃ Tμ Tν : E d → E d,
            IsUniqueQuadraticOptimalMap (uniformMeasure K) μ Tμ ∧
            IsUniqueQuadraticOptimalMap (uniformMeasure K) ν Tν ∧
    …