OAI/Analysis/Brenier/MapDistance.lean
42 declarations, 0 contain sorry, 0 declared as axioms
- theorem
OAI.Problem358.mapL2Dist_selfline 14 - theorem
OAI.Problem358.mapL2Dist_nonnegline 18 - theorem
OAI.Problem358.mapL2Dist_commline 21 - theorem
OAI.Problem358.mapL2Dist_congr_aeline 25 - theorem
OAI.Problem358.mapL2Dist_eq_zero_of_ae_eqline 34 - theorem
OAI.Problem358.mapL2Dist_sqline 38 - theorem
OAI.Problem358.mapL2Dist_eq_zero_iffline 42 - theorem
OAI.Problem358.quadraticPlanCost_map_pairline 55 - theorem
OAI.Problem358.mapL2Dist_eq_sqrt_pair_costline 61 - theorem
OAI.Problem358.mapL2Dist_eq_lpNormline 70 - theorem
OAI.Problem358.mapL2Dist_eq_dist_toLpline 76 - theorem
OAI.Problem358.mapL2Dist_triangleline 81 - theorem
OAI.Problem358.integrable_norm_sub_sq_of_ae_boundline 96Source documentation
A bounded nonnegative squared separation is integrable against a finite measure.
theorem integrable_norm_sub_sq_of_ae_bound {ρ : Measure X} [IsFiniteMeasure ρ] {T S : X → V} (hT : Measurable T) (hS : Measurable S) {R : ℝ} (hbound : ∀ᵐ x ∂ρ, ‖T x - S x‖ ≤ R) : Integrable (fun x => ‖T x - S x‖ ^ 2) ρ := by … - theorem
OAI.Problem358.ae_mem_of_map_compl_eq_zeroline 108Source documentation
Support of a pushforward pulls back to an almost-everywhere range condition.
theorem ae_mem_of_map_compl_eq_zero {ρ : Measure X} {T : X → V} (hT : Measurable T) {Y : Set V} (hY : (Measure.map T ρ) Yᶜ = 0) : ∀ᵐ x ∂ρ, T x ∈ Y := by … - theorem
OAI.Problem358.integrable_norm_sub_sq_of_ae_mem_boundedline 115Source documentation
Two measurable maps with essentially bounded ranges have integrable squared separation.
theorem integrable_norm_sub_sq_of_ae_mem_bounded {ρ : Measure X} [IsFiniteMeasure ρ] {T S : X → V} (hT : Measurable T) (hS : Measurable S) {Y Z : Set V} (hY : Bornology.IsBounded Y) (hZ : Bornology.IsBounded Z) (hTY : ∀ᵐ x ∂ρ, T x ∈ Y) (hSZ : ∀ᵐ x ∂ρ, S x ∈ Z) : Integrable (fun x => ‖T x - S x‖ ^ 2) ρ := by … - theorem
OAI.Problem358.integrable_norm_sub_sq_of_map_compactline 127Source documentation
Compact support of the two pushforwards suffices for the L² separation integral.
theorem integrable_norm_sub_sq_of_map_compact {ρ : Measure X} [IsFiniteMeasure ρ] {T S : X → V} (hT : Measurable T) (hS : Measurable S) {Y Z : Set V} (hY : IsCompact Y) (hZ : IsCompact Z) (hTY : (Measure.map T ρ) Yᶜ = 0) (hSZ : (Measure.map S ρ) Zᶜ = 0) : Integrable (fun x => ‖T x - S x‖ ^ 2) ρ := … - theorem
OAI.Problem358.integral_norm_sub_sq_eq_zero_iffline 137Source documentation
The squared L² separation integral vanishes exactly for a.e.-equal maps.
theorem integral_norm_sub_sq_eq_zero_iff {ρ : Measure X} {T S : X → V} (hTS : Integrable (fun x => ‖T x - S x‖ ^ 2) ρ) : (∫ x, ‖T x - S x‖ ^ 2 ∂ρ) = 0 ↔ T =ᵐ[ρ] S := by … - theorem
OAI.Problem358.exists_mapL2Dist_limitline 156 - theorem
OAI.Problem358.exists_subseq_tendsto_ae_of_mapL2Dist_tendsto_zeroline 175 - theorem
OAI.Problem358.ae_mem_of_mapL2Dist_tendsto_zeroline 193 - theorem
OAI.Problem358.exists_mapL2Dist_limit_in_closedline 205 - theorem
OAI.Problem358.tendsto_mapL2Dist_of_tendstoline 217Source documentation
Map distance is continuous under L² convergence of each endpoint.
theorem tendsto_mapL2Dist_of_tendsto {ι : Type*} {l : Filter ι} {T S : ι → E d → E d} {T₀ S₀ : E d → E d} (hT : ∀ n, MemLp (T n) 2 ρ) (hS : ∀ n, MemLp (S n) 2 ρ) (hT₀ : MemLp T₀ 2 ρ) (hS₀ : MemLp S₀ 2 ρ) (hTlim : Tendsto (fun n => mapL2Dist ρ (T n) T₀) l (𝓝 0)) (hSlim : Tendsto (fun n => mapL2Dist ρ (S n) S₀) l (𝓝 0)) : Tendsto (fun n => mapL2Dist ρ (T n) (S n)) l (𝓝 (mapL2Dist ρ T₀ S₀)) := by … - theorem
OAI.Problem358.graphPlan_eq_iff_ae_eqline 242Source documentation
The graph plan of a measurable map remembers its almost-everywhere class.
theorem graphPlan_eq_iff_ae_eq {d : ℕ} {ρ : Measure (E d)} {T S : E d → E d} (hT : Measurable T) (hS : Measurable S) : graphPlan ρ T = graphPlan ρ S ↔ T =ᵐ[ρ] S := by … - theorem
OAI.Problem358.graphPlan_isCouplingline 261Source documentation
A measurable transport of a probability source defines a coupling with its law.
theorem graphPlan_isCoupling {d : ℕ} {ρ μ : Measure (E d)} [IsProbabilityMeasure ρ] {T : E d → E d} (hT : Measurable T) (hlaw : Measure.map T ρ = μ) : IsCoupling ρ μ (graphPlan ρ T) := by … - theorem
OAI.Problem358.IsQuadraticOptimalMap.cost_eqline 275Source documentation
All optimal maps for the same source and target have the same graph cost.
theorem IsQuadraticOptimalMap.cost_eq {d : ℕ} {ρ μ : Measure (E d)} [IsProbabilityMeasure ρ] {T S : E d → E d} (hT : IsQuadraticOptimalMap ρ μ T) (hS : IsQuadraticOptimalMap ρ μ S) : quadraticPlanCost (graphPlan ρ T) = quadraticPlanCost (graphPlan ρ S) := by … - theorem
OAI.Problem358.IsUniqueQuadraticOptimalMap.ae_eq_of_optimalline 284Source documentation
Uniqueness among transport plans implies uniqueness of the map almost everywhere.
theorem IsUniqueQuadraticOptimalMap.ae_eq_of_optimal {d : ℕ} {ρ μ : Measure (E d)} [IsProbabilityMeasure ρ] {T S : E d → E d} (hT : IsUniqueQuadraticOptimalMap ρ μ T) (hS : IsQuadraticOptimalMap ρ μ S) : T =ᵐ[ρ] S := by … - theorem
OAI.Problem358.mapL2Dist_eq_of_optimal_mapsline 293Source documentation
Distances between unique optimal maps do not depend on selected representatives.
theorem mapL2Dist_eq_of_optimal_maps {d : ℕ} {ρ μ ν : Measure (E d)} [IsProbabilityMeasure ρ] {T S T' S' : E d → E d} (hT : IsUniqueQuadraticOptimalMap ρ μ T) (hS : IsUniqueQuadraticOptimalMap ρ ν S) (hT' : IsQuadraticOptimalMap ρ μ T') (hS' : IsQuadraticOptimalMap ρ ν S') : mapL2Dist ρ T S = mapL2Dist ρ T' S' := … - theorem
OAI.Problem358.IsQuadraticOptimalMap.congr_aeline 302Source documentation
Changing a measurable representative on a null set preserves optimality.
theorem IsQuadraticOptimalMap.congr_ae {d : ℕ} {ρ μ : Measure (E d)} {T S : E d → E d} (hT : IsQuadraticOptimalMap ρ μ T) (hS : Measurable S) (hae : T =ᵐ[ρ] S) : IsQuadraticOptimalMap ρ μ S := by … - theorem
OAI.Problem358.IsUniqueQuadraticOptimalMap.congr_aeline 313Source documentation
Changing a measurable representative on a null set also preserves plan uniqueness.
theorem IsUniqueQuadraticOptimalMap.congr_ae {d : ℕ} {ρ μ : Measure (E d)} {T S : E d → E d} (hT : IsUniqueQuadraticOptimalMap ρ μ T) (hS : Measurable S) (hae : T =ᵐ[ρ] S) : IsUniqueQuadraticOptimalMap ρ μ S := by … - theorem
OAI.Problem358.StabilityLimit.real_bound_of_approximationline 335Source documentation
A uniform power bound survives convergence when the input distances have only an asymptotic upper bound. This is enough for finite-target quantization.
theorem real_bound_of_approximation {D W C α : ℝ} {Dₙ Wₙ ε : ℕ → ℝ} (hC : 0 ≤ C) (hα : 0 ≤ α) (hWₙ : ∀ n, 0 ≤ Wₙ n) (hD : Tendsto Dₙ atTop (𝓝 D)) (hε : Tendsto ε atTop (𝓝 0)) (hupper : ∀ n, Wₙ n ≤ W + ε n) (hbound : ∀ n, Dₙ n ≤ C * Real.rpow (Wₙ n) α) : D ≤ C * Real.rpow W α := by … - theorem
OAI.Problem358.StabilityLimit.dist_bound_of_approximationline 352Source documentation
Metric version of the approximation closure step.
theorem dist_bound_of_approximation {X : Type*} [PseudoMetricSpace X] {x y : X} {xₙ yₙ : ℕ → X} {W C α : ℝ} {Wₙ ε : ℕ → ℝ} (hC : 0 ≤ C) (hα : 0 ≤ α) (hWₙ : ∀ n, 0 ≤ Wₙ n) (hx : Tendsto xₙ atTop (𝓝 x)) (hy : Tendsto yₙ atTop (𝓝 y)) (hε : Tendsto ε atTop (𝓝 0)) (hupper : ∀ n, Wₙ n ≤ W + ε n) (hbound : ∀ n, dist (xₙ n) (yₙ n) ≤ C * Real.rpow (Wₙ n) α) : dist x y ≤ C * Real.rpow W α := by … - theorem
OAI.Problem358.StabilityLimit.one_third_dist_bound_of_approximationline 362Source documentation
The exact exponent used by the stability target.
theorem one_third_dist_bound_of_approximation {X : Type*} [PseudoMetricSpace X] {x y : X} {xₙ yₙ : ℕ → X} {W C : ℝ} {Wₙ ε : ℕ → ℝ} (hC : 0 ≤ C) (hWₙ : ∀ n, 0 ≤ Wₙ n) (hx : Tendsto xₙ atTop (𝓝 x)) (hy : Tendsto yₙ atTop (𝓝 y)) (hε : Tendsto ε atTop (𝓝 0)) (hupper : ∀ n, Wₙ n ≤ W + ε n) (hbound : ∀ n, dist (xₙ n) (yₙ n) ≤ C * Real.rpow (Wₙ n) (1 / 3 : ℝ)) : dist x y ≤ C * Real.rpow W (1 / 3 : ℝ) := by … - theorem
OAI.Problem358.StabilityLimit.tendsto_mapL2Distline 375Source documentation
Strong L² convergence in both arguments gives convergence of the map distance.
theorem tendsto_mapL2Dist {T S : E d → E d} {Tₙ Sₙ : ℕ → E d → E d} (hT : MemLp T 2 ρ) (hS : MemLp S 2 ρ) (hTₙ : ∀ n, MemLp (Tₙ n) 2 ρ) (hSₙ : ∀ n, MemLp (Sₙ n) 2 ρ) (hlimT : Tendsto (fun n => mapL2Dist ρ (Tₙ n) T) atTop (𝓝 0)) (hlimS : Tendsto (fun n => mapL2Dist ρ (Sₙ n) S) atTop (𝓝 0)) : Tendsto (fun n => mapL2Dist ρ (Tₙ n) (Sₙ n)) atTop (𝓝 (mapL2Dist ρ T S)) := by … - theorem
OAI.Problem358.StabilityLimit.mapL2Dist_bound_of_approximationline 390Source documentation
Passage from finite-target map bounds to a strong-L² limiting pair.
theorem mapL2Dist_bound_of_approximation {T S : E d → E d} {Tₙ Sₙ : ℕ → E d → E d} {W C α : ℝ} {Wₙ ε : ℕ → ℝ} (hT : MemLp T 2 ρ) (hS : MemLp S 2 ρ) (hTₙ : ∀ n, MemLp (Tₙ n) 2 ρ) (hSₙ : ∀ n, MemLp (Sₙ n) 2 ρ) (hlimT : Tendsto (fun n => mapL2Dist ρ (Tₙ n) T) atTop (𝓝 0)) (hlimS : Tendsto (fun n => mapL2Dist ρ (Sₙ n) S) atTop (𝓝 0)) (hC : 0 ≤ C) (hα : 0 ≤ α) (hWₙ : ∀ n, 0 ≤ Wₙ n) (hε : Tendsto ε atTop (𝓝 0)) (hupper : ∀ n, Wₙ n ≤ W + ε n) (hbound : ∀ n, mapL2Dist ρ (Tₙ n) (Sₙ n) ≤ C * Real.rpow (Wₙ n) α) : mapL2Dist ρ T S ≤ C * Real.rpow W α := by … - theorem
OAI.Problem358.StabilityLimit.one_third_bound_of_target_approximationline 405Source documentation
Final one-third estimate under explicit finite approximation hypotheses.
theorem one_third_bound_of_target_approximation {T S : E d → E d} {Tₙ Sₙ : ℕ → E d → E d} {μ ν : Measure (E d)} {μₙ νₙ : ℕ → Measure (E d)} {C : ℝ} {ε : ℕ → ℝ} (hT : MemLp T 2 ρ) (hS : MemLp S 2 ρ) (hTₙ : ∀ n, MemLp (Tₙ n) 2 ρ) (hSₙ : ∀ n, MemLp (Sₙ n) 2 ρ) (hlimT : Tendsto (fun n => mapL2Dist ρ (Tₙ n) T) atTop (𝓝 0)) (hlimS : Tendsto (fun n => mapL2Dist ρ (Sₙ n) S) atTop (𝓝 0)) (hC : 0 ≤ C) (hε : Tendsto ε atTop (𝓝 0)) (hupper : ∀ n, wasserstein2 (μₙ n) (νₙ n) ≤ wasserstein2 μ ν + ε n) (hbound : ∀ n, mapL2Dist ρ (Tₙ n) (Sₙ n) ≤ C * Real.rpow (wasserstein2 (μₙ n) (νₙ n)) (1 / 3 : ℝ)) : mapL2Dist ρ T S ≤ C * Real.rpow (wasserstein2 μ ν) (1 / 3 : ℝ) := by … - theorem
OAI.Problem358.mapL2Dist_le_of_ae_boundline 430Source documentation
On a probability source, an essential pointwise distance bound is an L² bound.
theorem mapL2Dist_le_of_ae_bound {d : ℕ} {ρ : Measure (E d)} [IsProbabilityMeasure ρ] {T S : E d → E d} (hT : Measurable T) (hS : Measurable S) {M : ℝ} (hM : 0 ≤ M) (hbound : ∀ᵐ x ∂ρ, ‖T x - S x‖ ≤ M) : mapL2Dist ρ T S ≤ M := by … - theorem
OAI.Problem358.mapL2Dist_le_of_ae_norm_boundsline 444Source documentation
Uniform norm bounds on two maps give a uniform L² distance bound.
theorem mapL2Dist_le_of_ae_norm_bounds {d : ℕ} {ρ : Measure (E d)} [IsProbabilityMeasure ρ] {T S : E d → E d} (hT : Measurable T) (hS : Measurable S) {R Q : ℝ} (hR : 0 ≤ R) (hQ : 0 ≤ Q) (hRT : ∀ᵐ x ∂ρ, ‖T x‖ ≤ R) (hQS : ∀ᵐ x ∂ρ, ‖S x‖ ≤ Q) : mapL2Dist ρ T S ≤ R + Q := by … - theorem
OAI.Problem358.IsQuadraticOptimalMap.mapL2Dist_le_of_norm_boundline 455Source documentation
The norms of optimal maps are controlled by a bound on the target supports.
theorem IsQuadraticOptimalMap.mapL2Dist_le_of_norm_bound {d : ℕ} {ρ μ ν : Measure (E d)} [IsProbabilityMeasure ρ] {T S : E d → E d} (hT : IsQuadraticOptimalMap ρ μ T) (hS : IsQuadraticOptimalMap ρ ν S) {Y : Set (E d)} (hμ : IsSupported μ Y) (hν : IsSupported ν Y) {L : ℝ} (hL : 0 ≤ L) (hY : ∀ y ∈ Y, ‖y‖ ≤ L) : mapL2Dist ρ T S ≤ 2 * L := by … - theorem
OAI.Problem358.mapL2Dist_eq_zero_iff_ae_of_compactline 475Source documentation
Compact support of the pushforwards suffices for separation by map distance.
theorem mapL2Dist_eq_zero_iff_ae_of_compact {d : ℕ} {ρ : Measure (E d)} [IsFiniteMeasure ρ] {T S : E d → E d} (hT : Measurable T) (hS : Measurable S) {Y Z : Set (E d)} (hY : IsCompact Y) (hZ : IsCompact Z) (hTY : IsSupported (Measure.map T ρ) Y) (hSZ : IsSupported (Measure.map S ρ) Z) : mapL2Dist ρ T S = 0 ↔ T =ᵐ[ρ] S := … - theorem
OAI.Problem358.mapL2Dist_pos_iff_not_aeline 483Source documentation
Positive map distance is equivalent to distinct a.e. classes under integrability.
theorem mapL2Dist_pos_iff_not_ae {d : ℕ} {ρ : Measure (E d)} {T S : E d → E d} (hTS : Integrable (fun x => ‖T x - S x‖ ^ 2) ρ) : 0 < mapL2Dist ρ T S ↔ ¬ T =ᵐ[ρ] S := by … - theorem
OAI.Problem358.mapL2Dist_pos_of_map_ne_of_compactline 491Source documentation
Two unequal target laws force positive map distance for compact-supported maps.
theorem mapL2Dist_pos_of_map_ne_of_compact {d : ℕ} {ρ : Measure (E d)} [IsFiniteMeasure ρ] {T S : E d → E d} (hT : Measurable T) (hS : Measurable S) {Y Z : Set (E d)} (hY : IsCompact Y) (hZ : IsCompact Z) (hTY : IsSupported (Measure.map T ρ) Y) (hSZ : IsSupported (Measure.map S ρ) Z) (hne : Measure.map T ρ ≠ Measure.map S ρ) : 0 < mapL2Dist ρ T S := by … - theorem
OAI.Problem358.IsQuadraticOptimalMap.mapL2Dist_pos_of_neline 503Source documentation
Optimal maps to distinct compact-supported targets have positive map distance.
theorem IsQuadraticOptimalMap.mapL2Dist_pos_of_ne {d : ℕ} {ρ μ ν : Measure (E d)} [IsFiniteMeasure ρ] {T S : E d → E d} (hT : IsQuadraticOptimalMap ρ μ T) (hS : IsQuadraticOptimalMap ρ ν S) {Y Z : Set (E d)} (hY : IsCompact Y) (hZ : IsCompact Z) (hμ : IsSupported μ Y) (hν : IsSupported ν Z) (hne : μ ≠ ν) : 0 < mapL2Dist ρ T S := by …