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.WilsonBulk.Slice.Eating |
| 2 | |
| 3 | /-! |
| 4 | # Spectator equivariance & affine compatible cuts for Γ |
| 5 | |
| 6 | Proof including arbitrary presentation of finite full Gaussian with zero |
| 7 | fields marginalized and output substitutions in polynomial parameters. Keeps |
| 8 | coarse quadratic and denominator operation in their own spaces. Materials |
| 9 | consume these identities before truncation, not approximating densities. |
| 10 | -/ |
| 11 | set_option autoImplicit false |
| 12 | noncomputable section |
| 13 | namespace YM.WilsonBulk.Sheet |
| 14 | open scoped Classical BigOperators |
| 15 | open Function Finset PowerSeries Matrix Sum |
| 16 | variable {A X : Type} {α β κ ι : Type} [CommRing A] [Algebra ℝ A] |
| 17 | variable [Fintype α] [Fintype β] [Fintype ι] [Fintype κ] |
| 18 | variable {G : Matrix α α ℝ} {V : Matrix β α ℝ} {H : Matrix β β ℝ} |
| 19 | -- underlies condition for transitions to affine in private only |
| 20 | |
| 21 | omit [Fintype β] [Fintype ι] in |
| 22 | lemma inflow_quill (x : α) (i : β) : inflow (ι:=ι) x (quill V privateName i)= algebraMap ℝ (StageD α ι) (V i x) := by |
| 23 | rw [Algebra.algebraMap_eq_smul_one]; simp [quill,inflow,privateName,smul_ite] |
| 24 | omit [Fintype α] in |
| 25 | lemma hat_still (x : α) (p : Tape ι) : inflow x (boast α ι p)=0 := by rw [boast,inflow, player_chain]; simp |
| 26 | |
| 27 | -- V maps private inputs, I (φ) maps spectators. H=V G V^t (source with H, target with G) |
| 28 | def facade (V : Matrix β α ℝ) (u : κ→Tape ι) (e : Chamber β κ) : StageD α ι := Sum.elim (quill V privateName) (fun i=> boast α ι (u i)) e |
| 29 | omit [Fintype β] in |
| 30 | lemma lap_project (h : V*G*V.transpose=H) (i j : β) : |
| 31 | ∑ x:α,∑ y:α,G x y * V i x * V j y= H i j := by |
| 32 | rw [← h]; simp only [Matrix.mul_apply,sum_mul,transpose_apply]; rw [sum_comm]; apply sum_congr rfl fun _ _=>sum_congr rfl fun _ _=> ?_; ring |
| 33 | omit [Fintype β] [Fintype κ] in |
| 34 | lemma facade_reflect (u : κ→Tape ι) (h : V*G*V.transpose=H) : Reflects (facade V u) (forkM (ι:=κ) (κ:=ι) V) (house H) (house G) := by |
| 35 | constructor |
| 36 | · intro x y hx; cases x with |
| 37 | | inr i=> exact absurd (house_front ..) hx |
| 38 | | inl i=> cases y with |
| 39 | | inr j=> exact absurd (house_out ..) hx |
| 40 | | inl j=> |
| 41 | have he (x : α) (i : Chamber β κ) : player (inl x) (facade V u i)= algebraMap ℝ (StageD α ι) (forkM (ι:=κ) (κ:=ι) V i (inl x)) := by |
| 42 | cases i with |
| 43 | | inl i=> exact inflow_quill .. |
| 44 | | inr i=> change inflow x (boast α ι (u i)) = algebraMap ℝ _ 0; rw [hat_still, map_zero] |
| 45 | exact ⟨he i,he j⟩ |
| 46 | intro i j |
| 47 | simp_rw [Fintype.sum_sum_type,house_in, house_out] |
| 48 | -- remaining nonzero house(out,left) |
| 49 | simp_rw [house_front]; simp only [zero_mul,sum_const_zero,add_zero]; rcases i with i|i <;> rcases j with j|j |
| 50 | · exact lap_project h .. |
| 51 | all_goals simp [house,pair,forkM,two] |
| 52 | lemma lap_shadow (u : κ→Tape ι) (p : StageD β κ) (h : V*G*V.transpose=H) : bags ι G (submit (facade V u) p)=submit u (bags κ H p) := by |
| 53 | rw [bags_script,bags_script,(facade_reflect u h).all] |
| 54 | apply DFunLike.congr_fun (f:=(blankD α ι).comp (submit (facade V u))) (g:=(submit u).comp (blankD β κ)) |
| 55 | apply code_ext |
| 56 | · rw [AlgHom.comp_apply,submit_X,blankD_X,constantCoeff_X] |
| 57 | · simp only [AlgHom.comp_apply,submit_X,blankD_X] |
| 58 | simp only [AlgHom.comp_apply,submit_named]; intro i; cases i with |
| 59 | | inl i=> |
| 60 | change blankD _ _ (quill _ _ i)=submit u (blankD β κ (privateName i)) |
| 61 | simp only [quill,map_smul,map_sum,blankD_name,smul_zero,sum_const_zero,map_zero] |
| 62 | | inr j=> rw [blankD_reports,submit_named]; exact boast_home _ |
| 63 | lemma linear_shadow (f : StageD α ι) (G H V : Matrix α α ℝ) (h : V*G*V.transpose=H) : bags ι G (switch (quill V privateName) f)=bags ι H f := by |
| 64 | have hb : switch (quill V privateName : α→StageD α ι)=submit (facade V (fun i:ι=>named i)) := by |
| 65 | apply byNames; exact switch_X ..; rintro (i|i) |
| 66 | · exact switch_to .. |
| 67 | exact Eq.trans (switch_side ..) (boast_calls _).symm |
| 68 | rw [hb,lap_shadow _ f h, submit_id] |
| 69 | -- changing spectator parameters in nonlinear expressions |
| 70 | |
| 71 | def consult (u : κ→ Tape ι) : StageD α κ→ₐ[ℝ]StageD α ι := submit (Sum.elim privateName (fun i=> boast α ι (u i))) |
| 72 | lemma consults (u : κ→ Tape ι) (f : StageD α κ) : bags ι G (consult u f)=submit u (bags κ G f) := by |
| 73 | rw [consult,show Sum.elim _ _= facade (1:Matrix α α ℝ) u from funext (fun i=> by cases i with |
| 74 | | inl i=> simp only [facade,quill_one,Sum.elim_inl] |
| 75 | | inr i=>rfl)] |
| 76 | exact lap_shadow u f (by simp) |
| 77 | omit [Fintype α] [Fintype ι] [Fintype κ] in |
| 78 | lemma consult_sat (u : κ→ Tape ι) (p : Tape κ) : consult u (boast α κ p)= boast α ι (submit u p) := by |
| 79 | apply DFunLike.congr_fun (f:=(consult u).comp (boast α κ)) (g:=(boast α ι).comp (submit u)) |
| 80 | refine code_ext _ _ ?_ ?_ ?_ |
| 81 | · rw [AlgHom.comp_apply,boast_X,consult,submit_X,constantCoeff_X] |
| 82 | · simp only [AlgHom.comp_apply,boast_X,consult,submit_X] |
| 83 | · intro i; rw [AlgHom.comp_apply,AlgHom.comp_apply,submit_named,boast_calls,consult,submit_named]; rfl |
| 84 | section |
| 85 | omit [Fintype α] [Fintype ι] |
| 86 | lemma switch_sat (T : α→StageD α ι) (p : Tape ι) : switch T (boast α ι p)=boast α ι p := by |
| 87 | apply DFunLike.congr_fun (f:=(switch T).comp (boast α ι)); refine code_ext _ _ ?_ ?_ ?_ |
| 88 | · simp only [AlgHom.comp_apply,boast_X,switch_X,constantCoeff_X] |
| 89 | · simp only [AlgHom.comp_apply,boast_X,switch_X] |
| 90 | intro i; rw [AlgHom.comp_apply,boast_calls,switch_side] |
| 91 | end |
| 92 | end YM.WilsonBulk.Sheet |