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.Shell |
| 2 | |
| 3 | /-! |
| 4 | # Seed the analytic jump by integration on a Euclidean cylinder |
| 5 | |
| 6 | For strictly Euclidean exterior times and Euclidean slot for the stress, can |
| 7 | integrate the weighted divergence on positive and negative sides |
| 8 | simultaneously. Endpoint at zero height needn't be a regular value and we |
| 9 | need no direct derivative identity at it. Use continuity of interval |
| 10 | primitive of the *classically integrable shell*. |
| 11 | -/ |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | namespace YM.EveryPhase.Stress |
| 15 | open Function Set Filter MeasureTheory Metric Boundary Next.BOUNDARY Mink Complex Probe Table |
| 16 | open Work.C20 |
| 17 | open scoped Topology BigOperators Interval ContDiff LineDeriv |
| 18 | variable {n : ℕ} |
| 19 | |
| 20 | def hatChi (c : ContDiffBump (0:ℝ)) (g : Probe Space3) (u : ℝ) (x : E4) := c (YM.time x-u)*(g (spatial x)).re |
| 21 | |
| 22 | lemma hat_diff (c : ContDiffBump (0:ℝ)) (g : Probe Space3) (u) : ContDiff ℝ ∞ (hatChi c g u) := by |
| 23 | unfold hatChi |
| 24 | exact (c.contDiff.comp (clockL.contDiff.sub contDiff_const)).mul |
| 25 | ((Complex.reCLM.contDiff.comp (g.smooth ⊤)).comp restL.contDiff) |
| 26 | lemma hat_size (c : ContDiffBump (0:ℝ)) (g : Probe Space3) (hg : HasCompactSupport ⇑g) (u) : |
| 27 | HasCompactSupport (hatChi c g u) ∧ tsupport (hatChi c g u) ⊆ {x | |YM.time x-u| ≤ c.rOut} := by |
| 28 | let K : Set E4 := {x | |YM.time x-u| ≤ c.rOut} |
| 29 | have hp : tsupport (hatChi c g u) ⊆ K := by |
| 30 | refine closure_minimal (fun x hx => ?_) (isClosed_le (by fun_prop) continuous_const) |
| 31 | by_contra HH |
| 32 | change ¬ |YM.time x-u| ≤ c.rOut at HH; apply hx; unfold hatChi |
| 33 | rw [c.zero_of_le_dist (by simpa [Real.dist_eq] using (lt_of_not_ge HH).le),zero_mul] |
| 34 | refine ⟨?_,hp⟩ |
| 35 | let k := tsupport g ×ˢ closedBall u c.rOut |
| 36 | refine HasCompactSupport.intro ((hg.prod (isCompact_closedBall u c.rOut)).image divide.symm.continuous) ?_ |
| 37 | intro x hx; by_contra e |
| 38 | have he := hp (subset_closure (a:=x) (show x∈support (hatChi c g u) from e)) |
| 39 | have hb : spatial x∈tsupport g := by |
| 40 | by_contra h; apply e; simp [hatChi,image_eq_zero_of_notMem_tsupport h] |
| 41 | apply hx; refine ⟨(spatial x,YM.time x),⟨hb,?_⟩,by simp⟩ |
| 42 | simpa [Real.dist_eq] using (show |YM.time x-u| ≤ c.rOut from he) |
| 43 | lemma hat_jets (c : ContDiffBump (0:ℝ)) (g : Probe Space3) (hr : ∀ r, ((g r).re:ℂ)=g r) (u s : ℝ) (y : Space3) : |
| 44 | (((Analysis.D (basis timeAxis) (hatChi c g u) (position y (u+s)):ℝ):ℂ))=((deriv c s:ℝ):ℂ)*g y ∧ |
| 45 | ∀ i : SpaceAxis, (((Analysis.D (basis i.castSucc) (hatChi c g u) (position y (u+s)):ℝ):ℂ))= |
| 46 | (c s:ℂ)*drift g i y := by |
| 47 | let x := position y (u+s) |
| 48 | let f := fun p : E4 => c (YM.time p - u) |
| 49 | have hf : DifferentiableAt ℝ f x := ((c.contDiff.differentiable (n:=∞) (by simp)) _).comp x |
| 50 | ((clockL.differentiableAt).sub (differentiableAt_const _)) |
| 51 | have hv : DifferentiableAt ℝ (fun p : E4 => g (spatial p)) x := (g.differentiableAt).comp x restL.differentiableAt |
| 52 | have he (a : Axis) : (((Analysis.D (basis a) (hatChi c g u) x:ℝ):ℂ))= |
| 53 | (c s:ℂ)* fderiv ℝ g y (spatial (basis a)) + g y *((deriv c s*YM.time (basis a):ℝ):ℂ) := by |
| 54 | have hw := ofRealCLM.hasFDerivAt.comp x (((hat_diff c g u).differentiable (by simp)) x).hasFDerivAt |
| 55 | have hL : DifferentiableAt ℝ (fun p : E4 => (f p:ℂ)) x := ofRealCLM.differentiableAt.comp x hf |
| 56 | rw [show ofRealCLM ∘ hatChi c g u=fun p => (f p:ℂ)*g (spatial p) by funext p; simp [hatChi,f,hr] ] at hw |
| 57 | have ht := DFunLike.congr_fun hw.fderiv (basis a) |
| 58 | have hF : HasFDerivAt f ((ContinuousLinearMap.smulRight (1 : ℝ →L[ℝ] ℝ) (deriv c s)).comp clockL) x := by |
| 59 | have hp : YM.time x-u=s := by simp [x] |
| 60 | have hu := ((clockL.hasFDerivAt (x:=x)).sub_const u) |
| 61 | rw [← hp] |
| 62 | exact (((c.contDiff.differentiable (n:=∞) (by simp)) _).hasDerivAt.hasFDerivAt).comp x hu |
| 63 | rw [fderiv_fun_mul hL hv] at ht |
| 64 | have hq : fderiv ℝ (fun p => (f p:ℂ)) x (basis a)=((deriv c s:ℝ):ℂ)*(YM.time (basis a):ℂ) := by |
| 65 | change fderiv ℝ ((⇑ofRealCLM) ∘ f) x (basis a)=_ |
| 66 | rw [(ofRealCLM.hasFDerivAt.comp x hF).fderiv]; simp [mul_comm] |
| 67 | have hh : fderiv ℝ (fun p => g (spatial p)) x (basis a)=fderiv ℝ g y (spatial (basis a)) := by |
| 68 | change fderiv ℝ ((⇑g) ∘ (⇑restL)) x (basis a)=_ |
| 69 | rw [fderiv_comp x g.differentiableAt restL.differentiableAt, restL.fderiv]; simp [x] |
| 70 | change ((f x:ℂ)*fderiv ℝ (fun p => g (spatial p)) x (basis a)+g (spatial x)*fderiv ℝ (fun p => (f p:ℂ)) x (basis a))= _ at ht |
| 71 | rw [hq,hh,show f x=c s by simp [f,x],show spatial x=y by simp [x],← ofReal_mul] at ht |
| 72 | exact ht.symm |
| 73 | constructor |
| 74 | · rw [he]; simp [mul_comm] |
| 75 | intro i |
| 76 | have ht : YM.time (basis i.castSucc)=0 := by simp [YM.time,Ne.symm (show i.castSucc≠timeAxis from Fin.castSucc_ne_last i)] |
| 77 | have hj : spatial (basis i.castSucc)=needle i := by |
| 78 | ext l; by_cases h : l=i <;> simp [basis_eq,needle,Ray.fromAxis,spatial,h] |
| 79 | rw [he]; simp [ht,hj, drift_at] |
| 80 | |
| 81 | def pureReady (x : Points (n+1)) (k : Fin (n+1)) (d : ℝ) := 0<d ∧ ∀ s∈Ioc 0 d, |
| 82 | hole k.succ (pureU x) ((((YM.time (x k)+s):ℝ):ℂ)*I) ∈ strict (n+2) ∧ |
| 83 | hole k.castSucc (pureU x) ((((YM.time (x k)-s):ℝ):ℂ)*I) ∈ strict (n+2) |
| 84 | lemma preparation (x : Points (n+1)) (hx : x∈ordered (n+1)) (k : Fin (n+1)) : ∃ d, pureReady x k d := by |
| 85 | obtain ⟨d,hd,h⟩ := affords (pure_time hx) k |
| 86 | refine ⟨d,hd,?_⟩; intro s hs |
| 87 | have hu := h.self_of_nhds |
| 88 | change _ ∧ (∀ (z : ℂ) (s : ℝ), _ → _ → _ → _) at hu |
| 89 | simpa only [ofReal_add,ofReal_sub,add_mul,sub_mul,pureU] using hu.2 (pureU x k) s rfl hs.1 hs.2 |
| 90 | |
| 91 | lemma hat_window (x : Points (n+1)) (k : Fin (n+1)) {d : ℝ} (h : pureReady x k d) |
| 92 | (c : ContDiffBump (0:ℝ)) (hc : c.rOut < d) |
| 93 | (g : Probe Space3) (hg : HasCompactSupport ⇑g) (hr : g =ᶠ[𝓝 (spatial (x k))] fun _ => (1:ℂ)) : |
| 94 | Window (Points.rearrange (first k) x) (hatChi c g (YM.time (x k))) := by |
| 95 | let u := YM.time (x k) |
| 96 | refine ⟨hat_diff ..,(hat_size c g hg u).1, ?_, ?_⟩ |
| 97 | · rw [Points.rearrange_at,first_coord] |
| 98 | have he : Tendsto (fun p => YM.time p-u) (𝓝 (x k)) (𝓝 0) := by |
| 99 | simpa [u] using ((clock_cont.tendsto (x k)).sub_const u) |
| 100 | filter_upwards [he.eventually c.eventuallyEq_one,(rest_cont.tendsto (x k)).eventually hr] with i hi hI |
| 101 | change c (_-u)*_=1 |
| 102 | change c (YM.time i-u) = 1 at hi; rw [hi,hI]; simp |
| 103 | intro i he |
| 104 | rw [Points.rearrange_at,first_next] at he |
| 105 | let j := k.succAbove i |
| 106 | have hp : |YM.time (x j)-u|≤c.rOut := (hat_size c g hg u).2 he |
| 107 | have hv := h.2 d ⟨h.1,le_rfl⟩ |
| 108 | rcases lt_or_gt_of_ne (show j ≠ k from Fin.succAbove_ne _ _) with hj|hj |
| 109 | · have he := hv.2 (show k.castSucc.succAbove j< k.castSucc from |
| 110 | (Fin.succAbove_lt_iff_castSucc_lt ..).2 (Fin.castSucc_lt_castSucc_iff.mpr hj)) |
| 111 | simp only [hole_self,hole_next, pureU, Complex.mul_I_im, ofReal_re] at he |
| 112 | have he : YM.time (x j)<u-d := he |
| 113 | linarith [(abs_le.mp hp).1] |
| 114 | have ht := hv.1 (show k.succ < k.succ.succAbove j from |
| 115 | (Fin.lt_succAbove_iff_lt_castSucc ..).2 (Fin.succ_lt_succ_iff.mpr hj)) |
| 116 | simp only [hole_self,hole_next,pureU,Complex.mul_I_im,ofReal_re] at ht |
| 117 | have ht : u+d<YM.time (x j) := ht |
| 118 | linarith [(abs_le.mp hp).2] |
| 119 | |
| 120 | lemma split_space {f : E4 → ℂ} (u : ℝ) (hf : Integrable f) : |
| 121 | Integrable (fun s : ℝ => ∫ r, f (position r (u+s))) ∧ |
| 122 | (∫ y, f y)=∫ s : ℝ, ∫ r, f (position r (u+s)) := by |
| 123 | let e := divide.symm.toHomeomorph.toMeasurableEquiv |
| 124 | have hp : MeasurePreserving e volume volume := MeasurePreserving.symm e.symm volume_divide |
| 125 | have he : Integrable (f ∘ e) (volume.prod volume) := (hp.integrable_comp_emb e.measurableEmbedding).mpr hf |
| 126 | let g := fun s : ℝ => ∫ r, f (position r s) |
| 127 | have hh : Integrable g := he.integral_prod_right |
| 128 | change Integrable (fun s => g (u+s)) ∧ _ |
| 129 | constructor |
| 130 | · exact (measurePreserving_add_left volume u).integrable_comp_of_integrable hh |
| 131 | rw [← hp.integral_comp e.measurableEmbedding] |
| 132 | change (∫ p, (f ∘ e) p ∂(volume.prod volume))=∫ s, g (u+s) |
| 133 | rw [integral_prod_symm _ he,integral_add_left_eq_self]; rfl |
| 134 | |
| 135 | lemma curtainsFTC (d : ℝ) (hd : 0<d) (f F Y : ℝ → ℂ) (hf : Integrable f) (hg : support f ⊆ Ioo (-d) d) |
| 136 | (hF : F d=0) (hY : ∀ s∈Ioc 0 d, HasDerivAt F (f s+f (-s)) s) |
| 137 | (hv : F =ᶠ[𝓝[>] 0] Y) : Tendsto Y (𝓝[>] 0) (𝓝 (-∫ s, f s)) := by |
| 138 | let w := fun s => f s+f (-s) |
| 139 | have he : Integrable (fun s : ℝ => f (-s)) := by |
| 140 | simpa using (integrable_comp_mul_left_iff f (show (-1:ℝ)≠0 by norm_num)).2 hf |
| 141 | have hw : Integrable w := hf.add he |
| 142 | have ht : (∫ s in 0..d, w s)=∫ s, f s := by |
| 143 | unfold w; rw [intervalIntegral.integral_add (hf.intervalIntegrable ..) |
| 144 | he.intervalIntegrable, |
| 145 | intervalIntegral.integral_comp_neg, neg_zero, add_comm, intervalIntegral.integral_add_adjacent_intervals (hf.intervalIntegrable ..) (hf.intervalIntegrable ..), |
| 146 | intervalIntegral.integral_of_le (by linarith)]; exact setIntegral_eq_integral_of_forall_compl_eq_zero fun x hx => by_contra fun h => hx (Ioo_subset_Ioc_self (hg h)) |
| 147 | have hu := intervalIntegral.continuous_primitive (fun a b => hw.intervalIntegrable) d |
| 148 | rw [← ht, intervalIntegral.integral_symm d 0, neg_neg] |
| 149 | apply Tendsto.congr' _ ((hu.tendsto 0).mono_left (nhdsWithin_le_nhds (s:=Ioi 0))) |
| 150 | refine EventuallyEq.trans ?_ hv |
| 151 | filter_upwards [(nhdsGT_basis_Ioc 0).mem_of_mem hd] with s hs |
| 152 | change (∫ s in d..s, w s)=F s |
| 153 | rw [intervalIntegral.integral_eq_sub_of_hasDerivAt (fun i hi => hY i (by |
| 154 | rw [uIcc_comm,uIcc_of_le hs.2] at hi; exact ⟨hs.1.trans_le hi.1,hi.2⟩)) (hw.intervalIntegrable ..),hF,sub_zero] |
| 155 | |
| 156 | end YM.EveryPhase.Stress |