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.RemainderComparison.Gaussian.Album |
| 2 | import YM.AnalyticNext.QUARTIC_MATCH.Residual |
| 3 | |
| 4 | /-! |
| 5 | # Scale valuation. Negative finite prefactors canceled in analytic chart. |
| 6 | Masks inserted BEFORE the full-group integral. Use compensated factor only |
| 7 | on x-interior; equality under `cleared` through real receipt, all factorials |
| 8 | for uncut Gaussian prescription accounted. |
| 9 | -/ |
| 10 | set_option autoImplicit false |
| 11 | noncomputable section |
| 12 | namespace YM.RemainderComparison.Germ |
| 13 | open Matrix Filter Function Metric Set ProbabilityTheory MeasureTheory Finset |
| 14 | open Lattice RG Push.AbsoluteSums ConnectedActivityE6 Trace |
| 15 | open Coat PhysicalNext.Repeat Lantern Poll Blaze Brush |
| 16 | open scoped Topology BigOperators Classical NNReal ENNReal ContDiff |
| 17 | variable {G : Gauge} {L : Side} {p q : ℝ → ℝ} |
| 18 | variable {ι : Type} [Fintype ι] |
| 19 | variable {E F H : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 20 | variable [NormedAddCommGroup F] [NormedSpace ℝ F] [NormedAddCommGroup H] [NormedSpace ℝ H] |
| 21 | variable {n j m k i : ℕ} {v u D C A b : ℝ} |
| 22 | local notation "ℰ" => ℝ×E |
| 23 | local notation "Ξ" => Poll.Body ι |
| 24 | variable {U : ℝ × E → Poll.Body ι → F} |
| 25 | |
| 26 | /-- Ordinary multiindex valuation at the original coordinates. |
| 27 | Enough in nonlinear chart via Taylor on composed germ (below). |
| 28 | This condition must actually hold (when using it on connected-completed |
| 29 | Taylor monomials it is owned by their render producer). -/ |
| 30 | def cleared (f : E→F) (m : ℕ) (x:E) : Prop:= |
| 31 | ∀ i < m, iteratedFDeriv ℝ i f x=0 |
| 32 | lemma chart_cleared (f : E→F) (h : cleared f m 0) (hS : ContDiffAt ℝ (↑m) f 0) |
| 33 | (P : H→E) (x : H) (hx : P x=0) (hP : ContDiffAt ℝ (↑m) P x) : |
| 34 | cleared (f ∘ P) m x := by |
| 35 | intro i hi; let F' s:= P (x+s) |
| 36 | have he : ContDiffAt ℝ (↑m) F' 0:= (show ContDiffAt ℝ (↑m) P (x+0) from (add_zero x).symm ▸ hP).comp _ (contDiffAt_const.add contDiffAt_id) |
| 37 | have hx': F' 0=0:=by unfold F'; rw [add_zero,hx] |
| 38 | have ht := AnalyticNext.QuarticMatch.first_comp (k:=i) (hS.of_le (by exact_mod_cast hi.le)) (fun j hj=> h j (hj.trans hi)) (he.of_le (by exact_mod_cast hi.le)) hx' |
| 39 | rw [h i hi] at ht |
| 40 | rw [show iteratedFDeriv ℝ i (f ∘ P) x=iteratedFDeriv ℝ i (f ∘ F') 0 from ?_,ht] |
| 41 | · ext; simp |
| 42 | change _ = iteratedFDeriv ℝ i (fun y => (f ∘ P) (x+y)) 0; rw [iteratedFDeriv_comp_add_left,add_zero] |
| 43 | lemma free (f:ℰ→F) {a:ℰ} (h : cleared f (m+1) ((0:ℝ),a.2)) : Trace.trunc m f a = 0 := by |
| 44 | unfold Trace.trunc Trace.polyeval; exact Finset.sum_eq_zero (fun i hi=> by unfold Trace.coefficient Trace.plain; rw [h i (Finset.mem_range.mp hi)]; simp) |
| 45 | |
| 46 | section appendages |
| 47 | variable [CompleteSpace F] [SecondCountableTopology F] [FiniteDimensional ℝ E] |
| 48 | lemma suspension {x:E} {Q : ℰ→F} (h : Brush (j+(m+1)) C 1 Q (0,x)) : |
| 49 | Brush j (C+1) 1 (Trace.pending Q m) (0,x) := by |
| 50 | obtain ⟨d,hd,hD⟩:= Metric.mem_nhds_iff.mp (Trace.nearby h (lt_add_one C)) |
| 51 | refine Trace.work Q m ((0:ℝ),x) ?_ |
| 52 | filter_upwards [Metric.ball_mem_nhds ((0:ℝ),x) hd] with y hy t ht; apply hD |
| 53 | have he : Trace.crossing t (0,x)=(0,x):= by change (t*(0:ℝ),x)= _; simp |
| 54 | rw [mem_ball_iff_norm, ← he,← map_sub] |
| 55 | exact ((Trace.crossing (E:=E) t).le_opNorm (y-(0,x))).trans_lt ((mul_le_of_le_one_left (norm_nonneg _) (Trace.fare (E:=E) t ht)).trans_lt (mem_ball_iff_norm.mp hy)) |
| 56 | |
| 57 | def append (U : ℰ → Ξ→ F) (m : ℕ) (x : ℰ) (z : Ξ) := Trace.pending (fun x=> U x z) m x |
| 58 | lemma Picture.dipped (h : Picture U D v u (j+(m+1)) C) : Picture (append U m) D v u j C:= by |
| 59 | let P:= patch E v u; let Z:= closedBall (0:Ξ) D |
| 60 | let H x z:= Trace.pending (fun x=> U x z) m x; let K x:= Z.indicator (H x) |
| 61 | have he (x) (hx:x∈P) := (show ∀ᶠ y in 𝓝 x, y∈P from (patch_open ..).mem_nhds hx) |
| 62 | have hp (x) (hx:x∈P) (z:Ξ) (hz:‖z‖≤D) : Brush j C 1 (fun x => H x z) x := Trace.work _ _ _ ((he x hx).mono fun y hy t ht=> h.budget _ (keeps hy ht) z hz) |
| 63 | have h' x z : K x z=Trace.pending (fun x=> velvet U D x z) m x := by |
| 64 | by_cases hv : z∈Z |
| 65 | · rw [show K x z= _ from indicator_of_mem hv (H x)] |
| 66 | exact congr_arg (fun Q:ℰ→F=> Trace.pending Q m x) (funext fun i=> Eq.symm (indicator_of_mem hv _)) |
| 67 | rw [show K x z=0 from indicator_of_notMem hv (H x), show (fun x=> velvet U D x z)=(fun _=> (0:F)) from funext fun i=> indicator_of_notMem hv _] |
| 68 | simp [Trace.pending,Trace.toll,Trace.plain] |
| 69 | have hK (x:ℰ) (hx:x∈P) z : Brush j C 1 (fun x=> K x z) x:= by |
| 70 | simp_rw [h']; exact Trace.work _ _ _ ((he _ hx).mono fun i hi t ht=> h.stamp (keeps hi ht) z) |
| 71 | refine ⟨h.expense,fun x hx=> ?_,hp⟩ |
| 72 | have hb (b:ℝ) (j':E) (hx:(b,j')∈P) (hv:b≠0) : StronglyMeasurable (K (b,j')):= by |
| 73 | have hc : (0,j')∈P:= ⟨mem_ball_self (patch_zero hx).1,hx.2⟩ |
| 74 | let H z:= fun x=> velvet U D x z |
| 75 | let W (z:Ξ) := Trace.trunc m (H z) (b,j') |
| 76 | have hw : StronglyMeasurable W:= by |
| 77 | unfold W trunc polyeval; apply Finset.stronglyMeasurable_fun_sum; intro i hi |
| 78 | let L:= ContinuousMultilinearMap.apply ℝ (fun _:Fin i=>ℰ) F (fun _=> (1,0)); have hi:= Finset.mem_range.mp hi |
| 79 | exact StronglyMeasurable.smul (stronglyMeasurable_const (b:=b^i)) (StronglyMeasurable.smul (stronglyMeasurable_const (b:=(i.factorial:ℝ)⁻¹)) (L.continuous.comp_stronglyMeasurable ((h.mend (by omega : i≤j+(m+1)) le_rfl le_rfl le_rfl).vital hc))) |
| 80 | have hk z : velvet U D (b,j') z= W z + b^(m+1) • K (b,j') z := by |
| 81 | rw [h']; exact Trace.quote _ _ (fun i hi=> ((h.stamp (keeps hx hi) z).smaller (show m+1≤j+(m+1) from Nat.le_add_left ..)).smooth) |
| 82 | rw [show K (b,j')=(fun z=> (b^(m+1))⁻¹ • (velvet U D (b,j') z-W z)) from funext fun z=> by rw [hk,add_sub_cancel_left,inv_smul_smul₀ (pow_ne_zero _ hv)]] |
| 83 | exact StronglyMeasurable.smul (stronglyMeasurable_const (b:=(b^(m+1))⁻¹)) ((h.cut _ hx).sub hw) |
| 84 | change StronglyMeasurable (K x) |
| 85 | obtain ⟨b,i⟩:=x; by_cases hv : b=0 |
| 86 | swap; · exact hb _ _ hx hv |
| 87 | subst b |
| 88 | let k (y:ℝ):= if (y,i)∈P ∧ y≠0 then K (y,i) else 0 |
| 89 | have hk (y:ℝ) : StronglyMeasurable (k y):= by unfold k; split_ifs with h; exact hb _ _ h.1 h.2; exact stronglyMeasurable_const |
| 90 | apply stronglyMeasurable_of_tendsto (𝓝[≠] (0:ℝ)) hk |
| 91 | refine (tendsto_pi_nhds.2 (fun z=> (((hK _ hx z).smooth.continuousAt.comp (f:=fun (y:ℝ)=>(y,i)) (by fun_prop)).continuousWithinAt (s:={(0:ℝ)}ᶜ)).tendsto)).congr' ?_ |
| 92 | have hp := Tendsto.eventually (show Tendsto (fun y:ℝ=>(y,i)) (𝓝 (0:ℝ)) (𝓝 (0,i)) from by change ContinuousAt (fun y:ℝ=>(y,i)) 0; fun_prop) (he _ hx) |
| 93 | filter_upwards [hp.filter_mono nhdsWithin_le_nhds, self_mem_nhdsWithin] with y hy ht using Eq.symm (if_pos ⟨hy,ht⟩) |
| 94 | lemma Cloud.dipped (h : Cloud U D v u (j+(m+1)) n C) : Cloud (append U m) D v u j n (C+1):= by |
| 95 | refine ⟨h.toPicture.dipped.mend le_rfl le_rfl le_rfl (le_add_of_nonneg_right zero_le_one),fun y hy z=> ?_,fun R hR=> ?_⟩ |
| 96 | · exact (suspension (Q:=fun x=> U x z) (h.view _ hy z)).climb (by rw [add_mul,one_mul]; exact add_le_add le_rfl (one_le_pow₀ (le_add_of_nonneg_right (norm_nonneg _)))) le_rfl |
| 97 | obtain ⟨d,hd,Q,hQ⟩:= h.satellite R hR; exact ⟨d,hd,_,hQ.dipped⟩ |
| 98 | end appendages |
| 99 | |
| 100 | section receipt |
| 101 | def reduced (U : ℰ → Ξ → F) : ℕ → ℰ → Ξ→F |
| 102 | | 0=> U |
| 103 | | m+1=> append U m |
| 104 | def promote (U : ℰ → Ξ→F) (m i : ℕ) (x : ℰ) (z : Ξ):=x.1^i • reduced U m x z |
| 105 | |
| 106 | variable [CompleteSpace F] |
| 107 | lemma receipt (h : Picture U D v u (j+m) C) {a:ℰ} (hx : a∈patch E v u) (he:a.1≠0) {z:Ξ} (hv : ‖z‖≤D) |
| 108 | (hr : cleared (fun x => U x z) m (0,a.2)) : promote U m i a z =a.1^i • (a.1^m)⁻¹ • U a z := by |
| 109 | unfold promote; apply congr_arg (a.1^i • ·); cases m with |
| 110 | | zero=> simp only [pow_zero,inv_one,one_smul]; rfl |
| 111 | | succ m => |
| 112 | have hh : U a z = a.1^(m+1) • reduced U (m+1) a z := by |
| 113 | calc |
| 114 | _ = Trace.trunc m (fun x=> U x z) a + a.1^(m+1) • Trace.pending (fun x=> U x z) m a:= Trace.quote _ _ |
| 115 | (fun t ht=> ((h.budget _ (keeps hx ht) z hv).smaller (show m+1≤j+(m+1) from Nat.le_add_left ..)).smooth) |
| 116 | _ = _:= by rw [free (a:=a) _ hr,zero_add]; rfl |
| 117 | rw [hh,inv_smul_smul₀ (pow_ne_zero _ he)] |
| 118 | variable [FiniteDimensional ℝ E] [SecondCountableTopology F] |
| 119 | lemma promoted (h : Cloud U D v u (j+m) n C) (hi:v≤1) (i : ℕ) : Cloud (promote U m i) D v u j n ((3^j)^i*(C+1)*3^j) := by |
| 120 | have hp: Cloud (reduced U m) D v u j n (C+1):= by |
| 121 | cases m |
| 122 | · exact h.raise le_rfl le_rfl le_rfl (le_add_of_nonneg_right zero_le_one) le_rfl |
| 123 | exact h.dipped |
| 124 | have hh := (powerCloud (E:=E) hi D u i j).mix hp; rw [zero_add] at hh |
| 125 | exact hh |
| 126 | end receipt |
| 127 | end YM.RemainderComparison.Germ |