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.AnalyticBridge.SELECTED_ORDERED_KERNELS.TrueNoise |
| 2 | import YM.AnalyticBridge.SELECTED_ORDERED_KERNELS.TrueTransport |
| 3 | import YM.Push.FREE_RESOLVENT.Columns |
| 4 | import YM.SectorNext.GAUSSIAN_SECTOR_CHANGE.Remainder |
| 5 | |
| 6 | /-! |
| 7 | # Read the true selected `Rows.move` from the `market` chart's component matrices |
| 8 | |
| 9 | Identity uses real `carry`/predictGroup orientation, color tangent extraction |
| 10 | AFTER facing the entire group path. A missing Q term on an active column |
| 11 | means `skip_bump`, identically zero. No inference about regularity on the |
| 12 | complement. Matrix read of barrel adapted from Columns (`element` sum of |
| 13 | TRUE path evaluations on physical copy). |
| 14 | -/ |
| 15 | set_option autoImplicit false |
| 16 | noncomputable section |
| 17 | namespace YM.SelectedOrderedKernels.Selected |
| 18 | open Lattice Wilson RG Precision Exterior Tree Function Filter Topology Bloch Next.SectorChange Next.Fluctuations |
| 19 | Rows YM.Pressure YM.Pressure.Stores FreeResolvent Affine TestD Push.Uniform Matrix |
| 20 | open scoped BigOperators Topology Matrix.Norms.Frobenius ContDiff Classical |
| 21 | variable {G : Gauge} {c f : Side} {S : StepData c f} |
| 22 | {x : ℝ} {A : Stores S} {T U : Forest S.ratio} {k : S.Choices} {V : Config G c} |
| 23 | {W : PathData G} {s : Signed} {B : Vec G c 1} |
| 24 | |
| 25 | def attach (A : Stores S) (T : Forest S.ratio) (i : In (G:=G) x A T) : raw G f := hue i.1.val.val i.2 |
| 26 | lemma attach_inj (G : Gauge) (A : Stores S) (T : Forest S.ratio) : Injective (attach (G:=G) (x:=x) A T) := by |
| 27 | intro i j h |
| 28 | apply Prod.ext |
| 29 | · exact Subtype.ext (Subtype.ext ((edge_hue ..).symm.trans ((congr_arg edge h).trans (edge_hue ..)))) |
| 30 | exact congr_arg (fun e : raw G f => e.2.2) h |
| 31 | |
| 32 | lemma fresh_unit (i : In (G:=G) x A T) : fresh x (shots S x) A T (axisPrice i) = unitDir (attach A T i) := by |
| 33 | funext e |
| 34 | rw [on_axis] |
| 35 | by_cases he : e = i.1.val.val |
| 36 | · subst e |
| 37 | have he := unit_here (attach A T i) |
| 38 | rw [show edge (attach A T i) = i.1.val.val from edge_hue ..] at he |
| 39 | rw [he] |
| 40 | simp only [fresh, dif_pos i.1.val.property, dif_pos i.1.property,Pi.single_eq_same,EuclideanSpace.basisFun_apply]; rfl |
| 41 | have hh : e ≠ edge (attach A T i) := (edge_hue ..) ▸ he |
| 42 | rw [unit_off _ _ hh] |
| 43 | unfold fresh; split |
| 44 | · split |
| 45 | · rename_i h1 h2 |
| 46 | exact Pi.single_eq_of_ne (fun H : (⟨⟨e,h1⟩,h2⟩:Next.SectorChange.Active A x T)=i.1 => he (congr_arg (fun j : Next.SectorChange.Active A x T => j.val.val) H)) _ |
| 47 | rfl |
| 48 | rfl |
| 49 | |
| 50 | section vertical |
| 51 | variable {ι : Type*} [Fintype ι] |
| 52 | private lemma grad_eval {Z : pair G c f → ι → ℝ} (Q : Directions G f → G.Color) (place : G.ColorIndex → ι) |
| 53 | (h : ∀ y j, Q (paint G f y) j = Z (B,y) (place j)) |
| 54 | (he : DifferentiableAt ℝ Z (B,0)) (i : raw G f) (j : G.ColorIndex) : |
| 55 | fderiv ℝ Q 0 (unitDir i) j = matrix Z B (place j) i := by |
| 56 | let L := (PiLp.continuousLinearEquiv 2 ℝ (fun _ : G.ColorIndex => ℝ)).symm.toContinuousLinearMap.comp (ContinuousLinearMap.pi (fun j => ContinuousLinearMap.proj (φ:=fun _ => ℝ) (place j))) |
| 57 | let M := (paint G f).symm.toContinuousLinearMap |
| 58 | let H := fun z => Z (B,z) |
| 59 | have hQ : Q = L ∘ H ∘ M := by |
| 60 | funext a; ext j |
| 61 | change Q a j = H (M a) _ |
| 62 | unfold H; rw [← h, show paint G f (M a)=a from ContinuousLinearEquiv.apply_symm_apply ..] |
| 63 | have hh : DifferentiableAt ℝ H 0 := he.comp 0 ((differentiableAt_const _).prodMk differentiableAt_id) |
| 64 | rw [hQ,(L.hasFDerivAt.comp _ ((map_zero M).symm ▸ hh.hasFDerivAt |>.comp 0 M.hasFDerivAt)).fderiv, matrix, LinearMap.toMatrix'_apply] |
| 65 | change fderiv ℝ H 0 (M (unitDir i)) (place j) = _ |
| 66 | rw [show M (unitDir i)=Pi.single i 1 from ContinuousLinearEquiv.symm_apply_apply ..]; rfl |
| 67 | end vertical |
| 68 | |
| 69 | def inFace (p : Cell f) (j : G.ColorIndex) : tile G f := (p.1,plaqEquiv p.2,j) |
| 70 | |
| 71 | lemma face_grad (hp : DifferentiableAt ℝ (petals S V s) (B,0)) (p : Cell f) (i : raw G f) (j : G.ColorIndex) : |
| 72 | plaquetteJet S (increment V (paint G c B)) s p (unitDir i) j = matrix (petals S V s) B (inFace p j) i := by |
| 73 | apply grad_eval _ _ (fun y u => ?_) hp |
| 74 | simp only [petals,NoHole.faceRow,inFace,Equiv.symm_apply_apply]; rfl |
| 75 | |
| 76 | lemma noise_grad (H : Tube G S) (hp : DifferentiableAt ℝ (contacts x A T U k V s) (B,0)) (e : Bond c) |
| 77 | (i : In (G:=G) x A T) (j : G.ColorIndex) (hS : S.patch.Branches S.kernel G) : |
| 78 | noiseKick (increment V (paint G c B)) k (unitDir (attach A T i)) s e j = -Real.sqrt S.kernel.penalty * matrix (contacts x A T U k V s) B (hue e j) (attach A T i) := by |
| 79 | by_cases h : shared x A T U s e |
| 80 | · unfold noiseKick blockJet |
| 81 | change -(Real.sqrt _ * ((fderiv ℝ _ _ _) : G.Color) j) = _ |
| 82 | rw [neg_mul]; congr 2 |
| 83 | apply grad_eval _ _ (fun y u => ?_) hp |
| 84 | simp only [contacts,edge_hue,if_pos h]; rfl |
| 85 | have hh := skip_bump H x (increment V (paint G c B)) k A T s (.inr e) (axisPrice i) hS (fun h' => h (Or.inl h')) |
| 86 | rw [fresh_unit] at hh |
| 87 | change noiseKick .. = (0:G.Color) at hh |
| 88 | rw [hh] |
| 89 | have he := grad_eval (0 : Directions G f → G.Color) (hue (G:=G) e) (Z:=contacts x A T U k V s) |
| 90 | (fun y u => by simp only [contacts,edge_hue,if_neg h]; rfl) hp (attach A T i) j |
| 91 | rw [← he]; simp |
| 92 | |
| 93 | lemma reads_outline (V : Config G c) (S : StepData c f) (s : Signed) (W : PathData G) (r : Admit) {σ M : ℝ} (hs : 0 ≤ σ) (h : Sheet W σ M) |
| 94 | (B : Vec G c 1) (C : fieldDir G f 2) (p : Face (Per f)) : |
| 95 | HasSum (fun k : ℕ => let z := W.row p.2 k; if r z.2 then z.1 • (G.adjoint (travel (pull s 0 (landscape S V B)) p.1 z.2.walk) |
| 96 | (C (wrap f z.2.offset+p.1,plaquette z.2.plaq))) else 0) |
| 97 | (decode (over (NoHole.pathRows S s W r) V B *ᵥ flatten C) (p.1,plaquette p.2)) := by |
| 98 | rcases p with ⟨x,p⟩ |
| 99 | let A (i) := W.row p i |
| 100 | let F (i) := if r (A i).2 then (A i).1 • (G.adjoint (travel (pull s 0 (landscape S V B)) x (A i).2.walk) |
| 101 | (C (wrap f (A i).2.offset+x,plaquette (A i).2.plaq))) else 0 |
| 102 | have ht : Summable fun i => |(A i).1| := Summable.of_nonneg_of_le (fun _ => abs_nonneg _) (fun i => |
| 103 | le_mul_of_one_le_right (abs_nonneg _) (Real.one_le_exp (mul_nonneg hs (show 0 ≤ ((A i).2.length:ℝ) by positivity)))) (h p).2.1 |
| 104 | have he k : ‖F k‖ ≤ |(A k).1| * ‖C‖ := by |
| 105 | unfold F; split <;> rename_i H; swap; · rw [norm_zero]; positivity |
| 106 | rw [norm_smul, Real.norm_eq_abs,G.norm_adjoint]; exact mul_le_mul_of_nonneg_left (norm_le_pi_norm C _) (abs_nonneg _) |
| 107 | have hp := Summable.of_norm_bounded (ht.mul_right _) he |
| 108 | change HasSum F _; rw [hp.hasSum_iff] |
| 109 | symm; ext i |
| 110 | let a : tile G f := (x,plaquette p,i) |
| 111 | let L : G.Color →L[ℝ] ℝ := PiLp.proj (𝕜:=ℝ) 2 (fun _ : G.ColorIndex => ℝ) i |
| 112 | have hh (j : tile G f) : Summable fun k => outline V S s W r a j k B := by |
| 113 | refine Summable.of_norm_bounded ht fun k => ?_ |
| 114 | unfold outline |
| 115 | dsimp only [a]; rw [show plaqEquiv.symm (plaquette p)=p from plaqEquiv.symm_apply_apply _] |
| 116 | split |
| 117 | · rw [norm_mul,Real.norm_eq_abs]; apply mul_le_of_le_one_right (abs_nonneg _) |
| 118 | unfold element; split |
| 119 | · have h : ‖(G.adjoint (travel (pull s 0 (landscape S V B)) x (A k).2.walk) (EuclideanSpace.basisFun G.ColorIndex ℝ j.2.2))‖=1 := by simp |
| 120 | change |((G.adjoint _) _ : G.Color) _| ≤ _ |
| 121 | rw [← h]; simpa only [EuclideanSpace.basisFun_inner, OrthonormalBasis.norm_eq_one, one_mul] using |
| 122 | abs_real_inner_le_norm (EuclideanSpace.basisFun G.ColorIndex ℝ i) (G.adjoint (travel (pull s 0 (landscape S V B)) x (A k).2.walk) (EuclideanSpace.basisFun G.ColorIndex ℝ j.2.2)) |
| 123 | simp |
| 124 | rw [norm_zero]; exact abs_nonneg _ |
| 125 | change (∑ j, (∑' k, outline V S s W r a j k B)*flatten C j)=L (∑' b, F b) |
| 126 | simp_rw [L.map_tsum hp, ← tsum_mul_right] |
| 127 | rw [← Summable.tsum_finsetSum (fun j _ => (hh j).mul_right (flatten C j))]; refine tsum_congr fun k => ?_ |
| 128 | let u := travel (pull s 0 (landscape S V B)) x (A k).2.walk |
| 129 | unfold outline F |
| 130 | dsimp only [a] |
| 131 | rw [show plaqEquiv.symm (plaquette p)=p from plaqEquiv.symm_apply_apply _] |
| 132 | by_cases h : r (A k).2=true |
| 133 | · simp only [show r _=true from h,if_true,show W.row p k=A k from rfl] |
| 134 | rw [map_smul,Fintype.sum_prod_type] |
| 135 | simp only [Fintype.sum_prod_type,element, Prod.mk.injEq,ite_mul,mul_ite,mul_zero,smul_eq_mul,ite_and] |
| 136 | -- move sums with conditions through sums |
| 137 | rw [Finset.sum_eq_single (wrap _ (A k).2.offset+x)] |
| 138 | · simp only [if_true, zero_mul] |
| 139 | rw [Finset.sum_eq_single (plaquette (A k).2.plaq)] |
| 140 | · simp_rw [if_true,mul_assoc,← Finset.mul_sum] |
| 141 | let v := C (wrap f (A k).2.offset+x,plaquette (A k).2.plaq); congr 1; exact color_tile v u i |
| 142 | · intro b _ hb; simp [hb] |
| 143 | simp |
| 144 | · intro y _ hy; simp [hy] |
| 145 | simp |
| 146 | · simp [A] at h; simp [A,h] |
| 147 | |
| 148 | variable {σ M : ℝ} (hS : S.patch.Branches S.kernel G) (hp : DifferentiableAt ℝ (petals S V s) (B,0)) |
| 149 | (hn : DifferentiableAt ℝ (contacts x A T U k V s) (B,0)) |
| 150 | (hs : 0 ≤ σ) (hW : Sheet W σ M) |
| 151 | include hp hs hW |
| 152 | lemma reads_grad (R : ℕ) (p : Cell f) (i : raw G f) : |
| 153 | let F := over (NoHole.pathRows S s W (shorter R)) V B |
| 154 | let Q := matrix (petals S V s) B |
| 155 | barrel W R (facade S s (increment V (paint G c B)) 0) (fun j => plaquetteJet S (increment V (paint G c B)) s j (unitDir i)) p = decode ((F*Q).col i) (p.1,plaqEquiv p.2) := by |
| 156 | intro F Q |
| 157 | unfold barrel; rw [fixed_facade,show (F*Q).col i=F *ᵥ (Q.col i) from ?_] |
| 158 | · rw [← flat_decode (Q.col i)] |
| 159 | erw [← (reads_outline V S s W (shorter R) hs hW B (decode (Q.col i)) p).tsum_eq] |
| 160 | refine tsum_congr fun z => ?_ |
| 161 | simp only [shorter,decide_eq_true_eq]; split |
| 162 | swap; · rfl |
| 163 | let e := (W.row p.2 z).2 |
| 164 | rw [show plaquetteJet S (increment V (paint G c B)) s (Work.F03.slotFace e p.1) (unitDir i)=decode (Q.col i) _ from ?_]; rfl |
| 165 | ext u; exact face_grad hp (Work.F03.slotFace e p.1) i u |
| 166 | ext y; rfl |
| 167 | |
| 168 | omit hW hs hp |
| 169 | variable (H : Tube G S) (j : In (G:=G) x A T) (u : G.ColorIndex) |
| 170 | include hS hn |
| 171 | lemma noise_column (b : Bond c) : |
| 172 | Rows.move H x (increment V (paint G c B)) k (shots S x) A T ((s,.inr b),u) j = |
| 173 | slip * (-Real.sqrt S.kernel.penalty * matrix (contacts x A T U k V s) B (hue b u) (attach A T j)) := by |
| 174 | unfold Rows.move; rw [of_apply,tape_read,selected_all _ _ _ _ _ _ _ hS,fresh_unit,← noise_grad H hn b j u hS]; rfl |
| 175 | |
| 176 | omit hn |
| 177 | include hp |
| 178 | lemma face_column (p : Cell f) : |
| 179 | Rows.move H x (increment V (paint G c B)) k (shots S x) A T ((s,.inl (p,false)),u) j = |
| 180 | slip * (Real.sqrt H.high.direct * matrix (petals S V s) B (inFace p u) (attach A T j)) := by |
| 181 | unfold Rows.move; rw [of_apply,tape_read,selected_all _ _ _ _ _ _ _ hS,fresh_unit,← face_grad hp p]; rfl |
| 182 | |
| 183 | include hs |
| 184 | lemma barrel_column (hW : Sheet H.up σ M) (p : Cell f) : |
| 185 | Rows.move H x (increment V (paint G c B)) k (shots S x) A T ((s,.inl (p,true)),u) j = |
| 186 | slip * ((over (NoHole.pathRows S s H.up (shorter (till x))) V B * matrix (petals S V s) B) (inFace p u) (attach A T j)) := by |
| 187 | unfold Rows.move; rw [of_apply,tape_read,selected_all _ _ _ _ _ _ _ hS,fresh_unit] |
| 188 | change slip * (barrel H.up (till x) (facade S s (increment V (paint G c B)) 0) (fun i => plaquetteJet S (increment V (paint G c B)) s i (unitDir (attach A T j))) p) u = _ |
| 189 | rw [reads_grad hp hs hW]; rfl |
| 190 | end YM.SelectedOrderedKernels.Selected |