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.Progress.CLASSICAL_KIN_RECURSION.Hall |
| 2 | |
| 3 | set_option warningAsError false |
| 4 | |
| 5 | /-! |
| 6 | # Centered joint quadratic form (real) |
| 7 | |
| 8 | Do not substitute probe as mean, nor treat frame Hessian as pinned to |
| 9 | site 0. Uses Towers rather than another inversion witness from a later call. |
| 10 | No lower estimate on a representative until N is built. |
| 11 | -/ |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | open Filter Function Set |
| 15 | namespace YM.Progress.ClassicalKin.Tent |
| 16 | open Lattice RG Exterior Wilson Precision Tree Bid Bloch Matrix |
| 17 | open scoped BigOperators Topology ContDiff Matrix.Norms.Frobenius |
| 18 | variable {G : Gauge} {c f n : Side} {S : StepData c f} {r v : ℕ} |
| 19 | |
| 20 | -- conjunct color dims even if 0 |
| 21 | lemma bits_add (a b : fieldDir G n r) (i : G.ColorIndex) : parts G r (a+b) i=parts G r a i+parts G r b i:=rfl |
| 22 | |
| 23 | lemma bits_scale (x : ℝ) (a : fieldDir G n r) (i : G.ColorIndex) : parts G r (x • a) i=x • parts G r a i:=rfl |
| 24 | |
| 25 | |
| 26 | def paint (G : Gauge) (A : Matrix (Body r c) (Body v f) ℝ) : fieldDir G f v →ₗ[ℝ] fieldDir G c r where |
| 27 | toFun x:=fun j=>WithLp.toLp 2 (fun i:G.ColorIndex=>(A *ᵥ parts _ _ x i) j) |
| 28 | map_add' x y:=by ext j i; simp only [bits_add,mulVec_add,Pi.add_apply]; rfl |
| 29 | map_smul' y x:=by ext j i; simp only [bits_scale,mulVec_smul,Pi.smul_apply]; rfl |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | def counts (G : Gauge) (r : ℕ) (n : Side) : fieldDir G n r →ₗ[ℝ] fieldDir G n r →ₗ[ℝ] ℝ where |
| 35 | toFun x:= { toFun y:=∑ i,parts _ _ x i ⬝ᵥ parts _ _ y i |
| 36 | map_add' y z:=by simp only [bits_add,dotProduct_add,Finset.sum_add_distrib] |
| 37 | map_smul' t y:=by simp only [bits_scale,dotProduct_smul, ← Finset.smul_sum]; rfl } |
| 38 | map_add' x y:=by apply LinearMap.ext; intro z; change (∑ i:G.ColorIndex, parts G r (x+y) i ⬝ᵥ parts G r z i)= (∑ i:G.ColorIndex, _)+∑ i:G.ColorIndex, _; simp only [bits_add,add_dotProduct,Finset.sum_add_distrib] |
| 39 | map_smul' t x:=by apply LinearMap.ext; intro z; change (∑ i:G.ColorIndex, parts G r (t • x) i ⬝ᵥ parts G r z i)= t • ∑ i:G.ColorIndex, _; simp only [bits_scale,smul_dotProduct,← Finset.smul_sum] |
| 40 | |
| 41 | |
| 42 | |
| 43 | |
| 44 | |
| 45 | |
| 46 | def avgBox (S : StepData c f) : form 0 f →ₗ[ℝ] form 0 c := LinearMap.pi (fun i : Body 0 c=> |
| 47 | ∑ j, S.patch.weight j • LinearMap.proj (atPoint S i.1 j,vac)) |
| 48 | def plaque (S : StepData c f) : Matrix (Body 0 c) (Body 0 f) ℝ:= LinearMap.toMatrix' (avgBox S) |
| 49 | |
| 50 | |
| 51 | |
| 52 | /-- defect B-mean A+d' C. -/ |
| 53 | def issue (S : StepData c f) (G : Gauge) : Tower G c f→ₗ[ℝ] Dir G c:= |
| 54 | LinearMap.fst _ _ _-((paint G (mean S)).comp (LinearMap.fst _ _ _)).comp (LinearMap.snd _ _ _) + |
| 55 | ((paint G (d 0 c)).comp (LinearMap.snd _ _ _)).comp (LinearMap.snd _ _ _) |
| 56 | |
| 57 | |
| 58 | def counter (S : StepData c f) (M : Bed) (G : Gauge) : Tower G c f→ₗ[ℝ] Tower G c f→ₗ[ℝ] ℝ:= |
| 59 | let J : Tower G c f→ₗ[ℝ] Dir G f:= (LinearMap.fst _ _ _).comp (LinearMap.snd _ _ _) |
| 60 | (counts G 1 f).compl₁₂ J ((paint G (Precision.K (M.metric.acts f))).comp J) + |
| 61 | S.kernel.penalty • (counts G 1 c).compl₁₂ (issue S G) (issue S G) |
| 62 | |
| 63 | |
| 64 | |
| 65 | |
| 66 | /-- extend to Towers for partial derivatives. -/ |
| 67 | abbrev room (G : Gauge) (c f : Side) : Hall G c f→ₗ[ℝ] Tower G c f:=LinearMap.inr _ _ _ |
| 68 | def mainCounter (S : StepData c f) (M : Bed) (G : Gauge) : Hall G c f→ₗ[ℝ] Hall G c f→ₗ[ℝ] ℝ:= (counter S M G).compl₁₂ (room G c f) (room G c f) |
| 69 | |
| 70 | |
| 71 | |
| 72 | |
| 73 | |
| 74 | |
| 75 | |
| 76 | |
| 77 | |
| 78 | |
| 79 | end YM.Progress.ClassicalKin.Tent |