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.Germ.Gazebo |
| 2 | import YM.RG08.Germ.Hat |
| 3 | |
| 4 | /-! # Condition on absolute non-tree chart (finite period). Draw row of predictor mean, keep external y fixed over Wick lanes. -/ |
| 5 | set_option autoImplicit false |
| 6 | noncomputable section |
| 7 | namespace YM.RG08 |
| 8 | open RG Laurent Lattice Wilson Exterior Precision Bloch Next.Free Work.F08 Push.AbsoluteSums Finset Function Filter |
| 9 | open Stationary Analysis UVExt.Paths Matrix Tree |
| 10 | open scoped Topology ContDiff Matrix Matrix.Norms.Frobenius InnerProductSpace Classical |
| 11 | variable {c f m L : Side} {α β : Type} {G : Gauge} {η B : ℝ} |
| 12 | |
| 13 | def veiled (A : Row (Fink G L) (Fink G L)) : Row (Park G L) (Park G L) := fun i j z=> i.elim (fun i=> j.elim (fun j=> A i j z) (fun _=>0)) (fun _=> 0) |
| 14 | lemma veiled_price {A : Row (Fink G L) (Fink G L)} (hp : A.strip η B) (hb : 0≤B) : (veiled A).strip η B := by intro i j; rcases i with i|i <;> rcases j with j|j <;> first|exact hp i j|simp [veiled,Width,SumBudget,hb] |
| 15 | lemma veiled_whole {A : Row (Fink G L) (Fink G L)} (hp : Whole A) : Whole (veiled A) := by obtain ⟨w,B,hw,H⟩:=hp; exact ⟨_,_,hw,veiled_price (strip_mono H le_rfl (le_max_left B 0)) (le_max_right ..)⟩ |
| 16 | lemma veiled_minus {A D : Row (Fink G L) (Fink G L)} : veiled (A-D)=veiled A-veiled D := by funext i j z; rcases i with i|i <;> rcases j with j|j <;> first|rfl|simp [veiled] |
| 17 | |
| 18 | section matrix |
| 19 | variable (S : StepData c f) |
| 20 | variable (T : Forest S.ratio) |
| 21 | |
| 22 | def indent (i : Lines G f 1) : Co c (Park G S.ratio.count) := let v:=splitCo S.ratio _ i; (v.1,.inl v.2) |
| 23 | def pict (G : Gauge) (S : StepData c f) := FreeResolvent.insertion (indent (G:=G) S) |
| 24 | lemma veiled_act (A : Row (Fink G S.ratio.count) (Fink G S.ratio.count)) : |
| 25 | let E:= splitCo S.ratio (Loc G 1) |
| 26 | let P:= pict G S |
| 27 | (veiled A).acts c=P*repackM E.symm E.symm (A.acts c)*Pᵀ := by |
| 28 | intro E P |
| 29 | have he (i : Lines G f 1) x y : P (x,Sum.inl y) i= if E i=(x,y) then 1 else 0 := by |
| 30 | have hz : indent S i=(x,.inl y) ↔ E i=(x,y) := by unfold indent E; simp [Prod.ext_iff] |
| 31 | by_cases H : E i=(x,y); · simp only [P,pict,FreeResolvent.insertion,of_apply, hz.mpr H,H,if_true] |
| 32 | simp [P,pict,FreeResolvent.insertion,mt hz.mp H,H] |
| 33 | have hh (i : Lines G f 1) x y : P (x,Sum.inr y) i=0 := by unfold P pict FreeResolvent.insertion indent; simp |
| 34 | ext ⟨x,i⟩ ⟨y,j⟩ |
| 35 | rcases i with i|i <;> rcases j with j|j |
| 36 | · simp_rw [Matrix.mul_apply, Matrix.transpose_apply,he,Equiv.apply_eq_iff_eq_symm_apply E,mul_ite,ite_mul,mul_zero,mul_one,zero_mul,one_mul]; simp [repackM]; rfl |
| 37 | all_goals simp [veiled,Matrix.mul_apply, Matrix.transpose_apply,hh, Row.acts] |
| 38 | lemma imprints_c : Function.Injective (indent S ∘ FreeResolvent.plant (G:=G) T) := by -- omit z |
| 39 | apply Injective.comp (g:=indent S) _ (FreeResolvent.plant_inj T); intro i j hj; unfold indent at hj |
| 40 | apply Equiv.injective (splitCo S.ratio (Loc G 1)); apply Prod.ext <;> simp only [Prod.mk.injEq,Sum.inl.injEq] at hj <;> tauto |
| 41 | def chargeS (G : Gauge) := FreeResolvent.insertion (indent S ∘ FreeResolvent.plant (G:=G) T) |
| 42 | lemma charges_at (G : Gauge) : chargeS S T G=pict G S*sprig S T G := by |
| 43 | unfold sprig; rw [FreeResolvent.insertion.mul] |
| 44 | ext i j; by_cases h : indent S (FreeResolvent.plant T j)=i <;> simp [chargeS,pict,FreeResolvent.insertion,h] |
| 45 | |
| 46 | lemma mat_basis (v : FreeResolvent.Active G T→ℝ) : chargeS S T G*ᵥ v=lodgeP G S.ratio (sprig S T G*ᵥ v) 0 := by |
| 47 | rw [charges_at,← Matrix.mulVec_mulVec] |
| 48 | let E := splitCo S.ratio (Loc G 1) |
| 49 | generalize hw : sprig S T G*ᵥ v=w; funext i |
| 50 | rcases i with ⟨z,i|i⟩ |
| 51 | · rw [Matrix.mulVec,dotProduct,Finset.sum_eq_single (E.symm (z,i))] |
| 52 | · simp only [pict, indent,FreeResolvent.insertion, E, Equiv.apply_symm_apply, of_apply,↓reduceIte,one_mul]; rfl |
| 53 | · intro j _ hj |
| 54 | have h : indent S j≠ (z,.inl i) := fun h=> hj (E.injective (by rw [Equiv.apply_symm_apply]; unfold indent at h; simp only [Prod.mk.injEq, Sum.inl.injEq] at h; exact Prod.ext h.1 h.2)) |
| 55 | simp [pict, FreeResolvent.insertion,h] |
| 56 | simp |
| 57 | · simp [lodgeP,Matrix.mulVec,dotProduct,pict,FreeResolvent.insertion,indent] |
| 58 | end matrix |
| 59 | |
| 60 | -- coordinates for covariance contraction adapter. Works with std repeated |
| 61 | section branch |
| 62 | variable (P : Patch) (K : KernelChoices) (X : Repeated P.L) |
| 63 | |
| 64 | lemma people (t : Train P.J) (H : P.Branches K G) {c f : Side} (h : f.val=c.val*P.L.val) : |
| 65 | let S:= linked P K c f h; let F:= X.forest S.ratio; let I:=chargeS S F G |
| 66 | let m := pink K.penalty t |
| 67 | let R := FreeResolvent.treeMatrix G S F m |
| 68 | (veiled (conditionalCov G X K t)).acts c = I* R⁻¹ * Iᵀ := by |
| 69 | intro S F I m R |
| 70 | let M:= conditionalCov G X K t |
| 71 | let Q:= sprig S F G; let U:= pict G S |
| 72 | let E:= splitCo S.ratio (Loc G 1) |
| 73 | have he : M.acts c= repackM E E (FreeResolvent.covariance G S F m) := (conditional_truth G X K _ H).2 c f h |
| 74 | rw [show (veiled (conditionalCov G X K t)).acts c=U*repackM E.symm E.symm (M.acts c)*Uᵀ from veiled_act S M,he,show repackM E.symm E.symm (repackM E E _)=FreeResolvent.covariance G S F m by ext i j; simp [repackM]] |
| 75 | unfold FreeResolvent.covariance FreeResolvent.treeInverse FreeResolvent.resolve; rw [zero_smul,add_zero]; change U*(Q*R⁻¹*Qᵀ)*Uᵀ=I*R⁻¹*Iᵀ; rw [show I=U*Q from charges_at S F G,transpose_mul]; simp only [Matrix.mul_assoc] |
| 76 | end branch |
| 77 | end YM.RG08 |