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.Push.FREE_RESOLVENT.GaugeProjection |
| 2 | import YM.WilsonBulk.Spectral.Backing |
| 3 | |
| 4 | /-! Exact projection along the augmented gauge in counting coordinates. |
| 5 | |
| 6 | `collapse` sends (fine links, coarse frames) ∈ Bodies in pre-root gauge to fine links |
| 7 | with frame gauge FIXED (i.e. for use with probe, not the unrooted mean). Full Gram is the full |
| 8 | form BEFORE restriction to the tree. We work in the Period geometries of Precision; |
| 9 | no measure estimate. -/ |
| 10 | |
| 11 | set_option autoImplicit false |
| 12 | noncomputable section |
| 13 | namespace YM.WilsonBulk |
| 14 | open Lattice Laurent Filter Function Bloch |
| 15 | open RG Finset Precision Exterior Stationary Audience Matrix FreeResolvent |
| 16 | open scoped Topology BigOperators Matrix |
| 17 | |
| 18 | variable {c f n : Side} {G : Gauge} {α β : Type} [Fintype β] [DecidableEq β] |
| 19 | lemma matSeen {A B : Matrix α β ℝ} (h : ∀ v, A *ᵥ v = B *ᵥ v) : A=B := by |
| 20 | apply Matrix.toLin'.injective; apply LinearMap.ext; exact h |
| 21 | |
| 22 | variable (G) |
| 23 | |
| 24 | lemma match_tensor {r t} (P : Matrix (Body r c) (Body t n) ℝ) : patron G P=tensor G P := by |
| 25 | apply matSeen; intro v; rw [patron_fee]; ext1 ⟨x,i,j⟩ |
| 26 | change (P *ᵥ component v j) (x,i) = component (tensor G P *ᵥ v) j (x,i) |
| 27 | rw [component_mul] |
| 28 | lemma patron_0 (r t : ℕ) (c f : Side) : patron G (0 : Matrix (Body r c) (Body t f) ℝ)=0 := by |
| 29 | rw [match_tensor]; ext; simp [tensor] |
| 30 | lemma patron_plus {r t} (P Q : Matrix (Body r c) (Body t f) ℝ) : |
| 31 | patron G (P+Q)=patron G P+patron G Q := by |
| 32 | rw [match_tensor,match_tensor,match_tensor]; ext i j; unfold tensor |
| 33 | simp only [Matrix.add_apply,of_apply]; split <;> simp |
| 34 | lemma patron_weight {r t} (P : Matrix (Body r c) (Body t f) ℝ) (v : ℝ) : patron G (v • P)=v • patron G P := by |
| 35 | rw [match_tensor,match_tensor]; ext i j; unfold tensor |
| 36 | simp only [Matrix.smul_apply,of_apply]; split <;> simp |
| 37 | lemma wired_full (S : StepData c f) (B : Bed) : |
| 38 | fullMatrix G S B.metric = |
| 39 | patron G (K (B.metric.acts f)) + S.kernel.penalty • ((patron G (probe S))ᵀ * patron G (probe S)) := by |
| 40 | rw [fullMatrix,baseMatrix,← match_tensor,patron_plus,patron_weight,patron_mul,patron_star] |
| 41 | |
| 42 | variable (S : StepData c f) |
| 43 | |
| 44 | def sitesCopy : Matrix (Body 0 f) (Body 0 c) ℝ := Matrix.of fun a b => |
| 45 | if b=(S.ratio.parent a.1,a.2) then 1 else 0 |
| 46 | lemma sites_at (v : form 0 c) (a) : (sitesCopy S *ᵥ v) a=v (S.ratio.parent a.1,a.2) := by |
| 47 | simp [sitesCopy,mulVec,dotProduct,ite_mul] |
| 48 | lemma center_copy (v : form 0 c) : Precision.centered S (sitesCopy S *ᵥ v)=v := by |
| 49 | ext1 a; simp [Precision.centered,sites_at,S.ratio.embed_parent] |
| 50 | lemma probe_roots : probe S*(d 0 f*sitesCopy S)=d 0 c := matSeen fun v=> by |
| 51 | rw [← Matrix.mulVec_mulVec,← Matrix.mulVec_mulVec,root_gradient,center_copy] |
| 52 | lemma power_kills (B : Bed) : patron G (K (B.metric.acts f))*patron G (d 0 f)= 0 := by |
| 53 | rw [← patron_mul,K_kills,patron_0] |
| 54 | lemma power_sym (B : Bed) (h : (B.metric.acts f).transpose = B.metric.acts f) : |
| 55 | (patron G (K (B.metric.acts f)))ᵀ = patron G (K (B.metric.acts f)) := by |
| 56 | rw [← patron_star]; simp [K,h,Matrix.mul_assoc] |
| 57 | |
| 58 | -- discharge exact ratio gauge, no scaling of v in root test |
| 59 | abbrev HGrad (S : StepData c f) := d 0 f * sitesCopy S |
| 60 | def collapse : Matrix (Lines G f 1) (Bodies G c f) ℝ := |
| 61 | butt G c f - patron G (HGrad S)*(brim G c f + patron G (fixRoot S)*butt G c f) |
| 62 | lemma collapse_test : patron G (probe S) * collapse G S = -fortune G S := by |
| 63 | let R:= probe S; let Y:= butt G c f |
| 64 | unfold collapse fortune bondsM |
| 65 | rw [Matrix.mul_sub,←Matrix.mul_assoc (patron G (probe S)), ← patron_mul, probe_roots]; |
| 66 | rw [probe,patron_plus,Matrix.add_mul, Matrix.mul_add, patron_mul, Matrix.mul_assoc] |
| 67 | simp only [Matrix.neg_mul]; abel |
| 68 | lemma collapse_charge (B : Bed) : patron G (K (B.metric.acts f))*collapse G S = |
| 69 | patron G (K (B.metric.acts f))*butt G c f := by |
| 70 | rw [collapse,Matrix.mul_sub,← Matrix.mul_assoc _ (patron G (HGrad S)), HGrad, patron_mul, |
| 71 | ← Matrix.mul_assoc (patron _ (K _)),power_kills,Matrix.zero_mul,Matrix.zero_mul,sub_zero] |
| 72 | lemma collapse_equal (B : Bed) (h : (B.metric.acts f).transpose = B.metric.acts f) : |
| 73 | frontR G S B = (collapse G S)ᵀ * fullMatrix G S B.metric * collapse G S := by |
| 74 | let D:= collapse G S; let U:= butt G c f; let q:= patron G (K (B.metric.acts f)); let p:= patron G (probe S) |
| 75 | have he : Dᵀ*q=Uᵀ*q:= by |
| 76 | have h' := congrArg Matrix.transpose (collapse_charge G S B) |
| 77 | simp only [transpose_mul, power_sym G B h] at h'; exact h' |
| 78 | rw [wired_full] |
| 79 | change Uᵀ*q*U+S.kernel.penalty • ((fortune G S)ᵀ*fortune G S) = Dᵀ * (q+ S.kernel.penalty • (pᵀ*p))*D |
| 80 | rw [Matrix.mul_add,Matrix.add_mul,he] |
| 81 | congr 1 |
| 82 | · rw [Matrix.mul_assoc Uᵀ, Matrix.mul_assoc, show q*D=q*U from collapse_charge ..] |
| 83 | rw [Matrix.mul_smul, Matrix.smul_mul]; |
| 84 | rw [← Matrix.mul_assoc Dᵀ pᵀ, Matrix.mul_assoc (Dᵀ*_)] |
| 85 | rw [← Matrix.transpose_mul, show p*D=_ from collapse_test G S]; simp |
| 86 | |
| 87 | -- the augmentation spreadM exactly kills this Gram (all off-real assertions independent) |
| 88 | lemma mean_curry (z) : patron G (Precision.mean S)*ᵥ (gradientA G f z)= |
| 89 | patron G (d 0 c)*ᵥ (curryG G S*ᵥ z) := by |
| 90 | rw [first_uniform, ← patron_fee] |
| 91 | simp_rw [match_tensor] |
| 92 | ext1 ⟨x,i,j⟩ |
| 93 | change component (tensor _ (mean S)*ᵥ (tensor G (d 0 f) *ᵥ z)) j (x,i)=component (tensor _ (d 0 c) *ᵥ (curryG G S *ᵥ z)) j (x,i) |
| 94 | simp_rw [component_mul]; rw [Precision.mean_site]; obtain ⟨s,rfl⟩:=axisEquiv.surjective i |
| 95 | rw [coord_map,d_sites] |
| 96 | dsimp only [component,ix]; simp_rw [curry_at, mul_sub,Finset.sum_sub_distrib] |
| 97 | rw [← coord_map,axisEquiv.symm_apply_apply] --? |
| 98 | lemma lie_kernel (B : Bed) : frontR G S B * spreadM (G:=G) S=0 := by |
| 99 | have hl (z : BaseSites G f) : (butt G c f * spreadM (G:=G) S) *ᵥ z=-(gradientA G f z) := by |
| 100 | rw [← mulVec_mulVec,parliament,helmet_ear,helmet_butt,sliceX]; rfl |
| 101 | have hu (z : BaseSites G f) : (brim G c f * spreadM (G:=G) S) *ᵥ z=-(curryG G S *ᵥ z) := by |
| 102 | rw [← mulVec_mulVec,parliament,helmet_ear,helmet_brim,sliceY]; rfl |
| 103 | have hf : fortune G S * spreadM (G:=G) S=0 := by |
| 104 | apply matSeen; intro v |
| 105 | rw [fortune, Matrix.add_mul,Matrix.mul_assoc, Matrix.mul_assoc,add_mulVec, |
| 106 | ← mulVec_mulVec,hl, ← mulVec_mulVec,hu,bondsM,Matrix.neg_mulVec,mulVec_neg,mulVec_neg, |
| 107 | ← mean_curry,Matrix.zero_mulVec]; abel |
| 108 | rw [frontR, Matrix.add_mul,Matrix.smul_mul,Matrix.mul_assoc ((fortune G S)ᵀ),hf,Matrix.mul_zero, |
| 109 | smul_zero,add_zero,posting,Matrix.mul_assoc _ _ (spreadM (G:=G) S)] |
| 110 | apply matSeen; intro v; rw [← Matrix.mulVec_mulVec,hl,Matrix.mulVec_neg,← Matrix.mulVec_mulVec,first_uniform, |
| 111 | ← patron_fee,mulVec_mulVec _ (patron G _), power_kills,Matrix.zero_mulVec,Matrix.mulVec_zero, |
| 112 | neg_zero, Matrix.zero_mulVec] |
| 113 | |
| 114 | end YM.WilsonBulk |