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.Next.UV_STRESS.Dimension |
| 2 | |
| 3 | /-! |
| 4 | # Normalization on one curve (not a new cutoff extraction) |
| 5 | |
| 6 | The positive xi may be arbitrarily small. We use the *full* inverse |
| 7 | coordinates including scalars so boundedness is automatic; physical centering |
| 8 | is known independently of those bounds and then forces limit centering. |
| 9 | -/ |
| 10 | |
| 11 | set_option autoImplicit false |
| 12 | noncomputable section |
| 13 | namespace YM.Next.UVStress |
| 14 | open Set Function Filter MeasureTheory Analysis Table Ward Climb Extraction |
| 15 | open scoped Topology ContDiff BigOperators |
| 16 | variable {G : Gauge} {C : Family G} {S : Table C.book} {V : DiffPlan (Bel C.book)} {W : DiffPlan S} |
| 17 | |
| 18 | /-- Reindex only the comparison parameter, also allowing change of the |
| 19 | positive normalization. -/ |
| 20 | def narrow (X : Scaling S) (p : Sequence) (w : ℕ → ℝ) (hw : ∀ k,0 < w k) : Scaling S := |
| 21 | ⟨fun k => X.U (p k), w, X.r ∘ p, hw, fun k => X.positive (p k), X.later.comp_strictMono p.monotone, X.drips.comp p.cofinal⟩ |
| 22 | |
| 23 | lemma narrow_path (X : Scaling S) (p : Sequence) (w : ℕ → ℝ) (hw : ∀ k,0 < w k) |
| 24 | (H : Approaches (path X) (isoPanel X)) : Approaches (path (narrow X p w hw)) (isoPanel (narrow X p w hw)) where |
| 25 | values n v := |
| 26 | { smooth := fun k => (H.values n v).smooth (p k) |
| 27 | reads := fun s hs ht M he ε hh => p.cofinal.eventually ((H.values n v).reads s hs ht M he ε hh) } |
| 28 | lemma narrow_stable (X : Scaling S) (p : Sequence) (w : ℕ → ℝ) (hw : ∀ k,0 < w k) |
| 29 | {H a} (ht : Stable H a W V X) : Stable H a W V (narrow X p w hw) := |
| 30 | ⟨fun d => p.cofinal.eventually (ht.hsym d), fun d e u => p.cofinal.eventually (ht.rises d e u), |
| 31 | fun d => p.cofinal.eventually (ht.units d)⟩ |
| 32 | |
| 33 | def labelScale (X : Scaling S) (k : ℕ) (J : S.Stress) := transformed (X.U k 4).symm (X.r k ^ 4 • J) |
| 34 | |
| 35 | def strength (X : Scaling S) (k : ℕ) (J : S.Stress) (T : (Bel C.book).Stress) : ℝ := ‖labelScale X k J‖ / ‖T‖ |
| 36 | |
| 37 | lemma positive_strength (X : Scaling S) (k : ℕ) {J : S.Stress} {T : (Bel C.book).Stress} (hp : J ≠ 0) (hT : T≠0) : |
| 38 | 0 < strength X k J T := by |
| 39 | refine div_pos (norm_pos_iff.mpr (fun e => ?_)) (norm_pos_iff.mpr hT) |
| 40 | apply (smul_ne_zero (pow_ne_zero 4 (X.positive k).ne') hp) |
| 41 | funext i j |
| 42 | apply (X.U k 4).symm.injective |
| 43 | exact (congr_fun (congr_fun (show labelScale _ _ _=0 from e) i) j).trans (map_zero _).symm |
| 44 | |
| 45 | def balanced_J (X : Scaling S) (J : S.Stress) (k : ℕ) : (Bel C.book).Stress := (X.xi k)⁻¹ • labelScale X k J |
| 46 | |
| 47 | lemma balanced_value (X : Scaling S) (J : S.Stress) (k : ℕ) (i j : Axis) : |
| 48 | X.U k 4 (balanced_J X J k i j) = ((↑((X.xi k)⁻¹ * X.r k^4):ℂ) • J i j) := by |
| 49 | change X.U k 4 ((X.xi k)⁻¹ • ((X.U k 4).symm (X.r k^4 • J i j))) = _ |
| 50 | simp_rw [RCLike.real_smul_eq_coe_smul (K:=ℂ),map_smul,LinearEquiv.apply_symm_apply, smul_smul] |
| 51 | rw [Complex.ofReal_mul]; rfl |
| 52 | |
| 53 | lemma subsector (X : Scaling S) (J : S.Stress) (L : (Bel C.book).Stress) (hJ : J≠0) (hL : L≠0) : |
| 54 | ∃ p : Sequence, ∃ B : (Bel C.book).Stress, ‖B‖=‖L‖ ∧ |
| 55 | let Y := narrow X p |
| 56 | (fun k => strength X (p k) J L) (fun k => positive_strength X (p k) hJ hL) |
| 57 | Tendsto (balanced_J Y J) atTop (𝓝 B) := by |
| 58 | let Y := narrow X Sequence.full (fun k => strength X k J L) (fun k => positive_strength _ _ hJ hL) |
| 59 | have ht (k : ℕ) : balanced_J Y J k ∈ Metric.sphere 0 ‖L‖ := by |
| 60 | rw [Metric.mem_sphere,dist_zero_right,balanced_J,norm_smul] |
| 61 | change ‖(strength X k J L)⁻¹‖ * ‖labelScale X k J‖=‖L‖ |
| 62 | rw [Real.norm_of_nonneg (inv_pos.mpr (positive_strength _ _ hJ hL)).le] |
| 63 | have hp := positive_strength X k hJ hL; unfold strength at * |
| 64 | have hx : ‖labelScale X k J‖ ≠ 0 := fun h => by rw [h,zero_div] at hp; exact lt_irrefl _ hp |
| 65 | field_simp |
| 66 | obtain ⟨B,hb,p,hp,h⟩ := (isCompact_sphere ..).tendsto_subseq ht |
| 67 | rw [Metric.mem_sphere,dist_zero_right] at hb |
| 68 | exact ⟨⟨p,hp⟩, B,hb,h⟩ |
| 69 | |
| 70 | lemma balanced_zero (X : Scaling S) (H : S.Hierarchy) (B : KernelSpace H.spin) (ho : W.Orientation H.spin) |
| 71 | (hb : currentDiv W H.spin ho B=0) (k i) : ∑ j : Axis, tiltScale X W k 4 j (balanced_J X B k j i)=0 := by |
| 72 | have he (j : Axis) : tiltScale X W k 4 j (balanced_J X B k j i)= |
| 73 | ((↑(X.r k * ((X.xi k)⁻¹*X.r k^4)):ℂ)) • (X.U k 5).symm (W.deriv 4 j (B.val j i)) := by |
| 74 | let A := X.carry k (leaves W.deriv 4 j) |
| 75 | let y := balanced_J X B k j i |
| 76 | have hp : A y=(X.U k 5).symm (W.deriv 4 j (X.U k 4 y)) := rfl |
| 77 | change X.r k • A y=_ |
| 78 | rw [hp]; unfold y; rw [balanced_value,map_smul,map_smul,RCLike.real_smul_eq_coe_smul (K:=ℂ),smul_smul] |
| 79 | exact congr_arg (fun s : ℂ => s • _) (Complex.ofReal_mul ..).symm |
| 80 | simp_rw [he]; rw [← Finset.smul_sum,← map_sum,((linear_cons W _ ho _).1 hb).divergence i,map_zero,smul_zero] |
| 81 | |
| 82 | lemma onepoint {L : Register G} (S : Table L) (v : S.Field 4) : |
| 83 | expectation S 4 v = disc (fun _ : Fin 1 => (⟨4,v⟩ : S.Tag)) 0 := by |
| 84 | have he : Fin.cons (α:=fun _ => S.Tag) ⟨4,v⟩ (blank S) = fun _ => ⟨4,v⟩ := by |
| 85 | funext i; refine Fin.cases ?_ (fun j => Fin.elim0 j) i; rfl |
| 86 | rw [expectation,Work.A01.front_eval,he]; rfl |
| 87 | |
| 88 | lemma center_expect (H : S.Hierarchy) (hw : W.Derivatives S) (a : (Bel C.book).Hierarchy) (hV : V.Derivatives (Bel C.book)) |
| 89 | (X : Scaling S) (hp : Approaches (path X) (isoPanel X)) (v : ℕ → (Bel C.book).Field 4) (B : (Bel C.book).Field 4) |
| 90 | (hb : Tendsto v atTop (𝓝 B)) : |
| 91 | Tendsto (fun k => expectation S 4 (X.U k 4 (v k))) atTop (𝓝 (expectation (Bel C.book) 4 B)) := by |
| 92 | apply Metric.tendsto_nhds.mpr |
| 93 | intro ε he |
| 94 | filter_upwards [travels_jet H hw a hV X hp (t:=fun _ : Fin 1 => 4) (fun k _ => v k) |
| 95 | (fun _ => B) (fun _ => hb) 0 {0} isCompact_singleton (singleton_subset_iff.mpr conf1) _ (half_pos he)] with k hk |
| 96 | rw [onepoint,onepoint,dist_eq_norm] |
| 97 | specialize hk 0 rfl |
| 98 | refine (le_trans (le_of_eq ?_) hk).trans_lt (half_lt_self he) |
| 99 | let F : Points 1 → ℂ := tested (X.r k) (isoPanel X k) (fun _ : Fin 1 => (⟨4,v k⟩ : (Bel C.book).Tag)) |
| 100 | let T : Points 1 → ℂ := disc (fun _ : Fin 1 => (⟨4,B⟩ : (Bel C.book).Tag)) |
| 101 | change _= ‖iteratedFDeriv ℝ 0 F 0-iteratedFDeriv ℝ 0 T 0‖ |
| 102 | rw [show iteratedFDeriv ℝ 0 F 0-iteratedFDeriv ℝ 0 T 0 = iteratedFDeriv ℝ 0 (F-T) 0 by ext1 y; simp, |
| 103 | norm_iteratedFDeriv_zero, Pi.sub_apply]; unfold F tested; rw [smul_zero] |
| 104 | rfl |
| 105 | |
| 106 | lemma on_axis (X : Scaling S) (H : S.Hierarchy) (hW : W.Derivatives S) (ho : W.Orientation H.spin) (B : KernelSpace H.spin) |
| 107 | (hb : currentDiv W H.spin ho B=0) (a : (Bel C.book).Hierarchy) (hV : V.Derivatives (Bel C.book)) |
| 108 | (ht : V.Orientation a.spin) (hp : Approaches (path X) (isoPanel X)) (h : Stable H.spin a.spin W V X) |
| 109 | (D : (Bel C.book).Stress) (hv : Tendsto (balanced_J X B) atTop (𝓝 D)) : |
| 110 | ∃ w : KernelSpace a.spin, w.val=D ∧ currentDiv V a.spin ht w=0 := by |
| 111 | have hu : D∈SymSpace a.spin := (Submodule.closed_of_finiteDimensional _).mem_of_tendsto hv |
| 112 | ((vector_coherence H a h).mono fun k hk => (SymSpace a.spin).smul_mem _ |
| 113 | (transformed_mem (flips hk) ((SymSpace H.spin).smul_mem _ (kernel_mem.mp B.property).1))) |
| 114 | have he (i j : Axis) : Tendsto (fun k => balanced_J X B k i j) atTop (𝓝 (D i j)) := |
| 115 | tendsto_pi_nhds.mp (tendsto_pi_nhds.mp hv i) j |
| 116 | have hJ (i j : Axis) : expectation (Bel C.book) 4 (D i j)=0 := by |
| 117 | refine tendsto_nhds_unique_of_eventuallyEq (center_expect H hW a hV X hp _ _ (he i j)) tendsto_const_nhds ?_ |
| 118 | filter_upwards with k |
| 119 | rw [balanced_value,map_smul,(kernel_mem.mp B.property).2,smul_zero] |
| 120 | refine ⟨⟨D,kernel_mem.mpr ⟨hu,hJ⟩⟩,rfl,Subtype.ext (funext fun i => ?_)⟩ |
| 121 | change ∑ j, V.deriv 4 j (D j i)=0 |
| 122 | have hQ (j) := Dash.arcing (bend_limit H hW a hV X 4 j hp) (he j i) |
| 123 | exact tendsto_nhds_unique_of_eventuallyEq (tendsto_finsetSum _ (fun j _ => hQ j)) tendsto_const_nhds |
| 124 | (Eventually.of_forall (fun k => balanced_zero X H B ho hb k i)) |
| 125 | |
| 126 | /-- Construct one coherent sign of the centered stress for the entire |
| 127 | weak comparison. Return also the stronger coherence/normalization along |
| 128 | one curve. `T` fixed; no assumption that a change of J0 is allowed. -/ |
| 129 | theorem produce_current (H : S.Hierarchy) (hW : W.Derivatives S) (ho : W.Orientation H.spin) |
| 130 | (a : (Bel C.book).Hierarchy) (T : Lighthouse C.book) (hV : T.W.Derivatives (Bel C.book)) (p : T.W.Orientation a.spin) |
| 131 | (hT : FreeDiv T a p) (X : Scaling S) (hp : Approaches (path X) (isoPanel X)) (h : Stable H.spin a.spin W T.W X) : |
| 132 | ∃ J : KernelSpace H.spin,∃ Y : Scaling S,J.val ≠ 0 ∧ currentDiv W H.spin ho J=0 ∧ |
| 133 | Approaches (path Y) (isoPanel Y) ∧ Stable H.spin a.spin W T.W Y ∧ Y.meter J.val T.J := by |
| 134 | have hm := (differential_rank H a ho T p hT hW hV X hp h).2 |
| 135 | haveI : Nontrivial (LinearMap.ker (currentDiv W H.spin ho)) := |
| 136 | Module.finrank_pos_iff.mp (hm ▸ zero_lt_one) |
| 137 | obtain ⟨⟨B,hB⟩,hn⟩ := exists_ne (0 : LinearMap.ker (currentDiv W H.spin ho)) |
| 138 | have hx : B ≠ 0 := fun e => hn (Subtype.ext e) |
| 139 | have ht : B.val ≠ 0 := fun e => hx (Subtype.ext e) |
| 140 | obtain ⟨s,R,hr,Hr⟩ := subsector X B.val T.J ht hT.sign |
| 141 | let Y := narrow X s _ (fun k => positive_strength X (s k) ht hT.sign) |
| 142 | have hY := narrow_path X s _ (fun k => positive_strength X (s k) ht hT.sign) hp |
| 143 | have hS := narrow_stable X s _ (fun k => positive_strength X (s k) ht hT.sign) h |
| 144 | obtain ⟨v,hv,hF⟩ := on_axis Y H hW ho B hB a hV p hY hS R Hr |
| 145 | let t : KernelSpace a.spin := ⟨T.J,hT.enters⟩ |
| 146 | let j : LinearMap.ker (currentDiv T.W a.spin p) := ⟨t, (linear_cons _ _ p t).2 hT.origin⟩ |
| 147 | have he : j ≠ 0 := fun e => hT.sign (congr_arg (fun (x : LinearMap.ker (currentDiv T.W a.spin p)) => x.val.val) e) |
| 148 | obtain ⟨c,hc⟩ := (finrank_eq_one_iff_of_nonzero' j he).1 hT.one ⟨v,hF⟩ |
| 149 | have hc : c • T.J = R := (congr_arg (fun (x : LinearMap.ker (currentDiv T.W a.spin p)) => x.val.val) hc).trans hv |
| 150 | have hz := congr_arg norm hc; rw [norm_smul,hr,Real.norm_eq_abs] at hz |
| 151 | have hz : |c|=1 := mul_right_cancel₀ (norm_pos_iff.mpr hT.sign).ne' (hz.trans (one_mul _).symm) |
| 152 | suffices ht : ∃ J : KernelSpace H.spin, J.val ≠ 0 ∧ currentDiv W H.spin ho J = 0 ∧ |
| 153 | Tendsto (balanced_J Y J.val) atTop (𝓝 T.J) by |
| 154 | obtain ⟨J,hJ,hj,HX⟩ := ht; refine ⟨J,Y,hJ,hj,hY,hS,fun i j => ?_⟩ |
| 155 | refine (tendsto_pi_nhds.mp (tendsto_pi_nhds.mp HX i) j).congr fun k => ?_ |
| 156 | apply (Y.U k 4).injective |
| 157 | change Y.U k 4 (balanced_J Y J k i j) = Y.U k 4 ((Y.U k 4).symm _); rw [LinearEquiv.apply_symm_apply,balanced_value] |
| 158 | change Tendsto (balanced_J Y B.val) atTop (𝓝 R) at Hr |
| 159 | rcases le_total 0 c with hh|hh |
| 160 | · rw [abs_of_nonneg hh] at hz; rw [hz,one_smul] at hc |
| 161 | exact ⟨B,ht,hB,hc ▸ Hr⟩ |
| 162 | rw [abs_of_nonpos hh] at hz; rw [show c=-1 from neg_eq_iff_eq_neg.mp hz, neg_one_smul] at hc |
| 163 | refine ⟨-B,neg_ne_zero.mpr ht,by rw [map_neg, show currentDiv _ _ _ B=0 from hB,neg_zero],?_⟩ |
| 164 | refine Tendsto.congr' ?_ (show Tendsto (fun k => -balanced_J Y B k) atTop (𝓝 T.J) from by |
| 165 | convert Hr.neg using 1 |
| 166 | rw [← hc,neg_neg]) |
| 167 | exact Eventually.of_forall fun k => by change -balanced_J Y _ k = balanced_J Y (-B.val) k; simp [balanced_J,labelScale] |
| 168 | |
| 169 | def after (k : ℕ) : Sequence := ⟨fun i => i+k, fun i j hij => by simp [hij]⟩ |
| 170 | def afterScale (X : Scaling S) (k : ℕ) := narrow X (after k) (fun j => X.xi ((after k) j)) (fun j => X.sign ((after k) j)) |
| 171 | |
| 172 | /-- Produce the exact `Track` along these J fields by tails. -/ |
| 173 | theorem focused_track (H : S.Hierarchy) (hW : W.Derivatives S) (a : (Bel C.book).Hierarchy) (T : Lighthouse C.book) |
| 174 | (hV : T.W.Derivatives (Bel C.book)) (X : Scaling S) (hp : Approaches (path X) (isoPanel X)) (h : Stable H.spin a.spin W T.W X) |
| 175 | (J : S.Stress) (hb : X.meter J T.J) (N d m : ℕ) (R : ℝ) (hR : 1≤R) : |
| 176 | ∃ k,Track (afterScale X k) W T J H.spin a.spin N d m R := by |
| 177 | classical |
| 178 | let L := max d 4 |
| 179 | have he : ∀ᶠ k in atTop, (∀ i≤L,_root_.YM.Spin.realH H.spin a.spin (X.U k i) ∧ X.U k i ((Bel C.book).unit i)=S.unit i) ∧ |
| 180 | (∀ (i j : ℕ) (h : i ≤ j), j ≤ L → ∀ x, X.U k j (T.W.rise h x)= W.rise h (X.U k i x)) := by |
| 181 | have hu := eventually_all.mpr (fun i : Fin (L+1) => (h.hsym i).and (h.units i)) |
| 182 | have hv : ∀ᶠ k in atTop,∀ i j : Fin (L+1), ∀ (h : i.val ≤ j.val), ∀ x, X.U k j (T.W.rise h x) = W.rise h (X.U k i x) := |
| 183 | eventually_all.mpr fun i => eventually_all.mpr fun j => eventually_all.mpr fun g => h.rises i j g |
| 184 | filter_upwards [hu,hv] with k hk he |
| 185 | exact ⟨fun i hi => hk ⟨i,Nat.lt_succ_of_le hi⟩, fun i j w hj => he ⟨i,Nat.lt_succ_of_le (w.trans hj)⟩ ⟨j,Nat.lt_succ_of_le hj⟩ w⟩ |
| 186 | obtain ⟨k,hk⟩ := eventually_atTop.mp he |
| 187 | let p : Sequence := after k |
| 188 | let Y := narrow X p (fun j => X.xi (p j)) (fun j => X.sign (p j)) |
| 189 | refine ⟨k,⟨?_,comparison_jets H hW a hV Y (narrow_path X p _ _ hp) N d m R (zero_lt_one.trans_le hR), |
| 190 | fun i j => (hb i j).comp p.cofinal⟩⟩ |
| 191 | constructor |
| 192 | · exact fun i j hj => (((hk _ (show k ≤ p i from Nat.le_add_left k i)).1 j hj).1) |
| 193 | · exact fun i j hj => (((hk _ (show k ≤ p i from Nat.le_add_left k i)).1 j hj).2) |
| 194 | exact fun i j l t w => (hk _ (show k ≤ p i from Nat.le_add_left k i)).2 j l t w |
| 195 | |
| 196 | /-- Produce the exact `ActLaw` along these J fields by tails. -/ |
| 197 | theorem focused (H : S.Hierarchy) (hW : W.Derivatives S) (a : (Bel C.book).Hierarchy) (T : Lighthouse C.book) |
| 198 | (hV : T.W.Derivatives (Bel C.book)) (X : Scaling S) (hp : Approaches (path X) (isoPanel X)) (h : Stable H.spin a.spin W T.W X) |
| 199 | (J : S.Stress) (hb : X.meter J T.J) : ActLaw W T J H.spin a.spin where |
| 200 | connects N d m R hR := by |
| 201 | obtain ⟨k,he⟩ := focused_track H hW a T hV X hp h J hb N d m R hR |
| 202 | exact ⟨afterScale X k,he⟩ |
| 203 | end YM.Next.UVStress |