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.UVNext.FREE_STRESS_CERTIFICATE.Cube |
| 2 | import YM.UVNext.FREE_STRESS_CERTIFICATE.Diagonal |
| 3 | |
| 4 | /-! Exact tangent microphone in the actual two-curl Wick correlation. -/ |
| 5 | set_option autoImplicit false |
| 6 | noncomputable section |
| 7 | namespace YM.UVNext.FreeStress |
| 8 | open Maxwell Labels Climb Table Analysis Work.A01 Next.UVStress Function Set Filter |
| 9 | open scoped RealInnerProductSpace Topology ContDiff |
| 10 | variable {G : Gauge} (F : Frames G) |
| 11 | |
| 12 | -- derivative of second gradient, at a unit axis, keep kronecker coefficients |
| 13 | -- over integers for ensuing kernel-level finite reduction. |
| 14 | def kr (t i : Axis) : ℤ := if i=t then 1 else 0 |
| 15 | lemma basis_cast (t i : Axis) : ((kr t i:ℤ):ℝ)=YM.basis t i := by unfold kr; simp [basis_eq] |
| 16 | |
| 17 | def curve (t i j : Axis) : ℤ := -2*kr j i +8*kr t j * kr t i |
| 18 | -- j gradient on i, r tangent; t center |
| 19 | def ray (r t i j : Axis) : ℤ := 8*kr j i * kr t r -48*kr t i * kr t j * kr t r +8*(kr r i * kr t j + kr r j * kr t i) |
| 20 | |
| 21 | lemma radial (t i j : Axis) : grad j (grad i Green) (YM.basis t) = normal * ((curve t i j:ℤ):ℝ) := by |
| 22 | rw [second_Green (by intro h; simpa using congr_arg norm h)]; simp only [basis_norm,one_pow,inv_one,curve]; push_cast; |
| 23 | simp_rw [basis_cast]; ring |
| 24 | |
| 25 | set_option maxHeartbeats 500000 in |
| 26 | lemma tangent_axis (t r i j : Axis) : |
| 27 | grad r (grad j (grad i Green)) (YM.basis t) = normal * ((ray r t i j:ℤ):ℝ) := by |
| 28 | let P := YM.basis t |
| 29 | have hx : P ≠ 0 := fun h => one_ne_zero (α:=ℝ) (by simpa [P] using congr_arg norm h) |
| 30 | have he : grad j (grad i Green) =ᶠ[𝓝 P] fun x => |
| 31 | -2 * normal * (YM.basis j i) * (‖x‖^2)⁻¹^2 + 8 * normal * (x j * x i) * (‖x‖^2)⁻¹^3 := by |
| 32 | filter_upwards [open_away.mem_nhds (show P∈away from hx)] with x h |
| 33 | exact second_Green h .. |
| 34 | have hv := (hasFDerivAt_inv (show ‖P‖^2 ≠ 0 by simp [P])).comp P (hasStrictFDerivAt_norm_sq P).hasFDerivAt |
| 35 | have hw := (((hv.pow 2).const_mul (-2 * normal * (YM.basis j i))).add |
| 36 | ((((compAxis j).hasFDerivAt.mul (compAxis i).hasFDerivAt).const_mul (8 * normal)).mul (hv.pow 3))).fderiv |
| 37 | rw [grad,GermD _ he, Analysis.D, show fderiv ℝ (fun x : E4 => -2*normal*YM.basis j i*(‖x‖^2)⁻¹^2 + |
| 38 | 8*normal*(x j*x i)*(‖x‖^2)⁻¹^3) (YM.basis t) = _ from hw] |
| 39 | unfold ray |
| 40 | push_cast |
| 41 | simp [P,two_smul,-basis_eq,compAxis,basis_cast] |
| 42 | rw [show YM.basis r t = YM.basis t r by simp [basis_eq,eq_comm]]; ring |
| 43 | |
| 44 | def rotate (f : Axis → Axis → ℤ) (a b i k : Axis) := |
| 45 | (if i=b then f k a else 0) - (if k=b then f i a else 0) - ((if i=a then f k b else 0)-(if k=a then f i b else 0)) |
| 46 | |
| 47 | lemma one_view (t a b i k : Axis) : bareCurl a b i k (YM.basis t) = normal * ((rotate (curve t) a b i k : ℤ):ℝ) := by |
| 48 | have ht : YM.basis t ≠ 0 := by intro h; simpa using congr_arg norm h |
| 49 | unfold bareCurl |
| 50 | simp only [Pi.sub_apply,Bare.opp_grad ht,radial,rotate] |
| 51 | split_ifs <;> push_cast <;> ring |
| 52 | |
| 53 | lemma view_ray (t r a b i k : Axis) : grad r (bareCurl a b i k) (YM.basis t) = normal * ((rotate (ray r t) a b i k : ℤ):ℝ) := by |
| 54 | have ht : YM.basis t ≠ 0 := by intro h; simpa using congr_arg norm h |
| 55 | let g (a b c d : Axis) : E4 → ℝ := if d=b then grad a (grad c Green) else 0 |
| 56 | have hh (a b c d) : ContDiffAt ℝ ∞ (g a b c d) (YM.basis t) := by unfold g; split <;> first | exact HessSmooth ht a c | exact contDiffAt_const (𝕜:=ℝ) (x:=YM.basis t) (c:= (0:ℝ)) |
| 57 | have he : bareCurl a b i k =ᶠ[𝓝 (YM.basis t)] ((g a b k i-g a b i k)-(g b a k i-g b a i k)) := by |
| 58 | filter_upwards [open_away.mem_nhds (show _∈away from ht)] with x h |
| 59 | unfold bareCurl; simp only [Pi.sub_apply,Bare.opp_grad h,g]; split_ifs <;> rfl |
| 60 | rw [show grad r (bareCurl a b i k) (YM.basis t) = grad r _ (YM.basis t) from GermD _ he, |
| 61 | Bare.grad_sub (f:=g a b k i-g a b i k) ((hh a b k i).sub (hh a b i k)) |
| 62 | (g:=g b a k i-g b a i k) ((hh b a k i).sub (hh b a i k))] |
| 63 | simp_rw [Bare.grad_sub (hh _ _ _ _) (hh _ _ _ _)] |
| 64 | have hx : grad r (0 : E4 → ℝ) (YM.basis t) = 0 := by simp [grad,D] |
| 65 | unfold g rotate; split_ifs <;> push_cast <;> try simp only [tangent_axis,hx] |
| 66 | all_goals ring |
| 67 | |
| 68 | private lemma grad_product {x} {f g : E4→ℝ} (h : DifferentiableAt ℝ f x) (k : DifferentiableAt ℝ g x) (i : Axis) : |
| 69 | grad i (f*g) x = grad i f x * g x + f x * grad i g x := by |
| 70 | unfold grad D; rw [fderiv_mul h k] |
| 71 | simp [mul_comm,add_comm] |
| 72 | |
| 73 | def look (t a b i k c e f m : Axis) : ℤ := |
| 74 | rotate (curve t) a b c e * rotate (curve t) i k f m + rotate (curve t) a b f m * rotate (curve t) i k c e |
| 75 | |
| 76 | def slide (r t a b i k c e f m : Axis) : ℤ := |
| 77 | rotate (ray r t) a b c e * rotate (curve t) i k f m + rotate (curve t) a b c e * rotate (ray r t) i k f m + |
| 78 | (rotate (ray r t) a b f m * rotate (curve t) i k c e + rotate (curve t) a b f m * rotate (ray r t) i k c e) |
| 79 | |
| 80 | lemma still_axis (t a b i k c e f m : Axis) : flash a b i k c e f m (YM.basis t)=normal^2 * ((look t a b i k c e f m:ℤ):ℝ) := by |
| 81 | unfold flash look |
| 82 | simp_rw [one_view]; push_cast; ring |
| 83 | |
| 84 | lemma grad_flash (t r a b i k c e f m : Axis) : grad r (flash a b i k c e f m) (YM.basis t)= |
| 85 | normal^2*((slide r t a b i k c e f m:ℤ):ℝ) := by |
| 86 | have ht : YM.basis t ≠ 0 := by intro h; simpa using congr_arg norm h |
| 87 | have he (a b i j) := (Bare.curl_diff ht a b i j).differentiableAt (by simp) |
| 88 | let K := bareCurl |
| 89 | change fderiv ℝ (K a b c e * K i k f m + K a b f m * K i k c e) (YM.basis t) (YM.basis r) = _ |
| 90 | rw [fderiv_add ((he a b c e).mul (he i k f m)) ((he a b f m).mul (he i k c e)), _root_.add_apply] |
| 91 | change grad r (K a b c e * K i k f m) _ + grad r (K a b f m * K i k c e) _ = _ |
| 92 | rw [grad_product (he a b c e) (he i k f m), grad_product (he a b f m) (he i k c e)] |
| 93 | simp_rw [one_view,view_ray]; unfold slide; push_cast; ring |
| 94 | |
| 95 | def loud (G : Gauge) := (G.lieDim:ℂ) * (normal^2 : ℝ) |
| 96 | lemma loud_ne (h : G.Simple) : loud G ≠ 0 := by |
| 97 | have hn : 0 < G.lieDim := by rw [Gauge.lieDim, ← G.colorIso.finrank_eq]; haveI := h.nontrivial_color; exact Module.finrank_pos |
| 98 | exact mul_ne_zero (by exact_mod_cast hn.ne') (by exact_mod_cast pow_ne_zero 2 normal_pos.ne') |
| 99 | |
| 100 | lemma still_listens (t a b i k c e f m) : |
| 101 | hearing F (camera t) c e f m 4 (flat F a b i k) = loud G * (↑(look t a b i k c e f m):ℂ) := by |
| 102 | rw [flat,link,hears F (shutter _),camera_ab,camera_zero,sub_zero,still_axis, Complex.ofReal_mul,loud,mul_assoc, Complex.ofReal_intCast] |
| 103 | |
| 104 | private def sight : Points 2 →L[ℝ] E4 := PiLp.proj (𝕜:=ℝ) 2 (fun _ : Fin 2 => E4) 0 - PiLp.proj (𝕜:=ℝ) 2 (fun _ : Fin 2 => E4) 1 |
| 105 | lemma sight_read (x : Points 2) : sight x=x 0-x 1 := rfl |
| 106 | lemma sight_direction (a : Axis) : sight (Points.direction 0 a)=YM.basis a := by |
| 107 | rw [sight_read]; simp [Points.direction] |
| 108 | |
| 109 | variable (W : DiffPlan (freeTable F)) (hW : W.Derivatives (freeTable F)) |
| 110 | |
| 111 | include hW in |
| 112 | /-- Tangent sample of W.deriv: via *only its required consumer interface* |
| 113 | on separated positions; no identification with a derivative on representative |
| 114 | polynomials or on an unconstrained space. -/ |
| 115 | lemma listens_to (a t i j b g c e f m : Axis) : |
| 116 | hearing F (camera t) c e f m 5 (W.deriv 4 a (flat F i j b g)) = loud G * (↑(slide a t i j b g c e f m) : ℂ) := by |
| 117 | let P := camera t |
| 118 | let l := flash i j b g c e f m |
| 119 | have h : YM.basis t ≠ 0 := by intro h; simpa using congr_arg norm h |
| 120 | have ht : sight P=YM.basis t := by simp [P,sight_read] |
| 121 | have hh (a b c e) : DifferentiableAt ℝ (bareCurl a b c e) (sight P) := |
| 122 | (Bare.curl_diff (ht ▸ h) _ _ _ _).differentiableAt (by simp) |
| 123 | have hl : DifferentiableAt ℝ l (sight P) := ((hh i j c e).mul (hh b g f m)).add ((hh i j f m).mul (hh b g c e)) |
| 124 | let z := flat F i j b g |
| 125 | let q := negs F c e f m |
| 126 | rw [listens, hW.kernels 4 a z (shutter _) q] |
| 127 | let L := Complex.ofRealCLM |
| 128 | have he : (fun y => (freeTable F).useAt (freeTable F) y (Fin.cons ⟨4,z⟩ q)) =ᶠ[𝓝 P] |
| 129 | (fun y => (G.lieDim:ℂ) * (L ∘ l ∘ sight) y) := by |
| 130 | filter_upwards [(conf_open _).mem_nhds (shutter t)] with x hx |
| 131 | change (freeTable F).useAt (freeTable F) x (Fin.cons ⟨4,link F _ _ _ _ _ _⟩ q) = _ |
| 132 | rw [← listens F] |
| 133 | exact hears F hx i j b g c e f m |
| 134 | change D (Points.direction 0 a) _ P = _ |
| 135 | rw [GermD _ he,D,fderiv_const_mul (L.differentiableAt.comp P (hl.comp P sight.differentiableAt)), |
| 136 | fderiv_comp P L.differentiableAt (hl.comp P sight.differentiableAt),L.fderiv, |
| 137 | fderiv_comp P hl sight.differentiableAt, sight.fderiv, _root_.smul_apply, ContinuousLinearMap.comp_apply, |
| 138 | ContinuousLinearMap.comp_apply,sight_direction,ht] |
| 139 | change (G.lieDim:ℂ) * (↑(grad a l (YM.basis t)):ℂ) = _ |
| 140 | unfold l; rw [grad_flash,Complex.ofReal_mul,loud,mul_assoc, Complex.ofReal_intCast] |
| 141 | |
| 142 | end YM.UVNext.FreeStress |