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.Euclid.Table |
| 2 | import Mathlib.Analysis.Normed.Group.Quotient |
| 3 | |
| 4 | /-! |
| 5 | # All-spectator local field quotients |
| 6 | |
| 7 | Equality against *every* exterior word is used in the type. For symmetric, |
| 8 | smooth kernels, show point-null-at-head equals null at all slots in tests. |
| 9 | No cutoff condition/exterior weight cap. Distinguish the free comparison |
| 10 | example (the same construction of quotients on shell Wick kernels) from a |
| 11 | rank statement connecting it to a physical hierarchy. Use complex spaces |
| 12 | and store the real structure explicitly. Quotient norm on each weight |
| 13 | from sup reference norm. No isometry assumption on symmetries. |
| 14 | -/ |
| 15 | set_option autoImplicit false |
| 16 | noncomputable section |
| 17 | namespace YM |
| 18 | open Function Set Filter MeasureTheory |
| 19 | open scoped Topology ContDiff Matrix.Norms.Frobenius BigOperators |
| 20 | variable {G : Gauge} {L : Register G} |
| 21 | |
| 22 | structure Exterior (L : Register G) where |
| 23 | n : ℕ |
| 24 | point : Points (n+1) |
| 25 | letter : Fin n → L.Token |
| 26 | clear : point ∈ conf _ |
| 27 | |
| 28 | namespace Table |
| 29 | variable (S : Table L) |
| 30 | |
| 31 | def replies (d) : L.Ref d →ₗ[ℂ] Exterior L → ℂ := |
| 32 | LinearMap.pi fun v => S.injectFront v.letter v.point d |
| 33 | |
| 34 | def null (d : ℕ) := LinearMap.ker (S.replies d) |
| 35 | |
| 36 | protected theorem criterion (d : ℕ) (v : L.Ref d) : v ∈ S.null d ↔ |
| 37 | ∀ (n : ℕ) (B : Fin n → L.Token), ∀ x ∈ conf (n+1), S.read x (Fin.cons ⟨d,v⟩ B) = 0 := by |
| 38 | constructor |
| 39 | · intro h n B x hx |
| 40 | exact congr_fun (show S.replies d v = 0 from h) ⟨n,x,B,hx⟩ |
| 41 | intro h; exact funext (fun (i : Exterior L) => h i.n i.letter i.point i.clear) |
| 42 | |
| 43 | /-- Move any slot to the head, proof independent of continuity. -/ |
| 44 | lemma same_place {n} (h : S.Symmetric) {x} (hx : x ∈ conf (n+1)) (p : Fin (n+1)) (w : Fin (n+1) → L.Token) : |
| 45 | S.read x w = S.read (Points.rearrange (Equiv.swap 0 p) x) |
| 46 | (Fin.cons (w p) (Fin.tail (w ∘ Equiv.swap 0 p))) := by |
| 47 | rw [← h.same (Equiv.swap 0 p) hx] |
| 48 | congr 1 |
| 49 | simpa using (Fin.cons_self_tail (w ∘ Equiv.swap 0 p)).symm |
| 50 | |
| 51 | lemma each_place (h : S.Symmetric) {d} {v : L.Ref d} (H : v ∈ S.null d) {n} {x : Points n} (hx : x ∈ conf n) |
| 52 | (w : Fin n → L.Token) (p : Fin n) (hp : w p = ⟨d,v⟩) : S.read x w = 0 := by |
| 53 | cases n with |
| 54 | | zero => exact Fin.elim0 p |
| 55 | | succ n => |
| 56 | rw [same_place S h hx p, hp] |
| 57 | exact ((S.criterion _ _).mp H) n _ _ (Points.rearrange_in _ hx) |
| 58 | |
| 59 | |
| 60 | def vanishes (d : ℕ) (v : L.Ref d) := ∀ (n : ℕ) (w : Fin n → L.Token) (i : Fin n), w i = ⟨d,v⟩ → |
| 61 | ∀ f : Test n, f.applyTo (fun x => S.read x w) = 0 |
| 62 | |
| 63 | theorem equivalent (hs : S.Smooth) (hp : S.Symmetric) (d : ℕ) (v : L.Ref d) : |
| 64 | v ∈ S.null d ↔ S.vanishes d v := by |
| 65 | constructor |
| 66 | · intro hv n w i hw |
| 67 | exact (Test.weak_null (S.smooth_read hs w).continuousOn).mpr fun x hx => S.each_place hp hv hx w i hw |
| 68 | intro h |
| 69 | refine (S.criterion _ _).mpr ?_ |
| 70 | intro n B x hx |
| 71 | let w := Fin.cons (α := fun _ => L.Token) ⟨d,v⟩ B |
| 72 | exact (Test.weak_null (S.smooth_read hs w).continuousOn).mp (h (n+1) w 0 (by simp [w])) hx |
| 73 | |
| 74 | abbrev Field (d : ℕ) := L.Ref d ⧸ S.null d |
| 75 | abbrev project (d : ℕ) := (S.null d).mkQ |
| 76 | |
| 77 | instance (d : ℕ) : IsClosed ((S.null d : Submodule _ _) : Set (L.Ref d)) := |
| 78 | Submodule.closed_of_finiteDimensional _ |
| 79 | |
| 80 | example (d) : NormedAddCommGroup (S.Field d) := inferInstance |
| 81 | example (d) : NormedSpace ℂ (S.Field d) := inferInstance |
| 82 | example (d) : FiniteDimensional ℂ (S.Field d) := inferInstance |
| 83 | |
| 84 | theorem onto d : Surjective (S.project d) := (S.null d).mkQ_surjective |
| 85 | |
| 86 | /-- Any section used only for evaluation, see `Class` descent. -/ |
| 87 | def representative (d) : S.Field d →ₗ[ℂ] L.Ref d := |
| 88 | ((S.project d).exists_rightInverse_of_surjective (S.null d).range_mkQ).choose |
| 89 | |
| 90 | @[simp] theorem rep (d) (v : S.Field d) : S.project d (S.representative d v) = v := |
| 91 | LinearMap.congr_fun ((S.project d).exists_rightInverse_of_surjective (S.null d).range_mkQ).choose_spec v |
| 92 | |
| 93 | def spectra (d : ℕ) : S.Field d →ₗ[ℂ] Exterior L → ℂ := (S.null d).liftQ (S.replies d) le_rfl |
| 94 | |
| 95 | @[simp] theorem projected (d) v : S.spectra d (S.project d v) = S.replies d v := rfl |
| 96 | |
| 97 | theorem faithfully d : Injective (S.spectra d) := LinearMap.ker_eq_bot.mp |
| 98 | ((S.null d).ker_liftQ_eq_bot (S.replies d) le_rfl le_rfl) |
| 99 | |
| 100 | def unit (d : ℕ) : S.Field d := S.project d (L.scalar d) |
| 101 | |
| 102 | theorem alive (d : ℕ) (h : S.Basic) : S.unit d ≠ 0 := by |
| 103 | intro hx |
| 104 | have he : L.scalar d ∈ S.null d := (Submodule.Quotient.mk_eq_zero _).mp hx |
| 105 | let u := (0 : Points (0+1)) |
| 106 | let B : Fin 0 → L.Token := Fin.elim0 |
| 107 | have hz : u ∈ conf _ := fun _ _ _ => @Subsingleton.elim (Fin 1) _ _ _ |
| 108 | have hw : S.read u (Fin.cons (L.one d) B) = 0 := (S.criterion d _).mp he 0 B u hz |
| 109 | rw [h.unital hz, h.trivial] at hw; exact one_ne_zero hw |
| 110 | |
| 111 | section RealSpin |
| 112 | variable (H : S.RealSpin) |
| 113 | include H |
| 114 | |
| 115 | theorem move_null (s : Signed) (d) {p} (h : p ∈ S.null d) : L.mirrorGroup d s p ∈ S.null d := by |
| 116 | rw [S.criterion]; intro n B x hx |
| 117 | let y := Points.move s.ortho⁻¹ x |
| 118 | have he : Points.move s.ortho y = x := by ext1 j; simp [y] |
| 119 | let A := L.move s⁻¹ ∘ B |
| 120 | have hw : L.move s ∘ (Fin.cons (α := fun _ => L.Token) ⟨d,p⟩ A) = Fin.cons ⟨d,L.mirrorGroup d s p⟩ B := by |
| 121 | funext i |
| 122 | refine Fin.cases ?_ (fun j => ?_) i |
| 123 | · rw [Function.comp_apply,Fin.cons_zero,Fin.cons_zero]; rfl |
| 124 | simp only [A,Function.comp_apply,Fin.cons_succ] |
| 125 | unfold Register.move; simp only [← Register.mirror_mul,mul_inv_cancel,L.mirror_one] |
| 126 | rw [← hw, ← he, H.mirror s (Points.move_in _ hx)] |
| 127 | exact (S.criterion d _).mp h _ _ _ (Points.move_in _ hx) |
| 128 | |
| 129 | theorem real_null (d) {p} (h : p ∈ S.null d) : star p ∈ S.null d := by |
| 130 | rw [S.criterion]; intro n B x hx |
| 131 | let A := L.conjugate ∘ B |
| 132 | have he : L.conjugate ∘ (Fin.cons (α := fun _ => L.Token) ⟨d,p⟩ A) = Fin.cons ⟨d,star p⟩ B := by |
| 133 | funext i; refine Fin.cases ?_ (fun j => ?_) i |
| 134 | · rw [Function.comp_apply,Fin.cons_zero,Fin.cons_zero]; rfl |
| 135 | simp only [A,Function.comp_apply,Fin.cons_succ]; unfold Register.conjugate; simp |
| 136 | rw [← he,H.real hx,(S.criterion d _).mp h n A x hx,star_zero] |
| 137 | |
| 138 | def mirror (d : ℕ) (s : Signed) : S.Field d →ₗ[ℂ] S.Field d := |
| 139 | (S.null d).liftQ ((S.project d).comp (L.mirrorGroup d s)) fun _ hx => |
| 140 | (Submodule.Quotient.mk_eq_zero _).mpr (S.move_null H s d hx) |
| 141 | |
| 142 | def conj (d : ℕ) : S.Field d →ₛₗ[starRingEnd ℂ] S.Field d := |
| 143 | (S.null d).liftQ ((S.project d).comp (L.bar d)) fun _ hx => |
| 144 | (Submodule.Quotient.mk_eq_zero _).mpr (S.real_null H d hx) |
| 145 | |
| 146 | @[simp] theorem mirror_project (d s) (p : L.Ref d) : S.mirror H d s (S.project d p) = S.project d (L.mirrorGroup d s p) := rfl |
| 147 | @[simp] theorem conj_project (d) (p : L.Ref d) : S.conj H d (S.project d p) = S.project d (star p) := rfl |
| 148 | @[simp] theorem mirror_unit d s : S.mirror H d s (S.unit d) = S.unit d := by rw [unit,mirror_project,L.mirror_scalar] |
| 149 | @[simp] theorem conj_unit d : S.conj H d (S.unit d) = S.unit d := by rw [unit,conj_project,L.bar_scalar] |
| 150 | |
| 151 | @[simp] theorem mirror_mul d (s t : Signed) (p : S.Field d) : |
| 152 | S.mirror H d (s*t) p = S.mirror H d s (S.mirror H d t p) := by |
| 153 | obtain ⟨p,rfl⟩ := S.onto d p; rw [mirror_project,mirror_project,mirror_project,L.mirror_mul] |
| 154 | |
| 155 | @[simp] theorem mirror_one d (p : S.Field d) : S.mirror H d 1 p = p := by |
| 156 | obtain ⟨p,rfl⟩ := S.onto d p; rw [mirror_project,L.mirror_one] |
| 157 | |
| 158 | @[simp] theorem mirror_star d (s : Signed) (p : S.Field d) : |
| 159 | S.conj H d (S.mirror H d s p) = S.mirror H d s (S.conj H d p) := by |
| 160 | obtain ⟨p,rfl⟩ := S.onto d p; rw [mirror_project,conj_project,conj_project,mirror_project,L.star_mirror] |
| 161 | |
| 162 | @[simp] theorem reflect_star d (p : S.Field d) : S.conj H d (S.conj H d p) = p := by |
| 163 | obtain ⟨p,rfl⟩ := S.onto d p; rw [conj_project,conj_project,star_star] |
| 164 | |
| 165 | def adj (d : ℕ) (a : Axis) : S.Field d →ₛₗ[starRingEnd ℂ] S.Field d := |
| 166 | (S.mirror H d (Signed.mirror a)).comp (S.conj H d) |
| 167 | |
| 168 | @[simp] theorem adj_project d a (p : L.Ref d) : S.adj H d a (S.project d p) = S.project d (L.adj d a p) := rfl |
| 169 | |
| 170 | @[simp] theorem reflect_twice d a (p : S.Field d) : S.adj H d a (S.adj H d a p) = p := by |
| 171 | obtain ⟨p,rfl⟩ := S.onto d p; rw [adj_project,adj_project,L.reflected] |
| 172 | end RealSpin |
| 173 | end Table |
| 174 | end YM |