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.Terrace.Crown |
| 2 | import YM.TraceExtension.Pi.Lens |
| 3 | set_option autoImplicit false |
| 4 | noncomputable section |
| 5 | set_option maxRecDepth 4096 |
| 6 | namespace YM.Trace.Terrace.Glade |
| 7 | open Function Filter Finset Lattice RG Wilson Labels Source Extra.Histories Bid Zn |
| 8 | open Extraction Next.UVStress Next.Rank.Price MergeProof.East Further.CorrectedLift Ward Climb Analysis Work Weir StressFlux |
| 9 | open Further.PhysicalPeriodLimitF933 Shunt PhysicalNext.Repeat.Quince PhysicalNext.Repeat.Legato.Bandage Push.GridApprox Cells Pressure |
| 10 | open Motion |
| 11 | open scoped BigOperators Topology Matrix.Norms.Frobenius ContDiff Classical |
| 12 | variable {G:Gauge} |
| 13 | abbrev splitP (s : Signed): Motion ≃ Motion := (Equiv.mulLeft s).prodCongr (Equiv.refl Bool) |
| 14 | abbrev dualP : Motion ≃ Motion:= (Equiv.refl Signed).prodCongr (Equiv.boolNot) |
| 15 | def prev (m:Motion)(a:Axis):= m.1.perm.symm a |
| 16 | def hued (m:Motion)(a:Axis):ℝ:= sign m.1 (prev m a) |
| 17 | abbrev rent:= (Fintype.card Motion:ℝ)⁻¹ |
| 18 | lemma rent_pos: 0 < rent:=inv_pos.mpr (Nat.cast_pos.mpr (Fintype.card_pos)) |
| 19 | lemma rent_collect (t:ℝ): ∑ _ : Motion,rent*t=t:=by simp only [Finset.sum_const,Finset.card_univ,nsmul_eq_mul,rent]; rw[← mul_assoc,mul_inv_cancel₀ (Nat.cast_ne_zero.mpr Fintype.card_pos.ne'),one_mul] |
| 20 | lemma stamp (x:Motion)(a b:Axis) : |hued x a|=1:= by unfold hued sign;split_ifs <;> simp |
| 21 | lemma pigment (x y:Signed)(i:Axis): sign (x*y) i=sign y i*sign x (y.perm i):=by unfold sign; split_ifs <;> first|simp_all|grind |
| 22 | lemma prev_step(x:Motion)(s:Signed) (i:Axis): prev (splitP s x) (s.perm i)=prev x i:=by |
| 23 | change (s*x.1).perm.symm (s.perm i)= _;rw [Signed.mul_perm]; unfold prev; simp |
| 24 | lemma hue_step(x:Motion)(s:Signed) (i:Axis): hued (splitP s x) (s.perm i)=hued x i*sign s i:=by unfold hued;rw[prev_step]; change sign (s*x.1) _=_;rw [pigment]; unfold prev; congr 2;simp |
| 25 | section reynolds |
| 26 | variable {d:ℕ}(F:Frame G d) |
| 27 | def Prism (m:Motion): Module.End ℝ (F.Coeff) where |
| 28 | toFun := Motion.patch F m |
| 29 | map_add' := patch_add F m |
| 30 | map_smul' a b:=by rw [RCLike.real_smul_eq_coe_smul (K:=ℂ),patch_smul, RingHom.id_apply, RCLike.real_smul_eq_coe_smul (K:=ℂ)]; exact congrArg (· • Motion.patch F m b) (scalar_real m a); |
| 31 | lemma shield (u:Motion)(v:F.Coeff) : reflB F (Prism F u v)=Prism F (dualP u) v:=by |
| 32 | rcases u with ⟨u,a⟩; cases a; · rfl |
| 33 | exact star_star _ |
| 34 | lemma arrow (u:Motion)(s:Signed)(v:F.Coeff): reflA F s (Prism F u v)=Prism F (splitP s u) v:=by |
| 35 | unfold Prism Motion.patch; simp only[reflA, Equiv.prodCongr_apply,LinearMap.restrictScalars_apply,LinearMap.coe_mk,AddHom.coe_mk,map_mul,Equiv.refl_apply] |
| 36 | cases hu:u.2 <;> first| simp [hu,Frame.act_mul,act_conj,Signed.inclusionO,show (s*u.1).ortho=s.ortho*u.1.ortho from map_mul Signed.inclusionO ..]|rfl |
| 37 | lemma cardS(c:Motion→ F.Coeff)(A:ℝ)(hc:∀ i,F.coeffSize (c i) ≤ rent*A): F.coeffSize (∑ i,c i) ≤ A:= ((Size.finite F ..).trans (Finset.sum_le_sum fun i _=> hc i)).trans_eq (rent_collect _) |
| 38 | end reynolds |
| 39 | section amap |
| 40 | variable {E:Type*}[AddCommGroup E][Module ℝ E] |
| 41 | def Reed (H:Motion→ Module.End ℝ E) : Module.End ℝ (Axis→ E) where |
| 42 | toFun v i:= ∑ j:Motion,(rent*hued j i) • H j (v (prev j i)) |
| 43 | map_add' v w:=by ext1; simp[smul_add,Finset.sum_add_distrib] |
| 44 | map_smul' c v:=by ext1; simp[smul_comm c, Finset.smul_sum] |
| 45 | lemma reedEq (H:Motion→Module.End ℝ E)(v:Axis→ E)(i:Axis): Reed H v i= ∑ j:Motion,(rent*hued j i) • H j (v (prev j i)):=rfl |
| 46 | def Plot (H:Motion→ Module.End ℝ E): Module.End ℝ (Axis → Axis → E) where |
| 47 | toFun v i j:= ∑ k:Motion,(rent*hued k i*hued k j) • H k (v (prev k i) (prev k j)) |
| 48 | map_add' v w:=by ext1 i; ext1 j; simp[smul_add,sum_add_distrib] |
| 49 | map_smul' c v:=by ext1 i;ext1 j; simp[smul_comm c,smul_sum] |
| 50 | lemma plotEq(H : Motion→ Module.End ℝ E)(v)(i j): Plot H v i j=∑ k:Motion,(rent*hued k i*hued k j) • H k (v (prev k i) (prev k j)):=rfl |
| 51 | variable (F:Module.End ℝ E)(H:Motion→Module.End ℝ E) |
| 52 | lemma flower (x:Motion→E)(w:Motion→ℝ)(hX:∀ m,F (x m)=x (dualP m))(hx:∀ m,w (dualP m)=w m): F (∑ i:Motion,w i • x i)=∑ i,w i • x i:=by rw[map_sum]; simp_rw [map_smul,hX]; exact Fintype.sum_equiv dualP _ _ (fun i=>by rw[hx]) |
| 53 | end amap |
| 54 | section re |
| 55 | lemma blade (F:Frame G 5)(v:Axis→ F.Coeff): Reed (Prism F) v ∈ Bowl F:=by |
| 56 | constructor |
| 57 | · intro i; rw[reedEq]; exact flower _ _ _ (fun i=>shield F i _) (fun m=>rfl) |
| 58 | intro s i; rw[reedEq,reedEq,map_sum,smul_sum];simp_rw [map_smul]; refine Fintype.sum_equiv (splitP s) _ _ (fun x=> ?_); rw [prev_step,hue_step,arrow]; rw[smul_smul]; congr 1; have hs:= sign_sq s i;linear_combination (norm:=ring) -(rent*hued x i)* hs |
| 59 | lemma shard (F:Frame G 4)(v:Axis→ Axis→ F.Coeff) (ht:∀ i j,v i j=v j i): Plot (Prism F) v∈ Cone F:=by |
| 60 | let H:= Prism F; let P:=Plot H v |
| 61 | have hs(t:Signed)(i j:Axis): reflA F t (P i j)=(sign t i*sign t j) • P (t.perm i) (t.perm j):=by |
| 62 | unfold P; rw[plotEq,plotEq,map_sum,smul_sum]; simp_rw [map_smul]; refine Fintype.sum_equiv (splitP t) _ _ (fun x=>?_); unfold H; rw[hue_step,hue_step,prev_step,prev_step,arrow,smul_smul]; |
| 63 | refine congr_arg (· • _) ?_; have he : sign t i^2=1:=sign_sq _ _; have hp:= sign_sq t j; linear_combination (norm:=ring) -(rent*hued x i*hued x j)*( hp+(sign t j)^2 * he) |
| 64 | refine ⟨fun i j=> ?_, fun i j=> by rw [plotEq]; exact flower _ _ _ (fun i=>shield F i _) (fun m=>rfl),hs⟩ |
| 65 | rw[plotEq,plotEq]; exact Finset.sum_congr rfl (fun b h=>by rw [ht (prev b i),mul_right_comm rent]) |
| 66 | variable {d:ℕ} |
| 67 | lemma blade_cost (F:Frame G d)(v:Axis→ F.Coeff)(t:ℝ)(h:∀ i,F.coeffSize (v i) ≤ t)(i:Axis): F.coeffSize (Reed (Prism F) v i) ≤ orbitCost F*t:=by |
| 68 | rw[reedEq]; apply cardS; intro m; rw [count_smul,Real.norm_eq_abs,abs_mul,stamp _ _ i,mul_one,abs_of_pos rent_pos] |
| 69 | exact mul_le_mul_of_nonneg_left ((patch_cost ..).trans (mul_le_mul_of_nonneg_left (h (prev m i)) (zero_le_one.trans (orbitCost_one_le ..)))) rent_pos.le |
| 70 | end re |
| 71 | end YM.Trace.Terrace.Glade |