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.Shift.Swap |
| 2 | |
| 3 | /-! |
| 4 | # Usability consumer: two germs, relative edge and Lorentz shards |
| 5 | |
| 6 | Read partial boundaries on all compactly supported Schwartz tests (not |
| 7 | words), and all spectators. Exit to locality via supports including unbounded- |
| 8 | word probes. |
| 9 | -/ |
| 10 | set_option autoImplicit false |
| 11 | noncomputable section |
| 12 | namespace YM.Boundary |
| 13 | open Filter Set Function Distribution MeasureTheory Mink Probe Metric Surface |
| 14 | open scoped Topology ENNReal InnerProductSpace ContDiff unitInterval |
| 15 | variable {G : Gauge} {L : Register G} {S : Table L} {n : ℕ} {W : Surface S} {D : ∀ i : ℕ, Blanket i} |
| 16 | |
| 17 | namespace NearPair |
| 18 | |
| 19 | def plain (x : Points n) (t : ℝ) := points fun i => position (spatial (x i)) (t*YM.time (x i)) |
| 20 | variable (P : NearPair n) |
| 21 | @[simp] lemma tip (x : Points n) : plain x 1=x := by ext1; simp [plain] |
| 22 | lemma cont_plain (x : Points n) : Continuous (plain x) := by |
| 23 | change Continuous fun t : ℝ => WithLp.toLp 2 (fun i => position _ _) |
| 24 | simp_rw [show position = _ from funext fun x => funext fun t => (Mink.combine_at x t).symm] |
| 25 | fun_prop |
| 26 | lemma north {x : Points n} (h : x∈P.gap) (t : unitInterval) : plain x t ∈ P.gap := by |
| 27 | rw [gap, Set.mem_setOf,lateral] at h ⊢ |
| 28 | simp_rw [sub_eq_add_neg,clock_add,clock_neg,Mink.rest_add,Mink.rest_neg] at h ⊢ |
| 29 | simp only [plain, points_apply,time_position,spatial_position] |
| 30 | rw [←mul_neg,←mul_add,abs_mul,abs_of_nonneg t.property.1] |
| 31 | exact lt_of_le_of_lt (mul_le_of_le_one_left (abs_nonneg _) t.property.2) h |
| 32 | |
| 33 | structure Panes (X : Aurora W D) (v : Fin n → S.Union) (y : Heights n) where |
| 34 | permitted : P.Fleck y |
| 35 | original (x : Points n) : x∈P.gap→ Pane (X.emit v) (tube n) (glow x (dawn y)) |
| 36 | tilted (x : Points n) : x∈P.gap→ Pane ((X.emit (v ∘ P.s)) ∘ P.name) (P.name ⁻¹' tube n) (glow x (dawn y)) |
| 37 | |
| 38 | variable {P} {y : Heights n} {X : Aurora W D} {v : Fin n → S.Union} (B : P.Panes X v y) |
| 39 | /-- On-Slice Taylor agreement; a substantive port; not implied by equality just at t=0 values! -/ |
| 40 | def Panes.sameGround : Prop := ∀ x (h : x∈P.gap), (∀ i : Fin n, YM.time (x i)=0) → |
| 41 | (B.original x h).extendF =ᶠ[𝓝 (glow x (dawn y))] (B.tilted x h).extendF |
| 42 | |
| 43 | theorem Panes.reaches (hx : B.sameGround) (x : Points n) (p : x∈P.gap) : |
| 44 | (B.original x p).extendF =ᶠ[𝓝 (glow x (dawn y))] (B.tilted x p).extendF := by |
| 45 | have HH : Continuous (@name _ P) := (home n).comp ((P.switch.continuous.comp (cont_Re n)).prodMk (P.switch.continuous.comp (cont_sh n))) |
| 46 | let q (t : unitInterval) := glow (plain x t) (dawn y) |
| 47 | let w i := B.original _ (P.north p i) |
| 48 | let z i := B.tilted _ (P.north p i) |
| 49 | have he := Pane.propagate (south n) ((south n).preimage HH) q ((home n).comp |
| 50 | (((cont_plain x).comp continuous_subtype_val).prodMk continuous_const)) |
| 51 | (fun t => ⟨B.permitted.first _,B.permitted.second _⟩) w z 0 1 |
| 52 | have hy := he.1 (hx _ _ (by simp [plain])) |
| 53 | change (B.original (plain x 1) _).extendF =ᶠ[𝓝 (glow (plain x 1) (dawn y))] (B.tilted (plain x 1) _).extendF at hy |
| 54 | let R (v : P.gap) : Prop := (B.original v.val v.2).extendF =ᶠ[𝓝 (glow v.val (dawn y))] (B.tilted v.val v.2).extendF |
| 55 | change R (⟨x,p⟩ : P.gap); change R ⟨plain x 1,P.north p 1⟩ at hy |
| 56 | rwa [show (⟨plain x 1,P.north p 1⟩ : P.gap)=(⟨x,p⟩ : P.gap) from Subtype.ext (tip x)] at hy |
| 57 | |
| 58 | def flipW {n} (Q : Distn (Points n)) (P : NearPair n) := Q.comp (along (P.switch).toContinuousLinearEquiv) |
| 59 | |
| 60 | /-- local realization from each pane (full argument). Both at original x, |
| 61 | after change of names in tilted contour including positions and tests. -/ |
| 62 | structure Panes.Forms : Prop where |
| 63 | body (x : Points n) (hx : x∈P.gap) : ∃ r>0, ∀ f : Joint n, HasCompactSupport ⇑f → tsupport f ⊆ ball x r → |
| 64 | (D n).partialD (W.W n v) (dawn y) f= ∫ i, (B.original x hx).extendF (glow i (dawn y))*f i |
| 65 | prime (x : Points n) (hx : x∈P.gap) : ∃ r>0, ∀ f : Joint n, HasCompactSupport ⇑f → tsupport f ⊆ ball x r → |
| 66 | flipW ((D n).partialD (W.W n (v ∘ P.s)) (P.switch (dawn y))) P f= ∫ i,(B.tilted x hx).extendF (glow i (dawn y))*f i |
| 67 | |
| 68 | theorem Panes.forgets (hp : B.sameGround) (hx : B.Forms) : IsVanishingOn (fun i => |
| 69 | ((D n).partialD (W.W n v) (dawn y)-flipW ((D n).partialD (W.W n (v ∘ P.s)) (P.switch (dawn y))) P) i) P.gap := by |
| 70 | let Q := (D n).partialD (W.W n v) (dawn y) |
| 71 | let R := flipW ((D n).partialD (W.W n (v ∘ P.s)) (P.switch (dawn y))) P |
| 72 | apply (Distn.general_open (Q-R) P.open_gap).2 |
| 73 | apply Set.disjoint_left.2 |
| 74 | intro x H hI |
| 75 | obtain ⟨r,hr,hR⟩ := hx.body x H |
| 76 | obtain ⟨s,hs,hS⟩ := hx.prime x H |
| 77 | let g (i : Points n) := glow i (dawn y) |
| 78 | have hv : Continuous g := (home n).comp (continuous_id.prodMk continuous_const) |
| 79 | obtain ⟨k,hk,ht⟩ := Metric.mem_nhds_iff.mp ((hv.tendsto x).eventually (B.reaches hp x H)) |
| 80 | let t := min k (min r s) |
| 81 | have he := (mem_dsupport_iff_not_isVanishingOn x).mp hI (ball x t) (mem_ball_self (lt_min hk (lt_min hr hs))) isOpen_ball |
| 82 | apply he; apply (Distn.from_compact (Q-R)).2 |
| 83 | intro f hl hf; change Q f-R f=0; apply sub_eq_zero.2 |
| 84 | rw [show Q f= _ from hR f hf (hl.trans (ball_subset_ball ((min_le_right ..).trans (min_le_left r s)))), |
| 85 | show R f= _ from hS f hf (hl.trans (ball_subset_ball ((min_le_right ..).trans (min_le_right r s))))] |
| 86 | classical |
| 87 | apply integral_congr_ae; filter_upwards with i |
| 88 | by_cases h : f i=0 |
| 89 | · simp [h] |
| 90 | rw [show (B.original x H).extendF (g i)= _ from ht (ball_subset_ball (min_le_left k (min r s)) (hl (subset_tsupport _ h)))] |
| 91 | |
| 92 | theorem actor (X : Aurora W D) (v : Fin n → S.Union) (P : NearPair n) (p : (D n).Modified) |
| 93 | (hc : ∀ u : Fin n → S.Union, dsupport (Distn.fourier (W.W n u)) ⊆ coneM n) |
| 94 | (h : ∃ y : ℕ → Heights n, Tendsto (dawn ∘ y) atTop (𝓝 0) ∧ |
| 95 | ∀ m : ℕ, ∃ B : P.Panes X v (y m), B.sameGround ∧ B.Forms) : IsVanishingOn (fun f => |
| 96 | (W.W n v - flipW (W.W n (v ∘ P.s)) P) f) P.gap := by |
| 97 | obtain ⟨y,hy,hh⟩ := h |
| 98 | choose B hb hB using hh |
| 99 | have he : Tendsto (dawn ∘ y) atTop (𝓝[shores n] 0) := tendsto_nhdsWithin_iff.2 ⟨hy, Eventually.of_forall (fun i => (B i).permitted.here)⟩ |
| 100 | have ht : Tendsto (fun i => P.switch (dawn (y i))) atTop (𝓝[shores n] 0) := by |
| 101 | refine tendsto_nhdsWithin_iff.2 ⟨?_, Eventually.of_forall (fun i => (B i).permitted.there)⟩ |
| 102 | simpa only [Function.comp_def,map_zero] using (P.switch.continuous.tendsto 0 |>.comp hy) |
| 103 | intro f hf |
| 104 | let t : Joint n := along (P.switch).toContinuousLinearEquiv f |
| 105 | have ha := ((D n).tends p (W.W n v) f _ (flat _)).tendsto.comp he |
| 106 | have hw := ((D n).tends p (W.W n (v ∘ P.s)) t _ (flat _)).tendsto.comp ht |
| 107 | change W.W n v f-W.W n _ _=0 |
| 108 | apply sub_eq_zero.2 |
| 109 | rw [(D n).flatD p (hc v)] at ha |
| 110 | rw [(D n).flatD p (hc _)] at hw |
| 111 | exact tendsto_nhds_unique_of_eventuallyEq ha hw (Eventually.of_forall (fun i => |
| 112 | sub_eq_zero.mp ((B i).forgets (hb i) (hB i) f hf))) |
| 113 | end NearPair |
| 114 | |
| 115 | def Actor (W : Surface S) : Prop := ∀ n (v : Fin n → S.Union) (P : NearPair n), IsVanishingOn (fun f => |
| 116 | (W.W n v - P.flipW (W.W n (v ∘ P.s))) f) P.gap |
| 117 | end YM.Boundary |