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.Sol |
| 2 | |
| 3 | |
| 4 | /-! |
| 5 | # Germ criterion for exchanging adjacent pair. Protects SAME partial heights |
| 6 | |
| 7 | Partial distributions with fixed spectators, tied adjacent gap eta0, all Xi |
| 8 | variables. Need holomorphic germs near S spacelike open so cannot overlap by |
| 9 | adiabatic argument alone. Here both contours touch every point, uniqueness |
| 10 | from joint AnalyticOnNhd. Need `Held` tested partial boundary readouts. |
| 11 | -/ |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | namespace YM.Boundary |
| 15 | open Filter Set Function Distribution MeasureTheory Mink Probe Metric |
| 16 | open scoped Topology ENNReal InnerProductSpace ContDiff |
| 17 | variable {G : Gauge} {L : Register G} {S : Table L} {n : ℕ} |
| 18 | |
| 19 | structure NearPair (n : ℕ) where |
| 20 | i : Fin n |
| 21 | j : Fin n |
| 22 | next : i.val+1=j.val |
| 23 | |
| 24 | namespace NearPair |
| 25 | variable (P : NearPair n) |
| 26 | |
| 27 | def s := Equiv.swap P.i P.j |
| 28 | |
| 29 | def switch : Points n ≃ₗᵢ[ℝ] Points n where |
| 30 | toFun x := points fun i => x (P.s i) |
| 31 | invFun x := points fun i => x (P.s i) |
| 32 | left_inv x := by ext1; simp [s] |
| 33 | right_inv x := by ext1; simp [s] |
| 34 | map_smul' _ _ := rfl |
| 35 | map_add' _ _ := rfl |
| 36 | norm_map' p := by |
| 37 | rw [← sq_eq_sq₀ (norm_nonneg _) (norm_nonneg _)] |
| 38 | change ‖points _‖^2=_ |
| 39 | rw [PiLp.norm_sq_eq_of_L2 _ (points _), PiLp.norm_sq_eq_of_L2 _ p]; exact Equiv.sum_comp P.s fun i => ‖p i‖^2 |
| 40 | @[simp] lemma switch_at x i : P.switch x i=x (P.s i) := rfl |
| 41 | |
| 42 | |
| 43 | def name (p : Full n) := glow (P.switch (reality p)) (P.switch (shade p)) |
| 44 | lemma name_name p : P.name (P.name p)=p := by |
| 45 | unfold name |
| 46 | have h q : P.switch (P.switch q) = q := P.switch.symm_apply_apply q |
| 47 | rw [re_glow,im_glow,h,h,valley] |
| 48 | |
| 49 | def gap : Set (Points n) := {x| x P.j-x P.i ∈ spacelike} |
| 50 | lemma open_gap : IsOpen P.gap := open_spacelike.preimage (show Continuous (fun x : Points n => x P.j - x P.i) from by fun_prop) |
| 51 | |
| 52 | /-- strict spectator gap, pure time only; P isolated by construction. -/ |
| 53 | def spectator (t : Heights n) : Prop := t P.i=t P.j ∧ (∀ i j : Fin n,i<j→ i ≠ P.i ∨ j≠P.j → t i<t j) |
| 54 | |
| 55 | /-- Both reached from this partial boundary. -/ |
| 56 | structure Fleck (y : Heights n) : Prop where |
| 57 | willing : P.spectator y |
| 58 | here : dawn y∈shores n |
| 59 | there : P.switch (dawn y)∈shores n |
| 60 | first (x : Points n) : glow x (dawn y) ∈ closure (tube n) |
| 61 | second (x : Points n) : glow x (dawn y) ∈ closure (P.name ⁻¹' tube n) |
| 62 | end NearPair |
| 63 | |
| 64 | variable {U V : Set (Full n)} |
| 65 | /-- Germ sheet, valid on THIS size, anchored on that order's tube. -/ |
| 66 | structure Pane (F : Full n → ℂ) (U : Set (Full n)) (x : Full n) where |
| 67 | extendF : Full n→ℂ |
| 68 | doc : AnalyticAt ℂ extendF x |
| 69 | fits : extendF =ᶠ[𝓝[U] x] F |
| 70 | |
| 71 | namespace Pane |
| 72 | variable {F G' : Full n → ℂ} |
| 73 | |
| 74 | lemma revive {x : Full n} (A : Pane F U x) : ∃ r>0, AnalyticOnNhd ℂ A.extendF (ball x r) ∧ EqOn A.extendF F (ball x r∩U) := by |
| 75 | obtain ⟨p,hp,h⟩ := (nhdsWithin_basis_open _ U).mem_iff.mp A.fits |
| 76 | obtain ⟨K,hk,hA⟩ := Metric.mem_nhds_iff.mp (inter_mem (hp.2.mem_nhds hp.1) A.doc.eventually_analyticAt) |
| 77 | exact ⟨K,hk,fun y hy => (hA hy).2,fun _ w => h ⟨(hA w.1).1,w.2⟩⟩ |
| 78 | |
| 79 | lemma agree (he : IsOpen U) {x : Full n} (h : x ∈ closure U) (A B : Pane F U x) : |
| 80 | A.extendF =ᶠ[𝓝 x] B.extendF := by |
| 81 | obtain ⟨r,hr,hA,hB⟩ := A.revive |
| 82 | obtain ⟨s,hs,hC,hD⟩ := B.revive |
| 83 | let t := min r s |
| 84 | have ht : 0 < t := lt_min hr hs |
| 85 | have hx := ball_subset_ball (x := x) (min_le_left r s) |
| 86 | have hz := ball_subset_ball (x := x) (min_le_right r s) |
| 87 | obtain ⟨w,hw⟩ := mem_closure_iff.mp h (ball x t) Metric.isOpen_ball (mem_ball_self ht) |
| 88 | have hW := (hA.mono hx).eqOn_of_preconnected_of_eventuallyEq |
| 89 | (hC.mono hz) (convex_ball x t).isPreconnected hw.1 (show A.extendF =ᶠ[𝓝 w] B.extendF from ?_) |
| 90 | · filter_upwards [ball_mem_nhds x ht] with i h using hW h |
| 91 | filter_upwards [(Metric.isOpen_ball.inter he).mem_nhds hw] with u hu |
| 92 | exact (hB ⟨hx hu.1,hu.2⟩).trans (hD ⟨hz hu.1,hu.2⟩).symm |
| 93 | |
| 94 | /-- Overlap sanity. -/ |
| 95 | lemma arrive (he : IsOpen U) {x : Full n} (A : Pane F U x) {p : Set (Full n)} (hP : IsOpen p) |
| 96 | (hp : AnalyticOnNhd ℂ A.extendF p) (hv : EqOn A.extendF F (p∩U)) (i : Full n) (hI : i∈p) (hQ : i∈closure U) |
| 97 | (B : Pane F U i) : A.extendF =ᶠ[𝓝 i] B.extendF := |
| 98 | agree he hQ (⟨A.extendF,hp _ hI,(Eventually.filter_mono inf_le_left (hP.mem_nhds hI)).mp |
| 99 | (Eventually.mono self_mem_nhdsWithin (fun _ hu hx => hv ⟨hx,hu⟩))⟩ : Pane F U i) B |
| 100 | |
| 101 | lemma propagate {Y : Type*} [TopologicalSpace Y] [PreconnectedSpace Y] (he : IsOpen U) (hk : IsOpen V) |
| 102 | (q : Y → Full n) (c : Continuous q) (hq : ∀ i, q i ∈ closure U ∩ closure V) (p : ∀ i, Pane F U (q i)) |
| 103 | (w : ∀ i, Pane G' V (q i)) (a b : Y) : |
| 104 | ((p a).extendF =ᶠ[𝓝 (q a)] (w a).extendF) ↔ ((p b).extendF =ᶠ[𝓝 (q b)] (w b).extendF) := by |
| 105 | let T := {i : Y | (p i).extendF =ᶠ[𝓝 (q i)] (w i).extendF} |
| 106 | have h (x : Y) : ∀ᶠ i in 𝓝 x, x∈T ↔ i∈T := by |
| 107 | obtain ⟨r,hr,hA,hB⟩ := (p x).revive |
| 108 | obtain ⟨s,hs,hC,hD⟩ := (w x).revive |
| 109 | let t := min r s |
| 110 | have ht := ball_subset_ball (x:=q x) (min_le_left r s) |
| 111 | have hv := ball_subset_ball (x:=q x) (min_le_right r s) |
| 112 | filter_upwards [(c.tendsto x).eventually (ball_mem_nhds (q x) (show 0 < t from lt_min hr hs))] with i hi |
| 113 | have hX : q i∈ball (q x) t := hi |
| 114 | have ha := (p x).arrive he isOpen_ball hA hB (q i) (ht hX) (hq i).1 (p i) |
| 115 | have hh := (w x).arrive hk isOpen_ball hC hD (q i) (hv hX) (hq i).2 (w i) |
| 116 | have H : q x∈ball (q x) t := mem_ball_self (lt_min hr hs) |
| 117 | constructor |
| 118 | · intro hx |
| 119 | have hw := (hA.mono ht).eqOn_of_preconnected_of_eventuallyEq |
| 120 | (hC.mono hv) (convex_ball _ t).isPreconnected H hx |
| 121 | exact ha.symm.trans (EventuallyEq.trans (Eventually.mono (isOpen_ball.mem_nhds hX) (fun _ j => hw j)) hh) |
| 122 | intro hX' |
| 123 | have hw := (hA.mono ht).eqOn_of_preconnected_of_eventuallyEq |
| 124 | (hC.mono hv) (convex_ball _ t).isPreconnected hX (ha.trans (EventuallyEq.trans hX' hh.symm)) |
| 125 | exact Eventually.mono (isOpen_ball.mem_nhds H) fun _ i => hw i |
| 126 | have he : IsClopen T := |
| 127 | ⟨isOpen_compl_iff.1 <| isOpen_iff_mem_nhds.mpr (fun x hx => (h x).mono (fun i hp => fun hI => hx (hp.2 hI))), |
| 128 | isOpen_iff_mem_nhds.mpr (fun x hx => (h x).mono (fun i hp => hp.1 hx))⟩ |
| 129 | change a ∈ T ↔ b∈T |
| 130 | rcases isClopen_iff.mp he with e|e <;> simp [e] |
| 131 | end Pane |
| 132 | end YM.Boundary |