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.AnalyticNext.CONNECTED_ACTIVITY_JETS_E6.Hood |
| 2 | import YM.AnalyticNext.CONNECTED_ACTIVITY_JETS_E6.JacF |
| 3 | |
| 4 | /-! # Root-change integer unimodularity on full measure space -/ |
| 5 | set_option autoImplicit false |
| 6 | noncomputable section |
| 7 | namespace YM.ConnectedActivityE6.TreeColor |
| 8 | open Filter Function Lattice RG Pressure Pressure.Stores Pressure.Tube Tree Wilson Finset MeasureTheory Matrix |
| 9 | open Push Push.AbsoluteSums Precision Exterior Shell Channel Next.Fluctuations SectorMeasure Oriented Work.E03 |
| 10 | open Bloch Laurent SliceRows Mask Tags Progress.StationaryScenes Green Census Work.F03 Animals Control Window Coat Footprint Raw |
| 11 | open Pulse Itinerary Bid Packets |
| 12 | open scoped Topology InnerProductSpace Matrix.Norms.Frobenius ContDiff BigOperators Classical |
| 13 | variable {G : Gauge} {c f L : Side} {S : StepData c f} (F H : Forest S.ratio) (t : (↥F.trunks)≃↥H.trunks) |
| 14 | variable (A : Type) [CommRing A] |
| 15 | |
| 16 | def shifts (v : Tubular f G → A) : Tubular f G → A := fun i=> surgery F H t (fun j=> v (j,i.2)) i.1 |
| 17 | private lemma sc_mul (a:A) (u : Bond f → A) : bundled F (a • u)=a • bundled F u := by |
| 18 | have he x w:linkSum (a • u) x w=a • linkSum u x w := by |
| 19 | induction w generalizing x with |
| 20 | | nil => simp [linkSum] |
| 21 | | cons d w ih=> rw [linkSum,linkSum,ih]; split <;> simp [*,mul_add] |
| 22 | unfold bundled aligns; simp_rw [he]; funext i; simp only [gradient,Pi.add_apply,Pi.smul_apply]; module |
| 23 | |
| 24 | def scaleMatrix (G : Gauge) : Matrix (Tubular f G) (Tubular f G) A := LinearMap.toMatrix' (show Module.End A (Tubular f G → A) from |
| 25 | { toFun := shifts F H t A |
| 26 | map_add' a b := by |
| 27 | funext i; let u j:= a (j,i.snd); let v j:=b (j,i.snd); unfold shifts surgery; rw [Pi.add_apply]; split <;> rename_i h |
| 28 | · rfl |
| 29 | have he : directF F (u+v)=directF F u+directF F v:= by funext i; unfold directF; rw [Pi.add_apply]; split <;> simp_all |
| 30 | change bundled H (directF F (u+v)) i.1=_; rw [he,bundle_sum]; rfl |
| 31 | map_smul' a b := by |
| 32 | funext i; let u j:= b (j,i.snd); unfold shifts surgery; rw [Pi.smul_apply]; split <;> rename_i h |
| 33 | · rfl |
| 34 | have he : directF F (a • u)=a • directF F u:= by funext i; unfold directF; rw [Pi.smul_apply]; split <;> simp_all |
| 35 | change bundled H (directF F (a • u)) i.1=_; rw [he,sc_mul]; rfl }) |
| 36 | lemma consents (a : Tubular f G → A) : scaleMatrix F H t A G *ᵥ a=shifts F H t A a := by unfold scaleMatrix; rw [LinearMap.toMatrix'_mulVec]; rfl |
| 37 | lemma receives (G : Gauge) : scaleMatrix F H t A G*scaleMatrix H F t.symm A G=1 := by |
| 38 | apply Matrix.toLin'.injective; apply LinearMap.ext; intro a; change _ *ᵥ a=(1:Matrix ..) *ᵥ a |
| 39 | rw [← Matrix.mulVec_mulVec, consents,consents,Matrix.one_mulVec]; funext i |
| 40 | exact congr_fun (stays_all H F t.symm (fun j=> a (j,i.2))) i.1 |
| 41 | |
| 42 | variable {W : Type} [AddCommGroup W] {V : Type} [AddCommGroup V] |
| 43 | omit [CommRing A] |
| 44 | lemma add_transport (v : Bond f → W) (L : W→+V) : surgery F H t (L ∘ v)=L ∘ surgery F H t v := by |
| 45 | have he (x : Site f) p (u: Bond f→ W): linkSum (L ∘ u) x p = L (linkSum u x p) := by |
| 46 | induction p generalizing x with |
| 47 | | nil => simp [linkSum] |
| 48 | | cons d p ih => rw [linkSum,linkSum,ih]; split <;> simp [*] |
| 49 | have hp : directF F (L ∘ v) = L ∘ directF F v := by funext i; unfold directF; rw [Function.comp_apply]; split <;> simp_all |
| 50 | funext i; unfold surgery; rw [Function.comp_apply]; split <;> rename_i h |
| 51 | · rfl |
| 52 | rw [hp]; unfold bundled aligns gradient; simp only [he, Function.comp_apply, Pi.add_apply,map_add,map_sub] |
| 53 | |
| 54 | lemma no_mas (G : Gauge) : |(scaleMatrix F H t ℝ G).det|=1 := by |
| 55 | let A:= scaleMatrix F H t ℤ G; let B:= scaleMatrix F H t ℝ G |
| 56 | have hp : |A.det|=1:= Int.isUnit_iff_abs_eq.mp (Matrix.isUnit_det_of_right_inverse (receives F H t ℤ G)) |
| 57 | let f' := Int.castRingHom ℝ |
| 58 | have he : B=(f'.mapMatrix) A := by |
| 59 | ext i j; change B i j=f' (A i j) |
| 60 | let e: Tubular f G→ℤ := Pi.single j 1 |
| 61 | let v: Tubular f G→ℝ := Pi.single j 1 |
| 62 | have hz : v=f' ∘ e := by funext k; simp [e,v,Pi.single_apply] |
| 63 | have ha : ((B *ᵥ v) i)=B i j := congr_fun (Matrix.mulVec_single_one B j) i |
| 64 | have hb : ((A *ᵥ e) i)=A i j := congr_fun (Matrix.mulVec_single_one A j) i |
| 65 | rw [← ha, ← hb,hz,consents F H,consents F H] |
| 66 | exact congr_fun (add_transport F H t (fun k=> e (k,i.2)) f'.toAddMonoidHom) i.1 |
| 67 | rw [show scaleMatrix F H t ℝ G=B from rfl,he,← RingHom.map_det f' A]; change |(A.det:ℝ)|=1; exact_mod_cast hp |
| 68 | end YM.ConnectedActivityE6.TreeColor |