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.Anchor |
| 2 | import YM.RemainderComparison.Gaussian.Lift |
| 3 | |
| 4 | /-! |
| 5 | # Analytic path/pack/test vertices from their stencil jets. |
| 6 | |
| 7 | `braces` BEFORE applying b^{-m}; can traverse even profile boundary. One |
| 8 | uses the chart of the `T` output, in particular evaluations at distant z |
| 9 | at b ≠ 0 unrestricted are not needed. Use AP for every core amplitude |
| 10 | model H; Budget uses same `p,U,v` and μ independent of cutoff version. |
| 11 | Keep exterior accounting and real `Life` tests separate. |
| 12 | -/ |
| 13 | set_option autoImplicit false |
| 14 | noncomputable section |
| 15 | namespace YM.RemainderComparison.Germ |
| 16 | open Matrix Filter Function Metric Set ProbabilityTheory MeasureTheory Finset |
| 17 | open Lattice RG Push.AbsoluteSums ConnectedActivityE6 Trace |
| 18 | open Coat PhysicalNext.Repeat Lantern Poll Blaze Brush |
| 19 | open scoped Topology BigOperators Classical NNReal ENNReal ContDiff |
| 20 | variable {G : Gauge} {L : Side} {p q : ℝ → ℝ} |
| 21 | variable {ι : Type} [Fintype ι] [DecidableEq ι] |
| 22 | variable {E F H : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 23 | variable [NormedAddCommGroup F] [NormedSpace ℝ F] [NormedAddCommGroup H] [NormedSpace ℝ H] |
| 24 | variable {n j r m k : ℕ} {v u D d C A b : ℝ} {W : E × Poll.Body ι→F} |
| 25 | {Q : E→Matrix ι ι ℝ} {ϕ ψ : E×Poll.Body ι→ ℝ} {ρ : E→ Poll.Body ι} |
| 26 | local notation "ℰ" => ℝ×E |
| 27 | local notation "Ξ" => Poll.Body ι |
| 28 | |
| 29 | def usage (ρ : E→Poll.Body ι) (z : Poll.Body ι) (x : ℝ×E) : E × Poll.Body ι := Lantern.visit ρ z 1 (kite x) |
| 30 | def braces (W : E×Poll.Body ι→F) (ρ : E→Poll.Body ι) (j : ℕ) (D v u A : ℝ) : Prop:= |
| 31 | ∀ x∈patch E v u,∀ z : Poll.Body ι,‖z‖ ≤ D → Brush j A 1 W (usage ρ z x) |
| 32 | def baggage (W : E×Poll.Body ι→F) (ρ : E→Poll.Body ι) (x : ℰ) (z:Ξ):= W (usage ρ z x) |
| 33 | def canopy' (j:ℕ) (D u C:ℝ):= Lantern.clump j (wind j u + wind j u) (spanE C D) |
| 34 | def vest (j:ℕ) (D u A C:ℝ):= Lantern.clump j (canopy' j D u C) A |
| 35 | local notation "₴" => vest |
| 36 | variable [FiniteDimensional ℝ E] [CompleteSpace F] [SecondCountableTopology F] |
| 37 | variable (h : Golf ϕ ψ ρ Q k D d d C) |
| 38 | include h |
| 39 | omit [FiniteDimensional ℝ E] in |
| 40 | lemma arrangement {q:ℝ×E} (hp : j≤k) (hv:v≤d) (ht:v*u≤d) (hx:q∈patch E v u) {z:Poll.Body ι} (hz:‖z‖ ≤ D) : |
| 41 | Brush j (canopy' j D u C) 1 (usage ρ z) q:= by |
| 42 | let p:= kite q; have hh: p∈patch E d d:= kite_moves hv ht hx |
| 43 | have hq := (patch_test ..).1 hh |
| 44 | exact composite ((aileron (v:=v) (hv.trans h.small) hx).2) (Lantern.camp ρ (t:=1) (by simp) (max_le (hq.1.le.trans h.small) (hq.2.le.trans h.small)) ((h.curve p.2 hq.2).smaller (by omega)) hz) |
| 45 | omit [FiniteDimensional ℝ E] [CompleteSpace F] in |
| 46 | lemma plank (hp : j≤k) (hz:0<v) (hv : v ≤ d) (ht : v*u ≤ d) (hu:0<u) (he : braces W ρ j D v u A) : Picture (baggage W ρ) D v u j (₴ j D u A C) := by |
| 47 | have hx x (hx:x∈patch E v u) z (hz:‖z‖≤D): Brush j (₴ j D u A C) 1 (fun i=> W (usage ρ z i)) x:= composite (arrangement h hp hv ht hx hz) (he x hx z hz) |
| 48 | let s:=closedBall (0:Ξ) D |
| 49 | refine ⟨(hx (0,0) (show _∈patch E v u from ⟨mem_ball_self hz,mem_ball_self hu⟩) 0 (by simpa using h.off)).nonneg,fun x hx=> ?_,hx⟩ |
| 50 | let f (z:Ξ):=W (usage ρ z x) |
| 51 | have hf:ContinuousOn f s := fun z hz=> by |
| 52 | apply ContinuousAt.continuousWithinAt; exact (he _ hx z (mem_closedBall_zero_iff.mp hz)).smooth.continuousAt.comp (f:=fun i=>usage ρ i x) (show ContinuousAt (fun i=>usage ρ i x) z by unfold usage Lantern.visit; fun_prop) |
| 53 | borelize F |
| 54 | change StronglyMeasurable (s.indicator f) |
| 55 | apply Measurable.stronglyMeasurable; apply measurable_of_restrict_of_restrict_compl (s:=s) measurableSet_closedBall |
| 56 | · rw [show s.restrict (s.indicator f)=s.restrict f from funext fun i=> indicator_of_mem i.2 _] |
| 57 | exact (continuousOn_iff_continuous_restrict.mp hf).measurable |
| 58 | rw [show sᶜ.restrict (s.indicator f)=(fun _=>0) from funext fun i=> indicator_of_notMem i.2 _] |
| 59 | exact measurable_const |
| 60 | -- expand at center only to enlarge moment cutoff. Need ball-continuity in all leg paths. |
| 61 | omit [FiniteDimensional ℝ E] [CompleteSpace F] [SecondCountableTopology F] in |
| 62 | lemma extra {u:ℝ} (hu:0<u) {c:ℝ} (hc:0<c) (he : Brush j A 1 W (0,ρ 0)) (R:ℝ) (hR : 0 ≤ R): ∃ v : ℝ, 0<v ∧ v ≤ c ∧ v*u ≤ c ∧ braces W ρ j R v u (A+1) := by |
| 63 | obtain ⟨e,he',hE⟩:= Metric.mem_nhds_iff.mp (Trace.nearby he (lt_add_one A)) |
| 64 | obtain ⟨u',hu',hU⟩:= Metric.mem_nhds_iff.mp ((h.curve _ (show ‖(0:E)‖ < d from norm_zero.trans_lt h.pos)).smooth.continuousAt (ball_mem_nhds (ρ 0) (half_pos he'))) |
| 65 | let m:= min u' (min e c); have hm:0 < m:=lt_min hu' (lt_min he' hc) |
| 66 | obtain ⟨v,hv,hK,hp⟩:= tiny_apron hm hu; let v':=min v (e/2/(1+R)); have hd: v'≤v := min_le_left .. |
| 67 | have hb : v'*u ≤ c:= (mul_le_mul_of_nonneg_right hd hu.le).trans (hp.trans ((min_le_right ..).trans (min_le_right ..))) |
| 68 | refine ⟨v',lt_min hv (by positivity), hd.trans (hK.trans ((min_le_right ..).trans (min_le_right ..))),hb,fun x hx z hz=> ?_⟩ |
| 69 | apply hE; have hs := (patch_test ..).1 hx |
| 70 | let p:=kite x; have he : ‖p.2‖ < m:= (patch_test ..|>.1 (kite_moves hK hp (patch_mono hd le_rfl hx))).2 |
| 71 | rw [mem_ball_iff_norm]; unfold usage Lantern.visit; rw [one_smul]; change max ‖p.2-0‖ ‖ρ p.2+p.1 • z-ρ 0‖< e |
| 72 | rw [sub_zero]; refine max_lt (he.trans_le ((min_le_right ..).trans (min_le_left ..))) ?_ |
| 73 | have ht: ‖ρ p.2-ρ 0‖<e/2:= mem_ball_iff_norm.mp (hU (mem_ball_zero_iff.mpr (he.trans_le (min_le_left ..)))) |
| 74 | have hf : ‖p.1 • z‖ ≤ e/2:= by |
| 75 | have hu' : 0≤v':=(norm_nonneg _).trans hs.1.le |
| 76 | rw [norm_smul]; exact (mul_le_mul hs.1.le (hz.trans (le_add_of_nonneg_left zero_le_one)) (norm_nonneg _) hu').trans ((le_div_iff₀ (by positivity : 0 < 1+R)).1 (min_le_right ..)) |
| 77 | rw [show ρ p.2+p.1 • z-ρ 0=(ρ p.2-ρ 0)+(p.1 • z) by abel] |
| 78 | exact ((norm_add_le ..).trans_lt (add_lt_add_of_lt_of_le ht hf)).trans_le (add_halves _).le |
| 79 | omit h [FiniteDimensional ℝ E] [DecidableEq ι] in |
| 80 | lemma prolonged (hc: 0≤C) (hA:0≤A) (hu: 0≤u) (z:Ξ) : ₴ j ‖z‖ u A C ≤ ₴ j 1 u A C*vat j z := by |
| 81 | let H:ℝ:= wind j u+wind j u; have hx:0 ≤ H:= by unfold H wind; positivity |
| 82 | let c:= 1+‖z‖; have hz:1 ≤ c:= le_add_of_nonneg_right (norm_nonneg _) |
| 83 | have hp: canopy' j ‖z‖ u C ≤ canopy' j 1 u C*c:= clump_ext _ _ hx (by unfold spanE; unfold c; nlinarith only [mul_nonneg hc (norm_nonneg z),norm_nonneg z]) |
| 84 | unfold vest; apply (le_trans (b:= Lantern.clump j (canopy' j 1 u C*c) A) _ (clump_stairs hz _ hA j)) |
| 85 | · unfold Lantern.clump; have h : 0≤ canopy' j ‖z‖ u C:= by unfold canopy' Lantern.clump spanE wind; positivity |
| 86 | gcongr |
| 87 | unfold canopy' Lantern.clump spanE wind; positivity |
| 88 | omit [FiniteDimensional ℝ E] [CompleteSpace F] in |
| 89 | lemma credit (hp : j≤k) (hz:0<v) (hv : v ≤ d) (ht : v*u ≤ d) (hu:0<u) (he : braces W ρ j D v u A) : Cloud (baggage W ρ) D v u j j (₴ j D u A C + ₴ j 1 u (A+1) (C+1)) := by |
| 90 | have hc : (0,(0:E))∈patch E v u:= ⟨mem_ball_self hz,mem_ball_self hu⟩ |
| 91 | have hN: usage ρ (0:Ξ) (0,0)=(0,ρ 0):= by simp [usage,Lantern.visit,kite] |
| 92 | have hW := he _ hc 0 (norm_zero.trans_le h.off) |
| 93 | rw [hN] at hW; have hp':0≤A:= hW.nonneg |
| 94 | have hC:0≤C:=(h.curve _ (show ‖(0:E)‖<d from norm_zero.trans_lt h.pos)).nonneg |
| 95 | have hh (R:ℝ) (hR : 0≤ R) : ∃ v'>0, Picture (baggage W ρ) R v' u j (₴ j R u (A+1) (C+1)) := by |
| 96 | obtain ⟨c,hc,H⟩:= larger h hR; obtain ⟨v',hv,hX,hT,hZ⟩:= extra h hu hc hW R hR; exact ⟨v',hv,plank H hp hv hX hT hu hZ⟩ |
| 97 | have hg := plank h hp hz hv ht hu he |
| 98 | obtain ⟨b₁, - , hξ⟩:= hh 1 zero_le_one |
| 99 | refine ⟨hg.mend le_rfl le_rfl le_rfl (le_add_of_nonneg_right hξ.expense),fun y hy z=> ?_,fun R hR=> let ⟨b,hb,hM⟩:= hh R hR; ⟨b,hb,_,hM⟩⟩ |
| 100 | obtain ⟨b,hb,H⟩:= hh ‖z‖ (norm_nonneg z) |
| 101 | refine (H.budget (0,y) (show _ ∈patch E b u from ⟨mem_ball_self hb,mem_ball_zero_iff.mpr hy⟩) z le_rfl).climb ?_ le_rfl |
| 102 | apply (prolonged (by positivity : 0≤C+1) (by positivity : 0 ≤ A+1) hu.le z).trans (mul_le_mul_of_nonneg_right (le_add_of_nonneg_left hg.expense) (vat_nonneg _ _)) |
| 103 | |
| 104 | lemma scored (hp : j + m ≤ k) (hz:0<v) (hv : v ≤ d) (ht : v*u ≤ d) (hu:0<u) (he : braces W ρ (j+m) D v u A) (hr : ρ 0=0) (hn : cleared W m 0) : |
| 105 | let n:= j+m; let Z := ₴ n D u A C+₴ n 1 u (A+1) (C+1) |
| 106 | let p:= promote (baggage W ρ) m r |
| 107 | Cloud p D v u j n ((3^j)^r*(Z+1)*3^j) ∧ ∀ a∈patch E v u, ∀ z,a.1≠0→ ‖z‖≤D → |
| 108 | p a z=a.1^r • (a.1^m)⁻¹ • W (usage ρ z a) := by |
| 109 | intro n Z p'; have H := credit h hp hz hv ht hu he |
| 110 | refine ⟨promoted H (hv.trans h.small) r,fun x hx z he' hQ=> ?_⟩ |
| 111 | have hb : ((0:ℝ),x.2)∈patch E v u:= ⟨mem_ball_self hz,hx.2⟩ |
| 112 | have hg : usage ρ z (0,x.2)=0:= by unfold usage Lantern.visit kite; simp [hr] |
| 113 | exact receipt H.toPicture hx he' hQ (chart_cleared W hn (show ContDiffAt ℝ m W 0 from hg ▸ ((he _ hb _ hQ).smaller (show m≤ j+m from Nat.le_add_left ..)).smooth) _ _ hg ((arrangement h (show m≤ k by omega) hv ht hb hQ).smooth)) |
| 114 | end YM.RemainderComparison.Germ |