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.Grow |
| 2 | |
| 3 | /-! |
| 4 | # Word insertion into joint tempered distributions |
| 5 | -/ |
| 6 | set_option autoImplicit false |
| 7 | noncomputable section |
| 8 | namespace YM.Work.C29 |
| 9 | open Function Boundary |
| 10 | open scoped BigOperators |
| 11 | |
| 12 | variable {G : Gauge} {L : Register G} {S : Table L} {n : ℕ} |
| 13 | |
| 14 | private lemma eval_update [DecidableEq (Fin n)] (v : Fin n → Test4) (i : Fin n) |
| 15 | (f : Test4) (p : Points n) : |
| 16 | (fun j => update v i f j (p j)) = update (fun j => v j (p j)) i (f (p i)) := by |
| 17 | funext j |
| 18 | by_cases h : j = i <;> simp [h] |
| 19 | |
| 20 | /-- The product test as an algebraic multilinear map into **joint** tests. -/ |
| 21 | def materialLinear (n : ℕ) : MultilinearMap ℂ (fun _ : Fin n => Test4) (Joint n) where |
| 22 | toFun := Joint.materialize n |
| 23 | map_update_add' v i f g := by |
| 24 | ext1 p |
| 25 | simp only [Joint.material_at, add_apply, eval_update v] |
| 26 | exact (MultilinearMap.mkPiAlgebra ℂ (Fin n) ℂ).map_update_add (fun j => v j (p j)) i _ _ |
| 27 | map_update_smul' v i c f := by |
| 28 | ext1 p |
| 29 | simp only [Joint.material_at, smul_apply, eval_update v] |
| 30 | exact (MultilinearMap.mkPiAlgebra ℂ (Fin n) ℂ).map_update_smul (fun j => v j (p j)) i _ _ |
| 31 | |
| 32 | variable (W : Surface S) |
| 33 | |
| 34 | lemma expectCast (v : Fin n → Letter S) {b : Sentence S} (h : n = b.length) |
| 35 | (e : ∀ i, b.get (Fin.cast h i) = v i) : |
| 36 | W.expect b = W.W n (Prod.fst ∘ v) (Joint.materialize n (Prod.snd ∘ v)) := by |
| 37 | subst n |
| 38 | have : b.get = v := funext e |
| 39 | simp only [Surface.expect, this, Function.comp_def] |
| 40 | |
| 41 | lemma expectOfFn (v : Fin n → Letter S) : |
| 42 | W.expect (List.ofFn v) = W.W n (Prod.fst ∘ v) (Joint.materialize n (Prod.snd ∘ v)) := |
| 43 | expectCast W v (by simp) (by simp) |
| 44 | |
| 45 | /-- At one slot of a fixed-arity word insert both a label and a test. -/ |
| 46 | lemma mixedSlot (v : Fin n → Letter S) (i : Fin n) : |
| 47 | ∃ U : S.Union →ₗ[ℂ] Test4 →ₗ[ℂ] ℂ, ∀ x f, |
| 48 | W.expect (List.ofFn (update v i (x,f))) = U x f := by |
| 49 | let A := (W.W n).toLinearMap (Prod.fst ∘ v) i |
| 50 | let B := (materialLinear n).toLinearMap (Prod.snd ∘ v) i |
| 51 | let U : S.Union →ₗ[ℂ] Test4 →ₗ[ℂ] ℂ := |
| 52 | { toFun := fun x => (A x).toLinearMap.comp B |
| 53 | map_add' := by intro x y; ext f; exact DFunLike.congr_fun (A.map_add x y) _ |
| 54 | map_smul' := by intro c x; ext f; exact DFunLike.congr_fun (A.map_smul c x) _ } |
| 55 | refine ⟨U,fun x f => ?_⟩ |
| 56 | rw [expectOfFn, Function.comp_update, Function.comp_update]; rfl |
| 57 | |
| 58 | private lemma insertSlot {m n : ℕ} {α : Type*} (v : Fin m → α) (w : Fin n → α) (x y : α) : |
| 59 | update (Fin.append v (Fin.cons x w)) (Fin.natAdd m 0) y = Fin.append v (Fin.cons y w) := by |
| 60 | funext i |
| 61 | refine Fin.addCases (fun i => ?_) (fun j => ?_) i |
| 62 | · have h : Fin.castAdd (n+1) i ≠ Fin.natAdd m 0 := by |
| 63 | apply Fin.ne_of_lt |
| 64 | exact (show i.val < m + 0 by simp) |
| 65 | simp [h] |
| 66 | induction j using Fin.cases with |
| 67 | | zero => simp |
| 68 | | succ j => simp [Fin.natAdd_inj] |
| 69 | |
| 70 | lemma symbol : W.Symbol := by |
| 71 | intro a b |
| 72 | obtain ⟨U,hU⟩ := mixedSlot W (Fin.append a.get (Fin.cons (0,0) b.get)) (Fin.natAdd a.length 0) |
| 73 | exact ⟨U,fun x f => by simpa only [insertSlot, List.ofFn_fin_append, List.ofFn_cons, List.ofFn_get] using hU x f⟩ |
| 74 | |
| 75 | /-- Continuous smearings slot by slot, with all label components constant. -/ |
| 76 | lemma continuousExpect {T : Type*} [TopologicalSpace T] (v : T → Fin n → Letter S) |
| 77 | (x : Fin n → S.Union) (he : ∀ p i, (v p i).1 = x i) (hc : ∀ i, Continuous fun p => (v p i).2) : |
| 78 | Continuous (fun p => W.expect (List.ofFn (v p))) := by |
| 79 | have h := (W.W n x).continuous.comp ((Joint.jointCont n).comp (continuous_pi hc)) |
| 80 | refine h.congr fun p => ?_ |
| 81 | rw [expectOfFn, show Prod.fst ∘ v p = x from funext (he p)] |
| 82 | rfl |
| 83 | |
| 84 | lemma cam (J : StarOp S) : W.Cam J := by |
| 85 | intro a b x y |
| 86 | let r := Sentence.rev J a |
| 87 | let v (p : Test4 × Test4) : Fin (r.length + ((b.length+1)+1)) → Letter S := |
| 88 | Fin.append r.get (Fin.cons (J x, Probe.bar p.1) (Fin.cons (y,p.2) b.get)) |
| 89 | have he (p : Test4 × Test4) : W.kernel J ((x,p.1)::a) ((y,p.2)::b) = W.expect (List.ofFn (v p)) := by |
| 90 | simp only [v, List.ofFn_fin_append, List.ofFn_cons, List.ofFn_get] |
| 91 | simp [Surface.kernel, Sentence.rev, r, Letter.op] |
| 92 | simp_rw [he] |
| 93 | apply continuousExpect W v (Prod.fst ∘ v (0,0)) |
| 94 | · intro p i |
| 95 | refine Fin.addCases (fun i => ?_) (fun j => ?_) i |
| 96 | · simp [v] |
| 97 | induction j using Fin.cases with |
| 98 | | zero => simp [v] |
| 99 | | succ j => induction j using Fin.cases <;> simp [v] |
| 100 | intro i |
| 101 | refine Fin.addCases (fun i => ?_) (fun j => ?_) i |
| 102 | · simpa [v] using (continuous_const (X := Test4 × Test4) (y := (r.get i).2)) |
| 103 | induction j using Fin.cases with |
| 104 | | zero => simpa [v, Function.comp_def] using (Probe.bar (V := E4)).continuous.comp (continuous_fst (Y := Test4)) |
| 105 | | succ j => |
| 106 | induction j using Fin.cases with |
| 107 | | zero => simpa [v] using (continuous_snd (X := Test4) (Y := Test4)) |
| 108 | | succ i => simpa [v] using (continuous_const (X := Test4 × Test4) (y := (b.get i).2)) |
| 109 | |
| 110 | theorem answer : YM.Bid.C29 := fun _ W J => ⟨symbol W, cam W J⟩ |
| 111 | |
| 112 | end YM.Work.C29 |