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.Phase |
| 2 | |
| 3 | |
| 4 | /-! |
| 5 | # Reflection positivity after applying any of the characters |
| 6 | |
| 7 | Apply the character to the *whole* quadratic expression (built from |
| 8 | whole words). Though factored at the level of CLMs between Hilbert spaces |
| 9 | of the unselected state, the positivity test has to work on the character's |
| 10 | subalgebra. Use spectral permanence. No measure-theoretic "almost all" |
| 11 | or choice of phase. |
| 12 | |
| 13 | For RPSmear we can form just the Schwinger Hilbert space of the table and |
| 14 | axis in question, from the point Gram estimates. It suffices to integrate |
| 15 | compactly supported continuous Hilbert-valued functions into that one space, |
| 16 | then take another Gram form. |
| 17 | -/ |
| 18 | set_option autoImplicit false |
| 19 | noncomputable section |
| 20 | namespace YM.Work.B08 |
| 21 | open Set Filter Function MeasureTheory OS OS.Ground Table Word Analysis |
| 22 | open scoped Topology InnerProductSpace BigOperators ComplexOrder |
| 23 | |
| 24 | /-- A useful form of positivity inheritance: selfadjoint with nonnegative |
| 25 | spectrum also in this closed subalgebra (it has the very same spectrum), |
| 26 | so in particular any character value is nonnegative. -/ |
| 27 | lemma char_nonneg {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℂ E] |
| 28 | [CompleteSpace E] (B : StarSubalgebra ℂ (E →L[ℂ] E)) (hc : IsClosed (B : Set (E →L[ℂ] E))) |
| 29 | (φ : B →⋆ₐ[ℂ] ℂ) (x : B) (hx : x.val.IsPositive) : 0 ≤ φ x := by |
| 30 | haveI : IsClosed (B : Set (E →L[ℂ] E)) := hc |
| 31 | have hr : φ x ∈ spectrum ℂ x := AlgHom.apply_mem_spectrum φ.toAlgHom x |
| 32 | have hs := B.mem_spectrum_iff.mp hr |
| 33 | exact spectrum_nonneg_of_nonneg ((ContinuousLinearMap.nonneg_iff_isPositive x.val).2 hx) hs |
| 34 | |
| 35 | section Time |
| 36 | variable {G : Gauge} {C : Family G} {S : Table C.book} {V : Chamber S timeAxis} |
| 37 | |
| 38 | private theorem timeGram (A : Spread V) (P : A.Resolution) {T : Table C.book} {α : P.X} |
| 39 | (H : S.Hierarchy) (hv : Steady V) (h : P.receives T α) |
| 40 | (m : ℕ) (w : Fin m → C.book.Word) (p : ∀ i, Positive (w i) timeAxis) (c : Fin m → ℂ) : |
| 41 | 0 ≤ ∑ i : Fin m, ∑ j : Fin m, star (c i) * c j * T.gram timeAxis (w i) (w j) := by |
| 42 | let v (i : Fin m) : Future C.book timeAxis := ⟨w i, p i⟩ |
| 43 | let U (i : Fin m) := X A (v i) |
| 44 | let b (i j : Fin m) := M A _ (twoSides (p i) (p j)) |
| 45 | have hb (i j : Fin m) : (b i j).val = (U i).adjoint.comp (U j) := slim A H hv (v i) (v j) |
| 46 | let y : A.algebra := ∑ i : Fin m, ∑ j : Fin m, (star (c i) * c j) • b i j |
| 47 | let F := ∑ i : Fin m, c i • U i |
| 48 | have he : y.val = F.adjoint.comp F := by |
| 49 | let q : (↥A.algebra) →ₗ[ℂ] V.VacuumOp := A.algebra.subtype.toAlgHom.toLinearMap |
| 50 | have hq (i j : Fin m) : q (b i j) = (U i).adjoint.comp (U j) := hb i j |
| 51 | change q _ = _ |
| 52 | ext1 x |
| 53 | simp only [F, map_sum, map_smul, map_smulₛₗ, hq, ContinuousLinearMap.comp_apply, |
| 54 | sum_apply, smul_apply, Finset.smul_sum, mul_smul] |
| 55 | rw [Finset.sum_comm] |
| 56 | refine Finset.sum_congr rfl fun i _ => Finset.sum_congr rfl fun j _ => ?_ |
| 57 | exact smul_comm (star (c j)) (c i) _ |
| 58 | have hpos : y.val.IsPositive := he ▸ F.isPositive_adjoint_comp_self |
| 59 | have hχ := char_nonneg A.algebra isClosed_closure (P.character α) y hpos |
| 60 | let f : (↥A.algebra) →ₗ[ℂ] ℂ := (P.character α).toAlgHom.toLinearMap |
| 61 | change 0 ≤ f y at hχ |
| 62 | have hg (i j : Fin m) : f (b i j) = T.gram timeAxis (w i) (w j) := |
| 63 | Extraction.Retain.pops A P h _ _ |
| 64 | simpa only [y, map_sum, map_smul, hg, smul_eq_mul] using hχ |
| 65 | end Time |
| 66 | |
| 67 | variable {G : Gauge} {L : Register G} {T : Table L} |
| 68 | |
| 69 | private lemma product_act (s t : Signed) (w : L.Word) : act (s*t) w = act s (act t w) := by |
| 70 | simp only [act, List.map_map] |
| 71 | congr 1; ext1 p; rcases p with ⟨x, d, v⟩ |
| 72 | have he : (s*t).ortho = s.ortho * t.ortho := map_mul Signed.inclusionO s t |
| 73 | simp [he, Ortho.move_mul, Register.move] |
| 74 | |
| 75 | private lemma commutes_conjugate (s : Signed) (w : L.Word) : conjugate (act s w) = act s (conjugate w) := by |
| 76 | simp only [conjugate, act, List.map_map] |
| 77 | congr 1; ext1 p; rcases p with ⟨x, d, v⟩ |
| 78 | simp [Register.move, Register.conjugate] |
| 79 | |
| 80 | private lemma compatible (s : Signed) (a : Axis) (w : L.Word) : reflect (act s w) (s.perm a) = act s (reflect w a) := by |
| 81 | have hm : Signed.mirror (s.perm a) * s = s * Signed.mirror a := by |
| 82 | apply Signed.ext |
| 83 | · ext i; simp [Signed.mirror] |
| 84 | funext i |
| 85 | by_cases h : i = a <;> cases hx : s.flip i <;> simp_all [Signed.mirror] |
| 86 | rw [reflect, reflect, show (act s w).reverse = act s w.reverse from (List.map_reverse ..).symm, |
| 87 | commutes_conjugate, ← product_act, hm, product_act] |
| 88 | |
| 89 | private lemma acts_read (s : Signed) (H : T.RealSpin) {w : L.Word} (h : distinct w) : T.expect (act s w) = T.expect w := by |
| 90 | have he : act s w = realize (L.move s ∘ tokens w) (Points.move s.ortho (positions w)) := by |
| 91 | let f := fun p : L.Plant => (Ortho.move s.ortho p.1, L.move s p.2) |
| 92 | have hm : (List.ofFn w.get).map f = List.ofFn (f ∘ w.get) := List.map_ofFn |
| 93 | rw [List.ofFn_get] at hm; exact hm |
| 94 | rw [he, T.readAt]; exact H.mirror s h _ |
| 95 | |
| 96 | private lemma acts_positive (s : Signed) {a : Axis} (hp : s.flip a = false) |
| 97 | {w : L.Word} (h : Positive w a) : Positive (act s w) (s.perm a) := by |
| 98 | constructor |
| 99 | · rw [locations, show (act s w).map Prod.fst = (w.map Prod.fst).map (Ortho.move s.ortho) from by |
| 100 | simp only [act, List.map_map]; rfl] |
| 101 | exact (locations.mp h.1).map (Ortho.move_injective _) |
| 102 | intro z hz; obtain ⟨x,hx,rfl⟩ := List.mem_map.mp hz |
| 103 | change 0 < Ortho.move s.ortho x.1 (s.perm a); simpa [Signed.ortho_move, hp] using h.2 x hx |
| 104 | |
| 105 | private theorem allGram (H : T.RealSpin) |
| 106 | (h : ∀ (m : ℕ) (w : Fin m → L.Word), (∀ i, Positive (w i) timeAxis) → ∀ c : Fin m → ℂ, |
| 107 | 0 ≤ ∑ i : Fin m, ∑ j : Fin m, star (c i)*c j*T.gram timeAxis (w i) (w j)) : T.RP := by |
| 108 | intro a m w p c |
| 109 | let s : Signed := ⟨Equiv.swap a timeAxis, fun _ => false⟩ |
| 110 | have ha : s.perm a = timeAxis := Equiv.swap_apply_left .. |
| 111 | have he (i j : Fin m) : T.gram timeAxis (act s (w i)) (act s (w j))=T.gram a (w i) (w j) := by |
| 112 | unfold Table.gram |
| 113 | rw [← ha, compatible, ← show act s (reflect (w i) a ++ w j) = |
| 114 | act s (reflect (w i) a) ++ act s (w j) from List.map_append] |
| 115 | exact acts_read s H (twoSides (p i) (p j)) |
| 116 | have hb := h m (fun i => act s (w i)) (fun i => ha ▸ acts_positive s rfl (p i)) c |
| 117 | simpa only [he] using hb |
| 118 | |
| 119 | section Tests |
| 120 | open Pairing |
| 121 | variable {a : Axis} |
| 122 | |
| 123 | -- Like OS.nonnegative, but can't invoke that version since T doesn't yet |
| 124 | -- have a Hierarchy (in particular we don't already have RPSmear). |
| 125 | private lemma nnPoint (H : T.Basic) (hv : T.RealSpin) (hp : T.RP) : |
| 126 | NNKernel (fun (x y : Future L a) => T.gram a x.val y.val) := by |
| 127 | apply NNKernel.criterion |
| 128 | · intro x y |
| 129 | have he : distinct (reflect y.val a ++ x.val) := twoSides y.property x.property |
| 130 | have hh (u v : L.Word) : reflect (u++v) a = reflect v a ++ reflect u a := by simp [reflectedPoint] |
| 131 | change star (T.expect _) = T.expect _ |
| 132 | rw [← twice_expect H hv a _ he, hh, OS.reflect_twice] |
| 133 | intro m x c |
| 134 | have he := hp a m (fun i => (x i).val) (fun i => (x i).property) c |
| 135 | exact he.trans (le_of_eq (Finset.sum_congr rfl fun i _ => |
| 136 | Finset.sum_congr rfl fun j _ => mul_right_comm _ _ _)) |
| 137 | |
| 138 | private lemma smeared_continuous (H : T.Symmetric) (hv : T.Smooth) (Q R : PastTest L a) : |
| 139 | Continuous (T.smeared a Q R) := by |
| 140 | let f := withOther Q R |
| 141 | let K (x) := T.read x (tied Q.v R.v a) |
| 142 | have he : Continuous (fun x : Points (Q.n+R.n) => f x * K x) := continuous_of_tsupport (by |
| 143 | intro x hx |
| 144 | have hm : x ∈ conf _ := f.tsupport_subset (tsupport_mul_subset_left hx) |
| 145 | exact f.continuous.continuousAt.mul (((T.smooth_read hv _).continuousOn x hm).continuousAt |
| 146 | ((conf_open _).mem_nhds hm))) |
| 147 | have hh : T.smeared a Q R = (fun x => f x * K x) ∘ (pairIso a).symm := funext fun z => |
| 148 | (corresponding T H Q R z.1 z.2).symm |
| 149 | rw [hh]; exact he.comp (pairIso a).symm.continuous |
| 150 | |
| 151 | variable (Z : Schwinger T a) |
| 152 | |
| 153 | open scoped Classical in |
| 154 | private def atWord (Q : PastTest L a) (x : Points Q.n) : Future L a := |
| 155 | if h : single x a then ⟨realize Q.v x, living Q.v h⟩ else air a |
| 156 | |
| 157 | private def ket (Q : PastTest L a) (x : Points Q.n) : Z.H := Q.f x • Z.plant (atWord Q x) |
| 158 | |
| 159 | private lemma ket_inner (Q R : PastTest L a) (x : Points Q.n) (y : Points R.n) : |
| 160 | inner ℂ (ket Z Q x) (ket Z R y) = T.smeared a Q R (x,y) := by |
| 161 | rw [ket, ket, inner_smul_left, inner_smul_right, Z.measure] |
| 162 | by_cases hx : x ∈ tsupport Q.f |
| 163 | swap |
| 164 | · rw [Table.smeared] |
| 165 | simp [image_eq_zero_of_notMem_tsupport hx] |
| 166 | by_cases hy : y ∈ tsupport R.f |
| 167 | swap |
| 168 | · rw [Table.smeared] |
| 169 | simp [image_eq_zero_of_notMem_tsupport hy] |
| 170 | simp only [atWord, dif_pos (stays Q hx), dif_pos (stays R hy), smeared, mul_assoc]; rfl |
| 171 | |
| 172 | private lemma ket_integrable (H : T.Symmetric) (hv : T.Smooth) (Q : PastTest L a) : |
| 173 | Integrable (ket Z Q) := by |
| 174 | have he := smeared_continuous H hv Q Q |
| 175 | have ht : Continuous (ket Z Q) := continuous_iff_continuousAt.mpr fun x => ketC (D := Z.H) _ x |
| 176 | (by simp_rw [ket_inner]; exact (he.comp (continuous_id.prodMk continuous_id)).continuousAt) |
| 177 | (by simp_rw [ket_inner]; exact (he.comp (continuous_const.prodMk continuous_id)).continuousAt) |
| 178 | apply ht.integrable_of_hasCompactSupport |
| 179 | exact (show HasCompactSupport ((Q.f : Points Q.n → ℂ) • (Z.plant ∘ atWord Q)) from |
| 180 | Q.f.hasCompactSupport.smul_right) |
| 181 | |
| 182 | private lemma test_gram (H : T.Symmetric) (hv : T.Smooth) (Q R : PastTest L a) : |
| 183 | (∫ z, T.smeared a Q R z) = inner ℂ (∫ x, ket Z Q x) (∫ y, ket Z R y) := by |
| 184 | have hi := pairedIntegrable T H hv Q R |
| 185 | change (∫ z, T.smeared a Q R z ∂(volume.prod volume)) = _ |
| 186 | rw [integral_prod _ hi] |
| 187 | simp_rw [← ket_inner Z, integral_inner (ket_integrable Z H hv R)] |
| 188 | rw [← inner_conj_symm (∫ x, ket Z Q x), ← integral_inner (ket_integrable Z H hv Q), ← integral_conj] |
| 189 | simp only [inner_conj_symm] |
| 190 | |
| 191 | /-- Point Gram bounds suffice also for arbitrary joint `PastTest`s with |
| 192 | Basic, RealSpin and Smooth. No requirement for the rest of Hierarchy. -/ |
| 193 | theorem smear (H : T.Basic) (hspin : T.RealSpin) (hv : T.Smooth) (hp : T.RP) : T.RPSmear := by |
| 194 | constructor |
| 195 | · exact fun _ Q R => pairedIntegrable T H.toSymmetric hv Q R |
| 196 | intro a m w c |
| 197 | let Z : Schwinger T a := Classical.choice (Kernel.host (nnPoint H hspin hp)) |
| 198 | let W (i : Fin m) := ∫ x, ket Z (w i) x |
| 199 | have hx (x : Z.H) : 0 ≤ inner ℂ x x := |
| 200 | ⟨inner_self_nonneg (𝕜 := ℂ), (inner_self_im (𝕜 := ℂ) x).symm⟩ |
| 201 | have he := hx (∑ i : Fin m, c i • W i) |
| 202 | simp_rw [sum_inner, inner_sum, inner_smul_left, inner_smul_right] at he |
| 203 | simpa only [test_gram Z H.toSymmetric hv, Complex.star_def, mul_assoc] using he |
| 204 | end Tests |
| 205 | |
| 206 | theorem answer : YM.Bid.B08 := by |
| 207 | intro G C S V A P X H _ hv _ p hp α |
| 208 | have hr := allGram (hp.HOnly α) (timeGram A P H hv (hp.threads α)) |
| 209 | exact ⟨hr, smear (hp.basics α) (hp.HOnly α) (hp.smooth α) hr⟩ |
| 210 | end YM.Work.B08 |