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.PertExtension.HuePanel |
| 2 | |
| 3 | /-! Haar Reynolds projection on the actual stencil polynomials; no path |
| 4 | order bounds from this averaging are used downstream. -/ |
| 5 | set_option autoImplicit false |
| 6 | set_option maxHeartbeats 1600000 |
| 7 | noncomputable section |
| 8 | namespace YM.PertExtension.Hue |
| 9 | open Function Filter Set Finset MeasureTheory MvPolynomial Lattice Heat.Top Next.Rank |
| 10 | open Wilson RG Source Bid Labels Drops |
| 11 | open scoped Matrix.Norms.Frobenius Topology Classical BigOperators Real ContDiff |
| 12 | attribute [local instance] Gauge.frobInner |
| 13 | variable {G:Gauge}{α β :Type*} |
| 14 | |
| 15 | inductive Sheaf : (G.El→Poly α G)→Prop where |
| 16 | | basic (p : Poly α G)(f:G.El→ℂ)(h:Continuous f): Sheaf fun u=> f u • p |
| 17 | | append {f g:G.El→Poly α G}: Sheaf f → Sheaf g → Sheaf (f+g) |
| 18 | lemma Sheaf.const (p:Poly α G): Sheaf fun _=>p:=by convert Sheaf.basic p (fun _=>1) continuous_const; simp |
| 19 | lemma Sheaf.scale (f:G.El→ℂ){p:G.El→Poly α G}(h:Sheaf p)(hf:Continuous f) : Sheaf fun u=> f u • (p u) := by |
| 20 | induction h with |
| 21 | | basic p g hg=> simp_rw [smul_smul]; exact Sheaf.basic p _ (hf.mul hg) |
| 22 | | @append p q h H ih ih₂=> rw [show (fun u=>f u • (p+q) u) = (fun u=>f u • p u) + (fun u=>f u • q u) by ext1;simp [smul_add]]; exact .append ih ih₂ |
| 23 | lemma Sheaf.mul_base (b:Poly α G){p:G.El→Poly α G}(h:Sheaf p):Sheaf (fun u=>b*p u):=by |
| 24 | induction h with |
| 25 | | basic p g hg=> convert Sheaf.basic (b*p) g hg using 1; funext u; simp |
| 26 | | @append f g h H ih ih₂=> rw [show (fun u=>b*(f+g) u)=(fun u=>b*f u)+(fun u=>b*g u) by funext u; simp only [Pi.add_apply,mul_add]];exact .append ih ih₂ |
| 27 | lemma Sheaf.mul {p q:G.El→Poly α G}(hp:Sheaf p)(hq:Sheaf q): Sheaf (p*q):=by |
| 28 | induction hp with |
| 29 | | basic p f hf=> convert Sheaf.scale f (hq.mul_base p) hf using 1; funext u; simp |
| 30 | | append h h' ih ih'=>rw [add_mul];exact .append ih ih' |
| 31 | |
| 32 | @[fun_prop] lemma pigment (i j:G.ColorIndex) : Continuous (fun u:G.El=>((↑(G.adjoint u (EuclideanSpace.basisFun _ ℝ j) i:ℝ)):ℂ)) := by |
| 33 | apply Complex.continuous_ofReal.comp |
| 34 | apply (EuclideanSpace.proj (𝕜:=ℝ) i).continuous.comp |
| 35 | apply G.projectColor.continuous_of_finiteDimensional.comp |
| 36 | exact ((G.continuous_mat.mul continuous_const).mul (continuous_star.comp G.continuous_mat)) |
| 37 | lemma built (P:Poly α G): Sheaf fun u=>inked u P := by |
| 38 | induction P using MvPolynomial.induction_on with |
| 39 | | C v=> convert Sheaf.const (C v);simp |
| 40 | | add p q hp hq=> convert hp.append hq; simp |
| 41 | | mul_X p i hp=> |
| 42 | suffices hx : Sheaf fun u:G.El=>inked u (X i) by |
| 43 | convert hp.mul hx using 1;funext u; simp |
| 44 | simp_rw [Normal.exchange_x,rag,_root_.map_sum,Normal.glyph,Finsupp.linearCombination_single] |
| 45 | generalize (Finset.univ: Finset G.ColorIndex)=s |
| 46 | induction s using Finset.induction_on with |
| 47 | | empty=>exact Sheaf.const _ |
| 48 | | insert j s hj ih=> |
| 49 | simp_rw [sum_insert hj] |
| 50 | exact .append (.basic _ _ (pigment i.2 _)) ih |
| 51 | |
| 52 | abbrev Form (α : Type*)(G) := Poly α G →ₗ[ℂ] ℂ |
| 53 | lemma integrate_sheaf {p:G.El→Poly α G}(hp:Sheaf p) : (∀ f:Form α G, Continuous (fun u=>f (p u))) ∧ ∃ Q:Poly α G, ∀ f: Form α G, f Q = ∫ u:G.El,f (p u) ∂G.probHaar := by |
| 54 | induction hp with |
| 55 | | basic p g hg=>exact ⟨fun f=>by simp_rw [map_smul];exact hg.smul continuous_const, (∫ u:G.El,g u ∂G.probHaar) • p,fun f=>by simp_rw [map_smul,smul_eq_mul,integral_mul_const]⟩ |
| 56 | | @append p q h h' ih ih'=> |
| 57 | obtain ⟨hh,P,z⟩:=ih |
| 58 | obtain ⟨hh',Q,z'⟩:=ih' |
| 59 | refine ⟨fun f'=>by simp_rw [Pi.add_apply,map_add]; exact (hh f').add (hh' f'), P+Q,?_⟩ |
| 60 | intro f' |
| 61 | simp only [Pi.add_apply,map_add,z f',z' f'] |
| 62 | exact (integral_add (Continuous.integrable_of_hasCompactSupport (hh _) (HasCompactSupport.of_compactSpace _) (μ:=G.probHaar)) (Continuous.integrable_of_hasCompactSupport (hh' _) (HasCompactSupport.of_compactSpace _))).symm |
| 63 | |
| 64 | def portrait (p : Poly α G) := (integrate_sheaf (built p)).2.choose |
| 65 | theorem portrait_spec (p:Poly α G)(f:Form α G): f (portrait p) = ∫ u,f (inked u p) ∂G.probHaar := (integrate_sheaf (built p)).2.choose_spec f |
| 66 | lemma portrait_fixed (p:Poly α G) : Fixed (portrait p) := by |
| 67 | intro u x; let f(v):=display (tint v x) p |
| 68 | change (display (tint u x)).toLinearMap (portrait p) = (display x).toLinearMap _; |
| 69 | simp_rw [portrait_spec p (display _).toLinearMap];simp only [AlgHom.toLinearMap_apply] |
| 70 | simp_rw [← hue] |
| 71 | change (∫ v:G.El, display _ p ∂G.probHaar)= ∫ v:G.El, f v ∂G.probHaar |
| 72 | have h(v:G.El):display (tint v (tint u x)) p=f (v*u):=by rw [show tint v (tint u x)=tint (v*u) x from funext fun i=> (G.adjoint_mul ..).symm] |
| 73 | simp_rw [h] |
| 74 | exact (measurePreserving_mul_right G.probHaar u).integral_comp (Homeomorph.mulRight u).measurableEmbedding f |
| 75 | |
| 76 | end YM.PertExtension.Hue |