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.EveryPhase.Seeds |
| 2 | |
| 3 | /-! # The jump at Euclidean external arguments. Keep compact supports disjoint. -/ |
| 4 | set_option autoImplicit false |
| 5 | noncomputable section |
| 6 | namespace YM.EveryPhase.Stress |
| 7 | open Function Set Filter MeasureTheory Metric Boundary Next.BOUNDARY Mink Complex Probe Table |
| 8 | open Work.C20 |
| 9 | open scoped Topology BigOperators Interval ContDiff |
| 10 | variable {G : Gauge} {L : Register G} {S U : Table L} {W : Surface S} |
| 11 | {D : ∀ n, Blanket n} {Z : W.Aurora D} {P : DiffPlan S} {H : S.RealSpin} {F : Waves S} {n : ℕ} |
| 12 | |
| 13 | lemma fibers (K : Killing) (T : S.Stress) (v : Fin n → S.Tag) (x : Points (n+1)) (k : Fin (n+1)) |
| 14 | (B : S.Tag) (g : Probe Space3) (hg : HasCompactSupport ⇑g) (hr : ∀ r, ((g r).re:ℂ)=g r) (c : ContDiffBump (0:ℝ)) |
| 15 | (w : Prospect F Z U P H T) (s : ℝ) (j : Fin (n+2)) : |
| 16 | let u := YM.time (x k) |
| 17 | let f := grounds U K T v x k B (hatChi c g u) |
| 18 | let Y := Bid.ink (hole k v B) |
| 19 | let z := ((((YM.time (x k)+s):ℝ):ℂ)*I) |
| 20 | hole j (pureU x) z∈strict (n+2) → |
| 21 | (∫ r, f (position r (u+s))) = ((deriv c s:ℝ):ℂ)*harbors Z K Y T g j (Boundary.trace x) (pureU x) z + |
| 22 | (c s:ℂ)*docks Z K Y T g j (Boundary.trace x) (pureU x) z := by |
| 23 | intro u f Y z h |
| 24 | let w₁ (a) := waveT Z K Y T j a (Boundary.trace x) (pureU x) z |
| 25 | have hw (r a) : curtain U K T v x k B a (position r (u+s))=w₁ a r := by |
| 26 | rw [← waveT_pure w.hu w.hF w.hZ K T v x k j B a _]; simp only [spatial_position,time_position]; rfl |
| 27 | simp only [time_position]; exact h |
| 28 | have he r : f (position r (u+s))=(c s:ℂ)* (∑ i : SpaceAxis, drift g i r* w₁ i.castSucc r)+ |
| 29 | ((deriv c s:ℝ):ℂ)*(g r* w₁ timeAxis r) := by |
| 30 | unfold f grounds; rw [Fin.sum_univ_castSucc] |
| 31 | simp_rw [hw] |
| 32 | change (∑ i : SpaceAxis, _)+( ((Analysis.D (basis timeAxis) _ _ : ℝ):ℂ) * w₁ timeAxis r)=_ |
| 33 | rw [(hat_jets c g hr u s r).1,mul_assoc]; simp_rw [(hat_jets c g hr u s r).2,mul_assoc,Finset.mul_sum] |
| 34 | have hc a : Continuous (w₁ a) := (waveT_smooth K Y T j _ _ _ h a w.hZ).continuous |
| 35 | have hi i : Integrable (fun r => drift g i r*w₁ i.castSucc r) := |
| 36 | ((drift g i).continuous.mul (hc i.castSucc)).integrable_of_hasCompactSupport (drift_compact g hg i).mul_right |
| 37 | have hf : Integrable (fun r => g r*w₁ timeAxis r) := (g.continuous.mul (hc timeAxis)).integrable_of_hasCompactSupport hg.mul_right |
| 38 | simp_rw [he] |
| 39 | rw [integral_add ((integrable_finsetSum _ (fun i _ => hi i)).const_mul _) (hf.const_mul _),integral_const_mul, |
| 40 | integral_const_mul,integral_finsetSum _ (fun i _ => hi i),add_comm]; rfl |
| 41 | |
| 42 | -- `x` is the external Euclidean positions (B at x k). |
| 43 | theorem pure_clock (K : Killing) (T : S.Stress) (v : Fin n → S.Tag) (x : Points (n+1)) (k : Fin (n+1)) |
| 44 | (hx : x∈ordered (n+1)) (B : S.Tag) (R : S.Rotation) (w : Prospect F Z U P H T) (h : StressLaws U T P.deriv R.lie) |
| 45 | (g : Probe Space3) (hg : HasCompactSupport ⇑g) (hr : ∀ r, ((g r).re:ℂ)=g r) (hs : g =ᶠ[𝓝 (spatial (x k))] fun _ => (1:ℂ)) : |
| 46 | Tendsto (fun s => currentJump Z K T (Bid.ink (hole k v B)) g k (pureDock x,s)) (𝓝[>] 0) (𝓝 (taskE U K R P v x k B)) := by |
| 47 | obtain ⟨d,hd⟩ := preparation x hx k |
| 48 | let c : ContDiffBump (0:ℝ) := ⟨d/4,d/2,by have := hd.1; linarith,by have := hd.1; linarith⟩ |
| 49 | have hc : c.rOut<d := by have h := hd.1; change d/2<d; linarith |
| 50 | let t := YM.time (x k) |
| 51 | let χ := hatChi c g t |
| 52 | have he := euclidean_shell U K P T R v x (ordered_conf hx) k B w.hu h χ (hat_window x k hd c hc g hg hs) |
| 53 | let F := fun s : ℝ => ∫ y, grounds U K T v x k B χ (position y (t+s)) |
| 54 | obtain ⟨hF, hw⟩ := split_space t he.1 |
| 55 | let Y := Bid.ink (hole k v B) |
| 56 | let p := pureDock x |
| 57 | let A := fun s => crest Z K T Y g k (p,s) |
| 58 | let a := fun s => docks Z K Y T g k.succ (Boundary.trace x) (pureU x) (morn p k s) |
| 59 | let C := fun s => trough Z K T Y g k (p,s) |
| 60 | let b := fun s => docks Z K Y T g k.castSucc (Boundary.trace x) (pureU x) (eve p k s) |
| 61 | let f := fun s => (c s:ℂ)*A s-(c (-s):ℂ)*C s |
| 62 | rw [← he.2,hw] |
| 63 | refine curtainsFTC d hd.1 F f _ hF ?_ ?_ ?_ ?_ |
| 64 | · intro s he |
| 65 | by_contra hK |
| 66 | apply he |
| 67 | have hb : |s| > c.rOut := lt_of_lt_of_le hc (le_of_not_gt (fun h => hK (abs_lt.mp h))) |
| 68 | have hh (y : Space3) : (position y (t+s)) ∉ tsupport χ := fun hx => |
| 69 | not_le.mpr hb (by |
| 70 | have hz : |YM.time (position y (t+s))-t| ≤ c.rOut := (hat_size c g hg t).2 hx |
| 71 | simpa using hz) |
| 72 | have ht (y : Space3) : grounds U K T v x k B χ (position y (t+s))=0 := by |
| 73 | simp [grounds,Analysis.D,fderiv_of_notMem_tsupport ℝ (hh y)] |
| 74 | simp [F,ht] |
| 75 | · have he : c d=0 := c.zero_of_le_dist (by simp [abs_of_pos hd.1,hc.le]) |
| 76 | have hz : c (-d)=0 := c.zero_of_le_dist (by simpa [abs_of_pos hd.1] using hc.le) |
| 77 | simp [f,he,hz] |
| 78 | · intro s hs' |
| 79 | have hh (s : ℝ) : morn p k s=((t+s:ℝ):ℂ)*I := by |
| 80 | dsimp only [p,morn,town,pureDock,pureU,t]; push_cast; ring |
| 81 | have hq (s : ℝ) : eve p k s=((t-s:ℝ):ℂ)*I := by |
| 82 | dsimp only [p,eve,town,pureDock,pureU,t]; push_cast; ring |
| 83 | have h₁ : hole k.succ (pureU x) (morn p k s)∈strict (n+2) := by rw [hh]; exact (hd.2 _ hs').1 |
| 84 | have h₂ : hole k.castSucc (pureU x) (eve p k s)∈strict (n+2) := by rw [hq]; exact (hd.2 _ hs').2 |
| 85 | have ha : HasDerivAt A (a s) s := by |
| 86 | have ht : HasDerivAt (morn p k) I s := by |
| 87 | unfold morn; simpa using ((ofRealCLM.hasDerivAt (x:=s)).mul_const I).const_add (town p k) |
| 88 | refine (real_path (harbors_speed K k.succ Y T g hg w.hT w.hu w.hs w.hi w.hd w.hF w.hZ |
| 89 | (Boundary.trace x) (pureU x) (morn p k s) h₁) ht).congr_deriv ?_ |
| 90 | simp [a, ←mul_assoc] |
| 91 | have hb : HasDerivAt C (-b s) s := by |
| 92 | have ht : HasDerivAt (eve p k) (-I) s := by |
| 93 | unfold eve; simpa using (hasDerivAt_const s (town p k)).fun_sub ((ofRealCLM.hasDerivAt (x:=s)).mul_const I) |
| 94 | refine (real_path (harbors_speed K k.castSucc Y T g hg w.hT w.hu w.hs w.hi w.hd w.hF w.hZ (Boundary.trace x) |
| 95 | (pureU x) (eve p k s) h₂) ht).congr_deriv ?_; simp [b,←mul_assoc] |
| 96 | have hu : F s=((deriv c s:ℝ):ℂ)*A s+(c s:ℂ)*a s := by |
| 97 | change F _=_ *harbors Z K Y T g k.succ p.1.1 p.1.2 _ + _ |
| 98 | dsimp only [a] |
| 99 | rw [hh]; exact fibers K T v x k B g hg hr c w s _ (hd.2 _ hs').1 |
| 100 | have hv : F (-s)=((deriv c (-s):ℝ):ℂ)*C s+(c (-s):ℂ)*b s := by |
| 101 | change F _=_ *harbors Z K Y T g k.castSucc p.1.1 p.1.2 _ + _ |
| 102 | dsimp only [b]; rw [hq] |
| 103 | have ht := fibers K T v x k B g hg hr c w (-s) k.castSucc |
| 104 | dsimp only at ht |
| 105 | simp only [← sub_eq_add_neg] at ht |
| 106 | unfold F; rw [← sub_eq_add_neg]; exact ht (hd.2 _ hs').2 |
| 107 | have hw (s : ℝ) : HasDerivAt (fun s => (c s:ℂ)) ((deriv c s:ℝ):ℂ) s := |
| 108 | ofRealCLM.hasFDerivAt.comp_hasDerivAt s ((c.contDiff.differentiable (n:=∞) (by simp)) s).hasDerivAt |
| 109 | refine (((hw s).mul ha).sub (((hw (-s)).scomp s (hasDerivAt_neg _)).mul hb)).congr_deriv ?_ |
| 110 | rw [hu,hv]; simp; ring |
| 111 | change f =ᶠ[_] fun s => A s-C s |
| 112 | have hy : Tendsto (fun s : ℝ => -s) (𝓝 0) (𝓝 0) := by simpa using ((continuous_neg.tendsto (0:ℝ))) |
| 113 | apply Eventually.filter_mono nhdsWithin_le_nhds |
| 114 | filter_upwards [c.eventuallyEq_one,hy.eventually c.eventuallyEq_one] with s he hh |
| 115 | change c s=1 at he; change c (-s)=1 at hh; simp [f,he,hh] |
| 116 | end YM.EveryPhase.Stress |