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.Pert.Weak |
| 2 | import YM.Next.MAXWELL.Lit |
| 3 | |
| 4 | /-! |
| 5 | Ward calibration and the order-zero insertions. Not taking conservation as a |
| 6 | field normalization: we use `StressLaws.translation`, on all inner fields, |
| 7 | which fixes the sign/scale in the comparator. |
| 8 | -/ |
| 9 | set_option autoImplicit false |
| 10 | noncomputable section |
| 11 | namespace YM.Pert |
| 12 | open Function Filter Climb Org Next.UVStress Spec Table Ward |
| 13 | open scoped Topology ContDiff BigOperators Matrix.Norms.Frobenius |
| 14 | variable {G : Gauge} |
| 15 | |
| 16 | section Canonical |
| 17 | open UVNext.FreeStress Maxwell |
| 18 | variable (F : Labels.Frames G) |
| 19 | |
| 20 | theorem initial_curl (a b : Axis) (c : G.ColorIndex) : curlProbe (initialPlace a b) c=Free.omegaLeg c a b := |
| 21 | congrArg (fun p : Fin 0 → E4=>Maxwell.constrain (Maxwell.fromF G p c a b)) (Subsingleton.elim ..) |
| 22 | |
| 23 | theorem address_flat (a k b j : Axis) : Free.address F 4 (flat F a k b j)=Free.phi a b k j := by |
| 24 | change ((Free.fields F 4) ((freeTable F).project 4 ((F.level _).coords (ff G 4 le_rfl a k b j)))).val=_ |
| 25 | rw [Free.fields_eval] |
| 26 | change observable G 4 ((F.level 4).coords.symm ((F.level 4).coords _))=_ |
| 27 | rw [LinearEquiv.symm_apply_apply,ff,shell_bond]; simp_rw [initial_curl]; rfl |
| 28 | |
| 29 | theorem address_panel (a b : Axis) : panel F a b = (Free.fields F 4).symm |
| 30 | ⟨Free.sheetEnergy a b,by |
| 31 | simp_rw [Free.sheetEnergy, ← address_flat F] |
| 32 | exact Submodule.sum_mem _ fun _ _ => Free.address_in _ _ _⟩ := by |
| 33 | apply Free.address_inj F |
| 34 | trans Free.sheetEnergy a b |
| 35 | · rw [panel,map_sum]; simp_rw [address_flat]; rfl |
| 36 | exact Eq.symm (congrArg Subtype.val ((Free.fields F 4).apply_symm_apply _)) |
| 37 | |
| 38 | theorem common_stress : torch F 1 = Free.original F := by |
| 39 | funext a b; apply Free.address_inj F |
| 40 | rw [torch,one_smul,canonicalStress,map_sub,Free.inertia,Free.polStress] |
| 41 | have h (x y : Axis) : Free.address F 4 (panel F x y) = Free.sheetEnergy x y := by |
| 42 | rw [panel,map_sum]; simp_rw [address_flat]; rfl |
| 43 | rw [h] |
| 44 | split_ifs with ht |
| 45 | · subst b; rw [total,map_smul,map_sum]; |
| 46 | simp_rw [show ∀ i : Axis, Free.address F 4 (∑ k, flat F i k i k) = Free.sheetEnergy i i from fun i=> h i i, |
| 47 | Free.kr] |
| 48 | simp |
| 49 | rw [map_zero]; simp_rw [Free.kr]; simp [ht] |
| 50 | end Canonical |
| 51 | section Normalize |
| 52 | variable {C : Family G} {S : Table C.book} {F : Extraction.Order} {W : DiffPlan S} |
| 53 | {M : MaxwellData C} {I : IR (C:=C) S} {X : Scaling S} |
| 54 | |
| 55 | variable (p : Supplier F W M I X) |
| 56 | |
| 57 | theorem same_translation {B0 : Register G} {S : Table B0} {d0 d1 : ℝ} {L : S.Stress} (h : S.Hierarchy) {D : DiffPlan S} {A B : SpinRows S} |
| 58 | (hn : leaves D.deriv 4 ≠ 0) (hA : StressLaws S L (d0 • D.deriv) A) (hB : StressLaws S L (d1 • D.deriv) B) : |
| 59 | d0=d1 := by |
| 60 | suffices e : d0 • leaves D.deriv 4=d1 • leaves D.deriv 4 from smul_left_injective ℝ hn e |
| 61 | funext b; apply ContinuousLinearMap.ext; intro v; apply S.field_ext h.laws.toSymmetric; intro n q x hx |
| 62 | obtain ⟨χ,hχ⟩ := Work.A01.exists_window x hx |
| 63 | exact (hA.translation hx q hχ b 4 v).symm.trans (hB.translation hx q hχ b 4 v) |
| 64 | |
| 65 | set_option maxHeartbeats 500000 in |
| 66 | theorem kappa_eq (hG : G.Simple) (hM : M.T.W=Maxwell.Free.scheme C.labels) (hJ : M.T.J=UVNext.FreeStress.torch C.book.grid 1) : M.T.κ=(-1:ℝ) := by |
| 67 | have hM : M.T.W=Maxwell.Free.scheme C.book.grid := hM |
| 68 | have hi := M.lit.delta |
| 69 | have ht := (Maxwell.Free.shines C.book hG 1 one_ne_zero).delta |
| 70 | have hh : StressLaws (Bel C.book) M.T.J (-(1:ℝ) • M.T.W.deriv) (-(1:ℝ) • (Maxwell.Free.gear C.book.grid).lie) := by |
| 71 | rw [hM,hJ,common_stress] |
| 72 | simpa only [Maxwell.Free.herald,one_smul] using ht |
| 73 | let L := Bel C.book |
| 74 | exact same_translation (S:=Bel C.book) M.hT M.lit.born hi hh |
| 75 | |
| 76 | abbrev Slots (n : ℕ) := Fin n |
| 77 | def mixedTag {n : ℕ} (q : Slots n → (Bel C.book).Tag) (isJ : Slots n → Bool) |
| 78 | (ab : Slots n → Axis × Axis) (T0 : (Bel C.book).Stress) (i : Slots n) : (Bel C.book).Tag := |
| 79 | if isJ i then ⟨4,T0 (ab i).1 (ab i).2⟩ else q i |
| 80 | |
| 81 | def scaledPhysical (X : Scaling S) (J : S.Stress) (k : ℕ) {n : ℕ} (q : Slots n → (Bel C.book).Tag) |
| 82 | (isJ : Slots n → Bool) (ab : Slots n → Axis × Axis) (i : Slots n) : S.Tag := |
| 83 | if isJ i then ⟨4,((X.r k^4 : ℝ):ℂ) • J (ab i).1 (ab i).2⟩ else ⟨_,X.U k _ (q i).2⟩ |
| 84 | |
| 85 | set_option maxHeartbeats 700000 in |
| 86 | include p in |
| 87 | lemma mixed_leading {c U J} (b : Tab S W M I p.uv c U J) {n : ℕ} (q : Slots n → (Bel C.book).Tag) |
| 88 | (isJ : Slots n → Bool) (ab : Slots n → Axis × Axis) (j : ℕ) {K : Set (Points n)} (hK : IsCompact K) |
| 89 | (hsep : K ⊆ conf n) {ε : ℝ} (he : 0 < ε) : |
| 90 | ∀ᶠ k in atTop, ∀ x ∈ K, ‖iteratedFDeriv ℝ j (fun z => disc (scaledPhysical X J k q isJ ab) (X.r k • z)) x- |
| 91 | iteratedFDeriv ℝ j (disc (mixedTag q isJ ab ((M.T.κ)⁻¹ • M.T.J))) x‖ ≤ ε := by |
| 92 | let d (i : Slots n) : ℕ := if isJ i then 4 else (q i).1 |
| 93 | let f (i : Slots n) := mixedTag (C:=C) q isJ ab ((M.T.κ)⁻¹ • M.T.J) i |
| 94 | let g (k : ℕ) (i : Slots n) := scaledPhysical X J k q isJ ab i |
| 95 | have hs i : (f i).1=d i := by cases hq : isJ i <;> simp [f,mixedTag,hq,d] |
| 96 | have ht k i : (g k i).1=d i := by cases hq : isJ i <;> simp [g,scaledPhysical,hq,d] |
| 97 | let u (i : Slots n) : (Bel C.book).Field (d i) := _root_.cast (congrArg _ (hs i)) (f i).2 |
| 98 | let v (k : ℕ) (i : Slots n) : (Bel C.book).Field (d i) := (X.U k (d i)).symm (_root_.cast (congrArg _ (ht k i)) ((g k i).2)) |
| 99 | have hu : hang d u=f := funext fun i => Sigma.ext (hs i).symm (show (_root_.cast _ _ ≍ _) from cast_heq ..) |
| 100 | have hv k : panels (isoPanel X k) ∘ hang d (v k)=g k := by |
| 101 | funext i; change (⟨d i,X.U k (d i) ((X.U k (d i)).symm _)⟩ : S.Tag)=_ |
| 102 | rw [LinearEquiv.apply_symm_apply]; exact Sigma.ext (ht k i).symm (show (_root_.cast _ _ ≍ _) from cast_heq ..) |
| 103 | have hl (i : Slots n) : Tendsto (fun k => v k i) atTop (𝓝 (u i)) := by |
| 104 | have hf (s : Bool) : |
| 105 | let d : ℕ := if s then 4 else (q i).1 |
| 106 | let g (k : ℕ) := if s then (⟨4, (↑(X.r k^4:ℝ):ℂ) • J (ab i).1 (ab i).2⟩ : S.Tag) else ⟨(q i).1, X.U k _ (q i).2⟩ |
| 107 | let f := if s then (⟨4, (M.T.κ)⁻¹ • M.T.J (ab i).1 (ab i).2⟩ : (Bel C.book).Tag) else q i |
| 108 | ∀ (h : f.1=d) (h' : ∀ k, (g k).1=d), Tendsto (fun k => (X.U k d).symm (_root_.cast (congrArg _ (h' k)) (g k).2)) atTop |
| 109 | (𝓝 (_root_.cast (congrArg ((Bel C.book).Field) h) f.2)) := by |
| 110 | cases s |
| 111 | · change ∀ h h', Tendsto (fun k => (X.U k (q i).1).symm (X.U k _ _)) atTop (𝓝 _) |
| 112 | simp |
| 113 | change ∀ h h', Tendsto (fun k => (X.U k 4).symm ((↑(X.r k^4:ℝ):ℂ) • _)) atTop (𝓝 _) |
| 114 | intro _ _ |
| 115 | apply meter_physical p b.locality.conserved (fun s i j => ?_) b.locality.charges |
| 116 | rw [← b.locality.spots.signed] |
| 117 | exact b.locality.spin .. |
| 118 | change Tendsto (fun k => (X.U k _).symm (_root_.cast (congrArg _ (ht k i)) (g k i).2)) _ |
| 119 | (𝓝 (_root_.cast (congrArg ((Bel C.book).Field) (hs i)) (f i).2)) |
| 120 | exact hf (isJ i) (hs i) fun k=>ht k i |
| 121 | have e := travels_jet p.uv.basis.kernel p.deriv M.hT M.lit.pales X p.limit_ v u hl j K hK hsep ε he |
| 122 | filter_upwards [e] with k hk |
| 123 | unfold Next.UVStress.tested at hk |
| 124 | rw [hv, hu] at hk; exact hk |
| 125 | end Normalize |
| 126 | end YM.Pert |