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.Push.GRID_APPROXIMATION.Cone |
| 2 | import YM.Push.GRID_APPROXIMATION.KernelBasic |
| 3 | import YM.Push.GRID_APPROXIMATION.Product |
| 4 | |
| 5 | |
| 6 | |
| 7 | /-! |
| 8 | # The actual conditional pullback fits a finite cone, factors on disjoint cones |
| 9 | |
| 10 | Summing unused tags with their actual masses. Site tags can be read in |
| 11 | neighboring bonds: in particular, not assuming that all coarse V bonds |
| 12 | are conditionally independent given the fine field. No conditioning on |
| 13 | large/small field events. |
| 14 | -/ |
| 15 | |
| 16 | set_option autoImplicit false |
| 17 | noncomputable section |
| 18 | namespace YM.Push.GridApprox |
| 19 | open RG Lattice Wilson Set Filter MeasureTheory Function |
| 20 | open scoped Topology BigOperators |
| 21 | |
| 22 | variable {G : Gauge} {c f : Side} (S : StepData c f) (β : ℝ) |
| 23 | |
| 24 | section parts |
| 25 | |
| 26 | /-- Evaluate the actual conditional density of one link, integrating just |
| 27 | the bond tag, with required site tags still shared. -/ |
| 28 | def noiseLink (Y v : G.El) := (S.penaltyZ β G)⁻¹ * S.penaltyWeight β (v * Y⁻¹) |
| 29 | |
| 30 | def perLink (U : Config G f) (t : S.SitesChoice) (e : Edge (Site c)) (v : G.El) : ℝ := |
| 31 | ∑ r : S.patch.Points, S.patch.predictorMass S.kernel (S.connector U t e) r * |
| 32 | noiseLink S β (S.patch.predict S.kernel (S.connector U t e) r) v |
| 33 | |
| 34 | def perSite (U : Config G f) (x : Site c) (r : S.patch.FrameTag) : ℝ := |
| 35 | S.patch.frameMass S.kernel (expandAt (S.ratio.embed x) U) r |
| 36 | |
| 37 | /-- Identity including all tags (canonical minimize with uniform unused |
| 38 | tags, fallback eligible etc.), volume needn't be large. -/ |
| 39 | lemma density_parts (U : Config G f) (V : Config G c) : |
| 40 | S.density β U V = ∑ t : S.SitesChoice, (∏ x, perSite S U x (t x)) * ∏ e, perLink S β U t e (V e) := by |
| 41 | classical |
| 42 | unfold StepData.density; rw [Fintype.sum_prod_type] |
| 43 | refine Finset.sum_congr rfl fun t _ => ?_ |
| 44 | unfold StepData.likelihood StepData.noise perSite perLink noiseLink StepData.prediction |
| 45 | rw [Fintype.prod_sum (fun e r => _)]; rw [Finset.mul_sum] |
| 46 | refine Finset.sum_congr rfl fun r _ => ?_ |
| 47 | simp only [Finset.prod_mul_distrib,mul_assoc] |
| 48 | |
| 49 | lemma noiseLink_cont (Y : G.El) : Continuous (noiseLink S β Y) := by |
| 50 | unfold noiseLink StepData.penaltyWeight; fun_prop |
| 51 | lemma noiseLink_mass (Y : G.El) : (∫ v, noiseLink S β Y v ∂G.probHaar) = 1 := by |
| 52 | have h := (measurePreserving_mul_right G.probHaar Y⁻¹).integral_comp |
| 53 | ((Homeomorph.mulRight Y⁻¹).measurableEmbedding) (S.penaltyWeight β) |
| 54 | unfold noiseLink |
| 55 | rw [integral_const_mul,h,← StepData.penaltyZ,inv_mul_cancel₀ (S.penaltyZ_pos β).ne'] |
| 56 | |
| 57 | lemma perLink_cont (U : Config G f) (t : S.SitesChoice) (e : Edge (Site c)) : |
| 58 | Continuous (perLink S β U t e) := by |
| 59 | unfold perLink |
| 60 | exact continuous_finsetSum _ fun _ _ => continuous_const.mul (noiseLink_cont S β _) |
| 61 | |
| 62 | lemma perLink_mass (U : Config G f) (t : S.SitesChoice) (e : Edge (Site c)) : |
| 63 | (∫ v, perLink S β U t e v ∂G.probHaar) = 1 := by |
| 64 | unfold perLink |
| 65 | rw [integral_finsetSum] |
| 66 | · simp_rw [integral_const_mul,noiseLink_mass,mul_one]; exact S.patch.predictorMass_sum .. |
| 67 | intro r _; exact ((noiseLink_cont S β _).integrable_of_hasCompactSupport (HasCompactSupport.of_compactSpace _)).const_mul _ |
| 68 | |
| 69 | |
| 70 | |
| 71 | private def atLink (U : Config G f) (t : S.SitesChoice) (e : Edge (Site c)) (v : G.El) : ℂ := |
| 72 | perLink S β U t e v |
| 73 | private def atSite (U : Config G f) (x : Site c) (r : S.patch.FrameTag) : ℂ := perSite S U x r |
| 74 | private def state (U : Config G f) (F : Config G c → ℂ) (t : S.SitesChoice) := |
| 75 | ∫ V, (∏ e, atLink S β U t e (V e)) * F V ∂prior G c |
| 76 | |
| 77 | private lemma link_unit (U : Config G f) (t) (e) : (∫ v, atLink S β U t e v ∂G.probHaar) = 1 := |
| 78 | Eq.trans (integral_ofReal (𝕜:=ℂ) (f:=perLink S β U t e)) (by rw [perLink_mass]; rfl) |
| 79 | |
| 80 | private lemma link_env (U : Config G f) (t) (e) : Envelope (atLink S β U t e) := |
| 81 | Envelope.compactC (Complex.continuous_ofReal.comp (perLink_cont S β U t e)) |
| 82 | |
| 83 | private lemma site_unit (h : S.patch.Branches S.kernel G) (U : Config G f) (x) : |
| 84 | (∑ r, atSite S U x r) = 1 := by |
| 85 | unfold atSite perSite; rw [← Complex.ofReal_sum,S.patch.frameMass_sum h,Complex.ofReal_one] |
| 86 | |
| 87 | private lemma parts_back (U : Config G f) (F : Config G c → ℂ) (h : Envelope F) : |
| 88 | back S β F U = ∑ t : S.SitesChoice, (∏ x, atSite S U x (t x)) * state S β U F t := by |
| 89 | unfold back |
| 90 | simp_rw [density_parts,Complex.ofReal_sum,Complex.ofReal_mul,Complex.ofReal_prod,Finset.sum_mul,mul_assoc] |
| 91 | rw [integral_finsetSum] |
| 92 | · simp_rw [integral_const_mul]; rfl |
| 93 | intro t _ |
| 94 | refine Integrable.const_mul ?_ _ |
| 95 | apply Envelope.integrableC |
| 96 | exact (Envelope.prodC _ (fun e (V : Config G c) => atLink S β U t e (V e)) |
| 97 | (fun e _ => (link_env S β U t e).comp_env (measurable_pi_apply _))).mulC h |
| 98 | end parts |
| 99 | |
| 100 | def actualEdges (X : Set (Site c)) : Set (Edge (Site c)) := {e | e.1∈X ∧ e.1+step e.2∈X} |
| 101 | lemma read_edges {X : Set (Site c)} {Y : Type*} {F : Config G c → Y} (h : LocalOn X F) : Reads (actualEdges X) F := |
| 102 | fun U V he => h U V fun e hx hy => he (show e∈actualEdges X from ⟨hx,hy⟩) |
| 103 | |
| 104 | section dep |
| 105 | variable {S β} {X : Set (Site c)} {F : Config G c → ℂ} |
| 106 | |
| 107 | private lemma state_reads (h : S.patch.Branches S.kernel G) (he : Envelope F) (hp : LocalOn X F) |
| 108 | (β : ℝ) (U : Config G f) : Reads X (state S β U F) := by |
| 109 | intro t l hl |
| 110 | apply pi_ignores (hF:=read_edges hp) he (link_unit S β U t) (link_unit S β U l) (link_env S β U t) (link_env S β U l) |
| 111 | intro e hr |
| 112 | unfold atLink perLink |
| 113 | have hi : _ ∧ _ := show e.1∈X ∧ e.1+step e.2∈X from hr |
| 114 | rw [connector_dep S h e t l (hl hi.1) (hl hi.2) (fun _ _ _ => rfl : Agrees _ U U) (fun _ _ _ => rfl)] |
| 115 | |
| 116 | /-- Dependence of the result includes the masses (not just evaluation of a |
| 117 | single active choice). Asking for all endpoints in the indicated windows |
| 118 | ensures even the masked choices are covered. -/ |
| 119 | lemma back_local (h : S.patch.Branches S.kernel G) (he : Envelope F) (hp : LocalOn X F) (β : ℝ) |
| 120 | (Y : Set (Site f)) (hq : ∀ x∈X, window (S.ratio.embed x) (reach S.patch) ⊆ Y) : |
| 121 | LocalOn Y (back S β F) := by |
| 122 | intro U V hu |
| 123 | have hh (x : Site c) (hx : x∈X) : Agrees (window (S.ratio.embed x) (reach S.patch)) U V := |
| 124 | agrees_mono hu (hq x hx) |
| 125 | have hz (t : S.SitesChoice) : state S β U F t = state S β V F t := by |
| 126 | apply pi_ignores (hF:=read_edges hp) he (link_unit S β U t) (link_unit S β V t) (link_env S β U t) (link_env S β V t) |
| 127 | intro e hr |
| 128 | unfold atLink perLink |
| 129 | have hi : e.1∈X ∧ e.1+step e.2∈X := hr |
| 130 | rw [connector_dep S h e t t rfl rfl (hh _ hi.1) (hh _ hi.2)] |
| 131 | rw [parts_back S β U F he,parts_back S β V F he] |
| 132 | simp_rw [hz] |
| 133 | apply sum_ignores (state_reads h he hp β V) (site_unit S h U) (site_unit S h V) |
| 134 | intro x hx; funext t |
| 135 | unfold atSite perSite |
| 136 | rw [(site_dep S h x (hh x hx) t).2] |
| 137 | |
| 138 | /-- Given the fine links. For arbitrary bounded local observables, not just |
| 139 | field insertions. Doesn't yet assert multiplication upon running several |
| 140 | levels: then need *cones* disjoint at each step. -/ |
| 141 | lemma back_factors {W : Config G c → ℂ} {Y : Set (Site c)} |
| 142 | (h : S.patch.Branches S.kernel G) (he : Envelope F) (hw : Envelope W) |
| 143 | (hp : LocalOn X F) (ht : LocalOn Y W) (hd : Disjoint X Y) (β : ℝ) : |
| 144 | back S β (F*W) = back S β F * back S β W := by |
| 145 | funext U; rw [parts_back S β U (F*W) (show Envelope (F*W) from he.mulC hw), Pi.mul_apply, parts_back S β U _ he, parts_back S β U _ hw] |
| 146 | have hh (t : S.SitesChoice) : state S β U (F*W) t = state S β U F t * state S β U W t := by |
| 147 | have hx : Disjoint (actualEdges X) (actualEdges Y) := Set.disjoint_left.mpr |
| 148 | (fun i hi hk => Set.disjoint_left.1 hd (show i.1∈X ∧ _ from hi).1 (show i.1∈Y ∧ _ from hk).1) |
| 149 | exact pi_independent (read_edges hp) (read_edges ht) hx (link_unit S β U t) (link_env S β U t) he hw |
| 150 | simp_rw [hh]; exact sum_independent (state_reads h he hp β U) (state_reads h hw ht β U) hd (site_unit S h U) |
| 151 | |
| 152 | open Cells |
| 153 | |
| 154 | /-- With gauge covariance, actual cone growth in fine sites. Applicable at |
| 155 | every level in the history. -/ |
| 156 | lemma back_cylinder (h : S.patch.Branches S.kernel G) {o : Site c} {R : ℕ} |
| 157 | (he : Interior (window o R) F) (β : ℝ) |
| 158 | (hg : ∀ U V t, S.density (G:=G) β (gauge t U) (gauge (t ∘ S.ratio.embed) V)=S.density β U V) : |
| 159 | Interior (window (S.ratio.embed o) (S.ratio.count.val*R+reach S.patch)) (back S β F) := by |
| 160 | have hF := cylinder_env he |
| 161 | have hk := S.isKernel h β |
| 162 | have hb := back_env hk hF |
| 163 | refine ⟨fun t U => ?_, hb.meas, back_local h hF he.localSites β _ ?_, hb.cost⟩ |
| 164 | · let s := t ∘ S.ratio.embed |
| 165 | have hv := back_natural hk hF (gauge t) (gauge s) (prior_gauge s) fun U V => hg U V t |
| 166 | rw [show F ∘ gauge s = F from funext fun V => he.gauge s V] at hv |
| 167 | exact (congr_fun hv U).symm |
| 168 | intro x hx y hy |
| 169 | exact window_add (window_embed _ hx) hy |
| 170 | end dep |
| 171 | end YM.Push.GridApprox |