Yang–Mills: the 2026 Lean construction, rerun and read; the mass gap still open
OpenAI's 2026 Lean construction of 4D Yang–Mills as the expert group keeps it: settle what it proves, rerun it, read it; uniqueness and the mass gap are open, and Clay's problem unsolved

| 1 | import YM.Laurent.Rune |
| 2 | import YM.Push.SECTOR_MEASURE.Bounds |
| 3 | import YM.Push.SECTOR_MEASURE.Profile |
| 4 | import YM.Work.A15 |
| 5 | |
| 6 | /-! |
| 7 | # Exact finite-forest-slice sector sums |
| 8 | |
| 9 | Vector/scalar/signed multipliers allowed. , cut column |
| 10 | `incoming`/`outgoing` of Sector . Keep the probability |
| 11 | Haar slice through all integrals. All set decompositions at fixed k: |
| 12 | outer finite counting sum uses those SAME tag arrays. Does not assign |
| 13 | multiplicity to overlapping Plots. Use integral identities as statements |
| 14 | about actual integrals with **complete** codomain (e.g. ℝ or ℂ). Some |
| 15 | algebraic library lemmas here, as in mathlib, are stated also in |
| 16 | incomplete spaces; then `∫` has mathlib's default-zero convention. And |
| 17 | use definitions of integral expressions only with Integrable proved. |
| 18 | -/ |
| 19 | |
| 20 | set_option autoImplicit false |
| 21 | noncomputable section |
| 22 | namespace YM.Push.SectorMeasure |
| 23 | |
| 24 | open Filter Function Lattice RG Wilson Pressure Pressure.Stores Tree MeasureTheory |
| 25 | open Next.Fluctuations.Sector |
| 26 | open scoped Topology Matrix.Norms.Frobenius BigOperators Classical |
| 27 | |
| 28 | variable {G : Gauge} {c f : Side} {S : StepData c f} {P : Teller G} {T : Tube G S} {x W : ℝ} |
| 29 | variable {X : Type*} [NormedAddCommGroup X] [NormedSpace ℝ X] |
| 30 | |
| 31 | namespace Env |
| 32 | variable {α : Type*} [MeasurableSpace α] {H : α → ℝ} {f : α → X} {μ : Measure α} |
| 33 | |
| 34 | lemma smul_L1 (h : Envelope H) (l : Integrable f μ) : Integrable (fun a => H a • f a) μ := by |
| 35 | obtain ⟨C,A⟩ := h.cost |
| 36 | exact l.bdd_smul C h.meas.aestronglyMeasurable (Eventually.of_forall A) |
| 37 | |
| 38 | section borel |
| 39 | variable [MeasurableSpace X] [BorelSpace X] [SecondCountableTopology X] |
| 40 | |
| 41 | lemma scale (h : Envelope H) (l : Envelope f) : Envelope (fun a => H a • f a) := by |
| 42 | obtain ⟨C,A⟩ := h.cost; obtain ⟨D,B⟩ := l.cost |
| 43 | refine ⟨h.meas.smul l.meas,C*D,fun a => ?_⟩ |
| 44 | rw [norm_smul]; exact mul_le_mul (A a) (B a) (norm_nonneg _) ((norm_nonneg _).trans (A a)) |
| 45 | |
| 46 | omit [NormedSpace ℝ X] in |
| 47 | lemma integrableX (h : Envelope f) (μ : Measure α) [IsFiniteMeasure μ] : Integrable f μ := by |
| 48 | obtain ⟨C,H⟩ := h.cost |
| 49 | exact Integrable.of_bound h.meas.aestronglyMeasurable C (Eventually.of_forall H) |
| 50 | |
| 51 | lemma marginal {β : Type*} [MeasurableSpace β] {g : α × β → X} (h : Envelope g) |
| 52 | (μ : Measure α) [IsProbabilityMeasure μ] : Envelope fun b => ∫ a, g (a,b) ∂μ := by |
| 53 | obtain ⟨C,H⟩ := h.cost |
| 54 | refine ⟨h.meas.stronglyMeasurable.integral_prod_left'.measurable,C,fun b => ?_⟩ |
| 55 | apply (norm_integral_le_of_norm_le_const (Eventually.of_forall fun a => H (a,b))).trans |
| 56 | simp |
| 57 | |
| 58 | omit [NormedSpace ℝ X] in |
| 59 | lemma total {ι : Type*} (s : Finset ι) {g : ι → α → X} (h : ∀ i, Envelope (g i)) : |
| 60 | Envelope (fun a => ∑ i ∈ s, g i a) := by |
| 61 | choose C H using fun i => (h i).cost |
| 62 | refine ⟨Finset.measurable_fun_sum _ fun i _ => (h i).meas, ∑ i ∈ s, C i, fun a => ?_⟩ |
| 63 | exact (norm_sum_le ..).trans (Finset.sum_le_sum fun i _ => H i a) |
| 64 | end borel |
| 65 | end Env |
| 66 | |
| 67 | /-- Entries vanish where their particular physical likelihood vanishes. -/ |
| 68 | def Ticketed (F : Forest S.ratio) (g : S.Choices → F.Slice G → X) := |
| 69 | ∀ k a, ¬ Alive S (F.drape a) k → g k a = 0 |
| 70 | |
| 71 | /-- Counts (and does not normalize again) all tag choices. -/ |
| 72 | def tagTotal (F : Forest S.ratio) (g : S.Choices → F.Slice G → X) := |
| 73 | ∑ k, ∫ a, g k a ∂F.order G |
| 74 | |
| 75 | |
| 76 | |
| 77 | namespace Allocation |
| 78 | variable (D : Allocation G S x W) |
| 79 | |
| 80 | /-- Portion of a tagged integrand; tag argument unchanged. -/ |
| 81 | def portion (A : Stores S) (F : Forest S.ratio) (V : Config G c) (g : S.Choices → F.Slice G → X) : |
| 82 | S.Choices → F.Slice G → X := |
| 83 | fun k a => D.bill A k (F.drape a) V • g k a |
| 84 | |
| 85 | /-- Column in the push problem, at fixed output field and seed records. -/ |
| 86 | def column (A : Stores S) (F : Forest S.ratio) (V : Config G c) (g : S.Choices → F.Slice G → X) := |
| 87 | tagTotal F (D.portion A F V g) |
| 88 | |
| 89 | lemma portion_integrable (h : S.patch.Branches S.kernel G) (A : Stores S) (F : Forest S.ratio) |
| 90 | (V : Config G c) (g : S.Choices → F.Slice G → X) (k : S.Choices) (he : Integrable (g k) (F.order G)) : |
| 91 | Integrable (D.portion A F V g k) (F.order G) := |
| 92 | Env.smul_L1 (D.envelope h F.continuous_drape.measurable measurable_const A k) he |
| 93 | |
| 94 | /-- Exact full partition of the integral. Needs even the unused parts |
| 95 | integrable; _doesn't_ need strict positivity of each tag's likelihood. -/ |
| 96 | theorem partitions (h : S.patch.Branches S.kernel G) (F : Forest S.ratio) (V : Config G c) |
| 97 | (g : S.Choices → F.Slice G → X) (he : ∀ k, Integrable (g k) (F.order G)) : |
| 98 | (∑ A, D.column A F V g) = tagTotal F g := by |
| 99 | unfold column tagTotal |
| 100 | rw [Finset.sum_comm] |
| 101 | refine Finset.sum_congr rfl fun k _ => ?_ |
| 102 | rw [← integral_finsetSum Finset.univ (fun A _ => D.portion_integrable h A F V g k (he k))] |
| 103 | unfold portion; simp_rw [← Finset.sum_smul, D.sums, one_smul] |
| 104 | |
| 105 | lemma plot_indicator (A : Stores S) (F : Forest S.ratio) (V : Config G c) |
| 106 | (g : S.Choices → F.Slice G → X) (h : Ticketed F g) (k) : |
| 107 | Set.indicator (onSector A F x W k V) (D.portion A F V g k) = D.portion A F V g k := by |
| 108 | funext a |
| 109 | by_cases he : a ∈ onSector A F x W k V |
| 110 | · exact Set.indicator_of_mem he _ |
| 111 | rw [Set.indicator_of_notMem he _] |
| 112 | unfold portion |
| 113 | by_cases ht : Alive S (F.drape a) k |
| 114 | · have ho : D.bill A k (F.drape a) V = 0 := not_not.mp (fun hn => he (D.plots hn ht)) |
| 115 | rw [ho, zero_smul] |
| 116 | rw [h k a ht, smul_zero] |
| 117 | |
| 118 | /-- Equivalence to the terms restricted to *their own* Plots, i.e. |
| 119 | what the per-Plot grants see. Still with the portion weights. -/ |
| 120 | theorem plots_column (hm : S.patch.Branches S.kernel G) (A : Stores S) (F : Forest S.ratio) (V : Config G c) |
| 121 | (g : S.Choices → F.Slice G → X) (he : Ticketed F g) (_l : ∀ k, Integrable (g k) (F.order G)) : |
| 122 | (∑ k, ∫ a in onSector A F x W k V, D.portion A F V g k a ∂F.order G) = D.column A F V g := by |
| 123 | unfold column tagTotal |
| 124 | refine Finset.sum_congr rfl fun i _ => ?_ |
| 125 | rw [← integral_indicator (show MeasurableSet (onSector A F x W i V) from plot_meas A i x W hm F.continuous_drape.measurable measurable_const), |
| 126 | D.plot_indicator A F V g he i] |
| 127 | |
| 128 | |
| 129 | |
| 130 | |
| 131 | |
| 132 | section variableOutput |
| 133 | variable [MeasurableSpace X] [BorelSpace X] [SecondCountableTopology X] |
| 134 | |
| 135 | /-- Joint Borel and fixed-volume envelopes for the individual sector |
| 136 | terms with variable V. Useful also to commute the decompositions through |
| 137 | the coarse integral. -/ |
| 138 | lemma portion_env (hm : S.patch.Branches S.kernel G) (A : Stores S) (F : Forest S.ratio) |
| 139 | (g : S.Choices → F.Slice G × Config G c → X) (k : S.Choices) (he : Envelope (g k)) : |
| 140 | Envelope (fun a : F.Slice G × Config G c => D.portion A F a.2 (fun k u => g k (u,a.2)) k a.1) := by |
| 141 | have h : Measurable (fun a : F.Slice G × Config G c => F.drape a.1) := |
| 142 | F.continuous_drape.measurable.comp measurable_fst |
| 143 | have l : Measurable (fun a : F.Slice G × Config G c => a.2) := measurable_snd |
| 144 | exact Env.scale (D.envelope hm h l A k) he |
| 145 | |
| 146 | lemma column_env (hm : S.patch.Branches S.kernel G) (A : Stores S) (F : Forest S.ratio) |
| 147 | (g : S.Choices → F.Slice G × Config G c → X) (he : ∀ k, Envelope (g k)) : |
| 148 | Envelope (fun V => D.column A F V (fun k u => g k (u,V))) := by |
| 149 | have h k : Envelope fun V => ∫ a, D.portion A F V (fun i u => g i (u,V)) k a ∂F.order G := |
| 150 | Env.marginal (D.portion_env hm A F g k (he k)) _ |
| 151 | unfold column tagTotal |
| 152 | exact Env.total (g:=fun k V => ∫ a, D.portion A F V (fun i u => g i (u,V)) k a ∂F.order G) _ h |
| 153 | |
| 154 | end variableOutput |
| 155 | end Allocation |
| 156 | |
| 157 | section dress |
| 158 | |
| 159 | /-- Common dressing operations, one k taken throughout. -/ |
| 160 | def inside (F : Forest S.ratio) (T : Tube G S) (β x : ℝ) (V : Config G c) |
| 161 | (g : S.Choices → F.Slice G → X) : S.Choices → F.Slice G → X := |
| 162 | fun k a => incoming T β x k V (F.drape a) • g k a |
| 163 | |
| 164 | def remainder (F : Forest S.ratio) (A : Stores S) (T : Tube G S) (β x : ℝ) (V : Config G c) |
| 165 | (g : S.Choices → F.Slice G → X) : S.Choices → F.Slice G → X := |
| 166 | fun k a => outgoing A T β x k V (F.drape a) • g k a |
| 167 | |
| 168 | def through (S : StepData c f) (F : Forest S.ratio) (β : ℝ) (V : Config G c) |
| 169 | (g : S.Choices → F.Slice G → X) : S.Choices → F.Slice G → X := |
| 170 | fun k a => taggedKernel S β k (F.drape a) V • g k a |
| 171 | |
| 172 | variable (F : Forest S.ratio) (β x : ℝ) (V : Config G c) (g : S.Choices → F.Slice G → X) |
| 173 | |
| 174 | lemma inside_integrable (h : P.Funds S T) (k : S.Choices) (he : Integrable (g k) (F.order G)) : |
| 175 | Integrable (inside F T β x V g k) (F.order G) := |
| 176 | Env.smul_L1 (env_incoming h β x k F.continuous_drape.measurable measurable_const) he |
| 177 | |
| 178 | lemma remainder_integrable (h : P.Funds S T) (A : Stores S) (k : S.Choices) |
| 179 | (he : Integrable (g k) (F.order G)) : Integrable (remainder F A T β x V g k) (F.order G) := |
| 180 | Env.smul_L1 (env_outgoing h β x k F.continuous_drape.measurable measurable_const A) he |
| 181 | |
| 182 | lemma through_integrable (h : S.patch.Branches S.kernel G) (k : S.Choices) |
| 183 | (he : Integrable (g k) (F.order G)) : Integrable (through S F β V g k) (F.order G) := |
| 184 | Env.smul_L1 (env_tagged β k h F.continuous_drape.measurable measurable_const) he |
| 185 | |
| 186 | lemma ticket_in : Ticketed F (inside F T β x V g) := by |
| 187 | intro k a h |
| 188 | simp [inside,incoming,dead h] |
| 189 | |
| 190 | lemma ticket_out (A : Stores S) : Ticketed F (remainder F A T β x V g) := by |
| 191 | intro k a h |
| 192 | simp [remainder,outgoing,dead h] |
| 193 | |
| 194 | |
| 195 | |
| 196 | end dress |
| 197 | end YM.Push.SectorMeasure |