OAI/Analysis/Brenier/Atomic.lean
28 declarations, 0 contain sorry, 0 declared as axioms
- lemma
OAI.Problem358.finite_atomic_probabilityline 12 - lemma
OAI.Problem358.finite_atomic_supportedline 18 - lemma
OAI.Problem358.HasExactlyThreeAtoms.isProbabilityMeasureline 26 - lemma
OAI.Problem358.HasExactlyThreeAtoms.isSupportedline 32 - lemma
OAI.Problem358.finite_atomic_singletonline 38 - lemma
OAI.Problem358.finite_atomic_singleton_of_not_memline 44 - lemma
OAI.Problem358.finite_atomic_ne_of_missing_atomline 54 - def
OAI.Problem358.atomicMatchingPlanline 70Source documentation
The coupling which matches equally indexed atoms without splitting mass.
def atomicMatchingPlan {d : ℕ} {ι : Type*} [Fintype ι] (w : ι → ℝ≥0∞) (y z : ι → E d) : Measure (E d × E d) := … - theorem
OAI.Problem358.atomicMatchingPlan_isProbabilityline 74 - theorem
OAI.Problem358.atomicMatchingPlan_fstline 80 - theorem
OAI.Problem358.atomicMatchingPlan_sndline 88 - theorem
OAI.Problem358.atomicMatchingPlan_isCouplingline 96 - theorem
OAI.Problem358.quadraticPlanCost_atomicMatchingPlanline 103 - theorem
OAI.Problem358.quadraticPlanCost_atomicMatchingPlan_ne_topline 110 - theorem
OAI.Problem358.wasserstein2_atomic_leline 120Source documentation
Matching equally indexed atoms gives an explicit upper bound for the exact Wasserstein quantity used in the challenge.
theorem wasserstein2_atomic_le {d : ℕ} {ι : Type*} [Fintype ι] (w : ι → ℝ≥0∞) (y z : ι → E d) (hw : ∑ i, w i = 1) : wasserstein2 (∑ i, w i • Measure.dirac (y i)) (∑ i, w i • Measure.dirac (z i)) ≤ Real.sqrt (∑ i, (w i).toReal * ‖y i - z i‖ ^ 2) := by … - theorem
OAI.Problem358.eq_sum_dirac_of_ae_mem_rangeline 145Source documentation
A measure concentrated on an injectively indexed finite set is the sum of its point masses.
theorem eq_sum_dirac_of_ae_mem_range {X ι : Type*} [MeasurableSpace X] [MeasurableSingletonClass X] [Fintype ι] (μ : Measure X) (y : ι → X) (hy : Function.Injective y) (hμ : ∀ᵐ x ∂μ, x ∈ Set.range y) : μ = ∑ i, μ {y i} • Measure.dirac (y i) := by … - theorem
OAI.Problem358.ae_mem_range_sum_diracline 159Source documentation
Every weighted finite atomic measure is concentrated on its listed atoms.
theorem ae_mem_range_sum_dirac {X ι : Type*} [MeasurableSpace X] [MeasurableSingletonClass X] [Fintype ι] (w : ι → ℝ≥0∞) (y : ι → X) : ∀ᵐ x ∂(∑ i, w i • Measure.dirac (y i)), x ∈ Set.range y := by … - theorem
OAI.Problem358.IsCoupling.ae_mem_atomic_pairsline 168Source documentation
All mass of a coupling of finite atomic measures is carried by pairs of listed atoms.
theorem IsCoupling.ae_mem_atomic_pairs {d : ℕ} {ι κ : Type*} [Fintype ι] [Fintype κ] {w : ι → ℝ≥0∞} {v : κ → ℝ≥0∞} {y : ι → E d} {z : κ → E d} {π : Measure (E d × E d)} (hπ : IsCoupling (∑ i, w i • Measure.dirac (y i)) (∑ j, v j • Measure.dirac (z j)) π) : ∀ᵐ p ∂π, p ∈ Set.range (fun q : ι × κ => (y q.1, z q.2)) := by … - theorem
OAI.Problem358.IsCoupling.atomic_decompositionline 189Source documentation
A coupling of injectively indexed atomic measures has the usual finite matrix representation.
theorem IsCoupling.atomic_decomposition {d : ℕ} {ι κ : Type*} [Fintype ι] [Fintype κ] {w : ι → ℝ≥0∞} {v : κ → ℝ≥0∞} {y : ι → E d} {z : κ → E d} {π : Measure (E d × E d)} (hπ : IsCoupling (∑ i, w i • Measure.dirac (y i)) (∑ j, v j • Measure.dirac (z j)) π) (hy : Function.Injective y) (hz : Function.Injective z) : π = ∑ q : ι × κ, π {(y q.1, z q.2)} • Measure.dirac (y q.1, z q.2) := by … - theorem
OAI.Problem358.finite_atomic_apply_atomline 201 - theorem
OAI.Problem358.IsCoupling.atomic_row_sumline 208 - theorem
OAI.Problem358.IsCoupling.atomic_col_sumline 223 - theorem
OAI.Problem358.IsCoupling.atomic_costline 238 - theorem
OAI.Problem358.atomicMatchingPlan_isCoupling_of_marginal_sumsline 250 - theorem
OAI.Problem358.IsCoupling.atomic_row_sum_toRealline 267 - theorem
OAI.Problem358.IsCoupling.atomic_col_sum_toRealline 278 - theorem
OAI.Problem358.IsCoupling.atomic_cost_ne_topline 289 - theorem
OAI.Problem358.IsCoupling.atomic_cost_toRealline 301