Exact Lean source
YoungFlatCouplingLimit
formalization/Cloning/YoungFlatCouplingLimit.lean
Source hash: 7aa40980658116539d40cd47b378dab965e53a1ecee7f20dc4f7262b9eaddbe7
Full source copied without mathematical changes from the snapshot whose input hash matches the passing audit. Select a line number for a stable source pointer.
The declarations belong to the compiled inventory covered by the project’s shared axiom audit. That audit records an aggregate union, without attributing axioms to individual declarations.
Declarations in this module
definition
Cloning.YoungFlatCoupling.flatBadPairdefinition Cloning.YoungFlatCoupling.commonPointBadtheorem Cloning.YoungFlatCoupling.measurableSet_commonPointBadtheorem Cloning.YoungFlatCoupling.positiveFlatCoupling_incompatible_letheorem Cloning.YoungFlatCoupling.flatCoupling_incompatible_letheorem Cloning.YoungFlatCoupling.flatCoupling_incompatibleMass_tendsto1import Cloning.YoungFlatCouplingPhysical
2
3/-! Compatibility with probability tending to one for the actual exact-marginal
4flat Young coupling. -/
5noncomputable section
6open scoped BigOperators Topology Classical ENNReal
7open MeasureTheory Filter
8namespace Cloning.YoungFlatCoupling
9open Cloning.YoungHyperplane Cloning.YoungGeneral Cloning.TensorLie Cloning.YoungFlat Cloning.TensorCloning
10set_option backward.isDefEq.respectTransparency false
11set_option maxHeartbeats 1200000
12
13def flatBadPair (d N M : ℕ) (s : Shape (d+1) N) (t : Shape (d+1) M) : Prop :=
14 ¬PartitionCompatible (fun i => (s i).val) (fun i => (t i).val)
15
16def commonPointBad (d N M : ℕ) (x : rootSpace d) : Prop :=
17 flatBadPair d N M (sampleShape d N (flatSpectrum (d+1)) x)
18 (sampleShape d M (flatSpectrum (d+1)) x)
19
20theorem measurableSet_commonPointBad (d N M : ℕ) :
21 MeasurableSet {x | commonPointBad d N M x} :=
22 measurableSet_relation _ _ (measurable_sampleShape d N _) (measurable_sampleShape d M _)
23 (flatBadPair d N M)
24
25theorem positiveFlatCoupling_incompatible_le (d N M : ℕ) (hN : 0<N) (hM : 0<M) :
26 incompatibleMass (d+1) N M (positiveFlatCoupling d N M hN hM) ≤
27 (∫ x, if commonPointBad d N M x then min (flatDensity d N x) (flatDensity d M x) else 0) +
28 (1/2 : ℝ) * ∫ x, |flatDensity d N x-flatDensity d M x| := by
29 have he := densityCoupling_event_le volume (sampleShape d N (flatSpectrum (d+1)))
30 (sampleShape d M (flatSpectrum (d+1))) (flatDensity d N) (flatDensity d M)
31 (measurable_sampleShape d N _) (measurable_sampleShape d M _)
32 (integrable_flatDensity d N hN) (integrable_flatDensity d M hM)
33 (flatDensity_nonneg d N) (flatDensity_nonneg d M)
34 (integral_flatDensity d N hN) (integral_flatDensity d M hM) (flatBadPair d N M)
35 have hs : incompatibleMass (d+1) N M (positiveFlatCoupling d N M hN hM) =
36 ∑ z, if flatBadPair d N M z.1 z.2 then (positiveFlatCoupling d N M hN hM z).toReal else 0 := by
37 unfold incompatibleMass
38 apply Finset.sum_congr rfl
39 intro z _
40 unfold flatBadPair
41 split_ifs <;> simp_all
42 rw [hs]
43 exact he
44
45theorem flatCoupling_incompatible_le (d N M : ℕ) (hN : 0<N) (hM : 0<M) :
46 incompatibleMass (d+1) N M (flatCoupling d N M) ≤
47 ((∫ x, if commonPointBad d N M x then limitDensity d x else 0) +
48 ∫ x, |flatDensity d N x-limitDensity d x|) +
49 (1/2 : ℝ) * ((∫ x, |flatDensity d N x-limitDensity d x|) +
50 ∫ x, |flatDensity d M x-limitDensity d x|) := by
51 rw [flatCoupling_eq_positive d N M hN hM]
52 apply (positiveFlatCoupling_incompatible_le d N M hN hM).trans
53 exact add_le_add (overlap_event_le_limit volume _ _ _
54 (integrable_flatDensity d N hN) (integrable_flatDensity d M hM) (integrable_limitDensity d)
55 _ (measurableSet_commonPointBad d N M))
56 (mul_le_mul_of_nonneg_left (l1_between_le volume _ _ _
57 (integrable_flatDensity d N hN) (integrable_flatDensity d M hM) (integrable_limitDensity d)) (by norm_num))
58
59/-- The two physical marginals are exact for every sample size, while the mass
60of pairs without a literal Cartan inclusion tends to zero. -/
61theorem flatCoupling_incompatibleMass_tendsto (d : ℕ) (m : ℕ → ℕ)
62 (hm : Tendsto m atTop atTop) (γ : ℝ) (hγ : 1<γ)
63 (hratio : Tendsto (fun N : ℕ => (m N : ℝ)/(N : ℝ)) atTop (𝓝 γ)) :
64 Tendsto (fun N => incompatibleMass (d+1) N (m N) (flatCoupling d N (m N))) atTop (𝓝 0) := by
65 have hbad : Tendsto (fun N => ∫ x, if commonPointBad d N (m N) x then limitDensity d x else 0)
66 atTop (𝓝 0) := by
67 apply limit_bad_event_tendsto_zero volume _ (integrable_limitDensity d) (limitDensity_nonneg d)
68 _ (fun N => measurableSet_commonPointBad d N (m N))
69 intro x hx
70 have hstrict : StrictAnti (fun i => x.1 i) := by
71 by_contra hn
72 exact hx (limitDensity_eq_zero_of_not_strictAnti d x hn)
73 filter_upwards [eventually_flat_sampleShape_compatible d m hm γ hγ hratio x hstrict] with N hN
74 exact not_not.mpr hN
75 have hsource := flatDensity_l1_tendsto d
76 have htarget := (flatDensity_l1_tendsto d).comp hm
77 have hbound : Tendsto (fun N =>
78 ((∫ x, if commonPointBad d N (m N) x then limitDensity d x else 0) +
79 ∫ x, |flatDensity d N x-limitDensity d x|) +
80 (1/2 : ℝ)*((∫ x, |flatDensity d N x-limitDensity d x|) +
81 ∫ x, |flatDensity d (m N) x-limitDensity d x|)) atTop (𝓝 0) := by
82 simpa only [add_zero, zero_add, mul_zero] using (hbad.add hsource).add ((hsource.add htarget).const_mul (1/2 : ℝ))
83 apply squeeze_zero' (Eventually.of_forall fun N => Finset.sum_nonneg fun z _ => by
84 split_ifs <;> positivity) ?_ hbound
85 filter_upwards [eventually_gt_atTop 0, hm.eventually (eventually_gt_atTop 0)] with N hN hM
86 exact flatCoupling_incompatible_le d N (m N) hN hM
87
88end Cloning.YoungFlatCoupling