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.Trees.Map |
| 2 | |
| 3 | /-! Exact lift along any actual tree. Use ANY tags for the joint completion, |
| 4 | and any forest built on that period; the algebra works on MESSES too. Later |
| 5 | when using Fourier rows stick to one compatible repeated tree. |
| 6 | -/ |
| 7 | set_option autoImplicit false |
| 8 | noncomputable section |
| 9 | namespace YM.WilsonBulk |
| 10 | open Lattice Laurent Filter Function Bloch |
| 11 | open RG Finset Precision Exterior Stationary Audience Matrix FreeResolvent Tree |
| 12 | open scoped Topology BigOperators Matrix -- Classical |
| 13 | |
| 14 | variable {c f : Side} {G : Gauge} {S : StepData c f} {η : ℝ} |
| 15 | |
| 16 | /-- gauge project using actual tree coordinates -/ |
| 17 | def hiking (_G : Gauge) (S : StepData c f) (T : Forest S.ratio) : Matrix (Body 0 f) (Body 1 f) ℝ := |
| 18 | LinearMap.toMatrix' (LinearMap.pi fun i => integralLink i.1 (T.hike i.1)) |
| 19 | |
| 20 | def projectFull (G : Gauge) (S : StepData c f) (T : Forest S.ratio) := |
| 21 | 1 + patron G (d 0 f * hiking G S T) |
| 22 | lemma projectFull_on (T : Forest S.ratio) (v : FreeResolvent.Vec G f 1) : |
| 23 | projectFull G S T *ᵥ v = representative S T v := by |
| 24 | rw [projectFull, patron_mul,Matrix.add_mulVec, Matrix.one_mulVec,← Matrix.mulVec_mulVec,match_tensor G,match_tensor G] |
| 25 | have h : tensor G (hiking G S T) *ᵥ v= potential T v := by |
| 26 | ext1 ⟨x,i,j⟩; change component (tensor G _ *ᵥ v) j (x,i)= integralLink _ _ _ |
| 27 | rw [component_mul,hiking,LinearMap.toMatrix'_mulVec]; rfl |
| 28 | rw [h]; rfl |
| 29 | |
| 30 | lemma fixes_Gram (T : Forest S.ratio) (H : FreeResolvent.FaceRow) (he : (H.acts f).transpose = H.acts f) : |
| 31 | (projectFull G S T).transpose* fullMatrix G S H * projectFull G S T = fullMatrix G S H := by |
| 32 | let A:=projectFull G S T; let K:=fullMatrix G S H |
| 33 | have hz: K*A=K:=matSeen fun x=> by unfold K A; rw [← Matrix.mulVec_mulVec,projectFull_on,invariant T H x] |
| 34 | have h: Kᵀ= K:= full_symmetric H he |
| 35 | have hu:= congrArg Matrix.transpose hz |
| 36 | rw [Matrix.transpose_mul,h] at hu |
| 37 | change Aᵀ*K*A=K; rw [hu,hz] |
| 38 | |
| 39 | lemma to_slice (G : Gauge) (T : Forest S.ratio) : |
| 40 | insertion (plant (G:=G) T) * (reduce G S T*projectFull G S T)=projectFull G S T := by |
| 41 | apply matSeen; intro v; rw [← Matrix.mulVec_mulVec,← Matrix.mulVec_mulVec,projectFull_on] |
| 42 | exact projects T _ (onto_slice T v) |
| 43 | |
| 44 | lemma obtained (T : Forest S.ratio) : projectFull G S T * insertion (plant (G:=G) T)=insertion (plant (G:=G) T) := by |
| 45 | classical |
| 46 | apply matSeen; intro v |
| 47 | rw [← Matrix.mulVec_mulVec, projectFull_on] |
| 48 | apply fixes T; intro i x hx |
| 49 | apply Finset.sum_eq_zero; intro j _ |
| 50 | change (if plant (G:=G) T j = ix (x.1,coord x.2) i then 1 else 0) * v j = 0 |
| 51 | rw [if_neg,zero_mul] |
| 52 | intro he; apply j.1.property; have hv : j.1.val=x := by |
| 53 | simp only [plant,ix,Prod.mk.injEq,coord_iff] at he; exact Prod.ext he.1 he.2.1 |
| 54 | rw [hv]; exact hx |
| 55 | |
| 56 | def casting (G : Gauge) (S : StepData c f) (T : Forest S.ratio) := projectFull G S T * collapse G S |
| 57 | def toActive (G : Gauge) (S : StepData c f) (T : Forest S.ratio) := reduce G S T * casting G S T |
| 58 | lemma recast (T : Forest S.ratio) : casting G S T = insertion (plant (G:=G) T) * toActive G S T := by |
| 59 | unfold toActive casting; rw [← Matrix.mul_assoc (reduce G S T),← Matrix.mul_assoc (insertion _), to_slice] |
| 60 | |
| 61 | lemma to_Gram (B : Bed) (T : Forest S.ratio) (h : (B.metric.acts f).transpose= B.metric.acts f) : |
| 62 | frontR G S B=(toActive G S T).transpose* treeMatrix G S T B.metric * toActive G S T := by |
| 63 | let A:= collapse G S; let U:= projectFull G S T; let V:= fullMatrix G S B.metric |
| 64 | calc |
| 65 | _ = Aᵀ * (Uᵀ*V*U)*A := by rw [show Uᵀ*V*U=V from fixes_Gram T _ h]; exact collapse_equal G S B h |
| 66 | _ = (casting G S T).transpose* V * casting G S T := by unfold casting A U; simp only [Matrix.mul_assoc, Matrix.transpose_mul] |
| 67 | _ = _ := by unfold V treeMatrix; rw [recast T,transpose_mul,← insertion.compress (A:=fullMatrix G S B.metric)]; simp only [Matrix.mul_assoc] -- adjust |
| 68 | |
| 69 | def stretchJoint (G : Gauge) (S : StepData c f) : Matrix (Bodies G c f) (Lines G f 1) ℝ := Matrix.of fun x y => |
| 70 | Sum.elim (fun u => (1:Matrix (Lines G f 1) _ ℝ) u y) (fun v => -(patron G (fixRoot S) v y)) x |
| 71 | lemma stretch_first (G : Gauge) (S : StepData c f) : butt G c f * stretchJoint G S=1 := by |
| 72 | rw [helmet_butt]; apply matSeen; intro i; rw [← mulVec_mulVec,sliceX,one_mulVec]; funext z |
| 73 | change ((1:Matrix (Lines G f 1) _ ℝ)*ᵥ i) z=i z; rw [Matrix.one_mulVec] |
| 74 | lemma stretch_second (G : Gauge) (S : StepData c f) : brim G c f * stretchJoint G S= -patron G (fixRoot S):= by |
| 75 | rw [helmet_brim]; apply matSeen; intro i; rw [← mulVec_mulVec,sliceY]; rfl |
| 76 | lemma right_collapse (G : Gauge) (S : StepData c f) : collapse G S * stretchJoint G S=1 := by |
| 77 | unfold collapse; rw [Matrix.sub_mul,Matrix.mul_assoc,Matrix.add_mul,Matrix.mul_assoc,stretch_first, |
| 78 | stretch_second,Matrix.mul_one,neg_add_cancel,Matrix.mul_zero,sub_zero] |
| 79 | lemma extend_active (G : Gauge) (T : Forest S.ratio) : |
| 80 | toActive G S T*(stretchJoint G S * insertion (plant (G:=G) T))=1 := by |
| 81 | let V:= projectFull G S T; let R:= reduce G S T |
| 82 | simp only [toActive, casting, Matrix.mul_assoc] |
| 83 | rw [← Matrix.mul_assoc (collapse G S), right_collapse,Matrix.one_mul,obtained]; |
| 84 | exact insertion.orthogonal (plant T) (plant_inj T) |
| 85 | end YM.WilsonBulk |