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.Bid.Angular |
| 2 | |
| 3 | /-! |
| 4 | # All positional jets of the transverse-component vector Ward tests |
| 5 | |
| 6 | We work with mixed-cap words. We only need to pad to a single cap when |
| 7 | invoking the order-zero test (LineSum); all differentiations can then use |
| 8 | mixed caps. No line-sum identity for `p` is assumed at off-line |
| 9 | configurations near our point. |
| 10 | -/ |
| 11 | |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | |
| 15 | namespace YM.Work.A03 |
| 16 | open Set Function Filter Bid Table Climb Ward Analysis |
| 17 | open scoped Topology ContDiff BigOperators Matrix.Norms.Frobenius NNReal InnerProductSpace |
| 18 | |
| 19 | variable {G : Gauge} {L : Register G} {S : Table L} {n : ℕ} |
| 20 | |
| 21 | private def tick (p : Parts S) (j : Axis) (B : S.Tag) : S.Tag := |
| 22 | ⟨B.1+1, p B.1 j B.2⟩ |
| 23 | |
| 24 | /-- `diagram v (leaves p d j)`, but allowing different caps in the slots. -/ |
| 25 | private def row (p : Parts S) (j : Axis) (q : Fin n → S.Tag) (x : Points n) : ℂ := |
| 26 | ∑ i, disc (update q i (tick p j (q i))) x |
| 27 | |
| 28 | /-- Raising any ONE cap preserves the mixed-cap test (on conf). At the |
| 29 | marked slot this uses both `p`'s compatibility and the inclusion kernel |
| 30 | identity at the raised-by-one degrees. -/ |
| 31 | private lemma row_raise_one (h : S.Hierarchy) (W : DiffPlan S) (inc : W.Inclusions S) |
| 32 | (p : Parts S) (c : ColorLaw p W h.spin) {d e : ℕ} (hd : d ≤ e) |
| 33 | (j : Axis) (q : Fin n → S.Tag) {x : Points n} (hx : x ∈ conf _) |
| 34 | (k : Fin n) (B : S.Field d) : |
| 35 | row p j (update q k ⟨e, W.rise hd B⟩) x = row p j (update q k ⟨d, B⟩) x := by |
| 36 | unfold row |
| 37 | apply Finset.sum_congr rfl |
| 38 | intro i hi |
| 39 | by_cases hik : i = k |
| 40 | · subst i |
| 41 | simp only [update_self, update_idem] |
| 42 | change disc (update q k ⟨e+1,p e j (W.rise hd B)⟩) x = |
| 43 | disc (update q k ⟨d+1,p d j B⟩) x |
| 44 | rw [c.incl d e hd] |
| 45 | exact W.inclusion_slot inc h.laws.toSymmetric (Nat.succ_le_succ hd) hx k q (p d j B) |
| 46 | simp only [update_of_ne hik] |
| 47 | rw [update_comm (Ne.symm hik), update_comm (Ne.symm hik)] |
| 48 | exact W.inclusion_slot inc h.laws.toSymmetric hd hx k _ B |
| 49 | |
| 50 | /-- Extend LineSum itself to mixed caps, still with unrestricted labels. -/ |
| 51 | private lemma all_line (h : S.Hierarchy) (W : DiffPlan S) (inc : W.Inclusions S) |
| 52 | (p : Parts S) (c : ColorLaw p W h.spin) (hl : LineSum p) |
| 53 | (b j : Axis) (hj : j ≠ b) (q : Fin n → S.Tag) |
| 54 | {x : Points n} (hx : x ∈ conf _) (ht : onLine b x) : row p j q x = 0 := by |
| 55 | classical |
| 56 | let d := Finset.univ.sup fun i : Fin n => (q i).1 |
| 57 | have hd (i : Fin n) : (q i).1 ≤ d := Finset.le_sup (f := fun i => (q i).1) (Finset.mem_univ i) |
| 58 | let v : Fin n → S.Field d := fun i => W.rise (hd i) (q i).2 |
| 59 | let F (s : Finset (Fin n)) (i : Fin n) := if i ∈ s then column v i else q i |
| 60 | have boost (s : Finset (Fin n)) : row p j (F s) x = row p j q x := by |
| 61 | induction s using Finset.induction_on with |
| 62 | | empty => simp [F] |
| 63 | | @insert k s hk ih => |
| 64 | have hu : F (insert k s) = update (F s) k (column v k) := by |
| 65 | funext i |
| 66 | by_cases hik : i = k |
| 67 | · subst i; simp [F] |
| 68 | simp [F,hik] |
| 69 | have he : update (F s) k (q k) = F s := by |
| 70 | funext i |
| 71 | by_cases hik : i = k |
| 72 | · subst i; simp [F,hk] |
| 73 | simp [hik] |
| 74 | rw [← ih, hu] |
| 75 | calc |
| 76 | _ = row p j (update (F s) k (q k)) x := |
| 77 | row_raise_one h W inc p c (hd k) j (F s) hx k (q k).2 |
| 78 | _ = row p j (F s) x := by rw [he] |
| 79 | rw [← boost Finset.univ, show F Finset.univ = column v by simp [F]] |
| 80 | exact hl d n b j hj v x hx ht |
| 81 | |
| 82 | /-- Differentiate the test before any restriction to a line. -/ |
| 83 | private lemma row_D (h : S.Hierarchy) (W : DiffPlan S) (der : W.Derivatives S) |
| 84 | (p : Parts S) |
| 85 | (delta : ∀ d b i u, W.deriv (d+1) b (p d i u) = p (d+1) i (W.deriv d b u)) |
| 86 | (j : Axis) (q : Fin n → S.Tag) {x : Points n} (hx : x ∈ conf _) (k : Fin n) (a : Axis) : |
| 87 | D (Points.direction k a) (row p j q) x = row p j (update q k (rise W a (q k))) x := by |
| 88 | have hd (i : Fin n) : DifferentiableAt ℝ (disc (update q i (tick p j (q i)))) x := |
| 89 | (cont_disc h _ hx).differentiableAt (by simp) |
| 90 | unfold row D |
| 91 | rw [fderiv_fun_sum (fun i _ => hd i), _root_.sum_apply] |
| 92 | apply Finset.sum_congr rfl |
| 93 | intro i hi |
| 94 | change D (Points.direction k a) (disc (update q i (tick p j (q i)))) x = _ |
| 95 | rw [fromD W h der hx] |
| 96 | by_cases hik : i = k |
| 97 | · subst i |
| 98 | simp only [update_self, update_idem] |
| 99 | have htag (B : S.Tag) : rise W a (tick p j B) = tick p j (rise W a B) := by |
| 100 | rcases B with ⟨d,u⟩ |
| 101 | exact congr_arg (fun z : S.Field ((d+1)+1) => (⟨_,z⟩ : S.Tag)) (delta d a j u) |
| 102 | rw [htag] |
| 103 | rw [update_of_ne (Ne.symm hik), update_of_ne hik, update_comm hik] |
| 104 | |
| 105 | private lemma expand_pts (u : Points n) : |
| 106 | (∑ i : Fin n, ∑ a : Axis, u i a • Points.direction i a) = u := by |
| 107 | apply WithLp.ofLp_injective 2 |
| 108 | funext k |
| 109 | simp only [WithLp.ofLp_sum, Finset.sum_apply, WithLp.ofLp_smul, Pi.smul_apply, |
| 110 | Points.direction, PiLp.ofLp_single, Pi.single_apply] |
| 111 | rw [Finset.sum_eq_single k] |
| 112 | · apply WithLp.ofLp_injective 2 |
| 113 | funext b |
| 114 | simp [basis, Pi.single_apply] |
| 115 | · intro i hi hik |
| 116 | simp [Ne.symm hik] |
| 117 | · simp |
| 118 | |
| 119 | /-- `W.deriv` itself satisfies LineSum just by translation invariance |
| 120 | (indeed the line and component restrictions aren't needed here). -/ |
| 121 | private lemma line_native (h : S.Hierarchy) (W : DiffPlan S) (der : W.Derivatives S) : |
| 122 | LineSum W.deriv := by |
| 123 | intro d n b j hj v x hx ht |
| 124 | let q := column v |
| 125 | let u := points fun _ : Fin n => basis j |
| 126 | have hu : (∑ i : Fin n, Points.direction i j) = u := by |
| 127 | simpa [u] using expand_pts u |
| 128 | let F (t : ℝ) := x+t • u |
| 129 | have hr : F 0 = x := by simp [F] |
| 130 | have hh : HasDerivAt F u 0 := by |
| 131 | have he := (ContinuousLinearMap.toSpanSingleton ℝ u).hasDerivAt (x := 0) |
| 132 | simpa [F] using he.const_add x |
| 133 | have he : (disc q ∘ F) = fun (_ : ℝ) => disc q x := by |
| 134 | funext t |
| 135 | exact h.translations n x hx (t • basis j) (fun i => ⟨(q i).1,S.representative _ (q i).2⟩) |
| 136 | have hd : DifferentiableAt ℝ (disc q) (F 0) := by |
| 137 | rw [hr] |
| 138 | exact (cont_disc h q hx).differentiableAt (by simp) |
| 139 | have hz : fderiv ℝ (disc q) x u = 0 := by |
| 140 | have hp := hd.hasFDerivAt.comp_hasDerivAt 0 hh |
| 141 | rw [he,hr] at hp |
| 142 | exact hp.unique (hasDerivAt_const _ _) |
| 143 | change row W.deriv j q x = 0 |
| 144 | rw [← hz, ← hu, map_sum] |
| 145 | apply Finset.sum_congr rfl |
| 146 | intro i hi |
| 147 | exact (fromD W h der hx i j q).symm |
| 148 | |
| 149 | /-- Iteration at the point. Use the germ of `row_D` (valid nearby in |
| 150 | `conf`, not a LineSum statement there), snoc convention for the last |
| 151 | direction, and linearity to reach every positional tensor component. -/ |
| 152 | private lemma full_jet (h : S.Hierarchy) (W : DiffPlan S) |
| 153 | (inc : W.Inclusions S) (der : W.Derivatives S) |
| 154 | (p : Parts S) (c : ColorLaw p W h.spin) |
| 155 | (delta : ∀ d b i u, W.deriv (d+1) b (p d i u) = p (d+1) i (W.deriv d b u)) |
| 156 | (hl : LineSum p) |
| 157 | (b j : Axis) (hj : j ≠ b) |
| 158 | {x : Points n} (hx : x ∈ conf _) (ht : onLine b x) |
| 159 | (q : Fin n → S.Tag) (m : ℕ) (u : Fin m → Points n) : |
| 160 | iteratedFDeriv ℝ m (row p j q) x u = 0 := by |
| 161 | induction m generalizing q with |
| 162 | | zero => |
| 163 | simpa using all_line h W inc p c hl b j hj q hx ht |
| 164 | | succ m ih => |
| 165 | have hr : ContDiffAt ℝ ∞ (row p j q) x := by |
| 166 | apply ContDiffAt.sum |
| 167 | exact fun i _ => cont_disc h _ hx |
| 168 | have hh : ContDiffAt ℝ (↑(m+1 : ℕ)) (row p j q) x := |
| 169 | hr.of_le (show ((↑(m+1 : ℕ)) : WithTop ℕ∞) ≤ ∞ from WithTop.coe_le_coe.mpr le_top) |
| 170 | let v := Fin.init u |
| 171 | let g : Points n →L[ℝ] ℂ := (iteratedFDeriv ℝ (m+1) (row p j q) x).curryRight v |
| 172 | have hb (k : Fin n) (a : Axis) : g (Points.direction k a) = 0 := by |
| 173 | change iteratedFDeriv ℝ (m+1) (row p j q) x (Fin.snoc v (Points.direction k a)) = 0 |
| 174 | have hp : |
| 175 | D (Points.direction k a) (row p j q) =ᶠ[𝓝 x] row p j (update q k (rise W a (q k))) := by |
| 176 | filter_upwards [(conf_open _).mem_nhds hx] with y hy |
| 177 | exact row_D h W der p delta j q hy k a |
| 178 | rw [snoc_jet hh, (hp.iteratedFDeriv ℝ m).eq_of_nhds] |
| 179 | exact ih _ _ |
| 180 | have ha (w : Points n) : g w = 0 := by |
| 181 | rw [← expand_pts w, map_sum] |
| 182 | simp [map_sum,hb] |
| 183 | have hy := ha (u (Fin.last m)) |
| 184 | change iteratedFDeriv ℝ (m+1) (row p j q) x |
| 185 | (Fin.snoc (Fin.init u) (u (Fin.last m))) = 0 at hy |
| 186 | rwa [Fin.snoc_init_self] at hy |
| 187 | |
| 188 | private lemma all_scenes (h : S.Hierarchy) (W : DiffPlan S) |
| 189 | (inc : W.Inclusions S) (der : W.Derivatives S) |
| 190 | (p : Parts S) (c : ColorLaw p W h.spin) |
| 191 | (delta : ∀ d b i u, W.deriv (d+1) b (p d i u) = p (d+1) i (W.deriv d b u)) |
| 192 | (hl : LineSum p) : Climb.transverse p := by |
| 193 | intro d s |
| 194 | exact full_jet h W inc der p c delta hl s.a s.b s.offAxis s.strict |
| 195 | s.positions (column s.v) s.m s.dirs |
| 196 | |
| 197 | theorem answer : YM.Bid.A03 := by |
| 198 | intro G L S h W inc der o p Y c hc hl |
| 199 | refine ⟨all_scenes h W inc der p c hc.delta hl, ?_⟩ |
| 200 | exact all_scenes h W inc der W.deriv (native W h inc der o) |
| 201 | (fun _ b i u => W.abelian h.laws.toSymmetric der h.smooth u b i) |
| 202 | (line_native h W der) |
| 203 | |
| 204 | end YM.Work.A03 |