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.Dash.Limits |
| 2 | import YM.Dash.Slew |
| 3 | import YM.Extraction.Inherited |
| 4 | |
| 5 | |
| 6 | /-! |
| 7 | # All-spectator scopes before Smooth |
| 8 | |
| 9 | Weights not capped. Picaboo can probe any finite other weights on actual |
| 10 | label part. Deriv identity on exactly these joint tests. |
| 11 | -/ |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | namespace YM.Dash |
| 15 | open Function Set Filter MeasureTheory Measure Complex Analysis Extraction |
| 16 | open scoped ContDiff Topology InnerProductSpace BigOperators |
| 17 | variable {G : Gauge} {L : Register G} {n : ℕ} |
| 18 | |
| 19 | structure Shot (L : Register G) where |
| 20 | n : ℕ |
| 21 | i : Fin n |
| 22 | left : Fin n → L.Token |
| 23 | f : Test n |
| 24 | |
| 25 | namespace Shot |
| 26 | variable (s : Shot L) |
| 27 | |
| 28 | def record {d} (x : L.Ref d) := Function.update s.left s.i (⟨d,x⟩ : L.Token) |
| 29 | |
| 30 | def insert {d} (x : L.Ref d) (S : Table L) (u : Points s.n) := S.read u (s.record x) |
| 31 | |
| 32 | abbrev tape (s : Shot L) (d : ℕ) : Caps s.n := fun i => if i=s.i then d else (s.left i).1 |
| 33 | |
| 34 | def Tilt (L : Register G) (a b : ℕ) (h : a=b) : L.Ref a→ₗ[ℂ] L.Ref b := by subst b; exact LinearMap.id |
| 35 | lemma tilt (L : Register G) (a b : ℕ) (h : a=b) (x : L.Ref a) : Sigma.mk b (Tilt L a b h x)=⟨a,x⟩ := by subst b;rfl |
| 36 | |
| 37 | def codes (s : Shot L) (d : ℕ) (x : L.Ref d) (i : Fin s.n) : L.Ref (s.tape d i) := |
| 38 | if h : i=s.i then (Tilt L d _ (Eq.symm (if_pos h))) x else (Tilt L (s.left i).1 _ (Eq.symm (if_neg h))) (s.left i).2 |
| 39 | |
| 40 | lemma plusTape {d} (x y : L.Ref d) : s.codes d (x+y) s.i=s.codes d x s.i+s.codes d y s.i := by |
| 41 | simp [codes,map_add] |
| 42 | lemma timesTape {d} (c : ℂ) (x : L.Ref d) : s.codes d (c • x) s.i =c • s.codes d x s.i := by |
| 43 | simp [codes,map_smul] |
| 44 | lemma cod {d} (x : L.Ref d) : (fun i => Sigma.mk (s.tape d i) (s.codes d x i))=s.record x := by |
| 45 | classical |
| 46 | funext i; by_cases h : i=s.i |
| 47 | · subst i; unfold codes; rw [dif_pos rfl,tilt]; simp [record] |
| 48 | simp only [codes,dif_neg h,record,update_of_ne h]; exact tilt L _ _ _ _ |
| 49 | lemma gram {d} (x : L.Ref d) (i : Points s.n) (S : Table L) : s.insert x S i = S.value (s.tape d) i (s.codes d x) := by |
| 50 | unfold insert; rw [← s.cod x]; rfl |
| 51 | lemma sameTape {d} (x y : L.Ref d) : s.codes d x = update (s.codes d y) s.i (s.codes d x s.i) := by |
| 52 | funext i; by_cases h:i=s.i |
| 53 | · subst i; rw [update_self] |
| 54 | rw [update_of_ne h]; simp only [codes,dif_neg h] |
| 55 | lemma add {d} (x y : L.Ref d) (i : Points s.n) (S : Table L) : s.insert (x+y) S i=s.insert x S i+s.insert y S i := by |
| 56 | simp_rw [s.gram] |
| 57 | have he : s.codes d (x+y) s.i=s.codes d x s.i+s.codes d y s.i := s.plusTape _ _ |
| 58 | rw [s.sameTape (x+y) x,he, (S.value (s.tape d) i).map_update_add, ← s.sameTape,← s.sameTape] |
| 59 | lemma product {d} (c : ℂ) (x : L.Ref d) (i : Points s.n) (S : Table L) : s.insert (c • x) S i=c * s.insert x S i := by |
| 60 | simp_rw [s.gram] |
| 61 | have he : s.codes d (c • x) s.i=c • s.codes d x s.i := s.timesTape c x |
| 62 | rw [s.sameTape (c • x) x,he, (S.value (s.tape d) i).map_update_smul, ← s.sameTape]; rfl |
| 63 | def core (s : Shot L) {d} (S : Table L) (h : Live S) : L.Ref d→L[ℂ] ℂ := LinearMap.toContinuousLinearMap { |
| 64 | toFun p := s.f.applyTo fun x => s.insert p S x |
| 65 | map_add' x y := by |
| 66 | unfold Test.applyTo insert |
| 67 | rw [← integral_add (h s.n (s.record x) s.f) (h s.n (s.record y) s.f)]; apply integral_congr_ae; filter_upwards with i |
| 68 | rw [← mul_add]; congr 1 |
| 69 | exact Shot.add _ x y i _ |
| 70 | map_smul' c v := by |
| 71 | change s.f.applyTo (s.insert (c • v) S) = c * s.f.applyTo _ |
| 72 | unfold Test.applyTo |
| 73 | rw [← integral_const_mul]; congr! 2; rename_i i |
| 74 | rw [mul_left_comm]; congr 1 |
| 75 | exact Shot.product _ c v i _ } |
| 76 | |
| 77 | /-! evaluation at EVERY actual cutoff, Varying placements in smears |
| 78 | at one coordinate. Support tied in all n. -/ |
| 79 | variable {C : Family G} |
| 80 | lemma from_finite (s : Shot C.book) (x : C.book.Ref n) (N p) : Extraction.Order.smears C N p (s.record x) s.f=(C.S.a N:ℂ)^(4*s.n)* |
| 81 | ∑ r : Fin s.n → Lattice.Site (C.side N p), s.f (Order.cells C N p r)* (C.ensemble (s.tape n) r) (s.codes n x) := by |
| 82 | rw [Order.smears, ← s.cod x]; rfl |
| 83 | |
| 84 | def scan (s : Shot C.book) (d N p : ℕ) : C.book.Ref d→L[ℂ] ℂ := LinearMap.toContinuousLinearMap { |
| 85 | toFun x := Extraction.Order.smears C N p (s.record x) s.f |
| 86 | map_add' x y := by |
| 87 | simp_rw [from_finite] |
| 88 | rw [← mul_add,← Finset.sum_add_distrib]; congr 1 |
| 89 | apply Finset.sum_congr rfl; intro i _; rw [← mul_add]; congr 1 |
| 90 | rw [s.sameTape (x+y) x,s.plusTape, |
| 91 | MultilinearMap.map_update_add, ← s.sameTape,← s.sameTape] |
| 92 | map_smul' c x := by |
| 93 | simp_rw [from_finite] |
| 94 | change _= c*(_*_); rw [mul_left_comm c _ _,Finset.mul_sum _ _ c]; congr 1 |
| 95 | apply Finset.sum_congr rfl; intro i _; rw [mul_left_comm]; congr 1 |
| 96 | rw [s.sameTape (c•x) x, s.timesTape, |
| 97 | MultilinearMap.map_update_smul,← s.sameTape]; rfl } |
| 98 | |
| 99 | lemma ready (s : Shot C.book) {f : Order} {S : Table C.book} (h : Live S) (hx : f.Ordered C S) (d) : Tendsto |
| 100 | (fun i : ℕ × ℕ => s.scan d i.1 i.2) f.fuse (𝓝 (s.core (d:=d) S h)) := by |
| 101 | suffices HE : Tendsto (fun i : ℕ × ℕ => LinearMap.toContinuousLinearMap (s.scan d i.1 i.2).toLinearMap) f.fuse (𝓝 (LinearMap.toContinuousLinearMap (s.core (d:=d) S h).toLinearMap)) by exact HE |
| 102 | refine fit_plane (fun i : ℕ × ℕ => (s.scan d i.1 i.2).toLinearMap) (s.core (d:=d) S h).toLinearMap ?h |
| 103 | intro v |
| 104 | have he := Order.along (hx.reads s.n (s.record v) s.f) |
| 105 | exact he |
| 106 | end Shot |
| 107 | |
| 108 | def monitor (S : Table L) (h : Live S) (d : ℕ) := ⨅ i : Shot L, LinearMap.ker (i.core (d:=d) S h).toLinearMap |
| 109 | |
| 110 | theorem notices (S : Table L) (h : Live S) {d} (p : L.Ref d) : p∈ monitor S h d ↔ S.vanishes d p := by |
| 111 | rw [monitor,Submodule.mem_iInf]; constructor |
| 112 | · intro he n w i hv t |
| 113 | have ht := he (Shot.mk n i w t) |
| 114 | let g := (⟨n,i,w,t⟩ : Shot L) |
| 115 | change t.applyTo (fun x => S.read x (g.record p))=0 at ht |
| 116 | rw [show g.record p=w by simp [Shot.record,g,←hv]] at ht; exact ht |
| 117 | exact fun H i => H i.n (i.record p) i.i (by simp [Shot.record]) i.f |
| 118 | |
| 119 | def Bin (_S : Table L) := (d : ℕ) → Branch (L.Ref d) (ℕ × ℕ) |
| 120 | namespace Bin |
| 121 | variable {S : Table L} |
| 122 | abbrev Matrix (p : Bin S) (d : ℕ) (f : Order) := approaches f.fuse (p d) |
| 123 | abbrev Good (p : Bin S) (h : Live S) (d : ℕ) := verified (p d) (fun i : Shot L => i.core S h) |
| 124 | |
| 125 | lemma transfer (p : Bin S) (h : Live S) {T : Table L} (hv : matchReg S T) (hx : T.Symmetric) (hp : T.Smooth) (d) |
| 126 | (he : Good p h d) : T.null d=LinearMap.ker (p d).trueP.toLinearMap := by |
| 127 | ext x |
| 128 | rw [T.equivalent hp hx,show LinearMap.ker _=monitor S h d from he, notices S h] |
| 129 | unfold Table.vanishes |
| 130 | simp_rw [faithful hv] |
| 131 | end Bin |
| 132 | end YM.Dash |