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.Next.UV_STRESS.Annulus |
| 2 | import YM.Work.A02 |
| 3 | |
| 4 | |
| 5 | |
| 6 | /-! |
| 7 | # Point comparisons (shell), or annihilator comparisons |
| 8 | |
| 9 | Simultaneous along the same budget, only use dense `generic` |
| 10 | for passage from cutoff. Extend the annihilator bound by continuity |
| 11 | *before* integrating -- saves a quadrature lemma and sup error from number |
| 12 | of nodes. Standing on a fixed annulus here. All integrals later supported |
| 13 | on noncollision. |
| 14 | -/ |
| 15 | set_option autoImplicit false |
| 16 | noncomputable section |
| 17 | namespace YM.Next.UVStress |
| 18 | open Set Function Filter Analysis Extraction Table Ward Work.A01 |
| 19 | open scoped Topology ContDiff BigOperators |
| 20 | variable {G : Gauge} {C : Family G} {F : Order} {S : Table C.book} {n k h D d : ℕ} |
| 21 | |
| 22 | namespace Watch |
| 23 | variable (I : Watch C) |
| 24 | |
| 25 | def tester (S : Table C.book) (D : ℕ) : S.Field D →ₗ[ℂ] ℂ := frontRead (S.classTokens ∘ I.q) I.held D |
| 26 | lemma test_known (v : S.Field D) : I.tester S D v=disc (Fin.cons ⟨D,v⟩ (S.classTokens ∘ I.q)) I.held := front_eval .. |
| 27 | |
| 28 | def asked (B : S.Field 4) (v : S.Field d) (y : E4) := disc |
| 29 | (Fin.cons ⟨4,B⟩ (Fin.cons ⟨d,v⟩ (S.classTokens ∘ I.q))) (Points.cons y I.held) |
| 30 | end Watch |
| 31 | |
| 32 | section tests |
| 33 | variable {ι : Type*} [Fintype ι] (I : ι → Watch C) |
| 34 | |
| 35 | omit [Fintype ι] in |
| 36 | /-- One class can approximate these tests simultaneously. Don't need bounded |
| 37 | coefficients uniformly as `ε` varies. For convenience we use 2ε. -/ |
| 38 | lemma curves_bound (hp : C.Makes) (hC : Cells.CellHyp C F) (ho : F.PointLimits C S) |
| 39 | (H : S.Hierarchy) (k : ℕ) (hk : ∀ i,(I i).t ≤ k) : |
| 40 | ∃ A : ι → ℝ, (∀ i,0 ≤ A i) ∧ |
| 41 | ∀ (D h d : ℕ) (T : Axis → Axis → C.book.Ref 4) (B : C.book.Ref d) (e ε : ℝ), NodeBound C F D h k (d:=d) e ε T B → |
| 42 | 0<ε → ∀ i j (m : ℕ) (y : Lattice.Cover), C.S.gridPoint m y ∈ annulus e → |
| 43 | (∀ a, (I a).point m y∈generic _) → |
| 44 | ∃ w : S.Field D,∀ a, ‖(e:ℂ)^h * (I a).asked (S.project 4 (T i j)) (S.project d B) (C.S.gridPoint m y) |
| 45 | -(I a).tester S D w‖ ≤ ε*A a := by |
| 46 | classical |
| 47 | choose A hA he using fun i => (I i).planted hp hC k (hk i) |
| 48 | refine ⟨fun i => 2*A i,fun i => mul_nonneg (by norm_num) (hA i),fun D h d T B e ε hr hε i j m y hw hf => ?_⟩ |
| 49 | obtain ⟨x,⟨P,hx⟩,hy⟩ := hr.live i j m y hw |
| 50 | obtain ⟨b,hb,Hb,z,hz⟩ := finite_extract (𝓛:=F.fuse) x P hx |
| 51 | refine ⟨S.project D z,fun a => ?_⟩ |
| 52 | have hm := ((I a).cost_limit m y F (d:=d) (T i j) B ho H hb (hf a) h e (p:=z) hz).norm |
| 53 | rw [Watch.test_known]; apply le_of_tendsto hm |
| 54 | apply Eventually.filter_mono hb |
| 55 | let f (u : ℕ×ℕ) := fragment (C:=C) (d:=d) (D:=D) h e (T i j) B m y u.1 u.2 (x u) |
| 56 | have ht : ∀ᶠ u : ℕ×ℕ in F.fuse, ∃ hN : k+1≤u.1, |
| 57 | Cells.Interior ((terrace C.S k hN u.2).chamber 0) (f u) ∧ |
| 58 | (terrace C.S k hN u.2).rootTest (C.beta u.1 u.2) (f u) ≤ ε + ε := hy ε hε |
| 59 | filter_upwards [ht,he a] with u hu hv |
| 60 | obtain ⟨hN,H,HL⟩ := hu; obtain ⟨_,q⟩ := hv |
| 61 | exact (q _ H).trans ((mul_le_mul_of_nonneg_right HL (hA _)).trans_eq (by ring)) |
| 62 | |
| 63 | private lemma held_open (e : ℝ) : IsOpen (annulus e) := (isOpen_lt continuous_const continuous_norm).inter |
| 64 | (isOpen_lt continuous_norm continuous_const) |
| 65 | |
| 66 | lemma avoid_cons (E : Watch C) (y : E4) (h : ∀ (a : Axis) i, E.held i a ≠ y a) : Points.cons y E.held∈generic _ := by |
| 67 | intro a i j |
| 68 | refine Fin.cases ?_ (fun i => ?_) i |
| 69 | · refine Fin.cases (fun _ => rfl) (fun j => ?_) j |
| 70 | simp [Points.cons,Ne.symm (h a j)] |
| 71 | refine Fin.cases ?_ (fun j => ?_) j |
| 72 | · simp [Points.cons,h a i] |
| 73 | simp only [Points.cons,points_apply,Fin.cons_succ] |
| 74 | exact fun hi => congr_arg Fin.succ ((show E.held∈generic _ from E.wild) a hi) |
| 75 | |
| 76 | /-- Pay on generic nodes only. We can align to fine grids *finer than* the |
| 77 | exterior scale, and no common alignment to k is presumed here. -/ |
| 78 | lemma extends_bound (e : ℝ) (f : E4 → ℂ) (hs : ∀ y ∈ annulus e, (∀ i, Points.cons y (I i).held ∈ conf _) → ContinuousAt f y) |
| 79 | (A : ℝ) (hk : ∀ m (x : Lattice.Cover), C.S.gridPoint m x∈annulus e → |
| 80 | (∀ i,(I i).point m x∈generic _) → ‖f (C.S.gridPoint m x)‖ ≤ A) : |
| 81 | ∀ y∈annulus e, (∀ i, Points.cons y (I i).held∈conf _) → ‖f y‖ ≤ A := by |
| 82 | classical |
| 83 | have ht (y : E4) (hp : y∈annulus e) (hh : ∀ i, Points.cons y (I i).held∈generic _) : ‖f y‖ ≤ A := by |
| 84 | let F : Points 1 := points fun _ => y |
| 85 | let b k := address (C.S.a k) F 0 |
| 86 | let g k := C.S.gridPoint k (b k) |
| 87 | have he : Tendsto g atTop (𝓝 y) := (show Continuous (fun x : Points 1 => x 0) by fun_prop).continuousAt.tendsto.comp (chosen (S:=C.S) F) |
| 88 | refine le_of_tendsto (((hs y hp fun i => generic_conf _ (hh i)).tendsto.comp he).norm) ?_ |
| 89 | have hz (i) : ∀ᶠ k in atTop, (I i).point k (b k)∈generic _ := (Work.A02.continuous_cons.continuousAt.tendsto.comp |
| 90 | (he.prodMk_nhds (tendsto_const_nhds (x:=(I i).held)))).eventually ((genericOpen _).mem_nhds (hh i)) |
| 91 | filter_upwards [he.eventually ((held_open e).mem_nhds hp), eventually_all.mpr hz] with k hh hp using hk k (b k) hh hp |
| 92 | intro y hy hg |
| 93 | let p : E4 := WithLp.toLp 2 (fun _ => 1) |
| 94 | let W (k : ℕ) := y + costHint k • p |
| 95 | have hP : Tendsto W atTop (𝓝 y) := (by simpa using (cost_clears.smul_const p).const_add y) |
| 96 | have hz (i : ι) : ∀ᶠ k in atTop, Points.cons (W k) (I i).held ∈ generic _ := by |
| 97 | have he (a : Axis) j : ∀ᶠ k in atTop,(I i).held j a ≠ W k a := by |
| 98 | by_cases hu : (I i).held j a=y a |
| 99 | · rw [hu] |
| 100 | exact Eventually.of_forall fun k => by |
| 101 | change y a ≠ y a + costHint k • (1:ℝ); rw [smul_eq_mul, mul_one]; exact ne_of_lt (by have := cost_pos k; linarith) |
| 102 | exact (((show Continuous (fun v : E4 => v a) by fun_prop).continuousAt.tendsto.comp hP).eventually |
| 103 | (show {v | (I i).held j a ≠ v} ∈ 𝓝 (y a) from (isOpen_ne_fun continuous_const continuous_id).mem_nhds hu)) |
| 104 | exact (eventually_all.mpr fun i => eventually_all.mpr (he i)).mono (fun k hk => avoid_cons (I i) _ hk) |
| 105 | apply le_of_tendsto (((hs y hy hg).tendsto.comp hP).norm) |
| 106 | filter_upwards [hP.eventually ((held_open _).mem_nhds hy),eventually_all.mpr hz] with k hk he using ht (W k) hk he |
| 107 | |
| 108 | /-- Pay against any linear combination annihilating the D-fields. -/ |
| 109 | lemma pays_current (hp : C.Makes) (hC : Cells.CellHyp C F) (ho : F.PointLimits C S) |
| 110 | (H : S.Hierarchy) (k : ℕ) (hk : ∀ i,(I i).t ≤ k) (D : ℕ) (g : ι → ℂ) |
| 111 | (ht : ∀ v : S.Field D, (∑ i : ι, g i * (I i).tester S D v)=0) : |
| 112 | ∃ A : ℝ, 0≤A ∧ ∀ (h d : ℕ) (T : Axis → Axis → C.book.Ref 4) (B : C.book.Ref d) (e ε : ℝ), |
| 113 | NodeBound C F D h k (d:=d) e ε T B → 0<ε → ∀ i j y, y∈annulus e → (∀ a,Points.cons y (I a).held∈conf _) → |
| 114 | ‖∑ a : ι, g a * ((e:ℂ)^h * (I a).asked (S.project 4 (T i j)) (S.project d B) y)‖ ≤ ε*A := by |
| 115 | classical |
| 116 | obtain ⟨A,hA,hb⟩ := curves_bound I hp hC ho H k hk |
| 117 | refine ⟨∑ i, A i*‖g i‖, Finset.sum_nonneg (fun i _ => mul_nonneg (hA _) (norm_nonneg _)), |
| 118 | fun h d T B e ε hu he => ?_⟩ |
| 119 | intro i j |
| 120 | let p (a : ι) y := (e:ℂ)^h * (I a).asked (S.project 4 (T i j)) (S.project d B) y |
| 121 | let f y := ∑ a : ι, g a * p a y |
| 122 | refine extends_bound I e f (fun y hy hh => ?_) _ (fun m x hx hP => ?_) |
| 123 | · let F (v : ι) := fun y => Points.cons y (I v).held |
| 124 | have hv (i) : Continuous (F i) := Work.A02.continuous_cons.comp (continuous_id.prodMk continuous_const) |
| 125 | have he a : ContinuousAt (fun x => g a * p a x) y := continuousAt_const.mul |
| 126 | (continuousAt_const.mul ((cont_disc H _ (hh a)).continuousAt.comp (f:=F a) (hv a).continuousAt)) |
| 127 | exact tendsto_finsetSum _ (fun a _ => (he a).tendsto) |
| 128 | obtain ⟨w,H⟩ := hb D h d T B e ε hu he i j m x hx hP |
| 129 | let y := C.S.gridPoint m x |
| 130 | calc |
| 131 | _ = ‖∑ a : ι, g a*(p a y-(I a).tester S D w)‖ := by |
| 132 | simp_rw [mul_sub, Finset.sum_sub_distrib,ht, sub_zero]; rfl |
| 133 | _ ≤ _ := (norm_sum_le ..).trans (by |
| 134 | rw [Finset.mul_sum]; apply Finset.sum_le_sum; intro a _ |
| 135 | rw [norm_mul]; exact (mul_le_mul_of_nonneg_left (H a) (norm_nonneg _)).trans_eq (by ring)) |
| 136 | end tests |
| 137 | end YM.Next.UVStress |