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.Gaussian.TreeProjection |
| 2 | |
| 3 | /-! # Inverting the quadratic slice Hessian |
| 4 | Metric positive. Auxiliary square not part of prescription on tree slice. |
| 5 | Algebra valid for any slice, projections to a crop not silently commuting |
| 6 | with inversion. Later cost result uses only repeated tree. -/ |
| 7 | set_option autoImplicit false |
| 8 | noncomputable section |
| 9 | namespace YM.RG08 |
| 10 | open Function Filter Lattice Wilson RG Exterior Precision Bloch Matrix |
| 11 | open Stationary Laurent Next.Free Work.F08 Tree FreeResolvent |
| 12 | open scoped Topology BigOperators Classical |
| 13 | |
| 14 | variable {G : Gauge} {c f : Side} |
| 15 | |
| 16 | lemma joint_vanish (S : StepData c f) {H : Row (TypeFace 2) (TypeFace 2)} |
| 17 | : quadraticJoint G S (K (H.acts f))*spreadM (G:=G) S=0 := by |
| 18 | -- `mean S * gradient = gradient * average` exactly |
| 19 | have hv (x : BaseSites G f) : bondsM G S *ᵥ gradient x = tensor G (d 0 c) *ᵥ (curryG G S *ᵥ x) := by |
| 20 | funext i; obtain ⟨i,a,b⟩ := i; obtain ⟨j,rfl⟩ := axisEquiv.surjective a |
| 21 | unfold bondsM; rw [tensor_same,coord_map]; change component (tensor G (mean S) *ᵥ gradient x) b (i,coord j) = |
| 22 | component (tensor G (d 0 c) *ᵥ (curryG G S *ᵥ x)) b (i,coord j) |
| 23 | rw [component_mul, gradient,component_mul,component_mul,mean_site, d_sites]; simp only [component, ix,curry_at, mul_sub, Finset.sum_sub_distrib] |
| 24 | rw [show axisEquiv.symm (coord j)=j from axisEquiv.symm_apply_apply j] |
| 25 | have hY v : butt G c f *ᵥ (spreadM (G:=G) S*ᵥ v) = -gradient v := by |
| 26 | rw [parliament, helmet_butt,sliceX,helmet_ear,first_gradient]; rfl |
| 27 | have hz v : brim G c f *ᵥ (spreadM (G:=G) S*ᵥ v) = -(curryG G S *ᵥ v) := by |
| 28 | rw [parliament, helmet_brim,sliceY,helmet_ear]; rfl |
| 29 | have hC : fortune G S * spreadM (G:=G) S =0 := by |
| 30 | apply matrix_eq; intro x; rw [← Matrix.mulVec_mulVec,fortune, add_mulVec, |
| 31 | ← Matrix.mulVec_mulVec, ← Matrix.mulVec_mulVec,hY,hz, neg_mulVec, |
| 32 | mulVec_neg, hv, neg_neg, Matrix.mulVec_neg,tensor_same, add_neg_cancel,zero_mulVec] |
| 33 | apply matrix_eq; intro x; rw [quadraticJoint,Matrix.add_mul, Matrix.smul_mul, Matrix.mul_assoc (fortune G S)ᵀ,hC,Matrix.mul_zero,smul_zero,add_zero] |
| 34 | let U := K (H.acts f) |
| 35 | rw [← Matrix.mulVec_mulVec, ← Matrix.mulVec_mulVec, hY, ← Matrix.mulVec_mulVec, mulVec_neg] |
| 36 | change _ *ᵥ -(patron G U *ᵥ gradient x)=_ |
| 37 | have hx : patron G U *ᵥ gradient x=0 := by |
| 38 | rw [gradient,← tensor_same, Matrix.mulVec_mulVec, ← patron_mul]; unfold U; rw [K_kills]; ext; rw [patron_fee]; simp [uniformM] |
| 39 | rw [hx, neg_zero,Matrix.mulVec_zero,zero_mulVec] |
| 40 | |
| 41 | lemma joint_vertical (S : StepData c f) (H : Row (TypeFace 2) (TypeFace 2)) : |
| 42 | (cropJoint S G)ᵀ * quadraticJoint G S (K (H.acts f)) * cropJoint S G = fullMatrix G S H := by |
| 43 | let A := cropJoint S G |
| 44 | have ht : fortune G S*A= -(patron G (probe S)) := by |
| 45 | rw [fortune, Matrix.add_mul, Matrix.mul_assoc, Matrix.mul_assoc, picks_butt, picks_brim, Matrix.mul_neg, Matrix.mul_one, |
| 46 | base_test, tensor_same G (d 0 c), neg_add]; unfold stampZone; abel |
| 47 | have hp := picks_butt (G:=G) S |
| 48 | calc |
| 49 | _ = ((butt G c f*A)ᵀ * patron G (K (H.acts f))* (butt G c f*A)) + |
| 50 | S.kernel.penalty • ((fortune G S*A)ᵀ*(fortune G S*A)) := by |
| 51 | simp only [quadraticJoint,A, Matrix.mul_add,Matrix.add_mul,Matrix.mul_smul,Matrix.smul_mul, transpose_mul, Matrix.mul_assoc] |
| 52 | _ = fullMatrix G S H := by |
| 53 | unfold fullMatrix baseMatrix |
| 54 | rw [ht, show butt G c f * A=1 from hp,transpose_one,Matrix.one_mul, Matrix.mul_one,← tensor_same,patron_add, |
| 55 | patron_scale, patron_mul,patron_star,transpose_neg,Matrix.neg_mul, Matrix.mul_neg,neg_neg] |
| 56 | |
| 57 | lemma joint_symm (S : StepData c f) {H : Row (TypeFace 2) (TypeFace 2)} |
| 58 | (hh : (H.acts f)ᵀ=H.acts f) : let K' := quadraticJoint G S (K (H.acts f)); K'ᵀ=K' := by |
| 59 | intro K'; unfold K' quadraticJoint; rw [transpose_add,transpose_smul]; simp only [transpose_mul, |
| 60 | transpose_transpose, ← patron_star,k_symmetric hh,Matrix.mul_assoc] |
| 61 | |
| 62 | /-- The tree inverse from projecting the joint completion, not an estimate |
| 63 | transported via closeness of kernels. -/ |
| 64 | theorem projecting (S : StepData c f) (hS : S.patch.Branches S.kernel G) |
| 65 | (T : Forest S.ratio) (t : S.Choices) {H : Row (TypeFace 2) (TypeFace 2)} |
| 66 | {N : Matrix (Bodies G c f) (Bodies G c f) ℝ} |
| 67 | (hr : (H.acts f)ᵀ=H.acts f) |
| 68 | (hu : wideH G S t (K (H.acts f)) * N = 1) : |
| 69 | let Z := (sprig S T G)ᵀ * projection S T G |
| 70 | treeMatrix G S T H * (Z*N*Zᵀ) = 1 ∧ |
| 71 | projection S T G*N*(projection S T G)ᵀ=FreeResolvent.covariance G S T H := by |
| 72 | intro Z |
| 73 | let W := spreadM S (G:=G) |
| 74 | let P := turnParameter S T G |
| 75 | let V := postroom S t (inch S.patch.L) (G:=G) |
| 76 | let M := quadraticJoint G S (K (H.acts f)) |
| 77 | let I := sprig S T G |
| 78 | let F := cropJoint S G * I |
| 79 | have hZ : Z*W=0 := by unfold Z; rw [Matrix.mul_assoc,tree_kills,Matrix.mul_zero] |
| 80 | have hI : I*Z=projection S T G := by unfold I Z; rw [← Matrix.mul_assoc]; exact life S T |
| 81 | have h₁ : Z*F=1 := by |
| 82 | unfold Z F; rw [Matrix.mul_assoc,← Matrix.mul_assoc (projection S T G), show projection S T G * cropJoint S G * I=_ from tree_go ..]; exact insertion.orthogonal (plant T) (plant_inj T) |
| 83 | have hM : treeMatrix G S T H=Fᵀ*M*F := by |
| 84 | calc |
| 85 | _ = Iᵀ*fullMatrix G S H*I := (insertion.compress (plant T) (fullMatrix G S H)).symm |
| 86 | _ = _ := by rw [← joint_vertical]; unfold F M; rw [transpose_mul]; simp only [Matrix.mul_assoc] |
| 87 | have hTr : V*W=grenade (inch S.patch.L) (1:Config G f) := fired S t hS |
| 88 | have hL : IsUnit ((V*W)ᵀ) := by |
| 89 | rw [transpose_mul,← transpose_mul,Matrix.isUnit_iff_isUnit_det, det_transpose,hTr]; exact fund_det (grenade_safe _ (inch_pos _)) |
| 90 | have hk : M*W=0 := joint_vanish S |
| 91 | have ha : Wᵀ*M=0 := by |
| 92 | calc |
| 93 | _ = (M*W)ᵀ := by rw [transpose_mul,joint_symm S hr] |
| 94 | _ = 0 := by rw [hk,transpose_zero] |
| 95 | have he : (M+Vᵀ*V)*(N*Zᵀ)=Zᵀ := by rw [← Matrix.mul_assoc, show (M+Vᵀ*V)*N=1 from hu, Matrix.one_mul] |
| 96 | have hg : V*(N*Zᵀ)=0 := by |
| 97 | have hx : Wᵀ*((M+Vᵀ*V)*(N*Zᵀ))=0 := by rw [he,← transpose_mul, hZ, transpose_zero] |
| 98 | rw [← Matrix.mul_assoc Wᵀ,Matrix.mul_add,ha,zero_add, ← Matrix.mul_assoc Wᵀ Vᵀ V, ← transpose_mul, Matrix.mul_assoc] at hx |
| 99 | calc |
| 100 | _ = ((V*W)ᵀ)⁻¹*((V*W)ᵀ*(V*(N*Zᵀ))) := by |
| 101 | rw [← Matrix.mul_assoc ((V*W)ᵀ)⁻¹,Matrix.nonsing_inv_mul _ ((Matrix.isUnit_iff_isUnit_det _).mp hL), Matrix.one_mul] |
| 102 | _ = _ := by rw [hx,Matrix.mul_zero] |
| 103 | rw [Matrix.add_mul,Matrix.mul_assoc Vᵀ,hg,Matrix.mul_zero,add_zero] at he |
| 104 | have hw : treeMatrix G S T H * (Z*N*Zᵀ)=1 := by |
| 105 | rw [hM] |
| 106 | have hh : F*Z=1+W*P := by unfold F; rw [Matrix.mul_assoc,hI]; exact tree_path S T |
| 107 | calc |
| 108 | _ = Fᵀ*(M*(F*Z))*(N*Zᵀ) := by simp only [Matrix.mul_assoc] |
| 109 | _ = _ := by rw [hh,Matrix.mul_add,Matrix.mul_one,← Matrix.mul_assoc M W P,hk,Matrix.zero_mul,add_zero,Matrix.mul_assoc,he,← transpose_mul,h₁,transpose_one] |
| 110 | constructor |
| 111 | · exact hw |
| 112 | unfold FreeResolvent.covariance |
| 113 | change _ = I * resolve (treeMatrix G S T H) 0 * Iᵀ |
| 114 | rw [resolve,zero_smul,add_zero,Matrix.inv_eq_right_inv hw,← hI] |
| 115 | simp only [transpose_mul, Matrix.mul_assoc] |
| 116 | |
| 117 | lemma psd_tree (S : StepData c f) (T : Forest S.ratio) {H : Row (TypeFace 2) (TypeFace 2)} |
| 118 | (he : PosSemidef (H.acts f)) : PosSemidef (treeMatrix G S T H) := by |
| 119 | have hx : PosSemidef (K (H.acts f)) := he.conjTranspose_mul_mul_same _ |
| 120 | have hu : PosSemidef (baseMatrix S H) := |
| 121 | hx.add ((posSemidef_conjTranspose_mul_self (probe S)).smul S.kernel.penalty_pos.le) |
| 122 | apply PosSemidef.submatrix (M:=fullMatrix G S H) |
| 123 | rw [posSemidef_iff_dotProduct_mulVec] |
| 124 | refine ⟨?_,fun x => ?_⟩ |
| 125 | · exact full_symmetric H he.isHermitian |
| 126 | let M := baseMatrix S H |
| 127 | change 0 ≤ dotProduct (star x) (tensor G M*ᵥ x) |
| 128 | rw [star_trivial,component_dot]; simp_rw [component_mul] |
| 129 | apply Finset.sum_nonneg; intro i _; simpa using hu.dotProduct_mulVec_nonneg (component x i) |
| 130 | |
| 131 | lemma origins_psd (k : ℝ) (hk : 0<k) {j : ℕ} (hj : 4≤j) (w : Train j) (m : Side) : ((pink k w).acts m).PosSemidef := by |
| 132 | obtain ⟨v,D,hv,-,H⟩ := (heart_heats k hk hj (id : Train j → _)).1.funds |
| 133 | have ⟨σ,c,hC,hc⟩ := (heart_saves k hk hj (id : Train j→_)).1.whole w |
| 134 | obtain ⟨he,hr⟩ := obey_band _ (show Whole (pink k w) from ⟨σ,c,hC,hc⟩) (H w) m |
| 135 | apply posSemidef_iff_dotProduct_mulVec.mpr; refine ⟨he,fun x => ?_⟩ |
| 136 | rw [star_trivial]; exact (mul_nonneg hv.le (normSum_nn _)).trans (hr x).1 |
| 137 | |
| 138 | end YM.RG08 |