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.RANK.LineBox |
| 2 | import YM.Next.RANK.Peaks |
| 3 | import YM.Next.RANK.SolveRay |
| 4 | |
| 5 | |
| 6 | |
| 7 | /-! |
| 8 | # Quantify discrepancy using weighted radial reads for SHORT and long H |
| 9 | |
| 10 | Local extractors from old mask, on the true cubical origin. Long terms included in Taylor |
| 11 | bill but not with any `.PiVanish`. Functions along different real tests need not agree away |
| 12 | from the germ once supports and thresholds enter. -/ |
| 13 | set_option autoImplicit false |
| 14 | noncomputable section |
| 15 | namespace YM.Next.Rank.Spindle |
| 16 | open Lattice RG Wilson Source Labels Source.Drops Configuration Beamer Normal Rise Asymptotics Filter Set Function MvPolynomial MeasureTheory |
| 17 | open scoped Classical Matrix.Norms.Frobenius Topology ContDiff BigOperators |
| 18 | |
| 19 | variable {G : Gauge} {n : Side} {o : Site n} {D R d : ℕ} (H : Hol G) |
| 20 | |
| 21 | |
| 22 | def south (o : Site n) (A : Snap G d) (t s : ℝ) := H.testLinks d o (expand d (t • A)) s |
| 23 | |
| 24 | def spots {o : Site n} (h : 2*(R+1)<n.val) (p : RG.BudgetPoint) (A : Snap G d) (r : ℝ) : Space G o R := fun x => domain H R (register h x) A p.threshold r |
| 25 | |
| 26 | lemma spots_read {o : Site n} (h : 2*(R+1)<n.val) (p : RG.BudgetPoint) (A : Snap G d) (r : ℝ) (x : Dim o R) : |
| 27 | spots H h p A r x = wired p.threshold o R (south H o A p.threshold r) x := by |
| 28 | unfold spots domain |
| 29 | rw [Pi.smul_apply, comp_apply,Pi.smul_apply, ← flash_smul] |
| 30 | unfold south wired; rw [feeling H _ _ r o h x]; unfold bore rock; rw [comp_apply,show H.links d _ r= _ from Source.Drops.scales ..]; rfl |
| 31 | |
| 32 | lemma spots_cost {o : Site n} (h : 2*(R+1)<n.val) (p : RG.BudgetPoint) (A : Snap G d) (r : ℕ) : |
| 33 | ContDiffAt ℝ r (spots (o:=o) H h p A) 0 ∧ spots (o:=o) H h p A 0=0 := by |
| 34 | obtain ⟨C,v,hv,Hs⟩ := exact_turn H A r |
| 35 | exact ⟨contDiffAt_pi.mpr (fun i => (Hs _ _ p.threshold_pos p.threshold_le (register h i)).1),funext fun i=> (Hs _ _ p.threshold_pos p.threshold_le (register h i)).2.2.1⟩ |
| 36 | |
| 37 | lemma spot_green {o : Site n} (h : 2*(R+1)<n.val) (p : RG.BudgetPoint) (A : Snap G d) : ∀ᶠ r : ℝ in 𝓝 0, |
| 38 | Agrees (patch R o) (net p o R (spots H h p A r)) (spine (south H o A p.threshold r) o) := by |
| 39 | let P r:= south H o A p.threshold r |
| 40 | let W r:= spine (P r) o |
| 41 | have hz (i : Dim o R) (r : ℝ) : G.mat (W r i.val)= rock H d R (register h i) (p.threshold • flash A r) := by |
| 42 | unfold W P south; rw [feeling H _ _ r o h i, show H.links d _ r= _ from Source.Drops.scales .., ← flash_smul]; rfl |
| 43 | have hh (i : Dim o R) : ∀ᶠ r : ℝ in 𝓝 0, G.lieExp (p.threshold • (spots H h p A r i)) = W r i.val := by |
| 44 | have hi := shots H d 1 |
| 45 | let v (r : ℝ) := W r i.val |
| 46 | -- derive Tendsto to 1 of mat from path representations G02. |
| 47 | have he : AnalyticAt ℝ (rock H d R (register h i)) 0 := by |
| 48 | let x:= register h i |
| 49 | let e:= x.val |
| 50 | -- simplify path product |
| 51 | have hp : rock H d R x=fun y=> G.mat (travel (H.links d (expand d y) 1) 0 (paths e.1++[posDir e.2]++ Lattice.reverse (paths (e.1+step e.2)))) := by |
| 52 | funext s; symm; rw [travel_append,travel_append,stops,stop_append, stops,travel,travel,mul_one, |
| 53 | show stop (e.1:Cover) [posDir e.2]=e.1+step e.2 from rfl]; have hr := travel_reverse (x:=0) (paths (e.1+step e.2)) (H.links d (expand d s) 1); rw [stops] at hr; rw [hr]; rfl |
| 54 | rw [hp]; exact (Work.G02.walkGerm H d _ _).1 |
| 55 | have hk (t : ℝ) : Tendsto (fun r => flash (t • A) r) (𝓝 0) (𝓝 0) := by simpa using (flashDiff (n:=1) (t•A)).continuous.tendsto 0 |
| 56 | have hg : Tendsto v (𝓝 0) (𝓝 1) := by |
| 57 | apply ((G.continuous_mat.isClosedEmbedding G.mat_injective).isEmbedding.isInducing.tendsto_nhds_iff).2 |
| 58 | change Tendsto (fun r => G.mat (W r i.val)) _ _ |
| 59 | simp_rw [hz,G.mat_one,← flash_smul] |
| 60 | simpa only [unroll] using! he.continuousAt.tendsto.comp (hk p.threshold) |
| 61 | filter_upwards [hg.eventually G.plog_right] with r hr |
| 62 | rw [spots_read, wired, smul_smul,mul_inv_cancel₀ p.threshold_pos.ne',one_smul]; exact hr |
| 63 | filter_upwards [eventually_all.mpr hh] with r ha |
| 64 | intro e he ht; let i:Dim o R:= ⟨e,Finset.mem_filter.mpr ⟨Finset.mem_univ e,he,ht⟩⟩ |
| 65 | exact (net_in p _ i).trans (ha i) |
| 66 | |
| 67 | -- at a physical support. Weighted error from polynomial vTest. No projecting H long. |
| 68 | |
| 69 | def snips {o : Site n} (h : 2*(R+1)<n.val) (p : RG.BudgetPoint) (A : Snap G d) (x : links G o R) (r : ℝ) := (↑(scan (spots H h p A r) x):ℂ) |
| 70 | def tacks {o : Site n} (h : 2*(R+1)<n.val) (A : Snap G d) (x : links G o R) (r : ℝ) := ((probeLine H R (register h x.1) A r x.2):ℂ) |
| 71 | |
| 72 | -- norm price |
| 73 | lemma shades (A : Snap G d) (m D : ℕ) : |
| 74 | ∃ C : ℝ,∃ L : ℕ,0≤C ∧ ∀ (b : ℕ) (n : Side) (o : Site n) (h : 2*(b+1)<n.val) (p : RG.BudgetPoint), |
| 75 | (∀ i,ContDiffAt ℝ m (snips (o:=o) H h p A i) 0) ∧ (∀ i,ContDiffAt ℝ m (tacks (o:=o) H h A i) 0) ∧ |
| 76 | ∀ (P : poly (links G o b)), totalDegree P≤ D → |
| 77 | let c := coin P*C*(1+(b:ℝ))^L |
| 78 | ‖evaluate_ray (walked (tacks H h A) P) m‖≤ c ∧ |
| 79 | ‖evaluate_ray (walked (snips H h p A) P) m-evaluate_ray (walked (tacks H h A) P) m‖≤ c*p.threshold := by |
| 80 | obtain ⟨C,L,hc,HC⟩ := speech H A m |
| 81 | obtain ⟨K,hK,HK⟩ := poetry m D |
| 82 | refine ⟨(m+1:ℝ)*K*C^D,L*D,by positivity,fun b n o h p=>?_⟩ |
| 83 | have he (i : links G o b) := HC b p.threshold p.threshold_pos p.threshold_le (register h i.1) i.2 |
| 84 | let U:= snips (o:=o) H h p A |
| 85 | let V:= tacks (o:=o) H h A |
| 86 | let a:=1+(b:ℝ); have hv : 1 ≤ a := le_add_of_nonneg_right (Nat.cast_nonneg _) |
| 87 | have hC : 1≤C*a^L := one_le_mul_of_one_le_of_one_le hc (one_le_pow₀ hv) |
| 88 | refine ⟨fun i => (he i).1,fun i=> (he i).2.1,fun P hp=>?_⟩ |
| 89 | obtain ⟨hh,hv,ht⟩ := HK (links G o b) U V (C*a^L) p.threshold hC p.threshold_pos.le { |
| 90 | east i := ⟨(he i).1,fun j h=> ((he i).2.2.2.2 j h).1⟩, west i := ⟨(he i).2.1,fun j h=> ((he i).2.2.2.2 j h).2.1⟩ |
| 91 | bar i := ⟨(by change ContDiffAt ℝ m (U i - V i) 0; exact ((he i).1).sub ((he i).2.1)),fun j h=> ((he i).2.2.2.2 j h).2.2⟩ } P hp |
| 92 | refine ⟨(count_probe m _ hv).trans_eq ?_,?_⟩ |
| 93 | · unfold a; rw [mul_pow,pow_mul]; ring |
| 94 | change ‖evaluate_ray (walked U P) m-evaluate_ray (walked V P) m‖≤ _ |
| 95 | rw [net_probe m hh.1 hv.1]; refine (count_probe m _ ht).trans_eq ?_; unfold a; rw [mul_pow,pow_mul]; ring |
| 96 | |
| 97 | lemma genuine (x : Support n) (F : Config G n→ℂ) (p : RG.BudgetPoint) (a : ℂ) (T : poly (links G o R)) (S : Rules G) |
| 98 | (Z : ℝ) (P : p.Regular x F) (hx : x ⊆ patch R o) (h : 2*(R+1)<n.val) (A : Snap G d) (hr : 0≤Z) (hd : d≤D) (hh : ∀ y, |
| 99 | ‖y‖≤pane S→ ‖a*F (net p o R y)-text (scan y) T‖ ≤ Z* ‖y‖^(D+1)) : |
| 100 | let W := walked (snips H h p A) T |
| 101 | ContDiffAt ℝ d W 0 ∧ asym d ((fun r : ℝ=> a*F (south H o A p.threshold r))-W) := by |
| 102 | obtain ⟨C,v,c,HC⟩ := shades H A d D |
| 103 | let X:= spots (o:=o) H h p A |
| 104 | intro W; obtain ⟨hf,ht⟩:= spots_cost H (o:=o) h p A 1 |
| 105 | have hv : Tendsto X (𝓝 0) (𝓝 0):= by rw [← show X 0=0 from ht]; exact hf.continuousAt.tendsto |
| 106 | have he:= (show HasFDerivAt X _ 0 from (hf.differentiableAt one_ne_zero).hasFDerivAt).isBigO_sub |
| 107 | obtain ⟨L,hL,HL⟩ := he.exists_pos |
| 108 | refine ⟨walks _ _ (HC R n o h p).1 _, knock hd (error_power (Z*L^(D+1)) ?_)⟩ |
| 109 | filter_upwards [HL.bound,hv.eventually (Metric.ball_mem_nhds (0:Space G o R) (pane_pos S)),spot_green H (o:=o) h p A] with r hp hp' hR |
| 110 | change ‖X r-X 0‖ ≤ L* ‖r-0‖ at hp; rw [show X 0=0 from ht,sub_zero,sub_zero] at hp |
| 111 | let B:= south H o A p.threshold r |
| 112 | change ‖a*F B-text (scan (X r)) T‖≤ _ |
| 113 | rw [show F B=F (net p o R (X r)) from (P.symmetry (fingers B o) B).symm.trans (P.sites _ _ (by intro i he hh; exact (hR i (hx he) (hx hh)).symm))] |
| 114 | apply (hh _ (by rw [dist_zero_right] at hp'; exact le_of_lt hp')).trans ((mul_le_mul_of_nonneg_left (pow_le_pow_left₀ (norm_nonneg _) hp _) hr).trans_eq ?_) |
| 115 | ring |
| 116 | end YM.Next.Rank.Spindle |