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.EveryPhase.Slots |
| 2 | |
| 3 | /-! |
| 4 | # Continue conservation of the weighted stress |
| 5 | |
| 6 | Partial strips entirely in absolute arguments. Use the same stage for each |
| 7 | label. Here we work in the OPEN strips. Real-space arguments may be real but |
| 8 | `emit` also knows their holomorphic jets. |
| 9 | -/ |
| 10 | set_option autoImplicit false |
| 11 | noncomputable section |
| 12 | namespace YM.EveryPhase.Stress |
| 13 | open Function Set Filter MeasureTheory Boundary Next.BOUNDARY Mink Complex Descent |
| 14 | open Work.C20 |
| 15 | open scoped Topology BigOperators |
| 16 | variable {G : Gauge} {L : Register G} {S U : Table L} {R : Table.Rotation S} {W : Surface S} |
| 17 | {D : ∀ n, Blanket n} {Z : W.Aurora D} {n : ℕ} |
| 18 | |
| 19 | /-- All translations plus infinitesimal Lorentz transformations. -/ |
| 20 | structure Killing where |
| 21 | translation : E4 |
| 22 | V : M4 |
| 23 | ok : tangent V |
| 24 | |
| 25 | namespace Killing |
| 26 | variable (K : Killing) |
| 27 | def realV (x : E4) := K.translation + M4.move K.V x |
| 28 | def w (b : Axis) (x : Axis → ℂ) := zeta b * ((K.translation b:ℂ)+∑ i : Axis, (K.V b i:ℂ)*x i) |
| 29 | -- Euclidean column at points for shell |
| 30 | def we (b : Axis) (y : E4) := K.w b (fun a => wick a * (y a:ℂ)) |
| 31 | lemma w_real (b : Axis) (r : Space3) (t : ℝ) : K.w b (lay r t) = zeta b * (K.realV (position r t) b:ℂ) := by |
| 32 | simp only [w,lay_real, realV,PiLp.add_apply, M4.at_coord, ofReal_add, ofReal_sum,ofReal_mul] |
| 33 | lemma w_wick (b : Axis) (j : Fin n) (x : Points n) : K.w b (fun a => wickSlice n x (j,a))=K.we b (x j) := by |
| 34 | simp_rw [wick_apply,we,wick]; congr 1; funext a; ring |
| 35 | |
| 36 | def tilted (X : M4) (i j : Axis) := zeta i * wick j * (X i j:ℂ) |
| 37 | lemma tilted_space {X : M4} (h : spaceLikeGen X) (a b) : tilted X a b=(X a b:ℂ) := by |
| 38 | unfold tilted |
| 39 | calc _ = zeta a * (X a b:ℂ) * wick b := by ring |
| 40 | _ = _ := by rw [← space_scale b a h.2, mul_right_comm,zeta_wick,one_mul] |
| 41 | lemma tilted_boost {X : M4} (h : boostLike X) (a b) : tilted X a b=(-I)*((X*theta) a b:ℂ) := by |
| 42 | unfold tilted |
| 43 | calc _ = zeta a * (X a b:ℂ) * wick b := by ring |
| 44 | _ = _ := by rw [← boost_scale b a h] |
| 45 | calc _ = (zeta b * wick b) * (-I) * ((X*theta) a b:ℂ) := by ring |
| 46 | _ = _ := by rw [zeta_wick,one_mul] |
| 47 | lemma tilted_add (X Y : M4) (a b) : tilted (X+Y) a b=tilted X a b+tilted Y a b := by simp [tilted,mul_add] |
| 48 | lemma tilted_skew {X : M4} (ht : tangent X) (a b) : tilted X a b= -tilted X b a := by |
| 49 | have h (V : M4) (h : star V= -V) : (V a b:ℝ)= -V b a := by |
| 50 | rw [← Matrix.neg_apply,← h]; simp only [Matrix.star_eq_conjTranspose, Matrix.conjTranspose_apply,star_trivial] |
| 51 | obtain ⟨A,U,rfl,hA,hU⟩ := tangent_parts ht |
| 52 | simp only [tilted_add,tilted_space hA,tilted_boost hU] |
| 53 | rw [h A hA.1,h (U*theta) (off_skew hU)] |
| 54 | push_cast; ring |
| 55 | |
| 56 | lemma momentum (b : Axis) (i : Fin n) (x : Full n) : |
| 57 | AnalyticAt ℂ (fun x : Full n => K.w b (fun a => x (i,a))) x := by |
| 58 | let A : Full n →L[ℂ] ℂ := zeta b • (∑ j : Axis, (K.V b j:ℂ) • (PiLp.proj _ _ (i,j))) |
| 59 | have hf : (fun x : Full n => K.w b (fun a => x (i,a))) = fun x => A x+ zeta b*(K.translation b:ℂ) := by |
| 60 | funext u; simp [A,w,mul_add]; ring |
| 61 | rw [hf]; exact (A.analyticAt x).add analyticAt_const |
| 62 | lemma slope (b : Axis) (i : Fin n) (a : Axis) (x : Full n) : |
| 63 | fderiv ℂ (fun x : Full n => K.w b (fun a => x (i,a))) x (wickSlice n (Points.direction i a))=tilted K.V b a := by |
| 64 | let A : Full n →L[ℂ] ℂ := zeta b • (∑ j : Axis, (K.V b j:ℂ) • (PiLp.proj _ _ (i,j))) |
| 65 | have hf : (fun x : Full n => K.w b (fun a => x (i,a))) = fun x => A x+ zeta b*(K.translation b:ℂ) := by |
| 66 | funext u; simp [A,w,mul_add]; ring |
| 67 | rw [hf,(A.hasFDerivAt.add_const _).fderiv]; simp only [A, _root_.smul_apply, _root_.sum_apply] |
| 68 | rw [Finset.sum_eq_single a]; swap |
| 69 | · intro b hb ha; simp [wick_apply,Points.direction,ha] |
| 70 | · simp [wick_apply, Points.direction,tilted,wick]; split_ifs <;> simp [*]; ring |
| 71 | simp |
| 72 | end Killing |
| 73 | |
| 74 | -- open-strip stress in a free slot |
| 75 | variable {P : DiffPlan S} {H : S.RealSpin} {F : Waves S} {T : S.Stress} |
| 76 | |
| 77 | def tide (Z : W.Aurora D) (K : Killing) (j : Fin (n+1)) (v : Fin n → S.Union) (T : S.Stress) |
| 78 | (a : Axis) (x : Full (n+1)) := ∑ b : Axis, K.w b (fun i => x (j,i))*Z.emit (hole j v (S.pin 4 (T a b))) x |
| 79 | lemma tide_analytic (K : Killing) (j : Fin (n+1)) (v : Fin n → S.Union) (T : S.Stress) |
| 80 | (a : Axis) (hZ : Z.FullBody F) : AnalyticOnNhd ℂ (tide Z K j v T a) (tube (n+1)) := fun x hx => by |
| 81 | unfold tide; exact Finset.analyticAt_fun_sum _ (fun b _ => (K.momentum b j x).mul (hZ.hol _ _ _ hx)) |
| 82 | |
| 83 | lemma hole_replace {A : Type*} (j : Fin (n+1)) (v : Fin n → A) (x y : A) : |
| 84 | hole j v x=update (hole j v y) j x := by |
| 85 | funext k; refine Fin.succAboveCases j ?_ ?_ k |
| 86 | · simp |
| 87 | intro l; rw [update_of_ne (Fin.succAbove_ne _ _)]; simp |
| 88 | |
| 89 | lemma emitsL (j : Fin (n+1)) (v : Fin n → S.Union) (Z : W.Aurora D) (x : Full (n+1)) : |
| 90 | ∃ A : S.Union →ₗ[ℂ] ℂ, ∀ a, Z.emit (hole j v a) x=A a := by |
| 91 | let B := (W.W (n+1)).toLinearMap (hole j v 0) j |
| 92 | let c := ((Probe.pref (Points (n+1)))⁻¹ : ℂ) |
| 93 | let A : S.Union →ₗ[ℂ] ℂ := |
| 94 | { toFun a := c * B a (Probe.hat (Z.lens _ x)) |
| 95 | map_add' a b := by rw [map_add]; simp [mul_add] |
| 96 | map_smul' a b := by rw [map_smul]; simp [mul_left_comm] } |
| 97 | exact ⟨A, fun a => by rw [hole_replace j v a 0]; rfl⟩ |
| 98 | |
| 99 | lemma tide_div (K : Killing) (j : Fin (n+1)) (v : Fin n → S.Union) (T : S.Stress) |
| 100 | (hT : Table.Conserved P H T) (hu : U.Hierarchy) (hs : S.Symmetric) (hi : P.Inclusions S) |
| 101 | (hd : P.Derivatives U) (hF : F.Region U) (hZ : Z.FullBody F) (x : Full (n+1)) (hx : x∈tube (n+1)) : |
| 102 | (∑ a : Axis, fderiv ℂ (tide Z K j v T a) x (wickSlice (n+1) (Points.direction j a)))=0 := by |
| 103 | let t := fun a => wickSlice (n+1) (Points.direction j a) |
| 104 | obtain ⟨N,hN⟩ := emitsL j v Z x |
| 105 | let q := fun a b => Killing.tilted K.V b a * N (S.pin 4 (T a b)) |
| 106 | let r := fun a b => K.w b (fun i => x (j,i))* N (S.pin 5 (P.deriv 4 a (T a b))) |
| 107 | have hh a : fderiv ℂ (tide Z K j v T a) x (t a)=(∑ b : Axis, q a b)+(∑ b : Axis, r a b) := by |
| 108 | unfold tide; rw [fderiv_fun_sum,_root_.sum_apply,← Finset.sum_add_distrib] |
| 109 | · refine Finset.sum_congr rfl (fun b _ => ?_) |
| 110 | let W := fun x : Full (n+1) => K.w b (fun i => x (j,i)) |
| 111 | let L := Z.emit (hole j v (S.pin 4 (T a b))) |
| 112 | have hw : DifferentiableAt ℂ W x := (K.momentum b j x).differentiableAt |
| 113 | have hl : DifferentiableAt ℂ L x := (hZ.hol _ _ _ hx).differentiableAt |
| 114 | change fderiv ℂ (fun x => W x*L x) x (t a)=_ |
| 115 | rw [fderiv_fun_mul hw hl] |
| 116 | have ht : fderiv ℂ L x (t a)=N (S.pin 5 (P.deriv 4 a (T a b))) := by |
| 117 | unfold L; rw [← hN,hole_replace j v (S.pin 4 (T a b)) 0,hole_replace j v (S.pin 5 (P.deriv 4 a (T a b))) 0] |
| 118 | exact (field_jet P hu hs hi hd hF hZ _ _ _ _ _ hx).symm |
| 119 | change W x*fderiv ℂ L x (t a)+L x*fderiv ℂ W x (t a)=_ |
| 120 | rw [ht, show fderiv ℂ W x (t a)=_ from K.slope b j a x, show L x=_ from hN (S.pin 4 (T a b))]; unfold q r W; ring |
| 121 | intro b _; exact ((K.momentum b j x).differentiableAt.mul (hZ.hol _ _ _ hx).differentiableAt) |
| 122 | have hq : (∑ a, ∑ b, q a b)=0 := by |
| 123 | have he (a b) : q a b= -q b a := by unfold q; rw [Killing.tilted_skew K.ok b a,hT.symmetric a b,neg_mul] |
| 124 | have hh : (∑ a, ∑ b, q a b)= -(∑ a, ∑ b, q a b) := calc |
| 125 | _ = (∑ a : Axis, ∑ b : Axis, -q b a) := Finset.sum_congr rfl (fun i _ => Finset.sum_congr rfl fun j _ => he i j) |
| 126 | _ = _ := by rw [Finset.sum_comm]; simp |
| 127 | have hp := congr_arg Complex.re hh; have hz := congr_arg Complex.im hh |
| 128 | simp only [neg_re,neg_im] at hp hz; apply Complex.ext <;> simp only [zero_re,zero_im] <;> linarith |
| 129 | have hr : (∑ a, ∑ b, r a b)=0 := by |
| 130 | rw [Finset.sum_comm]; apply Finset.sum_eq_zero; intro b _; unfold r |
| 131 | rw [← Finset.mul_sum, ← map_sum, ← map_sum,hT.divergence]; simp |
| 132 | change (∑ a : Axis, fderiv ℂ _ x (t a))=0 |
| 133 | simp_rw [hh]; rw [Finset.sum_add_distrib,hr,hq]; ring |
| 134 | |
| 135 | lemma lodge_cont (j : Fin (n+1)) : Continuous |
| 136 | (fun p : (SpacePoints n × Times n) × (Space3 × ℂ) => lodge j p.1.1 p.1.2 p.2.1 p.2.2) := by |
| 137 | unfold lodge laid dawn place points glow |
| 138 | simp_rw [show position = _ from funext fun x => funext fun t => (Mink.combine_at x t).symm] |
| 139 | unfold hole |
| 140 | fun_prop |
| 141 | |
| 142 | -- Easier increments on straight lines. |
| 143 | lemma lay_time (r : Space3) (z u : ℂ) (b : Axis) : lay r (z+u) b=lay r z b+if b=timeAxis then u else 0 := by unfold lay; split <;> simp |
| 144 | |
| 145 | def needle (i : SpaceAxis) : Space3 := (Ray.fromAxis i).val |
| 146 | lemma lay_space (r : Space3) (z : ℂ) (t : ℝ) (i : SpaceAxis) (b : Axis) : |
| 147 | lay (r+t • needle i) z b=lay r z b+if b=i.castSucc then t else 0 := by |
| 148 | rcases Fin.eq_castSucc_or_eq_last b with ⟨l,rfl⟩ | rfl |
| 149 | · rw [lay,if_neg (Fin.castSucc_ne_last l),lay,if_neg (Fin.castSucc_ne_last l)] |
| 150 | change (spatial (position (r+_) 0) l:ℂ)=(spatial (position r 0) l:ℂ)+_ |
| 151 | rw [spatial_position,spatial_position]; by_cases e : l=i <;> simp [needle,Ray.fromAxis,e] |
| 152 | rw [lay,lay,if_pos rfl,if_pos rfl,if_neg (Fin.castSucc_ne_last _).symm,ofReal_zero,add_zero] |
| 153 | |
| 154 | lemma lodge_z (j : Fin (n+1)) (x : SpacePoints n) (u : Times n) (r : Space3) (z : ℂ) : |
| 155 | HasDerivAt (lodge j x u r) (realPartL _ (Points.direction j timeAxis)) z := by |
| 156 | let q := realPartL _ (Points.direction j timeAxis) |
| 157 | have ht : lodge j x u r = fun t => lodge j x u r 0 + t • q := by |
| 158 | funext t |
| 159 | ext1 i |
| 160 | obtain ⟨i,b⟩ := i |
| 161 | change laid _ _ (i,b)=lodge j x u r 0 (i,b) + t*glow (Points.direction j timeAxis) 0 (i,b) |
| 162 | refine Fin.succAboveCases j ?_ ?_ i |
| 163 | · simp only [lodge,laid_at,hole_self]; by_cases h : b=timeAxis <;> simp [lay,glow,Points.direction,h] |
| 164 | intro p |
| 165 | simp only [lodge,laid_at,hole_next]; simp [glow,Points.direction,Fin.succAbove_ne] |
| 166 | nth_rw 1 [ht]; simpa only [one_smul] using ((hasDerivAt_id' z).smul_const q).const_add _ |
| 167 | |
| 168 | lemma lodge_r (j : Fin (n+1)) (x : SpacePoints n) (u : Times n) (r : Space3) (z : ℂ) (i : SpaceAxis) : |
| 169 | HasDerivAt (fun t : ℝ => lodge j x u (r+t • needle i) z) (wickSlice _ (Points.direction j i.castSucc)) 0 := by |
| 170 | let q := wickSlice _ (Points.direction j i.castSucc) |
| 171 | have he : (fun t : ℝ => lodge j x u (r+t • needle i) z)=fun t : ℝ => lodge j x u r z + t • q := by |
| 172 | funext t |
| 173 | ext1 l |
| 174 | obtain ⟨l,b⟩ := l |
| 175 | change laid _ _ (l,b) = lodge j x u r z (l,b) + t • wickSlice _ (Points.direction j i.castSucc) (l,b) |
| 176 | refine Fin.succAboveCases j ?_ ?_ l |
| 177 | · simp only [lodge,laid_at,hole_self,lay_space]; by_cases h : b=i.castSucc <;> |
| 178 | simp [wick_apply,Points.direction,h, show i.castSucc≠timeAxis from Fin.castSucc_ne_last i, real_smul] |
| 179 | intro p; simp only [lodge,laid_at,hole_next]; simp [wick_apply, Points.direction, Fin.succAbove_ne] |
| 180 | rw [he]; simpa only [one_smul] using ((hasDerivAt_id' (0:ℝ)).smul_const q).const_add (lodge j x u r z) |
| 181 | |
| 182 | lemma lodge_smooth (j : Fin (n+1)) (x : SpacePoints n) (u : Times n) (z : ℂ) : |
| 183 | ContDiff ℝ (⊤ : ℕ∞) (fun r : Space3 => lodge j x u r z) := by |
| 184 | -- use additive increment all r |
| 185 | let M := LinearMap.toContinuousLinearMap ({ |
| 186 | toFun := fun r => realPartL _ (seat j 0 (position r 0)) |
| 187 | map_smul' := fun (c : ℝ) r => by |
| 188 | rw [← map_smul]; congr 1; ext1 i; refine Fin.succAboveCases j ?_ ?_ i |
| 189 | · simp only [seat_seat,PiLp.smul_apply]; apply ext_by <;> simp |
| 190 | intro k; simp |
| 191 | map_add' := fun r s => by |
| 192 | rw [← map_add]; congr 1; ext1 i; refine Fin.succAboveCases j ?_ ?_ i |
| 193 | · simp only [seat_seat,PiLp.add_apply]; apply ext_by <;> simp |
| 194 | intro k; simp } : Space3 →ₗ[ℝ] Full (n+1)) |
| 195 | rw [show (fun r : Space3 => lodge j x u r z)= fun r => M r + lodge j x u 0 z by |
| 196 | funext r; ext1 i; obtain ⟨i,b⟩ := i; change laid _ _ _=glow _ _ _+lodge _ _ _ _ _ (i,b) |
| 197 | refine Fin.succAboveCases j ?_ ?_ i |
| 198 | · simp only [lodge,laid_at,hole_self]; unfold lay; split |
| 199 | · next h => subst b; simp [glow,show position r 0 timeAxis=0 from time_position _ _] |
| 200 | simp [glow,show position 0 0=0 by apply Mink.ext_by <;> simp] |
| 201 | intro p; simp [lodge,laid_at,glow] ] |
| 202 | exact M.contDiff.add contDiff_const |
| 203 | |
| 204 | lemma laid_hol (x : SpacePoints n) : Differentiable ℂ (laid x) := by |
| 205 | let N := LinearMap.toContinuousLinearMap ({ |
| 206 | toFun := fun u => WithLp.toLp 2 (fun p => if p.2=timeAxis then (u p.1:ℂ) else 0) |
| 207 | map_add' := fun f g => by ext1 p; change (ite _ _ _ : ℂ)=ite _ _ _ + ite _ _ _; split <;> simp [*] |
| 208 | map_smul' := fun c f => by ext1 p; change (ite _ _ _:ℂ)= (c:ℂ)* (ite _ _ _); split <;> simp [*] } : Times n→ₗ[ℂ] Full n) |
| 209 | rw [show laid x = fun u => N u + laid x 0 by |
| 210 | funext u; ext1 i; obtain ⟨i,b⟩ := i; change _=(ite (b=timeAxis) (u i) 0:ℂ)+ laid x 0 (i,b); simp only [laid_at,lay]; split <;> simp ] |
| 211 | exact N.differentiable.add (differentiable_const _) |
| 212 | |
| 213 | lemma hole_hol (j : Fin (n+1)) : Differentiable ℂ (fun p : Times n × ℂ => hole j p.1 p.2) := by |
| 214 | apply differentiable_pi.mpr; intro i; refine Fin.succAboveCases j ?_ ?_ i |
| 215 | · simp |
| 216 | intro k; simp; fun_prop |
| 217 | |
| 218 | lemma lodge_hol (j : Fin (n+1)) (x : SpacePoints n) (r) : |
| 219 | Differentiable ℂ (fun p : Times n × ℂ => lodge j x p.1 r p.2) := |
| 220 | (laid_hol _).comp (hole_hol j) |
| 221 | |
| 222 | end YM.EveryPhase.Stress |