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.Extra.WEAK_SCALING_ACTLAW.Jets |
| 2 | |
| 3 | /-! |
| 4 | # Normalization and stress limit on the very same weak coordinates |
| 5 | |
| 6 | The finite-dimensional Maxwell line calculation and the physically nontrivial |
| 7 | centered choice of IR stress are exposed inputs. NOT consequences assumed in |
| 8 | `Pre`. Positive scales normalize the full coefficient tensor; its normalized |
| 9 | vacuum entry is zero no matter how small xi gets. No lower bound for xi. A |
| 10 | sign subsequence may be necessary -- one sign on cofinal demands suffices, |
| 11 | and flipping the Lighthouse flips kappa **with** its J even in the actual |
| 12 | translation/angular laws. |
| 13 | -/ |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.Extra.WeakScaling |
| 17 | open Function Set Filter Table Ward Org Climb |
| 18 | open scoped Topology ContDiff |
| 19 | variable {G : Gauge} {L : Register G} {S : Table L} |
| 20 | |
| 21 | def flip (T : Lighthouse L) : Lighthouse L := { T with κ := -T.κ, hκ := neg_ne_zero.mpr T.hκ, J := -T.J } |
| 22 | |
| 23 | private noncomputable local instance : AddCommGroup (Ward.SpinRows S) := by |
| 24 | letI : ∀ d, AddCommGroup (Ortho.Skew→ₗ[ℝ] (S.Field d →ₗ[ℂ] S.Field d)) := fun d => by infer_instance |
| 25 | infer_instance |
| 26 | |
| 27 | lemma laws_neg (H : S.Hierarchy) {J : S.Stress} {p : Parts S} {Y : SpinRows S} (h : StressLaws S J p Y) : |
| 28 | StressLaws S (-J) (-p) (-Y) := by |
| 29 | refine ⟨fun {_ _} hx q {_} w b d B => ?_, fun {_ _} hx q {_} w g d B => ?_⟩ |
| 30 | · rw [← Work.A15.translationFlux_apply hx w H.smooth, map_neg,Work.A15.translationFlux_apply, |
| 31 | h.translation hx q w, ← Work.A15.front_apply, ← Work.A15.front_apply,Pi.neg_apply,Pi.neg_apply, |
| 32 | LinearMap.neg_apply,map_neg] |
| 33 | have he : ((-Y) d g B) = -(Y d g B) := rfl |
| 34 | rw [← Work.A15.angularFlux_apply hx w H.smooth,map_neg,Work.A15.angularFlux_apply, |
| 35 | h.rotation hx q w, ← Work.A15.front_apply, ← Work.A15.front_apply, he,map_neg] |
| 36 | |
| 37 | lemma goes_flip (H : (Bel L).Hierarchy) {T : Lighthouse L} (h : T.Goes L H.spin) : (flip T).Goes L H.spin := by |
| 38 | refine { h with delta := ?_ } |
| 39 | change StressLaws (Bel L) (-T.J) ((-T.κ) • T.W.deriv) ((-T.κ) • T.K.lie) |
| 40 | rw [show (-T.κ) • T.W.deriv = -(T.κ • T.W.deriv) from neg_smul (M:=Parts (Bel L)) T.κ (T.W.deriv : Parts (Bel L)), neg_smul]; exact laws_neg H h.delta |
| 41 | |
| 42 | variable {C : Family G} |
| 43 | def negative (W : MaxwellData C) : MaxwellData C := { W with T := flip W.T, lit := goes_flip W.hT W.lit } |
| 44 | |
| 45 | def Centered (J : S.Stress) := ∀ a b, Work.A15.front (n:=0) 0 Fin.elim0 4 (J a b) = 0 |
| 46 | |
| 47 | /-- Identifies the free mean-zero conserved H tensor line on the exact free |
| 48 | quotient (requires a choice of Lighthouse with corresponding normalization, |
| 49 | not just any object with angular Ward identities). No physical hypothesis |
| 50 | in this test; see Criteria for simpler finite inputs. -/ |
| 51 | def Line (T : Lighthouse L) (h : (Bel L).RealSpin) := ∀ P : (Bel L).Stress, Conserved T.W h P → |
| 52 | RawTensor h P → Centered P → ∃ c : ℝ, P = c • T.J |
| 53 | |
| 54 | lemma downwards {P : ℕ → Prop} (hp : ∀ᶠ i : ℕ in atTop, P i) {r : ℕ → ℝ} (hr : ∀ i, 0 < r i) |
| 55 | (he : Tendsto r atTop (𝓝 0)) : ∃ s : ℕ → ℕ, StrictMono s ∧ StrictAnti (r ∘ s) ∧ ∀ i, P (s i) := by |
| 56 | choose t ht hf h using fun i => ((eventually_gt_atTop i).and (hp.and (he.eventually (gt_mem_nhds (hr i))))).exists |
| 57 | obtain ⟨z,hz⟩ := hp.exists |
| 58 | let s : ℕ → ℕ := Nat.rec z fun _ i => t i |
| 59 | refine ⟨s,strictMono_nat_of_lt_succ (fun n => ht _),strictAnti_nat_of_succ_lt (fun n => h _),?_⟩ |
| 60 | intro i; cases i with |
| 61 | | zero => exact hz |
| 62 | | succ i => exact hf _ |
| 63 | |
| 64 | namespace Curve |
| 65 | variable {S : Table C.book} {V : DiffPlan S} {T : Lighthouse C.book} |
| 66 | variable {h : S.RealSpin} {H : (Free C).RealSpin} {M D N m d : ℕ} {Q R : ℝ} (b : Curve V T.W h H M D Q) |
| 67 | |
| 68 | /-- Unweighted weak coordinates before positive normalization. -/ |
| 69 | def pull (J : S.Stress) (k : ℕ) : (Free C).Stress := fun a c => (b.X k 4).symm (J a c) |
| 70 | lemma pull_norm {J : S.Stress} (hJ : J ≠ 0) (k : ℕ) : 0 < ‖b.pull J k‖ := by |
| 71 | apply norm_pos_iff.mpr |
| 72 | intro e |
| 73 | exact hJ (funext fun a => funext fun c => (b.X k 4).symm.injective ((congrFun (congrFun e a) c).trans (map_zero _).symm)) |
| 74 | |
| 75 | def micro (J : S.Stress) (k : ℕ) : (Free C).Stress := ‖b.pull J k‖⁻¹ • b.pull J k |
| 76 | lemma micro_norm {J : S.Stress} (hJ : J ≠ 0) (k : ℕ) : ‖b.micro J k‖ = 1 := by |
| 77 | rw [micro,norm_smul,Real.norm_eq_abs,abs_of_pos (inv_pos.mpr (b.pull_norm hJ k)), inv_mul_cancel₀ (b.pull_norm hJ k).ne'] |
| 78 | |
| 79 | lemma micro_eval (J : S.Stress) (k a c) : b.X k 4 (b.micro J k a c) = (‖b.pull J k‖⁻¹:ℝ) • J a c := by |
| 80 | dsimp only [micro,pull,Pi.smul_apply] |
| 81 | simp [RCLike.real_smul_eq_coe_smul (K:=ℂ)] |
| 82 | |
| 83 | private lemma converges_on {j : ℕ → (Free C).Stress} {z} (h : Tendsto j atTop (𝓝 z)) (a c : Axis) : |
| 84 | Tendsto (fun k => j k a c) atTop (𝓝 (z a c)) := tendsto_pi_nhds.mp (tendsto_pi_nhds.mp h a) c |
| 85 | |
| 86 | lemma survives (hQ : 0 < Q) (hd : 4 < D) (hn : 1 ≤ M) (hS : S.Hierarchy) (hV : V.Derivatives S) {J : S.Stress} |
| 87 | (hv : Conserved V h J) (hw : RawTensor h J) (hz : Centered J) {σ : ℕ → ℕ} (hs : Tendsto σ atTop atTop) |
| 88 | {j : (Free C).Stress} (he : Tendsto (b.micro J ∘ σ) atTop (𝓝 j)) : Conserved T.W H j ∧ RawTensor H j ∧ Centered j := by |
| 89 | have hc (a c) : Tendsto (fun k => b.micro J (σ k) a c) atTop (𝓝 (j a c)) := converges_on he a c |
| 90 | have hg := hs.eventually b.graded |
| 91 | refine ⟨⟨fun a c => tendsto_nhds_unique (f:=fun k => b.micro J (σ k) c a) ?_ (hc c a), fun a c => ?_, fun c => ?_⟩, |
| 92 | fun g a c => ?_, fun a c => ?_⟩ |
| 93 | · exact (hc a c).congr' (Eventually.of_forall fun k => (b.X (σ k) 4).injective (by rw [micro_eval,micro_eval,hv.symmetric a c])) |
| 94 | · have ht := ((YM.Spin.cont_conj H 4).tendsto _).comp (hc a c) |
| 95 | apply tendsto_nhds_unique (ht.congr' ?_) (hc a c) |
| 96 | filter_upwards [hg] with k hk |
| 97 | apply (b.X (σ k) 4).injective |
| 98 | change b.X _ 4 ((Free C).conj H 4 _) = _ |
| 99 | have hh v : b.X (σ k) 4 ((Free C).conj H 4 v) = S.conj h 4 (b.X (σ k) 4 v) := (hk.1 4 hd.le).2.1 v |
| 100 | rw [hh,b.micro_eval,RCLike.real_smul_eq_coe_smul (K:=ℂ),map_smulₛₗ,RCLike.conj_ofReal,hv.real] |
| 101 | · let F (k : ℕ) (a : Axis) := (b.X k 5).symm.toLinearMap.comp ((b.r k • V.deriv 4 a).comp (b.X k 4).toLinearMap) |
| 102 | have hi (a : Axis) := Dash.arcing ((Dash.fit_plane (fun k => F k a) (T.W.deriv 4 a) (b.deriv 4 hd a)).comp hs) (hc a c) |
| 103 | apply tendsto_nhds_unique ((tendsto_finsetSum Finset.univ (fun a _ => hi a)).congr' ?_) tendsto_const_nhds |
| 104 | refine Eventually.of_forall fun k => (b.X (σ k) 5).injective ?_ |
| 105 | have hterm (a : Axis) (k) : b.X k 5 (F k a (b.micro J k a c)) = (b.r k*‖b.pull J k‖⁻¹ : ℝ) • V.deriv 4 a (J a c) := by |
| 106 | simp only [F, LinearMap.comp_apply,LinearEquiv.coe_coe,LinearEquiv.apply_symm_apply,b.micro_eval,LinearMap.smul_apply, |
| 107 | RCLike.real_smul_eq_coe_smul (K:=ℂ),map_smul,RCLike.ofReal_mul,mul_smul]; exact smul_comm .. |
| 108 | change b.X _ 5 (∑ a, F _ a _) = b.X _ 5 0 |
| 109 | rw [_root_.map_sum,map_zero]; simp_rw [hterm,← Finset.smul_sum,hv.divergence,smul_zero] |
| 110 | · let l (i j : Axis) := ((g.matrix i a * g.matrix j c : ℝ) : ℂ) |
| 111 | have ht := (((Free C).mirror H 4 g).continuous_of_finiteDimensional.tendsto _).comp (hc a c) |
| 112 | apply tendsto_nhds_unique (ht.congr' ?_) (tendsto_finsetSum Finset.univ (fun i _ => tendsto_finsetSum Finset.univ |
| 113 | (fun j _ => (hc i j).const_smul (l i j)))) |
| 114 | filter_upwards [hg] with k hk |
| 115 | have hh v : b.X (σ k) 4 ((Free C).mirror H 4 g v) = S.mirror h 4 g (b.X (σ k) 4 v) := (hk.1 4 hd.le).1 g v |
| 116 | apply (b.X (σ k) 4).injective |
| 117 | change b.X _ 4 ((Free C).mirror H 4 g _) = b.X _ 4 (∑ i, ∑ j, l i j • _) |
| 118 | simp_rw [hh,_root_.map_sum,map_smul,b.micro_eval,RCLike.real_smul_eq_coe_smul (K:=ℂ),map_smul,hw g a c, Finset.smul_sum] |
| 119 | exact Finset.sum_congr rfl fun i _ => Finset.sum_congr rfl fun j _ => smul_comm .. |
| 120 | have ht := b.mixture (v := fun _ : Fin 1 => (⟨4,j a c⟩ : (Free C).Tag)) (w:=fun k _ => ⟨4,b.micro J (σ k) a c⟩) |
| 121 | (x:=0) hS hV hQ hn (fun _ => ⟨4,le_rfl,_,_,hc a c,rfl,fun _ => rfl⟩) hd hs |
| 122 | (show 0 ∈ apart Q 1 from ⟨by simpa,fun i j hij => False.elim (hij (Subsingleton.elim _ _))⟩) tendsto_const_nhds |
| 123 | have hh (z : (Free C).Field 4) : (fun _ : Fin 1 => (⟨4,z⟩ : (Free C).Tag)) = Fin.cons ⟨4,z⟩ Fin.elim0 := |
| 124 | funext (Fin.cases rfl (fun i => i.elim0)) |
| 125 | rw [hh] at ht |
| 126 | rw [Work.A15.front_apply] |
| 127 | refine tendsto_nhds_unique (ht.congr' ?_) tendsto_const_nhds |
| 128 | refine Eventually.of_forall fun k => ?_ |
| 129 | let v := b.micro J (σ k) a c |
| 130 | have he : routed (forgetting b.X) (σ k) ∘ (fun _ : Fin 1 => (⟨4,v⟩ : (Free C).Tag)) = Fin.cons |
| 131 | (⟨4,b.X (σ k) 4 v⟩ : S.Tag) Fin.elim0 := funext (Fin.cases rfl (fun i => i.elim0)) |
| 132 | change disc _ (b.r _ • (0 : Points 1)) = 0 |
| 133 | rw [he,disc,smul_zero, ← Work.A15.front_apply,b.micro_eval] |
| 134 | simp only [RCLike.real_smul_eq_coe_smul (K:=ℂ),map_smul,hz a c,smul_zero] |
| 135 | |
| 136 | lemma tracks (hr : 1 ≤ R) (hQ : R < Q) (hn : N ≤ M) (hd : d + m < D) (h₄ : 4 < D) |
| 137 | (hS : S.Hierarchy) (hV : V.Derivatives S) (hH : (Free C).Hierarchy) (hW : T.W.Derivatives (Free C)) |
| 138 | {J : S.Stress} (hJ : J ≠ 0) {σ : ℕ → ℕ} (hs : Tendsto σ atTop atTop) {c : ℝ} |
| 139 | (hpos : 0 < c) (he : Tendsto (b.micro J ∘ σ) atTop (𝓝 (c • T.J))) : |
| 140 | ∃ X, Track X V T J h H N d m R := by |
| 141 | obtain ⟨u,hu,ha,hp⟩ := downwards (hs.eventually b.graded) (fun i => b.pos (σ i)) (b.shrinks.comp hs) |
| 142 | let s := σ ∘ u |
| 143 | have ht : Tendsto s atTop atTop := hs.comp hu.tendsto_atTop |
| 144 | let t k := b.r (s k) |
| 145 | have hw k := b.pull_norm hJ k |
| 146 | let X : Scaling S := ⟨b.X ∘ s, fun k => c*‖b.pull J (s k)‖*(t k)^4,t,fun k => by |
| 147 | have hr := b.pos (s k); have := hw (s k); dsimp only [t]; positivity, fun k => b.pos _,ha,b.shrinks.comp ht⟩ |
| 148 | refine ⟨X,⟨⟨fun k e hb => ⟨((hp k).1 e (by omega)).1,((hp k).1 e (by omega)).2.1⟩, |
| 149 | fun k e hb => ((hp k).1 e (by omega)).2.2,fun k i e h h' v => (hp k).2 i e h (by omega) v⟩, |
| 150 | fun n hy j hj v hv ε hε => ht.eventually (b.tested hS hV hH hW hr hQ (hy.trans hn) v hv j (by omega) ε hε), |
| 151 | fun i j => ?_⟩⟩ |
| 152 | have hi := (converges_on (he.comp hu.tendsto_atTop) i j).const_smul (c⁻¹ : ℝ) |
| 153 | change Tendsto _ _ (𝓝 ((c⁻¹:ℝ) • c • T.J i j)) at hi |
| 154 | rw [inv_smul_smul₀ hpos.ne'] at hi |
| 155 | apply hi.congr |
| 156 | intro k |
| 157 | change (c⁻¹:ℝ) • b.micro J (s k) i j = (b.X (s k) 4).symm ((↑((_ : ℝ) * (t k)^4) : ℂ) • J i j) |
| 158 | have hr : t k ≠ 0 := (b.pos _).ne' |
| 159 | rw [map_smul,show (c*‖b.pull J (s k)‖*t k^4)⁻¹*t k^4 = c⁻¹*‖b.pull J (s k)‖⁻¹ by field_simp] |
| 160 | exact (mul_smul (c⁻¹:ℝ) ‖b.pull J (s k)‖⁻¹ _).symm.trans (RCLike.real_smul_eq_coe_smul (K:=ℂ) _ _) |
| 161 | |
| 162 | private def turn : Curve V (flip T).W h H M D Q := b |
| 163 | include b in |
| 164 | lemma choose_track (hr : 1 ≤ R) (hQ : R < Q) (hn : max N 1 ≤ M) (hd : max d 4 + m < D) |
| 165 | (hS : S.Hierarchy) (hV : V.Derivatives S) (hH : (Free C).Hierarchy) (hW : T.W.Derivatives (Free C)) |
| 166 | {J : S.Stress} (hJ : J ≠ 0) (hv : Conserved V h J) (hw : RawTensor h J) (hz : Centered J) |
| 167 | (hl : Line T H) : (∃ X, Track X V T J h H N d m R) ∨ (∃ X, Track X V (flip T) J h H N d m R) := by |
| 168 | haveI : ProperSpace ((Free C).Stress) := FiniteDimensional.proper ℂ _ |
| 169 | obtain ⟨z,-,σ,hs,ht⟩ := (isCompact_closedBall (0 : (Free C).Stress) 1).tendsto_subseq |
| 170 | (fun k => show b.micro J k ∈ Metric.closedBall _ _ by simp [b.micro_norm hJ k]) |
| 171 | have he : ‖z‖ = 1 := tendsto_nhds_unique ht.norm (by simp only [comp_apply, b.micro_norm hJ]; exact tendsto_const_nhds) |
| 172 | obtain ⟨h₁,h₂,h₃⟩ := b.survives (by linarith) (by omega) (by omega) hS hV hv hw hz hs.tendsto_atTop ht |
| 173 | obtain ⟨c,rfl⟩ := hl _ h₁ h₂ h₃ |
| 174 | have h : c ≠ 0 := by rintro rfl; simp at he |
| 175 | rcases h.lt_or_gt with h | h |
| 176 | · have hh : c • T.J = (-c) • (flip T).J := by simp [flip] |
| 177 | exact Or.inr (b.turn.tracks (T:=flip T) hr hQ (by omega) (by omega) (by omega) hS hV hH hW hJ hs.tendsto_atTop (by linarith : 0 < -c) (hh ▸ ht)) |
| 178 | exact Or.inl (b.tracks hr hQ (by omega) (by omega) (by omega) hS hV hH hW hJ hs.tendsto_atTop h ht) |
| 179 | end Curve |
| 180 | end YM.Extra.WeakScaling |