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.FullVolume.Train.Yards |
| 2 | /-! Principal & all aliases. No real limit inferred at harmonic before extension. -/ |
| 3 | set_option autoImplicit false |
| 4 | noncomputable section |
| 5 | namespace YM.Next.Free.OnTrack |
| 6 | open Filter Set Function Lattice Laurent Bloch Metric Exterior Matrix Precision RG Work.F08 Craft Bid Train Finset |
| 7 | open scoped Topology BigOperators ComplexConjugate |
| 8 | variable {G:Gauge} (A:Levels G) (x:Axis) (i:ℕ) |
| 9 | local notation "f₀" => fun d=> flying A d i |
| 10 | private lemma seed_still (a:Axis)(p:Momentum): Tendsto (fun d=>seedQ (flying A d i).mass p a) atTop (𝓝 (Complex.I*p a)):=by |
| 11 | let L(d:ℕ):=(flying A d i).mass |
| 12 | have hp : Tendsto (fun d=>(↑((L d).val:ℝ):ℂ)⁻¹) atTop (𝓝 0):=by |
| 13 | simpa using ((tendsto_inv_atTop_zero (𝕜:=ℝ)).comp (tendsto_natCast_atTop_atTop.comp (far_mass A i))).ofReal |
| 14 | let w (d:ℕ):= narrow (L d) p a; have hw : Tendsto w atTop (𝓝 0):=by simpa only [w,narrow_apply,div_eq_mul_inv, Complex.ofReal_natCast,mul_zero] using (hp.const_mul (p a)) |
| 15 | have he : HasDerivAt chip Complex.I 0 := by |
| 16 | have hh := ((hasDerivAt_id' (0 : ℂ)).const_mul Complex.I).cexp.sub_const 1 |
| 17 | unfold chip; simpa only [mul_one,one_mul,mul_zero,zero_mul,Complex.exp_zero] using hh |
| 18 | have ht : Tendsto (dslope chip 0 ∘ w) atTop (𝓝 Complex.I):= by |
| 19 | rw [←he.deriv, ← dslope_same]; exact (continuousAt_dslope_same.2 he.differentiableAt).tendsto.comp hw |
| 20 | refine (ht.mul_const _).congr fun d=>?_ |
| 21 | have hu : w d * dslope chip 0 (w d)= chip (w d):= by simpa using sub_smul_dslope chip 0 (w d) |
| 22 | unfold seedQ |
| 23 | rw [show chip _= _ from hu.symm]; change _ = ((L d).val:ℂ)*(narrow _ _ _ * _) |
| 24 | rw [←mul_assoc,narrow_apply,mul_div_cancel₀ _ (side_ne _),mul_comm]; rfl |
| 25 | lemma plane (p:Momentum)(hp:physical p): Tendsto (fun d=> divisor (flying A d i).mass p) atTop (𝓝 (lengthSq p:ℂ)):=by |
| 26 | have H : Tendsto (fun d=> ∑ a, ‖seedQ (flying A d i).mass p a‖^2) atTop (𝓝 (lengthSq p)):=by |
| 27 | apply tendsto_finsetSum _ fun a _=>?_; simpa using ((seed_still A i a p).norm.pow 2) |
| 28 | simp_rw [divisor_normSq _ hp]; exact H.ofReal |
| 29 | private def vaultX (z : Cover):ℝ:= ((∏ a, (1+((z a).natAbs:ℝ)))^2)⁻¹ |
| 30 | lemma settled (M:ℕ→Side)(h:Tendsto (fun i=> (M i).val) atTop atTop)(z:Cover): ∀ᶠ i in atTop,lift (wrap (M i) z)=z:=by |
| 31 | have he x : ∀ᶠ i in atTop, -((M i).val:ℤ)< 2*z x∧2*z x≤ (M i).val:=by |
| 32 | filter_upwards [h.eventually_gt_atTop (2*(z x).natAbs)] with i hy; omega |
| 33 | filter_upwards [eventually_all.mpr he] with i hi; exact lift_eq_iff.mpr ⟨rfl,hi⟩ |
| 34 | private lemma VA (M:ℕ→Side)(h:Tendsto (fun i=> (M i).val) atTop atTop): Summable vaultX:=by |
| 35 | obtain ⟨C,-,H⟩:= decay_cost |
| 36 | apply summable_of_sum_le (f:=vaultX) (fun i=> by unfold vaultX; positivity) (c:=C) |
| 37 | intro s |
| 38 | obtain ⟨j,h⟩:= ((s.eventually_all).mpr (fun z _=> settled M h z)).exists |
| 39 | refine le_trans ?_ (H (M j)) |
| 40 | calc |
| 41 | _ = ∑ i∈ s.image (wrap (M j)), decay 2 i :=by |
| 42 | rw [Finset.sum_image];swap; · intro i hi j' hj he; exact h i hi |>.symm.trans ((congr_arg lift he).trans (h _ hj)) |
| 43 | refine Finset.sum_congr rfl fun i hi=>?_; simp only [decay,mix,up,h i hi]; rfl |
| 44 | _ ≤ _ := Finset.sum_le_sum_of_subset_of_nonneg (Finset.subset_univ _) fun i _ _=>(decay_pos ..).le |
| 45 | lemma above_the_wing (p: Momentum)(hp:p∈baseCube): ∃ y,Tendsto (fun d=> high (flying A d i) x p) atTop (𝓝 y):=by |
| 46 | let M d := (flying A d i).mass |
| 47 | let U d := Finset.univ.erase (0: Site (M d)); let S d := (U d).image lift |
| 48 | let W (d:ℕ) (l:Site (M d)):= yen ((flying A d i).drive x) (aliasAt p l) * (blow 1 p l)⁻¹ |
| 49 | let F(d:ℕ)(z:Cover):= if z∈ S d then W d (wrap _ z) else 0 |
| 50 | have he d : ∑' i,F d i= high (flying A d i) x p := by |
| 51 | change _=∑ l∈ U d,W d l |
| 52 | rw [tsum_eq_sum (s:=S d) (fun i hi=>if_neg hi)] |
| 53 | unfold S; rw [Finset.sum_image (lift_inj (L:=M d)).injOn]; exact Finset.sum_congr rfl fun i hi=> by rw [if_pos (Finset.mem_image_of_mem lift hi), wrap_lift] |
| 54 | let Z:= Σ d, { l// l∈ U d}; let L := fun z:Z=> M z.1; let v (z:Z): Site (L z):= z.2.val |
| 55 | have ho (j:Z) : Odd (L j).val := Train.mass_odd _ |
| 56 | have hx(z:Z): v z≠0:= (Finset.mem_erase.mp z.2.2).1 |
| 57 | have h:= (blow_control L (fun _ => 1) ho v).inv (blow_firm L (fun _=>1) ho v hx) fun i=> pow_pos (grade_pos _) _ |
| 58 | have H : Moderate (fun z=> decay (A.clock.J i) (v z)* (grade (v z)^2)⁻¹) fun (t:Z) q =>yen ((flying A t.1 i).drive x) (aliasAt q (v t))*(blow 1 q (v t))⁻¹ := |
| 59 | (Train.drive_yen (fun z:Z=> flying A z.1 i) v (fun _=> x)).mul h |
| 60 | obtain ⟨α,C,hα,hC,HH⟩:=H |
| 61 | have hj : Tendsto (fun i=>(M i).val) atTop atTop:=far_mass A i |
| 62 | have hk d z : ‖F d z‖ ≤ C*vaultX z:=by |
| 63 | unfold F; split; rename_i hy |
| 64 | · obtain ⟨t,ht,rfl⟩:= mem_image.mp hy; rw [wrap_lift] |
| 65 | let Z' : Z := ⟨d,t,ht⟩; have he:grade (v Z') ≠ 0 := (grade_pos _).ne' |
| 66 | apply ((HH Z').bound p (mem_cube_real (base_subset_realCube hα hp) hα)).trans |
| 67 | have hu := mul_le_of_le_one_right (decay_pos t (A.clock.J i)).le (inv_le_one_of_one_le₀ (one_le_pow₀ (n:=2) (grade_ge t))) |
| 68 | exact mul_le_mul_of_nonneg_left (hu.trans (decay_anti t (le_trans (by decide:2≤4) (A.clock.adm i)))) hC.le |
| 69 | unfold vaultX; rw [norm_zero]; positivity |
| 70 | have hv z: ∃ y,Tendsto (fun d=> F d z) atTop (𝓝 y):=by |
| 71 | by_cases h : z=0 |
| 72 | · subst z; refine ⟨(0:ℂ),tendsto_const_nhds.congr fun d=>?_⟩ |
| 73 | refine Eq.symm (if_neg fun h=>?_); obtain ⟨i,hi,he⟩:=mem_image.mp h |
| 74 | exact (Finset.mem_erase.mp hi).1 (lift_inj (he.trans (lift_origin _).symm)) |
| 75 | let q:= p+reciprocal z; have he : physical q := physical_iff q|>.mpr fun i=>by simp [q,physical_iff p |>.mp hp.1, reciprocal] |
| 76 | have hs : q≠0:= by |
| 77 | intro hk; have hP := base_subset_realCube zone_pos hp |
| 78 | have hu : q∈realCube zone := hk ▸ show (0:Momentum)∈realCube zone from ⟨by unfold physical; simp, by intro i; simp [add_pos Real.pi_pos zone_pos]⟩ |
| 79 | exact (overlap_regular h hP hu).2 hk |
| 80 | obtain ⟨w,hw⟩:=soldY A x i q he |
| 81 | have hy : (↑(lengthSq q):ℂ)≠0:= Complex.ofReal_ne_zero.mpr (lengthSq_pos hs).ne' |
| 82 | refine ⟨_,(hw.mul (plane A i q he|>.inv₀ hy)).congr' ?_⟩ |
| 83 | filter_upwards [settled _ hj z] with d hd |
| 84 | have hb : aliasAt p (wrap (M d) z)=narrow (M d) q:=by ext1 j; rw [alias_value,narrow_apply,hd]; rfl |
| 85 | have hm : wrap (M d) z∈ U d:= mem_erase.mpr ⟨fun he=> h (hd.symm.trans (he ▸ lift_origin _)),mem_univ _⟩ |
| 86 | have hu : blow 1 p (wrap (M d) z)=divisor (M d) q:=by |
| 87 | have ht:= blow_zero q 1 (M d) |
| 88 | simpa only [blow,hb,alias_zero_eq,mul_one] using (show blow 1 q 0=divisor (M d*1) q from ht) |
| 89 | change _=F d z; rw [show F d z=_ from if_pos (show z∈ S d from mem_image.mpr ⟨_,hm,hd⟩)] |
| 90 | unfold W; rw [hu,hb] |
| 91 | choose y hy using hv |
| 92 | refine ⟨_,(tendsto_tsum_of_dominated_convergence ((VA M hj).mul_left _) hy (Eventually.of_forall hk)).congr he⟩ |
| 93 | end YM.Next.Free.OnTrack |
| 94 | namespace YM.Next.Free.OnTrack |
| 95 | open Filter Set Function Lattice Laurent Bloch Metric Exterior Matrix Precision RG Work.F08 Craft Bid Train Finset |
| 96 | open scoped Topology BigOperators ComplexConjugate |
| 97 | variable {G:Gauge} (A:Levels G) (x:Axis) (i:ℕ) |
| 98 | lemma arrival {p:Momentum}(hp:p∈baseCube)(he:p≠0){k:ℝ}(hk:0<k): |
| 99 | ∃ y:ℂ, 0 < y.re ∧ Tendsto (fun N=> Train.levelD k (location A N i) x p) atTop (𝓝 y):=by |
| 100 | obtain ⟨b,hb⟩:=above_the_wing A x i p hp; obtain ⟨c,hc,H⟩:=dusty A x i p hp; obtain ⟨f,hF⟩:=soldY A x i p hp.1 |
| 101 | have HE := ((plane A i p hp.1).inv₀ (Complex.ofReal_ne_zero.mpr (lengthSq_pos he).ne')); let K:=f* (↑(lengthSq p):ℂ)⁻¹+b |
| 102 | have hpw : Tendsto (fun d=> feed (flying A d i) x (fun p=> (divisor 1 p)⁻¹) p) atTop (𝓝 K):=by |
| 103 | refine ((hF.mul HE).add hb).congr fun d=>?_; let y:= flying A d i |
| 104 | have h:=pole_split k y x p; unfold levelD drain at h; rw [←add_assoc] at h; exact (add_right_cancel h).symm |
| 105 | have Hy : 0≤ K.re:=ge_of_tendsto' (Complex.continuous_re.continuousAt.tendsto.comp hpw) fun d=> (feed_cost (flying A d i) x (fun v hv => (Silver.chipSq 1 hv).inv) p hp.1).re_nonneg |
| 106 | have HN : Tendsto (fun N:ℕ=> N-i) atTop atTop:= tendsto_atTop_atTop.mpr fun d=> ⟨d+i,fun j h => by omega⟩ |
| 107 | refine ⟨K+(k:ℂ)⁻¹*c,?_,(hpw.add (H.const_mul _)).comp HN⟩ |
| 108 | rw [←Complex.ofReal_inv,Complex.add_re,Complex.mul_re]; simp only [Complex.ofReal_re,Complex.ofReal_im,zero_mul,sub_zero] |
| 109 | exact add_pos_of_nonneg_of_pos Hy (mul_pos (inv_pos.mpr hk) (zero_lt_one.trans_le hc)) |
| 110 | end YM.Next.Free.OnTrack |