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.Next.FOUNDATIONS.SU2 |
| 2 | import YM.Primitives.SMALL_FIELD_EXTERIOR.Cloud |
| 3 | import YM.Primitives.SMALL_FIELD_EXTERIOR.HaarCoin |
| 4 | import YM.Primitives.SMALL_FIELD_EXTERIOR.Town |
| 5 | import YM.Push.STATIONARY_UNIFORM.Wilson |
| 6 | |
| 7 | |
| 8 | /-! |
| 9 | # Charge on a uniform box for a Wilson response integral |
| 10 | |
| 11 | At the Wilson input. Bring G, kernel/prices Before and local Haar prices; |
| 12 | after L, pay a beta floor, and all patches of this shape for larger periods |
| 13 | share the same bound. On the unscaled real log links in any Forest. `cover` |
| 14 | is the SectorChange Gaussian cloud covariance used in this alternative |
| 15 | one-step integral, uses ordinary counting (no modified charges there). |
| 16 | |
| 17 | Keep independent of the path metrics and convexity *across* defaults. Here |
| 18 | we don't partition the vacuum into Stores, use actual gauge slice and actual |
| 19 | joint kernel using all predictions. Not identifying this covariance with affine-sector fog. |
| 20 | -/ |
| 21 | set_option autoImplicit false |
| 22 | noncomputable section |
| 23 | namespace YM.Primitives.SmallFieldExterior.Forestage |
| 24 | open Function Set Filter Metric MeasureTheory Matrix |
| 25 | open Lattice Precision Wilson RG Tree Push.Uniform HaarCoin |
| 26 | open scoped Topology ContDiff BigOperators Matrix.Norms.Frobenius Classical |
| 27 | |
| 28 | variable {G : Gauge} {μ C β r R m k : ℝ} {j n : ℕ} {Q : KernelChoices} |
| 29 | {A : Before G μ C j Q n} {P : ChartRatio G} |
| 30 | variable {c f : Side} {S : StepData c f} (B : Forest S.ratio) (t : S.Choices) |
| 31 | |
| 32 | -- prices specialize to ordinary Wilson (no top Taylor matches called here) |
| 33 | def chart (A : Before G μ C j Q n) := A.tables firstClip |
| 34 | |
| 35 | def margin (A : Before G μ C j Q n) (S : Patch) (β : ℝ) := β * (chart A S).gap / 8 |
| 36 | structure Pilot (A : Before G μ C j Q n) (P : ChartRatio G) (S : StepData c f) (β r R m k : ℝ) : Prop where |
| 37 | coeff : 0 < μ |
| 38 | budget : 0 ≤ C |
| 39 | index : S.patch.J=j |
| 40 | kernel : S.kernel=Q |
| 41 | shape : Bid.Larger (G:=G) S |
| 42 | stamp : Stamp P R m k |
| 43 | positive : 0 < r |
| 44 | localBox : r ≤ R |
| 45 | safe : r ≤ (chart A S.patch).safety |
| 46 | betaPos : 0 < β |
| 47 | issued : tariff G k ≤ margin A S.patch β |
| 48 | |
| 49 | lemma Pilot.hessian_data (h : Pilot A P S β r R m k) : |
| 50 | let Y := chart A S.patch |
| 51 | Receipt (address B G) Y.width n Y.coords Y.value Y.initial Y.gap (priced B t firstClip (wil G)) := |
| 52 | (A.receipt B t (initial_bounds G h.coeff h.budget (Λ:=0) le_rfl (p:=firstClip) rfl) h.shape h.index h.kernel).1 |
| 53 | include B t in |
| 54 | lemma Pilot.margin_pos (h : Pilot A P S β r R m k) : 0 < margin A S.patch β := |
| 55 | div_pos (mul_pos h.betaPos (h.hessian_data B t).pos_m) (by norm_num) |
| 56 | |
| 57 | section coords |
| 58 | variable {ι κ : Type} [Fintype ι] [Fintype κ] |
| 59 | {x : Positions ι} {v : Positions κ} {f : Positions (ι ⊕ κ) → ℝ} |
| 60 | |
| 61 | lemma meet_smooth {k : ℕ∞ω} (x : Positions ι) : ContDiff ℝ k (meetVar x : Positions κ → _) := |
| 62 | ((partSpace ..).symm.contDiff).comp (f:=fun z : Positions κ => (x,z)) (contDiff_const.prodMk contDiff_id) |
| 63 | |
| 64 | omit [Fintype κ] in |
| 65 | lemma pc_bolt [DecidableEq κ] (i : κ) (f : Points κ → ℝ) (v : Points κ) : pc i f v=fderiv ℝ f v (bolt i) := by |
| 66 | unfold pc bolt; congr! -- proof irrelevance |
| 67 | |
| 68 | lemma pc_meet [DecidableEq κ] [DecidableEq (ι⊕κ)] (i : κ) (hf : DifferentiableAt ℝ f (meetVar x v)) : |
| 69 | pc i (f ∘ meetVar x) v=pc (.inr i) f (meetVar x v) := by |
| 70 | rw [pc_bolt, (hf.hasFDerivAt.comp v (meet_derivative x v)).fderiv,ContinuousLinearMap.comp_apply,lower_bolt,pc_bolt] |
| 71 | |
| 72 | lemma vertical_matrix [DecidableEq κ] (hf : ContDiffAt ℝ ω f (meetVar x v)) : |
| 73 | curvature (f ∘ meetVar x) v = block f (meetVar x v) := by |
| 74 | ext i j |
| 75 | let p := meetVar x v |
| 76 | have hg : pc i (f ∘ meetVar x) =ᶠ[𝓝 v] pc (.inr i) f ∘ meetVar x := by |
| 77 | filter_upwards [(meet_derivative x v).continuousAt.tendsto.eventually (hf.eventually (by simp))] with z hz |
| 78 | exact pc_meet _ (hz.differentiableAt (by simp)) |
| 79 | have he : curvature (f ∘ meetVar x) v i j = pc (.inr j) (pc (.inr i) f) p := by |
| 80 | rw [curvature,Matrix.of_apply, pc_comm _ _ ((hf.comp v ((meet_smooth x).contDiffAt)).of_le le_top)] |
| 81 | rw [pc,hg.fderiv_eq]; exact pc_meet _ ((pcat _ hf (k:=ω) (by simp)).differentiableAt (by simp)) |
| 82 | rw [he, pc_pc _ _ (show ContDiffAt ℝ 2 f p from hf.of_le le_top),block,Matrix.of_apply,entry,iteratedFDeriv_two_apply] |
| 83 | simp only [Matrix.cons_val_zero,Matrix.cons_val_one]; unfold bolt; congr! |
| 84 | end coords |
| 85 | |
| 86 | def bill (G : Gauge) (x : Positions (Primary c G)) := priced B t firstClip (wil G) ∘ meetVar x |
| 87 | |
| 88 | def actual (β : ℝ) (P : ChartRatio G) (x : Positions (Primary c G)) := β • bill B t G x + HaarCoin.dues P B.Free |
| 89 | |
| 90 | def location (G : Gauge) := (address B G) ∘ Sum.inr |
| 91 | |
| 92 | def pace (A : Before G μ C j Q n) (S : Patch) := |
| 93 | let Y := chart A S; tiltWidth Y.coords (Y.gap/2) Y.width Y.value |
| 94 | |
| 95 | include B t in |
| 96 | lemma Pilot.positive_pace (h : Pilot A P S β r R m k) : 0 < pace A S.patch := by |
| 97 | have hf := h.hessian_data B t |
| 98 | exact tiltWidth_pos _ (half_pos hf.pos_m) hf.pos_a hf.pos_C.le |
| 99 | |
| 100 | variable {x : Positions (Primary c G)} |
| 101 | lemma Pilot.within (h : Pilot A P S β r R m k) (hx : ‖x‖ ≤ (chart A S.patch).safety) {v : Points (Key B G)} (hv : v ∈ cube _ r) : |
| 102 | meetVar x v∈closedBall 0 (chart A S.patch).safety := by |
| 103 | rw [mem_closedBall_zero_iff,norm_meet,max_le_iff]; exact ⟨hx,(mem_closedBall_zero_iff.mp hv).trans h.safe⟩ |
| 104 | lemma Pilot.smooth (h : Pilot A P S β r R m k) (hx : ‖x‖ ≤ (chart A S.patch).safety) {v : Points (Key B G)} (hv : v∈cube _ r) : |
| 105 | ContDiffAt ℝ ω (priced B t firstClip (wil G)) (meetVar x v) := by |
| 106 | have hf := h.hessian_data B t |
| 107 | exact (hf.born _ (closedBall_subset_ball hf.reserveH_lt (h.within B hx hv))).1 |
| 108 | lemma Pilot.classic (h : Pilot A P S β r R m k) (hx : ‖x‖ ≤ (chart A S.patch).safety) : SmallFieldExterior.Regular r ω (bill B t G x) := |
| 109 | fun _ hv => (h.smooth B t hx hv).comp _ (meet_smooth x |>.contDiffAt) |
| 110 | lemma Pilot.potential (h : Pilot A P S β r R m k) (hx : ‖x‖ ≤ (chart A S.patch).safety) : SmallFieldExterior.Regular r 2 (actual B t β P x) := |
| 111 | (((h.classic B t hx).mono le_top).smul β).add (dues_smooth h.stamp h.positive.le h.localBox _) |
| 112 | |
| 113 | private lemma summed {ι : Type} [Fintype ι] [DecidableEq ι] {u : Points ι} {f g : Points ι → ℝ} (hf : ContDiffAt ℝ 2 f u) |
| 114 | (hg : ContDiffAt ℝ 2 g u) : curvature (f+g) u=curvature f u+curvature g u := by |
| 115 | ext i j; unfold curvature; simp only [Matrix.add_apply,Matrix.of_apply] |
| 116 | have he : pc j (f+g)=ᶠ[𝓝 u] pc j f+pc j g := by |
| 117 | filter_upwards [hf.eventually (by norm_num), hg.eventually (by norm_num)] with y hy hx |
| 118 | exact pc_plus j (hy.differentiableAt two_ne_zero) (hx.differentiableAt two_ne_zero) |
| 119 | rw [pc,he.fderiv_eq]; exact pc_plus i ((pcat _ hf (k:=1) (by norm_num)).differentiableAt one_ne_zero) |
| 120 | ((pcat _ hg (k:=1) (by norm_num)).differentiableAt one_ne_zero) |
| 121 | |
| 122 | lemma Pilot.widen (h : Pilot A P S β r R m k) (hx : ‖x‖ ≤ (chart A S.patch).safety) (v : Points (Key B G)) (hv : v∈cube _ r) |
| 123 | (w : B.Free → ℝ) (hw : ∀ i,w i ≠ 0) |
| 124 | (hh : Charge (conjugated (fun i => w i.1) (block (priced B t firstClip (wil G)) (meetVar x v))) ((chart A S.patch).gap/4)) : |
| 125 | Charge (conjugated (fun i => w i.1) (curvature (actual B t β P x) v)) (margin A S.patch β) := by |
| 126 | have hg : Charge (curvature (dues P B.Free) v) (-tariff G k) := by |
| 127 | convert! h.stamp.receipt (ι:=B.Free) h.positive.le h.localBox _ hv using 1 |
| 128 | congr! |
| 129 | let F := bill B t G x |
| 130 | have hi : ContDiffAt ℝ 2 F v := (h.classic B t hx _ hv).of_le le_top |
| 131 | rw [actual,summed (show ContDiffAt ℝ 2 (β • bill B t G x) v from contDiffAt_const.smul hi) (dues_smooth h.stamp h.positive.le h.localBox _ _ hv), curvature_smul hi] |
| 132 | have hdiv (M L : Matrix (Key B G) (Key B G) ℝ) : |
| 133 | conjugated (fun i => w i.1) (β • M + L)=β • conjugated (fun i => w i.1) M + conjugated (fun i => w i.1) L := by |
| 134 | ext; simp only [conjugated,Matrix.of_apply,Matrix.smul_apply, Matrix.add_apply,smul_eq_mul]; ring |
| 135 | have hst : conjugated (fun i => w i.1) (curvature (dues P B.Free) v)=curvature (dues P B.Free) v := by |
| 136 | convert! h.stamp.still h.positive.le h.localBox hw v hv using 2; congr! |
| 137 | rw [hdiv,hst] |
| 138 | have hp : curvature F v = _ := vertical_matrix (h.smooth B t hx hv) |
| 139 | rw [hp]; intro u; rw [Matrix.add_mulVec,Matrix.smul_mulVec, dotProduct_add,dotProduct_smul,smul_eq_mul] |
| 140 | have hc := mul_le_mul_of_nonneg_left (hh u) h.betaPos.le |
| 141 | apply le_trans _ (add_le_add hc (hg u)); |
| 142 | have he : margin A S.patch β ≤ β*((chart A S.patch).gap/4)-tariff G k := by |
| 143 | have hs := h.issued; unfold margin at hs ⊢; linarith |
| 144 | apply (mul_le_mul_of_nonneg_right he (by positivity : 0 ≤ ∑ i,u i^2)).trans_eq; ring |
| 145 | |
| 146 | lemma Pilot.gap (h : Pilot A P S β r R m k) (hx : ‖x‖ ≤ (chart A S.patch).safety) : |
| 147 | Charged r (actual B t β P x) (margin A S.patch β) := by |
| 148 | intro v hv |
| 149 | have hf := h.hessian_data B t |
| 150 | have he := hf.snaps _ (h.within B hx hv) |
| 151 | rw [← conjugated_one (curvature (actual B t β P x) v)]; apply h.widen B t hx _ hv (fun _ => 1) (fun _ => one_ne_zero) |
| 152 | rw [show (fun _ : Key B G => (1:ℝ))=1 from rfl,conjugated_one] |
| 153 | intro u |
| 154 | have hk : 0 < (chart A S.patch).gap := hf.pos_m |
| 155 | exact (mul_le_mul_of_nonneg_right (show (chart A S.patch).gap/4≤(chart A S.patch).gap/2 by linarith) (by positivity : 0 ≤ ∑ i,u i^2)).trans (he u) |
| 156 | |
| 157 | lemma Pilot.extended (h : Pilot A P S β r R m k) (hx : ‖x‖ ≤ (chart A S.patch).safety) : |
| 158 | ∀ v∈cube _ r, ∀ i : Site f, Charge (conjugated (slow (location B G) (pace A S.patch) i) (curvature (actual B t β P x) v)) |
| 159 | (margin A S.patch β) := by |
| 160 | intro v hv i |
| 161 | let Y := chart A S.patch |
| 162 | let l := location B G |
| 163 | let H := block (priced B t firstClip (wil G)) (meetVar x v) |
| 164 | have hf := h.hessian_data B t |
| 165 | have hw := h.within B hx hv |
| 166 | have he : Sealed l Y.width H Y.value := block_rows (hf.born (meetVar x v) (closedBall_subset_ball hf.reserveH_lt hw)).2 |
| 167 | (show 2 ≤ n from le_trans (by norm_num) A.n_ok) |
| 168 | let W (j : B.Free) := Real.exp (pace A S.patch*separation i j.val.1) |
| 169 | apply h.widen B t hx v hv W (fun _ => (Real.exp_pos _).ne') |
| 170 | change Charge (conjugated (slow l _ i) H) _ |
| 171 | rw [costed] |
| 172 | convert! tiltedCharge he (half_pos hf.pos_m) hf.pos_a (hf.snaps _ hw) hf.pos_C.le (K:=Y.coords) |
| 173 | (Multiplicity.comp (town B) Sum.inr_injective) i using 1; ring |
| 174 | |
| 175 | /-- Use stiffness of the actual Wilson-tree score at zero. `β` SAME |
| 176 | parameter as in bare Wilson and noise. `Positions` unscaled. -/ |
| 177 | def cover (B : Forest S.ratio) (t : S.Choices) (G : Gauge) (β : ℝ) := (β • block (priced B t firstClip (wil G)) 0)⁻¹ |
| 178 | lemma Pilot.cover_pos (h : Pilot A P S β r R m k) : (cover B t G β).PosDef := by |
| 179 | have he := h.hessian_data B t |
| 180 | exact ((he.gap.positive (block_hermitian (he.born _ (mem_ball_self he.pos_r)).1) he.pos_m).smul h.betaPos).inv |
| 181 | |
| 182 | /-- The actual perturbation, axis bgs and cube chosen independently |
| 183 | from any hard-sector addresses. -/ |
| 184 | def Wplan (β : ℝ) (P : ChartRatio G) (x : Positions (Primary c G)) := actual B t β P x - stiffness (cover B t G β) |
| 185 | lemma load_Wplan (β : ℝ) (P : ChartRatio G) (x : Positions (Primary c G)) : load (cover B t G β) (Wplan B t β P x)=actual B t β P x := |
| 186 | add_sub_cancel .. |
| 187 | lemma Pilot.field (h : Pilot A P S β r R m k) (hx : ‖x‖ ≤ (chart A S.patch).safety) : SmallFieldExterior.Regular r 2 (Wplan B t β P x) := |
| 188 | (h.potential B t hx).sub (fun _ _ => (stiffness_diff _).contDiffAt.of_le le_top) |
| 189 | end YM.Primitives.SmallFieldExterior.Forestage |