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.Further.GAUSSIAN_SCALAR_LEDGER.Balance |
| 2 | import YM.Further.GAUSSIAN_SCALAR_LEDGER.Threshold |
| 3 | import YM.Next.SCHEDULE.Postal |
| 4 | |
| 5 | |
| 6 | set_option warningAsError false |
| 7 | |
| 8 | /-! Identity on omitted frozen block even for windows of varying shape |
| 9 | (with full precision, no boundary row deletion). Tree identity block by |
| 10 | same argument, in this service use only Free from the start. |
| 11 | -/ |
| 12 | |
| 13 | set_option autoImplicit false |
| 14 | noncomputable section |
| 15 | namespace YM.Further.GaussianScalar |
| 16 | |
| 17 | open Matrix Function Filter Precision SectorNext.Vacuum Lattice Tree RG |
| 18 | open Round (rowRate) |
| 19 | open YM.Progress.StationaryScenes.Green |
| 20 | open scoped Topology BigOperators Matrix.Norms.Frobenius Classical |
| 21 | |
| 22 | variable {c f : Side} {g : Ratio c f} {F : Forest g} {G : Gauge} (H : Finset F.Free) |
| 23 | (A : Wall (Bits G H)) |
| 24 | local notation "e" => mergeBits H G |
| 25 | |
| 26 | lemma coast (x : Hold G H) (j : Key F G) : filled H A (e (Sum.inr x)) j = (1 : Wall (Key F G)) (e (Sum.inr x)) j ∧ |
| 27 | filled H A j (e (Sum.inr x)) = (1 : Wall (Key F G)) j (e (Sum.inr x)) := by |
| 28 | obtain ⟨i,rfl⟩ := (e).surjective j |
| 29 | have he := sortBits H A (1 : Wall (Hold G H)); unfold filled |
| 30 | rw [show meet H A 1 _ _ =_ from congr_fun (congr_fun he (Sum.inr x)) i, |
| 31 | show meet H A 1 _ _=_ from congr_fun (congr_fun he i) (Sum.inr x)] |
| 32 | cases i <;> simp [Matrix.one_apply] |
| 33 | |
| 34 | namespace Lens |
| 35 | |
| 36 | private lemma eye_cancel {ι : Type*} [Fintype ι] [DecidableEq ι] {A T : Wall ι} (i : ι) |
| 37 | (he : ∀ j, A i j=(1 : Wall ι) i j) (h : A*T=1) (j : ι) : |
| 38 | T i j=(1 : Wall ι) i j := by |
| 39 | have hh : (A*T) i j=((1 : Wall ι)*T) i j := by rw [Matrix.mul_apply,Matrix.mul_apply]; simp_rw [he] |
| 40 | rw [h,one_mul] at hh |
| 41 | exact hh.symm |
| 42 | |
| 43 | -- general inert coordinate of full matrix (use also tree links if completing to all links). |
| 44 | theorem shields {ι : Type*} [Fintype ι] [DecidableEq ι] (Z : Lens ι) |
| 45 | {A : Wall ι} (h : A.PosDef) (i : ι) |
| 46 | (he : ∀ j, A i j=(1 : Wall ι) i j) (j : ι) : |
| 47 | Z.visit A 0 i j=(1 : Wall ι) i j ∧ Z.visit A 0 j i=(1 : Wall ι) j i := by |
| 48 | have hr (x : ι) (u : i∈Z.eye x) (v : j∈Z.eye x) : |
| 49 | ((plus (Z.glass A x) 0)⁻¹) ⟨i,u⟩ ⟨j,v⟩=(1 : Wall ι) i j ∧ |
| 50 | ((plus (Z.glass A x) 0)⁻¹) ⟨j,v⟩ ⟨i,u⟩=(1 : Wall ι) j i := by |
| 51 | let I := Z.glass A x |
| 52 | have hI : I.PosDef := h.submatrix Subtype.val_injective |
| 53 | let k : (Z.eye x) := ⟨i,u⟩ |
| 54 | let l : (Z.eye x) := ⟨j,v⟩ |
| 55 | have HH (d : (Z.eye x)) : (1 : Wall (↥(Z.eye x))) k d=(1 : Wall ι) i d.val := by |
| 56 | simp [Matrix.one_apply,Subtype.ext_iff,k] |
| 57 | have ha (d : (Z.eye x)) : I k d=(1 : Wall (↥(Z.eye x))) k d := by rw [HH]; exact he _ |
| 58 | have hp := (eye_cancel k ha (mul_nonsing_inv I (isUnit_iff_ne_zero.mpr hI.det_pos.ne')) l).trans (HH l) |
| 59 | rw [show plus (Z.glass A x) 0=I by simp only [plus,zero_smul,add_zero,I]] |
| 60 | refine ⟨hp,?_⟩ |
| 61 | change I⁻¹ l k = _ |
| 62 | rw [show I⁻¹ l k=I⁻¹ k l from congr_fun (congr_fun (show I⁻¹ᵀ=I⁻¹ by simpa [Matrix.IsHermitian] using hI.inv.1) k) l] |
| 63 | refine hp.trans ?_ |
| 64 | change (1 : Wall ι) i j = _; by_cases hx : i=j <;> simp_all only [Matrix.one_apply,eq_comm] |
| 65 | unfold visit; simp only [of_apply]; constructor |
| 66 | · split |
| 67 | · next hx => exact (hr j hx (Z.sees j)).1 |
| 68 | next hx => exact (Matrix.one_apply_ne (show i ≠ j from fun H => hx (H.symm ▸ Z.sees _))).symm |
| 69 | split |
| 70 | · next hx => exact (hr i (Z.sees i) hx).2 |
| 71 | next hx => exact (Matrix.one_apply_ne (show j ≠ i from fun H => hx (H.symm ▸ Z.sees _))).symm |
| 72 | |
| 73 | -- Consequently symmetric covariance and especially projector for `fieldLaw` on active coordinates. |
| 74 | lemma muted (Z : Lens (Key F G)) (h : (filled H A).PosDef) : |
| 75 | let W := RawPrice.field Z (filled H A) |
| 76 | filled H (blankOut H W)=W := by |
| 77 | intro W |
| 78 | have hs : W.IsHermitian := RawPrice.field_transpose Z _ |
| 79 | have ht := hermitian_filled _ _ (show (blankOut H W).IsHermitian from hs.submatrix _) |
| 80 | have hb (i : Hold G H) (j : Key F G) : W (e (Sum.inr i)) j = (1 : Wall (Key F G)) (e (Sum.inr i)) j := by |
| 81 | let t := e (Sum.inr i) |
| 82 | have hh (b : Lens (Key F G)) := b.shields h t (fun x => (coast _ _ i x).1) j |
| 83 | unfold W RawPrice.field; rw [Matrix.smul_apply,Matrix.add_apply,Matrix.transpose_apply,(hh Z).1,(hh Z).2] |
| 84 | rw [show (1 : Wall (Key F G)) j t=(1 : Wall (Key F G)) t j from |
| 85 | congr_fun (congr_fun (Matrix.transpose_one (n:=Key F G) (α:=ℝ)) t) j]; rw [smul_eq_mul]; ring |
| 86 | ext i j |
| 87 | obtain ⟨u,rfl⟩ := (e).surjective i; obtain ⟨v,rfl⟩ := (e).surjective j |
| 88 | cases u with |
| 89 | | inr l => rw [(coast ..).1,hb] |
| 90 | | inl x => |
| 91 | cases v with |
| 92 | | inl y => exact congr_fun (congr_fun (blank_meets H (blankOut H W) 1) x) y |
| 93 | | inr y => |
| 94 | have H : Wᵀ=W := by simpa [Matrix.IsHermitian] using hs |
| 95 | rw [(coast ..).2,← show W _ _=W _ _ from congr_fun (congr_fun H (e (Sum.inl x))) (e (Sum.inr y)),hb] |
| 96 | simp |
| 97 | end Lens |
| 98 | |
| 99 | -- same for reference mean. Can take even if not using the symbol the |
| 100 | -- source recommends, but here's that formula. |
| 101 | |
| 102 | def spreadBits (b : VV (Bits G H)) (x : Key F G) : ℝ := Sum.elim b (fun _ : Hold G H => 0) ((e).symm x) |
| 103 | def viewBits (b : VV (Key F G)) (x : Bits G H) : ℝ := b (e (Sum.inl x)) |
| 104 | |
| 105 | lemma sees_mean (Z : Lens (Key F G)) (b : VV (Bits G H)) (h : (filled H A).PosDef) : |
| 106 | let M := RawPrice.meanAt Z (filled H A) (spreadBits H b) |
| 107 | spreadBits H (viewBits H M)=M := by |
| 108 | intro M; funext i; obtain ⟨x,rfl⟩ := (e).surjective i; unfold spreadBits; rw [Equiv.symm_apply_apply] |
| 109 | cases x with |
| 110 | | inl x => rfl |
| 111 | | inr j => |
| 112 | change 0=M (e (Sum.inr j)) |
| 113 | unfold M RawPrice.meanAt |
| 114 | have he (k) := Z.shields h (e (Sum.inr j)) (fun i => (coast _ _ _ _).1) k |
| 115 | rw [neg_mulVec] |
| 116 | simp only [Pi.neg_apply, Matrix.mulVec,dotProduct,Matrix.transpose_apply, (he _).2, Matrix.one_apply,ite_mul, one_mul, zero_mul] |
| 117 | simp [spreadBits] |
| 118 | |
| 119 | end YM.Further.GaussianScalar |