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.TraceExtension.Atlas.Zone |
| 2 | set_option autoImplicit false |
| 3 | noncomputable section |
| 4 | namespace YM.Trace.Pilot |
| 5 | open Function Filter Set Extraction Climb Next.UVStress Table Work.A01 Maxwell UVNext.FreeStress Spin |
| 6 | open scoped Topology BigOperators InnerProductSpace Matrix.Norms.Frobenius |
| 7 | variable {G : Gauge}{C:Family G}{X:Extraction.Order}{L:Register G} |
| 8 | variable {S:Table C.book}(F: Spec.Final C X S){H:(Bel C.book).Hierarchy} |
| 9 | local notation "F₀"=> Bel C.book |
| 10 | open StressFlux TraceExtension Over |
| 11 | variable (h:G.Simple) |
| 12 | section tensor |
| 13 | variable {T:Table L}{R: Rotation T} |
| 14 | lemma flat_diag(J:T.Stress)(ht: Tensorial R J)(hx:∀ i j:Axis,i≠j → J i j=0)(i j:Axis): J i i=J j j:=by |
| 15 | by_cases he:i=j; subst j; rfl |
| 16 | let g:= Ortho.plane i j; let V (t:ℝ):= Ortho.oneParameter g t; let M(t:ℝ):= (V t).val; let p(a b: Axis):= (1:M4) a b |
| 17 | have hs: M 0=1:= congr_arg Subtype.val (Work.A13.oneParameter_zero g) |
| 18 | let d(x):= g.val x i * p x j + p x i * g.val x j |
| 19 | have hh: HasDerivAt M g.val 0:=by simpa [M,V,Ortho.oneParameter] using! hasDerivAt_exp_smul_const g.val (0:ℝ) |
| 20 | have hp(a b:Axis): HasDerivAt (fun t:ℝ=> M t a b) (g.val a b) 0:=by |
| 21 | let p:M4→L[ℝ] ℝ:= LinearMap.toContinuousLinearMap ({ |
| 22 | toFun:= fun x=>x a b |
| 23 | map_add':= fun _ _=>rfl |
| 24 | map_smul':= fun _ _=>rfl }:M4→ₗ[ℝ] ℝ) |
| 25 | exact p.hasFDerivAt.comp_hasDerivAt _ hh |
| 26 | let U(t:ℝ)(x:Axis):= (M t x i*M t x j) • J x x |
| 27 | have hV(a:Axis): HasDerivAt (fun t=> U t a) (d a • J a a) 0:=by |
| 28 | have ht:= ((hp a i).mul (hp a j)).smul_const (J a a) |
| 29 | rw[hs] at ht; exact ht |
| 30 | have hz(t): ∑ x:Axis,U t x=0:=by |
| 31 | have hu:= ht (V t) i j; rw[hx _ _ he,map_zero] at hu; rw[hu]; refine Finset.sum_congr rfl fun x _=> ?_ |
| 32 | rw[Finset.sum_eq_single x]; swap; · intro y hy ht; rw[hx x y (Ne.symm ht), smul_zero]; |
| 33 | · exact RCLike.real_smul_eq_coe_smul .. |
| 34 | simp |
| 35 | have hv :∑ x:Axis,d x • J x x=0:=(HasDerivAt.unique (f:=fun t=>∑ x:Axis,U t x) (HasDerivAt.fun_sum (fun x _=>hV x)) (by simp_rw [hz];exact hasDerivAt_const ..)) |
| 36 | have he1:d i=1:=by simp [d,p,g, Ortho.plane, Matrix.single_apply,Matrix.one_apply,he,Ne.symm he] |
| 37 | have he2:d j= -1:=by simp [d,p,g, Ortho.plane,Matrix.single_apply,Matrix.one_apply,he,Ne.symm he] |
| 38 | rw [← Finset.add_sum_erase _ (fun x=>d x • J x x) (Finset.mem_univ i), Finset.sum_eq_single j] at hv |
| 39 | · rw[he1,he2,one_smul,neg_one_smul] at hv;exact sub_eq_zero.mp (by rw[sub_eq_add_neg]; exact hv) |
| 40 | · intro x hx hy; have hh:x≠i:= (Finset.mem_erase.mp hx).1;simp [d,p,Matrix.one_apply,hh,hy] |
| 41 | simp[he,Ne.symm he] |
| 42 | lemma residual_sigma(J W:T.Stress)(T':Tensorial R J)(h: Tensorial R W)(c:ℝ): Tensorial R (J-c • W):=by |
| 43 | intro K i j; simp only [Pi.sub_apply,Pi.smul_apply,map_sub, smul_sub] |
| 44 | rw [T', (show R.act 4 K (c • W i j) = c • R.act 4 K (W i j) from (R.act 4 K|>.toLinearMap.restrictScalars ℝ).map_smul ..),h, Finset.smul_sum]; simp_rw[Finset.smul_sum,Finset.sum_sub_distrib]; congr 1; exact Finset.sum_congr rfl fun _ _=> Finset.sum_congr rfl fun _ _=> smul_comm .. |
| 45 | end tensor |
| 46 | |
| 47 | -- stress formula in aligned cap-four fields. unselected stress.V.theta |
| 48 | include h |
| 49 | lemma exactEnergy (s:ℝ)(P:change S 4)(he:AlignV F.room.kernel F.sector H P): ∃ a d e:ℝ, ∀ i j, P.symm (s^4 • F.sector.energy i j)=a • standard4 C i j +(if i=j then d • stepField C+e • ((F₀).unit 4) else 0):=by |
| 50 | let R:= F.sector.energy; let V(i j:Axis):= P.symm (s^4 • R i j); let K:= F.sector.turns; let L:=turns C; let hp:=F.phase.transport; let y:=standard4 C |
| 51 | have ht : Tensorial L V:=by |
| 52 | intro A i j; apply P.injective; unfold V; rw [he.align.axis,map_sum]; simp_rw [map_sum,map_smul,P.apply_symm_apply]; let f:= (K.act 4 A).toLinearMap.restrictScalars ℝ |
| 53 | rw [show K.act 4 A (s^4 • R i j)=s^4 • (K.act 4 A (R i j)) from f.map_smul ..,show K.act 4 A (R i j)= _ from hp.spin ..] |
| 54 | simp only [Finset.smul_sum]; exact Finset.sum_congr rfl fun _ _=>Finset.sum_congr rfl fun _ _=> smul_comm .. |
| 55 | have he1: V∈ SymSpace H.spin:=by |
| 56 | refine sym_mem.mpr ⟨fun i j=>by unfold V;rw[show R i j=R j i from hp.conserved.symmetric ..],fun i j=>?_,fun A i j=>?_⟩ |
| 57 | · apply P.injective; rw[he.align.real]; unfold V;rw[P.apply_symm_apply] |
| 58 | let f:= StressFlux.conjQ (d:=4) F.room.kernel.spin; change f (s^4 • _)= _; rw [map_smul,show f _=R i j from hp.conserved.real ..] |
| 59 | rw[← (baseRights (C:=C) (H:=H) h).signed]; exact ht A.ortho i j |
| 60 | obtain ⟨w,hw⟩:= (free_stress_bij (L:=C.book) h H.spin).2 ⟨V,(Further.PhysicalPeriodLimitF933.two _ _).2 he1⟩ |
| 61 | have hv : V= StressFlux.material (F₀) w:= (congr_arg Subtype.val hw).symm; let c:= -(w 3) |
| 62 | have hy : y=StressFlux.material (F₀) (-weyl):=by unfold y standard4 Shelves.materialB; rw [show Fin.cons _ _ = -weyl from Over.FZone_c G] |
| 63 | let T:= V - c • y |
| 64 | have hY: y∈SymSpace H.spin:= (Further.PhysicalPeriodLimitF933.two _ _).1 (by rw [hy]; exact (tableStress H.spin (-weyl)).property) |
| 65 | obtain ⟨u,q,hK,hT,-,hτ⟩:= stages (C:=C) h; rw[hK,hT] at hτ |
| 66 | have hw : T∈ SymSpace H.spin:= Submodule.sub_mem _ he1 ((SymSpace H.spin).smul_mem c hY) |
| 67 | have hh : Tensorial L T:= residual_sigma _ _ ht hτ _ |
| 68 | have ho(i j:Axis)(he:i≠j): T i j=0:=by |
| 69 | unfold T; rw[hv,hy]; simp only [StressFlux.material,stress_of,if_neg he,map_smul,Pi.sub_apply,Pi.smul_apply,Pi.neg_apply,c]; change w 3 • _-(-w 3) • ((-(1:ℝ)) • _)=_;rw [smul_smul,neg_mul_neg,mul_one,sub_self] |
| 70 | have hT(i): T i i=T 0 0:= flat_diag T hh ho .. |
| 71 | let A':=stressTrace T; have hg:A'=(4:ℝ) • T 0 0:=by unfold A' stressTrace; |
| 72 | rw [Fin.sum_univ_four,hT (1:Axis),hT (2:Axis),hT (3:Axis)]; module |
| 73 | obtain ⟨v,hV⟩:= Scalar_onto (C:=C) (H:=H) h A' (by rw[hg,map_smul]; exact congr_arg _ ((sym_mem.mp hw).2.1 ..)) (fun i=> by change (F₀).mirror H.spin 4 i A'= _; rw[← (baseRights (C:=C) (H:=H) h).signed]; exact stressTrace_turn hh _) |
| 74 | rw[scalar_cod, hg] at hV |
| 75 | refine ⟨c,v 1, v 0/4,fun i j=> ?_⟩ |
| 76 | suffices hx:T i j=(if i=j then _ else _) by change V i j=c • y i j+_; rw[← hx];change _= _+(V i j- _); exact (add_sub_cancel ..|>.symm) |
| 77 | split_ifs with e |
| 78 | · subst j;rw[hT]; apply smul_right_injective _ (by norm_num : (4:ℝ)≠0); change (4:ℝ) • T 0 0=_;rw[← hV]; unfold stepField; module |
| 79 | exact ho _ _ e |
| 80 | end YM.Trace.Pilot |