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.RG08.Fields.Nimb |
| 2 | |
| 3 | /-! # Exact conditional projection law tested on active polynomial legs |
| 4 | Finite periods. Tree forest unconstrained except on branches here. -/ |
| 5 | set_option autoImplicit false |
| 6 | noncomputable section |
| 7 | namespace YM.RG08.Drift |
| 8 | open Function Filter Set Lattice Wilson RG Exterior Precision Next.Free |
| 9 | open Laurent Bloch Matrix Work.F08 Tree FreeResolvent Stationary |
| 10 | open scoped Topology BigOperators |
| 11 | variable {G : Gauge} {c f : Side} {j n : ℕ} |
| 12 | -- matrix version using the RIGHT Schur law |
| 13 | lemma sprig_eq (S : StepData c f) (T : Forest S.ratio) (M : FreeResolvent.FaceRow) (hM : (treeMatrix G S T M).PosDef) |
| 14 | (v : Vec G f 1) : FreeResolvent.covariance G S T M *ᵥ (fullMatrix G S M *ᵥ v)=representative S T v := by |
| 15 | classical |
| 16 | have hx : treeInverse G S T M 0 * treeMatrix G S T M=1 := by unfold treeInverse resolve; rw [zero_smul,add_zero]; exact nonsing_inv_mul _ ((isUnit_iff_isUnit_det _).mp hM.isUnit) |
| 17 | let w:=representative S T v; let L:=insertion (plant (G:=G) T); let u:=reduce G S T *ᵥ w |
| 18 | have hu : L *ᵥ u=w:=projects T w (onto_slice T v) |
| 19 | calc |
| 20 | _ = FreeResolvent.covariance G S T M *ᵥ (fullMatrix G S M *ᵥ (L*ᵥ u)) := by rw [hu]; unfold w; rw [FreeResolvent.invariant] |
| 21 | _ = L *ᵥ u := by |
| 22 | rw [FreeResolvent.covariance,← Matrix.mulVec_mulVec,← Matrix.mulVec_mulVec,Matrix.mulVec_mulVec _ (reduce G S T), Matrix.mulVec_mulVec u, |
| 23 | show reduce G S T * fullMatrix G S M * L=treeMatrix G S T M from insertion.compress _ _, Matrix.mulVec_mulVec u (treeInverse G S T M 0), hx, Matrix.one_mulVec] |
| 24 | _ = _ := hu |
| 25 | |
| 26 | lemma tensor_times (c f n : Side) (G : Gauge) {i j k : ℕ} (A : Matrix (Body i c) (Body j f) ℝ) (B : Matrix (Body j f) (Body k n) ℝ) : |
| 27 | tensor G (A*B) = tensor G A*tensor G B := by rw [← tensor_same,← tensor_same, ← tensor_same]; exact patron_mul .. |
| 28 | lemma tint_fund (G : Gauge) (c : Side) (i : ℕ) : tensor G (1 : Matrix (Body i c) (Body i c) ℝ)=1 := by |
| 29 | ext ⟨x,a,v⟩ ⟨y,b,w⟩; by_cases h:v=w |
| 30 | · subst v; simp [tensor,Matrix.one_apply] |
| 31 | simp [tensor,h,Matrix.one_apply] |
| 32 | lemma tensor_clear (G : Gauge) (c f : Side) (i j : ℕ) : tensor G (0 : Matrix (Body i c) (Body j f) ℝ)=0 := by ext i j; simp [tensor] |
| 33 | |
| 34 | /-- Left,right *aggregate Hessians*, therefore through all finite polarized tensor tests |
| 35 | horizontally supported; no p=0 removal expense on the Γ. -/ |
| 36 | theorem dwell (G : Gauge) {S : StepData c f} (T : Forest S.ratio) {A : Train j} {D : Train n} {k : ℝ} |
| 37 | (hk : 0<k) (hj : 4≤j) (hn : 4≤n) (H : (treeMatrix G S T (pink k A)).PosDef) |
| 38 | {W : Matrix (Body 1 f) (Body 1 c) ℝ} (h : Inputs S W ((pink k A).acts f) ((pink k D).acts c)) : |
| 39 | let F:= tensor G (bedtime k A f); let U:= tensor G (bedtime k D c); let P:=patron G (extracted S T W) |
| 40 | let γ:= FreeResolvent.covariance G S T (pink k A); let K:= tensor G (Precision.K ((pink k A).acts f)) |
| 41 | K * (F - (P*U*Pᵀ + γ)) * K=0 := by |
| 42 | classical |
| 43 | intro F U P γ K |
| 44 | let r:= S.kernel.penalty; let M:= (pink k A); let L:= tensor G (Precision.K ((pink k D).acts c)); let R:= patron G (Precision.probe S) |
| 45 | have hu : K*F*K=K := by unfold K F; rw [← tensor_times,← tensor_times,snaps hk hj] |
| 46 | have hv : L*U*L=L := by unfold L U; rw [← tensor_times,← tensor_times,snaps hk hn] |
| 47 | have he : Kᵀ=K := by unfold K; rw [tensor_transpose,k_symmetric (heart_inverse _ hk hj A f).2.1] |
| 48 | have hi : Lᵀ=L := by unfold L; rw [tensor_transpose,k_symmetric (heart_inverse _ hk hn D c).2.1] |
| 49 | have hp : K*P=Rᵀ*L := by |
| 50 | unfold K P R L; rw [tensor_same, tensor_same, tensor_transpose,← tensor_times,← tensor_times, (stationed T W _ _ h).2] |
| 51 | have hP : Pᵀ*K=L*R := by rw [← he, ← Matrix.transpose_mul]; rw [hp,transpose_mul,hi,transpose_transpose] |
| 52 | have ht : K*(P*U*Pᵀ)*K=Rᵀ*L*R:= calc |
| 53 | _ = (K*P)*U*(Pᵀ*K) := by simp only [Matrix.mul_assoc] |
| 54 | _ = _ := by rw [hp,hP]; calc |
| 55 | _ = Rᵀ*(L*U*L)*R := by simp only [Matrix.mul_assoc] |
| 56 | _ = _ := by rw [hv] |
| 57 | let N:= fullMatrix G S M |
| 58 | have ha : N=K+r • (Rᵀ*R) := by |
| 59 | unfold N fullMatrix baseMatrix; rw [← tensor_same,patron_add,patron_scale, patron_mul, patron_star, tensor_same G (Precision.K _)] |
| 60 | have hx : K*γ*N=K := by |
| 61 | apply matrix_eq; intro v |
| 62 | rw [← mulVec_mulVec, ← mulVec_mulVec, show γ *ᵥ (N*ᵥ v) =_ from sprig_eq S T _ H v,representative,mulVec_add] |
| 63 | rw [gradient,mulVec_mulVec] |
| 64 | have hm : K*tensor G (d 0 f)=0 := by unfold K; rw [← tensor_times,K_kills,tensor_clear] |
| 65 | rw [hm,zero_mulVec,add_zero] |
| 66 | have hm : r • (γ*Rᵀ) = P := linear_mean S T H.isUnit h |
| 67 | have hz : r • (K*γ*(Rᵀ*R))= Rᵀ*L*R := by |
| 68 | calc |
| 69 | _ = K*(r • (γ*Rᵀ))*R:= by simp only [Matrix.mul_assoc,Matrix.mul_smul,Matrix.smul_mul] |
| 70 | _ = _ := by rw [hm,hp] |
| 71 | rw [ha,Matrix.mul_add, Matrix.mul_smul,hz] at hx |
| 72 | rw [Matrix.mul_sub,Matrix.sub_mul,Matrix.mul_add,Matrix.add_mul,ht,hu] |
| 73 | exact sub_eq_zero.mpr (hx.symm.trans (add_comm ..)) |
| 74 | |
| 75 | /-- Exact form of harmonic column: constant on initial site. -/ |
| 76 | lemma daytime (c : Side) (G : Gauge) (x y : Site c) (i j) : |
| 77 | let F:= tensor G (haloMat c) |
| 78 | F (x,i) j=F (y,i) j := by |
| 79 | intro F; simp only [F,tensor,haloMat,Matrix.of_apply]; split |
| 80 | · exact (halo_show c x _ _ _).trans (halo_show c y _ _ _).symm |
| 81 | rfl |
| 82 | lemma eminence (G : Gauge) (c : Side) {k : ℝ} (v : Train j) (hk : 0<k) (hj : 4 ≤ j) : |
| 83 | ∃ J, 1 - tensor G (bedtime k v c) * tensor G (Precision.K ((pink k v).acts c)) = |
| 84 | tensor G (d 0 c)*J+tensor G (haloMat c) := by |
| 85 | obtain ⟨J,H⟩:= shipped hk hj v c |
| 86 | refine ⟨tensor G J,?_⟩ |
| 87 | rw [← tint_fund G c 1,← tensor_times,← tensor_less,H,← tensor_times]; rw [← tensor_same,patron_add]; rw [tensor_same, tensor_same] |
| 88 | end YM.RG08.Drift |