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.PertExtension.TopCalibration |
| 2 | import YM.Next.RANK.Inks |
| 3 | |
| 4 | /-! Color covariant polynomial data helpers with actual adjoint rotations. -/ |
| 5 | set_option autoImplicit false |
| 6 | set_option maxHeartbeats 2500000 |
| 7 | noncomputable section |
| 8 | namespace YM.PertExtension.Hue |
| 9 | open Function Filter Set Finset MeasureTheory MvPolynomial Lattice Heat.Top Next.Rank |
| 10 | open Next |
| 11 | open scoped Matrix.Norms.Frobenius Topology Classical BigOperators Real ContDiff |
| 12 | attribute [local instance] Gauge.frobInner |
| 13 | variable {G:Gauge}{α β V :Type*} |
| 14 | abbrev Panel (α : Type*)(G : Gauge):=α×G.ColorIndex |
| 15 | abbrev Poly (α) (G:Gauge):= MvPolynomial (Panel α G) ℂ |
| 16 | abbrev Mask (α) (G:Gauge):=α→G.Color |
| 17 | def tint (u:G.El)(q:Mask α G): Mask α G:= fun x=>G.adjoint u (q x) |
| 18 | def display (q:Mask α G):Poly α G →ₐ[ℂ] ℂ:=aeval fun i=> (↑((q i.1) i.2:ℝ):ℂ) |
| 19 | def Fixed (P : Poly α G) := ∀ u x, display (tint u x) P= display x P |
| 20 | def Clear (P : Poly α G) := ∀ x, star (display x P)= display x P |
| 21 | |
| 22 | def rag (u:G.El)(i:Panel α G):Panel α G→₀ℂ:=∑ j:G.ColorIndex,Finsupp.single (i.1,j) ((G.adjoint u (EuclideanSpace.basisFun _ ℝ j) i.2:ℝ):ℂ) |
| 23 | abbrev inked (u:G.El) := Normal.exchange (@rag G α u) |
| 24 | lemma hue (x : Mask α G)(u:G.El)(p:Poly α G) : display (tint u x) p = display x (inked u p):= by |
| 25 | apply DFunLike.congr_fun (g:=(display x).comp (inked u));ext1 i |
| 26 | simp only [display,aeval_X,AlgHom.comp_apply,Normal.exchange_x, Normal.glyph, rag,_root_.map_sum,Finsupp.linearCombination_single,_root_.map_smul] |
| 27 | let B:= (EuclideanSpace.basisFun G.ColorIndex ℝ).toBasis |
| 28 | have he : x i.1=∑ j,B.repr (x i.1) j • B j := (B.sum_repr _).symm |
| 29 | have hv j : B.repr (x i.1) j=x i.1 j := by dsimp only [B];simp |
| 30 | unfold tint |
| 31 | conv_lhs => rw [he,_root_.map_sum] |
| 32 | simp_rw [map_smul] |
| 33 | rw [show ∀ g : G.ColorIndex → G.Color,(∑ i,g i).ofLp i.2=∑ j,(g j).ofLp i.2 from fun g => map_sum (EuclideanSpace.proj i.2 : G.Color →L[ℝ] ℝ) g _,Complex.ofReal_sum] |
| 34 | refine Finset.sum_congr rfl fun j _=> ?_; rw [hv]; change ((↑( (x i.1 j:ℝ)*((G.adjoint u) (B j)) i.2 ):ℂ))= _; rw [Complex.ofReal_mul]; exact mul_comm .. |
| 35 | |
| 36 | lemma touchable {p q:Poly α G}(h: ∀ x, display x p=display x q):p=q:=by |
| 37 | apply Spindle.audible; intro s; let A : Mask α G := fun i=> WithLp.toLp 2 (fun j=>s (i,j)) |
| 38 | exact h A |
| 39 | lemma Fixed.actual {p:Poly α G}(h : Fixed p)(u:G.El):inked u p=p:=by |
| 40 | apply touchable; intro x;rw [← hue,h u] |
| 41 | lemma Clear.actual {p:Poly α G}(h : Clear p): Spindle.retro _ p=p:=by |
| 42 | apply touchable; intro x |
| 43 | have h' := Spindle.escorted (fun i:Panel α G=> x i.1 i.2) p |
| 44 | exact h'.trans (h x) |
| 45 | lemma promote_clear {p:Poly α G} (h:Spindle.retro _ p=p):Clear p:= by |
| 46 | intro x |
| 47 | exact (Spindle.escorted (fun i:Panel α G=> x i.1 i.2) p).symm.trans (congr_arg _ h) |
| 48 | |
| 49 | def Lone {A:Type*}(P:MvPolynomial A ℂ)(k:ℕ):Prop:= IsWeightedHomogeneous (fun _=> (1:ℕ)) P k |
| 50 | |
| 51 | lemma cut_natural {A:Type*}(T:MvPolynomial V ℂ→ₐ[ℂ] MvPolynomial A ℂ)(ht : ∀ (i:V), Lone (T (X i)) 1)(n:ℕ)(P:MvPolynomial V ℂ): T (cut n P)=cut n (T P):=by |
| 52 | induction P using MvPolynomial.induction_on' with |
| 53 | | monomial f r=> |
| 54 | have hp : Lone (T ((monomial f) r)) (Heat.Top.degree f) := by |
| 55 | rw [monomial_eq,map_mul, show T (C r) = C r from T.commutes _] |
| 56 | unfold Finsupp.prod |
| 57 | simp only [map_prod,map_pow] |
| 58 | refine IsWeightedHomogeneous.C_mul ?_ _ |
| 59 | rw [degree_eq];unfold Finsupp.sum |
| 60 | apply IsWeightedHomogeneous.prod;intro i hi |
| 61 | simpa using! IsWeightedHomogeneous.pow (ht i) (f i) |
| 62 | rw [cut_mono];by_cases h:Heat.Top.degree f = n |
| 63 | · rw [← h,if_pos rfl]; exact (hp.weightedHomogeneousComponent_same).symm |
| 64 | rw [if_neg h,map_zero];exact (hp.weightedHomogeneousComponent_ne n (Ne.symm h)).symm |
| 65 | | add p q hi hj => rw [map_add,map_add,map_add,map_add,hi,hj] |
| 66 | |
| 67 | lemma incision (u:G.El)(n : ℕ)(p:Poly α G) : inked u (cut n p)=cut n (inked u p):=by |
| 68 | apply cut_natural; intro i |
| 69 | rw [Normal.exchange_x]; unfold rag; rw [map_sum] |
| 70 | refine IsWeightedHomogeneous.sum _ _ _ ?_ |
| 71 | intro j hj |
| 72 | simp only [Normal.glyph,Finsupp.linearCombination_single,← C_mul'] |
| 73 | exact (isWeightedHomogeneous_X ..).C_mul _ |
| 74 | lemma Fixed.slice {p:Poly α G}(h:Fixed p) (k:ℕ): Fixed (cut k p):=by intro u x; rw [hue,incision,h.actual] |
| 75 | lemma Clear.slice {p:Poly α G}(h:Clear p) (k:ℕ): Clear (cut k p):=promote_clear (calc |
| 76 | _ = cut k (Spindle.retro _ p):=by ext j; simp only [Spindle.retro,coeff_map,cut_coeff];aesop |
| 77 | _ = _ := by rw [h.actual]) |
| 78 | |
| 79 | lemma lift_panel (f:α→β)(P:Poly α G) (x:Mask β G): |
| 80 | display x (rename (fun i=>(f i.1,i.2)) P)=display (x∘f) P:=by unfold display; rw [aeval_rename];rfl |
| 81 | lemma Fixed.relabel (f:α→β){P:Poly α G}(h:Fixed P): Fixed (rename (fun i=>(f i.1,i.2)) P : Poly β G):=by |
| 82 | intro i x; rw [lift_panel,lift_panel];exact h i (x ∘ f) |
| 83 | lemma Clear.relabel (f:α→β){P:Poly α G}(h:Clear P):Clear (rename (fun i=>(f i.1,i.2)) P : Poly β G):=by |
| 84 | intro x;rw [lift_panel,h] |
| 85 | |
| 86 | end YM.PertExtension.Hue |