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.Mean |
| 2 | |
| 3 | /-! |
| 4 | # Variation of the tree covariance and mean |
| 5 | |
| 6 | The whole history variation is priced from the ordinary potential Hessian. |
| 7 | Neither mean stability nor inverse stability assumed. -/ |
| 8 | set_option autoImplicit false |
| 9 | noncomputable section |
| 10 | namespace YM.RG08 |
| 11 | open Function Filter Lattice Wilson RG Precision Exterior Bloch Matrix Laurent |
| 12 | open Next.Free Work.F08 Tree Stationary FreeResolvent |
| 13 | open scoped Topology BigOperators Classical |
| 14 | |
| 15 | variable {G : Gauge} {c f : Side} |
| 16 | |
| 17 | lemma tensor_less {i j : ℕ} (G : Gauge) (A B : Matrix (Body i f) (Body j c) ℝ) : |
| 18 | tensor G (A-B)=tensor G A-tensor G B := by |
| 19 | ext i j; unfold tensor; by_cases h : i.2.2=j.2.2 <;> simp [h] |
| 20 | |
| 21 | lemma tree_cross (S : StepData c f) (T : Forest S.ratio) (A B : FreeResolvent.FaceRow) |
| 22 | (hA : (treeMatrix G S T A).PosDef) (hB : (treeMatrix G S T B).PosDef) : |
| 23 | FreeResolvent.covariance G S T A-FreeResolvent.covariance G S T B = |
| 24 | FreeResolvent.covariance G S T A * |
| 25 | tensor G (K (B.acts f)-K (A.acts f)) * |
| 26 | FreeResolvent.covariance G S T B := by |
| 27 | let I := sprig S T G; let L := treeMatrix G S T A; let R := treeMatrix G S T B |
| 28 | let M := tensor G (K (B.acts f)-K (A.acts f)) |
| 29 | have hl : L⁻¹ * L=1 := nonsing_inv_mul _ ((isUnit_iff_isUnit_det _).mp hA.isUnit) |
| 30 | have hr : R*R⁻¹=1 := mul_nonsing_inv _ ((isUnit_iff_isUnit_det _).mp hB.isUnit) |
| 31 | have hp : Iᵀ*M*I=R-L := by |
| 32 | have he : M= fullMatrix G S B - fullMatrix G S A := by |
| 33 | unfold fullMatrix baseMatrix M |
| 34 | rw [← tensor_less,add_sub_add_right_eq_sub] |
| 35 | rw [he,Matrix.mul_sub,Matrix.sub_mul]; exact congr_arg₂ (·-·) (insertion.compress ..) (insertion.compress ..) |
| 36 | unfold FreeResolvent.covariance treeInverse resolve reduce |
| 37 | simp only [zero_smul,add_zero] |
| 38 | change I*L⁻¹*Iᵀ-I*R⁻¹*Iᵀ=I*L⁻¹*Iᵀ*M*(I*R⁻¹*Iᵀ) |
| 39 | symm |
| 40 | calc |
| 41 | _ = I*L⁻¹*(Iᵀ*M*I)*R⁻¹*Iᵀ := by simp only [Matrix.mul_assoc] |
| 42 | _ = _ := by |
| 43 | rw [hp, Matrix.mul_sub, Matrix.sub_mul, Matrix.sub_mul, Matrix.mul_assoc (I*L⁻¹), |
| 44 | hr, Matrix.mul_assoc I L⁻¹ L,hl, Matrix.mul_one,Matrix.mul_one] |
| 45 | |
| 46 | section |
| 47 | variable {P : Patch} {k : KernelChoices} (X : Repeated P.L) {u v : Train P.J} |
| 48 | variable (ha : P.Branches k G) {τ σ C Q V : ℝ} |
| 49 | |
| 50 | include ha |
| 51 | |
| 52 | /-- Resolution uses coefficient powers in fine steps, true `η` pre-block |
| 53 | budget can pass longer chains (σ is an input width, must meet the tuition). -/ |
| 54 | lemma covariance_moves (hp : (conditionalCov G X k u).strip τ Q) |
| 55 | (hp' : (conditionalCov G X k v).strip τ V) |
| 56 | (hh : (minusRows (hessian (pink k.penalty v)) (hessian (pink k.penalty u))).strip σ C) |
| 57 | (hw : 0<τ) (ht : τ ≤ P.L.val*σ) : |
| 58 | let m := (Fintype.card (Co P.L (Loc G 1)):ℝ) |
| 59 | (minusRows (conditionalCov G X k u) (conditionalCov G X k v)).strip τ |
| 60 | (m*(m*(Q*(Real.exp (4*τ)*C))*V)) := by |
| 61 | intro m |
| 62 | let A := pink k.penalty u; let B := pink k.penalty v |
| 63 | let L := conditionalCov G X k u; let R := conditionalCov G X k v |
| 64 | let E := minusRows (hessian B) (hessian A) |
| 65 | let U := nativeRow P.L (colored G E) |
| 66 | have hC : U.strip τ (Real.exp (4*τ)*C) := native_price (colored_price G hh) hw.le ht |
| 67 | have he := strip_compose hw.le (strip_compose hw.le hp hC) hp' |
| 68 | let D := composeRows (composeRows L U) R |
| 69 | suffices hx : minusRows L R=D by change Row.strip (minusRows L R) _ _; rw [hx]; exact he |
| 70 | apply bank_injective (Row.rights _ _ (strip_minus hp hp') hw.le) (Row.rights _ _ he hw.le) |
| 71 | intro c |
| 72 | let f := c*P.L; let S:= linked P k c f rfl; let T:= X.forest S.ratio; let p:=unitSplit G S 1 |
| 73 | have hX : L.acts c=_ := (conditional_truth G X k u ha).2 c f rfl |
| 74 | have hY : R.acts c=_ := (conditional_truth G X k v ha).2 c f rfl |
| 75 | change (minusRows (conditionalCov G X k u) (conditionalCov G X k v)).acts c = Row.acts D c |
| 76 | rw [acts_minus hw.le hp hp'] |
| 77 | change L.acts c-R.acts c= _ |
| 78 | have hD : D.acts c=L.acts c * U.acts c * R.acts c := by |
| 79 | unfold D; rw [acts_compose hw.le (strip_compose hw.le (show L.strip τ Q from hp) hC) hp', |
| 80 | acts_compose hw.le (show L.strip τ Q from hp) hC] |
| 81 | rw [hD,hX,hY] |
| 82 | let M := tensor G (K (B.acts f)-K (A.acts f)) |
| 83 | have hr (w : Train P.J) : Whole (pink k.penalty w) := (heart_saves _ k.penalty_pos P.order_cut (id : Train P.J → _)).1.whole w |
| 84 | have hA : Whole A := hr _; have hB : Whole B := hr _ |
| 85 | have ht' : U.acts c=repackM p p M := |
| 86 | (native_acts S.ratio (colored_whole G ((hessian_whole hB).minus (hessian_whole hA)))).trans (by |
| 87 | unfold M p |
| 88 | rw [colored_acts, (hessian_whole hB).less (hessian_whole hA), hessian_acts hB,hessian_acts hA]) |
| 89 | have hO := tree_cross S T A B (forest_precision G k u c f rfl ha T) (forest_precision G k v c f rfl ha T) |
| 90 | rw [ht'] |
| 91 | change repackM p p (FreeResolvent.covariance G S T A-FreeResolvent.covariance G S T B) = |
| 92 | repackM p p (FreeResolvent.covariance G S T A) * repackM p p M * repackM p p (FreeResolvent.covariance G S T B) |
| 93 | rw [hO, repack_multiply _ p, repack_multiply _ p] |
| 94 | |
| 95 | omit ha |
| 96 | |
| 97 | lemma coarseMean_movement (he : (minusRows (conditionalCov G X k u) (conditionalCov G X k v)).strip τ C) |
| 98 | (ht : (probeRow G P k).strip τ Q) (hw : 0<τ) : |
| 99 | (minusRows (coarseMean G X k u) (coarseMean G X k v)).strip τ |
| 100 | (‖k.penalty‖*(Fintype.card (Co P.L (Loc G 1))*(C*Q))) := by |
| 101 | unfold coarseMean |
| 102 | let A := conditionalCov G X k u; let B := conditionalCov G X k v |
| 103 | let T := transRows (probeRow G P k); let M (w : Row (Co P.L (Loc G 1)) (Co P.L (Loc G 1))) := scaleRows k.penalty (composeRows w T) |
| 104 | have hi : (M (minusRows A B)).strip _ _ := strip_scale (strip_compose hw.le he (strip_trans ht)) k.penalty |
| 105 | have ht' : Whole T := ⟨_,_,hw,strip_trans ht⟩ |
| 106 | have hr (v:Train P.J) : Whole (conditionalCov G X k v) := by |
| 107 | by_cases ha : P.Branches k G |
| 108 | · exact (conditional_truth G X k v ha).1 |
| 109 | rw [conditionalCov,dif_neg ha]; refine ⟨1,0,one_pos,?_⟩; intro x y; simp [Width,SumBudget] |
| 110 | have ha : Whole A := hr u; have hb : Whole B := hr v |
| 111 | change Row.strip (minusRows (M A) (M B)) _ _ |
| 112 | suffices H : minusRows (M A) (M B)=M (minusRows A B) from H.symm ▸ hi |
| 113 | refine bank_injective ((((ha.prod ht').weight _).minus ((hb.prod ht').weight _)).safe) (Whole.safe ⟨_,_,hw,hi⟩) (fun c => ?_) |
| 114 | unfold M |
| 115 | rw [((ha.prod ht').weight _).less ((hb.prod ht').weight _),acts_scale,acts_scale,acts_scale, |
| 116 | ha.acts ht',hb.acts ht',(ha.minus hb).acts ht',ha.less hb,Matrix.sub_mul,smul_sub] |
| 117 | end |
| 118 | end YM.RG08 |