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.AnalyticNext.CONNECTED_ACTIVITY_JETS_E6.Shell |
| 2 | |
| 3 | /-! |
| 4 | # Support-aware affine rows |
| 5 | |
| 6 | For the Gaussian references of the hit estimates here we use the |
| 7 | following *variation* of E: flat truncated F/I tangent, later rotated |
| 8 | and with parallel transport. Hitting uses VALUE estimates and doesn't |
| 9 | require taking an affine derivative around the actual V for the |
| 10 | extracted row. (Physical remainder subtracts the very same row.) |
| 11 | Does not declare that this is already the row to use in other |
| 12 | kinetic/stationary computations! These are for estimating actual |
| 13 | integrals. Also export full vs truncated estimates. Need check any |
| 14 | kinetic/β call separately. |
| 15 | -/ |
| 16 | |
| 17 | set_option autoImplicit false |
| 18 | noncomputable section |
| 19 | namespace YM.ConnectedActivityE6 |
| 20 | open Filter Function Lattice RG Pressure Pressure.Stores Pressure.Tube Tree Wilson Finset MeasureTheory |
| 21 | open Push Push.AbsoluteSums Precision Exterior Shell Channel Next.Fluctuations Matrix |
| 22 | open scoped Topology InnerProductSpace Matrix.Norms.Frobenius ContDiff BigOperators Classical |
| 23 | variable {G : Gauge} {c f n : Side} {S : StepData c f} |
| 24 | open Work.F03 Work.E03 |
| 25 | namespace SliceRows |
| 26 | |
| 27 | abbrev Rod (c f : Side) := Twin f ⊕ Bond c |
| 28 | |
| 29 | def focus (S : StepData c f) : Rod c f → Site c |
| 30 | | .inl p => S.ratio.parent p.1.1 |
| 31 | | .inr b => b.1 |
| 32 | |
| 33 | def toLog (x : Directions G n) : LogField G n := fun i => x ((Work.E03.poleEquiv n).symm i) |
| 34 | |
| 35 | lemma at_pole (x : Directions G n) (e : Bond n) : toLog x (pole e)=x e := |
| 36 | congr_arg x ((Work.E03.poleEquiv n).symm_apply_apply e) |
| 37 | |
| 38 | lemma collects (x : Directions G n) : collect G (toLog x) = x := funext fun i => at_pole x i |
| 39 | lemma logged (x : LogField G n) : toLog (collect G x) = x := by |
| 40 | funext i |
| 41 | obtain ⟨p,rfl⟩ := (poleEquiv n).surjective i; rw [show poleEquiv n p=pole p from rfl,at_pole]; rfl |
| 42 | |
| 43 | lemma counted (x : Directions G n) : ‖toLog x‖=‖x‖ := by |
| 44 | apply le_antisymm |
| 45 | · exact (pi_norm_le_iff_of_nonneg (norm_nonneg _)).mpr fun i => norm_le_pi_norm x _ |
| 46 | · exact (pi_norm_le_iff_of_nonneg (norm_nonneg _)).mpr fun i => by rw [← at_pole x i]; exact norm_le_pi_norm .. |
| 47 | |
| 48 | lemma edits (x : Directions G n) : represent (toLog x) = increment 1 x := by rw [represent,collects] |
| 49 | |
| 50 | /-- Local linear currency in the applied cut. Doesn't require Cut |
| 51 | summability just to define a function. -/ |
| 52 | def ellCut (A : PathData G) (R : ℕ) (x : LogField G f) (p : Cell f) := |
| 53 | ∑' i : ℕ, if (A.row p.2 i).2.length ≤ R then (A.row p.2 i).1 • faceCurl (slotFace (A.row p.2 i).2 p.1) x else 0 |
| 54 | |
| 55 | def bareCut (q : Clip) (A : PathData G) (R : ℕ) (x : LogField G f) (p : Twin f) := |
| 56 | if p.2 then ellCut A R x p.1 else Real.sqrt q.direct • faceCurl p.1 x |
| 57 | |
| 58 | /-- PURE tangents (so the Z one takes zero output). Inputs before tree |
| 59 | selection, to pay the forest invariants after selection. -/ |
| 60 | def barField (T : Tube G S) (R : ℕ) (x : Directions G f) : Rod c f → G.Color := |
| 61 | Sum.elim (bareCut T.high T.up R (toLog x)) (zLin S (toLog x) 0) |
| 62 | |
| 63 | lemma curl_eq (x : Directions G f) (p : Cell f) : faceCurl p (toLog x) = |
| 64 | let y := p.1; let i:=p.2.1.1; let j:=p.2.1.2 |
| 65 | x (y+step i,j)-x (y,j)-(x (y+step j,i)-x (y,i)) := by |
| 66 | dsimp only |
| 67 | ext q |
| 68 | change (_ *ᵥ parts G 1 _ q) _ = x _ q-x _ q-(x _ q-x _ q) |
| 69 | rw [d_plaquettes]; unfold parts |
| 70 | simp only [show ∀ y i, toLog x (y,coord i)=x (y,i) from fun y i => at_pole x (y,i)] |
| 71 | |
| 72 | lemma phi_linear (a : Directions G f) (i : Cell f) : ‖faceCurl i (toLog a)‖ ≤ 4 * ‖a‖ := by |
| 73 | rw [curl_eq]; dsimp only |
| 74 | apply (norm_sub_le _ _).trans |
| 75 | apply (add_le_add (norm_sub_le _ _) (norm_sub_le _ _)).trans |
| 76 | linarith only [norm_le_pi_norm a (i.1+step i.2.1.1,i.2.1.2), norm_le_pi_norm a (i.1,i.2.1.2), |
| 77 | norm_le_pi_norm a (i.1+step i.2.1.2,i.2.1.1), norm_le_pi_norm a (i.1,i.2.1.1)] |
| 78 | |
| 79 | lemma zLin_eq (S : StepData c f) (x : LogField G f) (b : Bond c) : |
| 80 | zLin S x 0 b = (-Real.sqrt S.kernel.penalty) • (∑ i, probe S (pole b) i • x i) := by |
| 81 | ext i; simp only [zLin, Pi.zero_apply, neg_smul, zero_sub, smul_neg] |
| 82 | have h := (map_sum (LinearMap.comp (LinearMap.proj i) (WithLp.linearEquiv 2 ℝ _).toLinearMap : G.Color →ₗ[ℝ] ℝ) |
| 83 | (fun j => probe S (pole b) j • x j) univ) |
| 84 | simp_rw [map_smul] at h |
| 85 | apply congr_arg (fun a : ℝ => -(Real.sqrt S.kernel.penalty * a)) h.symm |
| 86 | |
| 87 | section real |
| 88 | variable {A : PathData G} {Q : Clip} {σ C Λ : ℝ} |
| 89 | |
| 90 | lemma ecut_sum (h : A.Bounds Q σ C Λ) (R : ℕ) (x : LogField G f) (p : Cell f) : |
| 91 | Summable fun i : ℕ => if (A.row p.2 i).2.length ≤ R then |
| 92 | (A.row p.2 i).1 • faceCurl (slotFace (A.row p.2 i).2 p.1) x else 0 := by |
| 93 | apply Summable.of_norm_bounded (Work.F03.ellLine_summable A h p x |>.norm) |
| 94 | intro i; split |
| 95 | next => exact le_rfl |
| 96 | next => rw [norm_zero]; exact norm_nonneg _ |
| 97 | |
| 98 | lemma bar_add (T : Tube G S) (h : T.up.Bounds Q σ C Λ) (R : ℕ) (x y : Directions G f) (p : Rod c f) : |
| 99 | barField T R (x+y) p = barField T R x p + barField T R y p := by |
| 100 | rcases p with p|b |
| 101 | · dsimp only [barField, Sum.elim, bareCut]; split |
| 102 | next hp => |
| 103 | unfold ellCut; rw [← Summable.tsum_add (ecut_sum h ..) (ecut_sum h ..)] |
| 104 | apply tsum_congr; intro i; split |
| 105 | next hi => simp only [curl_eq, Pi.add_apply,smul_sub,smul_add]; abel |
| 106 | next hi => simp only [zero_add] |
| 107 | next hp => simp only [curl_eq,Pi.add_apply,smul_sub,smul_add]; abel |
| 108 | simp only [barField, Sum.elim, zLin_eq, toLog, Pi.add_apply, smul_add,Finset.sum_add_distrib] |
| 109 | |
| 110 | lemma bar_smul (T : Tube G S) (h : T.up.Bounds Q σ C Λ) (R : ℕ) (x : Directions G f) (s : ℝ) (p : Rod c f) : |
| 111 | barField T R (s • x) p=s • barField T R x p := by |
| 112 | rcases p with p|b |
| 113 | · dsimp only [barField, Sum.elim, bareCut]; split |
| 114 | next hp => |
| 115 | unfold ellCut; rw [← Summable.tsum_const_smul s (ecut_sum h ..)] |
| 116 | apply tsum_congr; intro i; split |
| 117 | next hi => simp only [curl_eq, Pi.smul_apply, ← smul_sub]; rw [smul_comm] |
| 118 | next hi => simp only [ smul_zero] |
| 119 | next hp => simp only [curl_eq, Pi.smul_apply, ← smul_sub]; rw [smul_comm] |
| 120 | simp only [barField, Sum.elim, zLin_eq,toLog,Pi.smul_apply,Finset.smul_sum, smul_comm s]; try simp only [Finset.smul_sum] |
| 121 | |
| 122 | lemma bar_zero (T : Tube G S) (h : T.up.Bounds Q σ C Λ) (R : ℕ) (p : Rod c f) : barField T R 0 p=0 := by |
| 123 | simpa only [zero_smul] using bar_smul T h R 0 0 p |
| 124 | |
| 125 | lemma recolor (T : Tube G S) (h : T.up.Bounds Q σ C Λ) (R : ℕ) (u : Directions G f) (k : G.El) (x : Rod c f) : |
| 126 | barField T R (fun i => G.adjoint k (u i)) x = G.adjoint k (barField T R u x) := by |
| 127 | rcases x with p|b |
| 128 | · dsimp only [barField, Sum.elim,bareCut]; split |
| 129 | next hp => |
| 130 | unfold ellCut |
| 131 | let f : G.Color →L[ℝ] G.Color := (G.adjoint k).toContinuousLinearMap |
| 132 | change _ = f (∑' _, _) |
| 133 | rw [f.map_tsum (ecut_sum h ..)]; apply tsum_congr; intro i; split |
| 134 | next hi => simp only [curl_eq, map_smul,map_sub]; rfl |
| 135 | next hi => rw [map_zero] |
| 136 | next hp => simp only [curl_eq,map_smul,map_sub] |
| 137 | simp only [barField, Sum.elim, zLin_eq, toLog,map_smul,map_sum] |
| 138 | end real |
| 139 | |
| 140 | section bounded |
| 141 | private lemma curl_local (S : StepData c f) (x y : Directions G f) (p : Cell f) |
| 142 | (h : ∀ j : Bond f, distAt S j (S.ratio.parent p.1) ≤ 1 → x j = y j) : faceCurl p (toLog x) = faceCurl p (toLog y) := by |
| 143 | rw [curl_eq, curl_eq] |
| 144 | dsimp only |
| 145 | have he i : x (p.1,i) = _ := h (p.1,i) (by simp [distAt,atEdge]) |
| 146 | have hg i j : x (p.1+step i,j) = _ := h (p.1+step i,j) (Work.E03.parent_step S p.1 i) |
| 147 | rw [hg, he, hg, he] |
| 148 | |
| 149 | lemma zLin_local (S : StepData c f) (hs : S.patch.Branches S.kernel G) (x y : Directions G f) (p : Bond c) |
| 150 | (h : ∀ i : Bond f, distAt S i p.1 ≤ predReach S.patch → x i = y i) : |
| 151 | zLin S (toLog x) 0 p=zLin S (toLog y) 0 p := by |
| 152 | let k : S.Choices := Classical.arbitrary _ |
| 153 | let f (v : ℝ) := zTest S k p (v • (toLog x,0)) |
| 154 | have he (v : ℝ) : f v = zTest S k p (v • (toLog y,0)) := by |
| 155 | unfold f zTest Z |
| 156 | simp only [Prod.smul_fst,Prod.smul_snd] |
| 157 | rw [prediction_near_eq hs _ _ k p ?_]; intro i hi |
| 158 | simp only [represent_link, Pi.smul_apply] |
| 159 | change G.lieExp (v • toLog x (pole i))=G.lieExp (v • toLog y (pole i)) |
| 160 | rw [at_pole, at_pole, h i hi] |
| 161 | have hs' : HasDerivAt f (zLin S (toLog x) 0 p) 0 := zTest_deriv hs k p (toLog x,0) |
| 162 | rw [funext he] at hs' |
| 163 | exact hs'.unique (zTest_deriv hs k p (toLog y,0)) |
| 164 | |
| 165 | lemma tangent_local (T : Tube G S) (h : S.patch.Branches S.kernel G) (R : ℕ) (x y : Directions G f) (p : Rod c f) |
| 166 | (hx : ∀ i : Bond f, distAt S i (focus S p) ≤ R+predReach S.patch+4 → x i = y i) : |
| 167 | barField T R x p=barField T R y p := by |
| 168 | rcases p with p|b |
| 169 | · dsimp only [barField,Sum.elim,bareCut]; split |
| 170 | next hp => |
| 171 | apply tsum_congr; intro i; split |
| 172 | next hi => |
| 173 | congr 1 |
| 174 | apply curl_local S |
| 175 | intro j hj |
| 176 | apply hx; let X := T.up.row p.1.2 i |
| 177 | have hv := Work.E04.slot_separation X.2 p.1.1 (n:=f) |
| 178 | let y := S.ratio.parent p.1.1; let z := S.ratio.parent (slotFace X.2 p.1.1).1 |
| 179 | have hz : separation y z ≤ X.2.length+1 := |
| 180 | (Work.E04.parent_separation S.ratio _ _).trans (Nat.add_le_add_right hv _) |
| 181 | change X.2.length ≤ R at hi |
| 182 | change separation z _ ≤ 1 at hj |
| 183 | exact (separation_triangle y z (atEdge S j)).trans (by omega) |
| 184 | next hi => rfl |
| 185 | next hp => rw [curl_local S _ _ _ (fun j he => hx j (he.trans (by omega)))] |
| 186 | exact zLin_local S h x y b fun j he => hx j (he.trans (by omega)) |
| 187 | end bounded |
| 188 | end SliceRows |
| 189 | end YM.ConnectedActivityE6 |