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.Next.FREE_KERNELS.Warm |
| 2 | |
| 3 | |
| 4 | /-! |
| 5 | # Counting metric for log-det window bills |
| 6 | |
| 7 | Use real physical color components, dimension displayed (even zero). |
| 8 | Keep receipts uniform in torus on the actual discrete rows where |
| 9 | published. Logs here real. No transport of mass or analytic branch |
| 10 | from these free matrices into selected interacting sectors. |
| 11 | -/ |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | namespace YM.SectorNext.Vacuum.Panel |
| 15 | open RG Precision Matrix Function Unitary |
| 16 | open scoped Matrix.Norms.Frobenius BigOperators Classical Topology ComplexOrder |
| 17 | |
| 18 | variable {ι : Type*} [DecidableEq ι] [Fintype ι] {A : Matrix ι ι ℝ} (H : A.IsHermitian) |
| 19 | |
| 20 | def amount (η L : ℝ) := |Real.log η|+|Real.log L| |
| 21 | lemma amount_nonneg (η L : ℝ) : 0 ≤ amount η L := add_nonneg (abs_nonneg _) (abs_nonneg _) |
| 22 | |
| 23 | include H |
| 24 | lemma bill_quad {η L : ℝ} (h : Numeric A η L) (i : ι) : η ≤ H.eigenvalues i ∧ H.eigenvalues i ≤ L := by |
| 25 | let Y : ι → ℝ := ⇑(H.eigenvectorBasis i) |
| 26 | have he := H.eigenvalues_eq i |
| 27 | have hs : (star Y)=Y := by ext; simp |
| 28 | change _ = RCLike.re (dotProduct (star Y) _) at he |
| 29 | rw [hs] at he |
| 30 | have ht : dotProduct Y Y = 1 := by |
| 31 | nth_rw 2 [←hs] |
| 32 | rw [← EuclideanSpace.inner_eq_star_dotProduct (x:= (H.eigenvectorBasis i)) (y:= (H.eigenvectorBasis i)),real_inner_self_eq_norm_sq,(H.eigenvectorBasis.orthonormal.1 i),one_pow] |
| 33 | have hh := h Y; rw [ht, mul_one, mul_one,← show H.eigenvalues i = dotProduct Y _ from he] at hh |
| 34 | exact hh |
| 35 | |
| 36 | lemma determinant {η L : ℝ} (h : Numeric A η L) (he : 0 < η) : |
| 37 | 0 < A.det ∧ (η^(Fintype.card ι) ≤ A.det ∧ A.det ≤ L^(Fintype.card ι)) ∧ |
| 38 | |Real.log A.det| ≤ Fintype.card ι * amount η L := by |
| 39 | have hv := bill_quad H h |
| 40 | have hp i := he.trans_le (hv i).1 |
| 41 | rw [H.det_eq_prod_eigenvalues] |
| 42 | change 0 < ∏ i, H.eigenvalues i ∧ (η^(Fintype.card ι) ≤ ∏ i,H.eigenvalues i ∧ (∏ i,H.eigenvalues i) ≤ L^(Fintype.card ι)) ∧ |Real.log (∏ i,H.eigenvalues i)| ≤ _ |
| 43 | refine ⟨Finset.prod_pos (fun i _=>hp i),⟨?_,?_⟩,?_⟩ |
| 44 | · convert Finset.prod_le_prod (s:=Finset.univ) (fun _ _=>he.le) (fun i _=>(hv i).1) using 1 <;> first | rfl | simp |
| 45 | · convert Finset.prod_le_prod (s:=Finset.univ) (fun i _=>(hp i).le) (fun i _=>(hv i).2) using 1 <;> first | rfl | simp |
| 46 | rw [Real.log_prod (fun i _ => (hp i).ne')] |
| 47 | refine (Finset.abs_sum_le_sum_abs ..).trans ((Finset.sum_le_sum (g:=fun _=>amount η L) (fun i _=>?_)).trans (by simp)) |
| 48 | refine abs_le.mpr ⟨?_,?_⟩ <;> unfold amount |
| 49 | · linarith [Real.log_le_log he (hv i).1, neg_le_abs (Real.log η), abs_nonneg (Real.log L)] |
| 50 | linarith [Real.log_le_log (hp i) (hv i).2, le_abs_self (Real.log L), abs_nonneg (Real.log η)] |
| 51 | |
| 52 | omit H in |
| 53 | /-- e.g. apply on the accepted `plan.all` all-period, fixed numbers |
| 54 | of columns/built horizons. Quantitative log cost on true free dense |
| 55 | finite metric WITHOUT determinant-sign hypothesis. Does *NOT* say the |
| 56 | selected Gram on Tree.AFree is this horizon metric. -/ |
| 57 | theorem horizon_cost {G : Gauge} (H : Levels G) (M : Horizon H) (P : MapPrices) (h : M.Suffices P) |
| 58 | (N i : ℕ) (hi : i≤N) (n : Lattice.Side) : |
| 59 | let j := H.clock.J i |
| 60 | let C := (M.H N i).metric.acts n |
| 61 | C.PosDef ∧ 0<C.det ∧ P.η j ^ Fintype.card (Exterior.Body 2 n) ≤ C.det ∧ |
| 62 | |Real.log C.det| ≤ Fintype.card (Exterior.Body 2 n)*amount (P.η j) (P.Ω j) := by |
| 63 | intro j C |
| 64 | have Hv := h.all N i hi n |
| 65 | have he : C.IsHermitian := by simpa [Matrix.IsHermitian] using Hv.symmetric.1 |
| 66 | have hh := Hv.uniform.1 |
| 67 | have ht := determinant he hh (P.eta_pos j) |
| 68 | exact ⟨he.posDef_iff_eigenvalues_pos.mpr (fun i => (P.eta_pos j).trans_le (bill_quad he hh i).1),ht.1,ht.2.1.1,ht.2.2⟩ |
| 69 | |
| 70 | |
| 71 | omit H [DecidableEq ι] [Fintype ι] in |
| 72 | /-- The same pre-L Free.Warm cut when applicable: principal real |
| 73 | log isn't used on arbitrary complex p. Only physical `p`, and real |
| 74 | amount for its Hermitian determinant. Numerical convention explicitly on |
| 75 | retained weighted rows. -/ |
| 76 | theorem warm_logs {J : Type*} {m : Type} [Fintype m] [DecidableEq m] |
| 77 | {f : J → Bloch.Row m m} (h : Next.Free.Warm f) : |
| 78 | ∃ η L : ℝ, 0<η ∧ 0<L ∧ ∀ (i : J) (p : Bloch.Momentum), Next.Free.physical p → |
| 79 | let A := (f i).read p |
| 80 | (0 < A.det.re ∧ A.det.im = 0) ∧ |
| 81 | η^(Fintype.card m) ≤ ‖A.det‖ ∧ ‖A.det‖≤L^(Fintype.card m) ∧ |
| 82 | |Real.log ‖A.det‖| ≤ Fintype.card m* amount η L := by |
| 83 | obtain ⟨η,L,he,hl,hh⟩ := h.funds |
| 84 | refine ⟨η,L,he,hl,fun i p hp => ?_⟩ |
| 85 | intro B |
| 86 | obtain ⟨hb,hg⟩ := hh i p hp |
| 87 | change B.IsHermitian at hb |
| 88 | obtain ⟨y,s,hs⟩ := (show ∃ (y : Holder.U m) (s : m → ℝ), B=y.val*Holder.D s*y.valᴴ from ⟨_,_,Holder.spectral_diag hb⟩) |
| 89 | have hB : Work.F07.Band B η L := hg |
| 90 | rw [hs] at hB |
| 91 | have hx := (Work.F07.unitaryBand y s _ _).mp hB |
| 92 | have hm (i) := he.trans_le (hx i).1 |
| 93 | have hd : B.det = ∏ i,s i := by |
| 94 | have hy : (y.valᴴ).det*y.val.det=1 := by rw [← Matrix.det_mul,Holder.united,Matrix.det_one] |
| 95 | rw [hs, Matrix.det_mul,Matrix.det_mul]; rw [show y.val.det*_*(y.valᴴ).det = (Holder.D s).det*((y.valᴴ).det*y.val.det) by ring, hy,mul_one, Holder.D, det_diagonal]; simp |
| 96 | have HW := (Next.Free.band_bill hb (show Work.F07.Band B η L by rwa [hs]) he hl).1 |
| 97 | refine ⟨?_,HW,?_,?_⟩ <;> rw [hd] |
| 98 | · simpa only [Complex.ofReal_re,Complex.ofReal_im,and_true] using (Finset.prod_pos (s:=Finset.univ) fun j _=>hm j) |
| 99 | all_goals rw [Complex.norm_real,Real.norm_eq_abs,abs_of_pos (Finset.prod_pos (s:=Finset.univ) fun j _=>hm j)] |
| 100 | · convert Finset.prod_le_prod (s:=Finset.univ) (fun j _=>(hm j).le) (fun j _=>(hx j).2) using 1 <;> first | rfl | simp |
| 101 | rw [Real.log_prod (fun i _ => (hm i).ne')] |
| 102 | refine (Finset.abs_sum_le_sum_abs ..).trans ((Finset.sum_le_sum (g:=fun _=>amount η L) (fun i _=>?_)).trans (by simp)) |
| 103 | refine abs_le.mpr ⟨?_,?_⟩ <;> unfold amount |
| 104 | · linarith [Real.log_le_log he (hx i).1, neg_le_abs (Real.log η), abs_nonneg (Real.log L)] |
| 105 | linarith [Real.log_le_log (hm i) (hx i).2, le_abs_self (Real.log L), abs_nonneg (Real.log η)] |
| 106 | |
| 107 | end YM.SectorNext.Vacuum.Panel |