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.AnalyticBridge.ANNULUS_GAUSSIAN_INTERFACE.Accounts |
| 2 | |
| 3 | set_option warningAsError false |
| 4 | |
| 5 | /-! |
| 6 | # Window charge of the real Gaussian reference |
| 7 | |
| 8 | The log of the principal Gram on the *same* coordinate list, complete |
| 9 | x-block (sum all colors). Use at the actual exponent with the chain / log |
| 10 | *difference* outstanding elsewhere. No replacement of `log det` by a |
| 11 | local sum. Handles no-hole and hole terms on the same conventions. No |
| 12 | matrix spectrum price if zooming to tiny coupling in a different period. |
| 13 | -/ |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.AnalyticBridge.Annulus.LocalLog |
| 17 | open Function Lattice RG RG.Patch Precision Wilson Pressure Pressure.Stores Pressure.Tube Pressure.Teller Tree |
| 18 | YM.Push.SectorMeasure Oriented Exterior Bloch Next.SectorChange Set MeasureTheory Matrix Gaussian Rows Schur |
| 19 | open YM.SectorNext.Remainder.Affine |
| 20 | open scoped Topology BigOperators Classical YM.Push.SectorMeasure ContDiff |
| 21 | variable {G : Gauge} {c f : Side} {S : StepData c f} |
| 22 | |
| 23 | section matrix |
| 24 | variable {n : Type} [Fintype n] [DecidableEq n] |
| 25 | |
| 26 | /-- Diagonal in the same panels (weak sector delays ensure i∈W i). |
| 27 | Always numerically defined; interpreted as log only under positive |
| 28 | compression. Zero safe when a malformed geometry lacks the window. -/ |
| 29 | def pane (W : n → Set n) (C : Gaussian.Table n) (i : n) : ℝ := if h : i ∈ W i then |
| 30 | (cfc Real.log (principal C (W i))) ⟨i,h⟩ ⟨i,h⟩ else 0 |
| 31 | |
| 32 | |
| 33 | |
| 34 | lemma bounds {p : n → Site c} {C : Gaussian.Table n} |
| 35 | {K η u : ℝ} (h : Pours C p p u K) (hp : Gapped C η) (hs : C.PosDef) (hv : 0≤u) |
| 36 | (i : n) : η ≤ hs.isHermitian.eigenvalues i ∧ hs.isHermitian.eigenvalues i ≤ K := by |
| 37 | let L := hs.isHermitian.eigenvalues i |
| 38 | let a : Vec n := hs.isHermitian.eigenvectorUnitary.val.col i |
| 39 | have ha : C *ᵥ a = L • a := hs.isHermitian.mulVec_eigenvectorBasis i |
| 40 | let U := hs.isHermitian.eigenvectorUnitary.val |
| 41 | have he : star U*U=1 := Unitary.coe_star_mul_self .. |
| 42 | have hw := congr_fun (congr_fun he i) i |
| 43 | have ht : sumSq a = 1 := by |
| 44 | simp only [Matrix.mul_apply, Matrix.one_apply_eq, star_eq_conjTranspose, Matrix.conjTranspose_apply, star_trivial] at hw |
| 45 | simp only [sumSq,sq]; exact hw |
| 46 | obtain hh := estimate (h.weaker hv le_rfl) a a |
| 47 | obtain hu := hp a |
| 48 | simp only [ha,dotProduct_smul,smul_eq_mul, ← sumSq_dot, ht,mul_one] at hu hh |
| 49 | exact ⟨hu,(le_abs_self L).trans (hh.trans_eq (by ring))⟩ |
| 50 | |
| 51 | lemma diag_paid {p : n → Site c} {C : Gaussian.Table n} {K η u : ℝ} |
| 52 | (h : Pours C p p u K) (hp : Gapped C η) (hs : C.PosDef) (hv : 0≤u) (he : 0<η) (i : n) : |
| 53 | |(cfc Real.log C) i i| ≤ |Real.log η| + |Real.log K| := by |
| 54 | let U := hs.isHermitian.eigenvectorUnitary.val |
| 55 | have hl j := bounds h hp hs hv j |
| 56 | let L j := Real.log (hs.isHermitian.eigenvalues j) |
| 57 | let B := |Real.log η| + |Real.log K| |
| 58 | have hL j : |L j|≤ B := by |
| 59 | obtain h1 := (Real.log_le_log he (hl j).1) |
| 60 | obtain h2 := (Real.log_le_log (hs.eigenvalues_pos j) (hl j).2) |
| 61 | unfold B L; rw [abs_le]; constructor |
| 62 | · linarith [neg_abs_le (Real.log η),abs_nonneg (Real.log K)] |
| 63 | linarith [le_abs_self (Real.log K),abs_nonneg (Real.log η)] |
| 64 | have hf : U * star U=1 := Unitary.coe_mul_star_self .. |
| 65 | have ha : ∑ j, U i j ^ 2 = 1 := by |
| 66 | have he := congr_fun (congr_fun hf i) i |
| 67 | simp only [Matrix.mul_apply, Matrix.one_apply_eq, star_eq_conjTranspose, Matrix.conjTranspose_apply, star_trivial] at he |
| 68 | simp only [sq]; exact he |
| 69 | rw [hs.isHermitian.cfc_eq,Matrix.IsHermitian.cfc,Unitary.conjStarAlgAut_apply] |
| 70 | change |(U*Matrix.diagonal L*star U) i i| ≤ B |
| 71 | rw [Matrix.mul_apply] |
| 72 | refine (Finset.abs_sum_le_sum_abs ..).trans ((Finset.sum_le_sum (g:=fun j => U i j ^ 2*B) fun j _ => ?_).trans_eq ?_) |
| 73 | · rw [Matrix.mul_diagonal,star_eq_conjTranspose,Matrix.conjTranspose_apply,star_trivial, |
| 74 | show U i j * L j * U i j = U i j ^2 * L j by ring,abs_mul, abs_of_nonneg (sq_nonneg _)] |
| 75 | exact mul_le_mul_of_nonneg_left (hL _) (sq_nonneg _) |
| 76 | rw [← Finset.sum_mul,ha,one_mul] |
| 77 | |
| 78 | lemma pane_price {p : n → Site c} {C : Gaussian.Table n} {K η u : ℝ} |
| 79 | (h : Pours C p p u K) (hp : Gapped C η) (hs : C.PosDef) (hv : 0≤u) (he : 0<η) (W i) : |
| 80 | |pane W C i| ≤ |Real.log η| + |Real.log K| := by |
| 81 | unfold pane; split |
| 82 | next hx => |
| 83 | exact diag_paid (h.redact (W i) (W i)) (held_gap hp (W i)) (hs.submatrix Subtype.val_injective) hv he _ |
| 84 | rw [abs_zero]; positivity |
| 85 | end matrix |
| 86 | |
| 87 | variable (T : Tube G S) (x : ℝ) (V : Config G c) (A O : Stores S) (k : S.Choices) (F : Forest S.ratio) (D : ℕ) |
| 88 | |
| 89 | /-- Use the empty-sector gram, same tags and tree. Solvency only |
| 90 | required in the intact V support term, no changes to plotting or windows. |
| 91 | -/ |
| 92 | def bare (S : StepData c f) : Stores S := ⟨∅,∅,∅⟩ |
| 93 | def flat := Rows.gram T x (1:Config G c) k (shots S x) (bare S) F |
| 94 | |
| 95 | def imprint (i : F.Free) (Q : Gaussian.Table (In x A F (G:=G))) := if h : ¬ chill A x F i then |
| 96 | ∑ j : G.ColorIndex, pane (panels A F) Q (⟨i,h⟩,j) else 0 |
| 97 | |
| 98 | lemma imprint_price {K η u : ℝ} (Q : Gaussian.Table (In x A F (G:=G))) |
| 99 | (h : Pours Q (Wisps.front A F) (Wisps.front A F) u K) (hp : Gapped Q η) (hs : Q.PosDef) (hv : 0≤u) (he : 0<η) (i : F.Free) : |
| 100 | |imprint x A F i Q| ≤ Fintype.card G.ColorIndex * (|Real.log η| + |Real.log K|) := by |
| 101 | unfold imprint; split |
| 102 | · exact (Finset.abs_sum_le_sum_abs ..).trans ((Finset.sum_le_sum (fun j _ => pane_price h hp hs hv he _ _ )).trans_eq (by simp [mul_add])) |
| 103 | rw [abs_zero]; positivity |
| 104 | |
| 105 | def paired (i : F.Free) := -(1/2:ℝ)*(imprint x A F i (Rows.gram T x V k (shots S x) A F)- |
| 106 | imprint x (bare S) F i (flat T x k F)) |
| 107 | |
| 108 | /-- cost taken only on its location rule. -/ |
| 109 | def write := ∑ i∈pairsAt O F D x, paired T x V A k F i |
| 110 | |
| 111 | /-- Not pricing this, keep it explicit. Also keep chain from C. |
| 112 | Here no rearrangement of determinants or trace-log expansion hypothesized. -/ |
| 113 | def yet := -(1/2:ℝ)*(Real.log (Rows.gram T x V k (shots S x) A F).det-Real.log (flat T x k F).det) - |
| 114 | ∑ i, paired T x V A k F i |
| 115 | |
| 116 | def LaterCost := yet T x V A k F + ∑ i∈(pairsAt O F D x)ᶜ, paired T x V A k F i |
| 117 | |
| 118 | |
| 119 | |
| 120 | open Filter in |
| 121 | /-- The exact pre-delay purchase for the principal-window ancillary log, |
| 122 | for all A on the given V and trees/periods. Does not pay the chain tail. -/ |
| 123 | lemma solvent (G : Gauge) (Q : Patch) (P : Teller G) (hB : Q.Branches P.bind G) : |
| 124 | ∃ E : ℝ, 0 ≤ E ∧ ∀ᶠ x : ℝ in atTop, |
| 125 | ∀ {c f : Side} (S : StepData c f) (T : Tube G S), |
| 126 | S.patch=Q → 100*(1+radiusB x) ≤ c.val → P.Funds S T → |
| 127 | ∀ (A : Stores S) (F : Forest S.ratio) (k:S.Choices) (V : Config G c), A.flags=RG.flags (temp x) V → |
| 128 | ∀ i : F.Free, |paired T x V A k F i| ≤ E := by |
| 129 | obtain ⟨u,K,η,b,E,hu,hK,hη,hb,hE,H⟩ := opaqueCost G Q P hB |
| 130 | let m := Fintype.card G.ColorIndex * (|Real.log η|+|Real.log K|) |
| 131 | refine ⟨m,by unfold m; positivity,?_⟩ |
| 132 | filter_upwards [H] with x hx |
| 133 | intro c f S T he hh h A F k V hA i |
| 134 | have hb : (bare S).flags = RG.flags (temp x) (1:Config G c) := by |
| 135 | change ∅ = _; symm; apply Finset.eq_empty_of_forall_notMem |
| 136 | intro j hj; obtain ⟨i,-,hp⟩ := (RG.flags_spec ..).mp hj |
| 137 | have hi : G.chord (faceValue (1:Config G c) i) ≤ temp x := by simp [faceValue,square,travel,temp_nonneg] |
| 138 | linarith |
| 139 | have hl := hx S T he hh h A F k V hA |
| 140 | have hv := hx S T he hh h (bare S) F k 1 hb |
| 141 | obtain h1 := imprint_price x A F _ hl.1 hl.2.1 hl.2.2.1 hu.le hη i |
| 142 | obtain h2 := imprint_price x (bare S) F _ hv.1 hv.2.1 hv.2.2.1 hu.le hη i |
| 143 | unfold paired |
| 144 | rw [abs_mul, abs_neg, abs_of_nonneg (by norm_num : (0:ℝ) ≤ 1/2)] |
| 145 | apply le_trans (mul_le_mul_of_nonneg_left ((abs_sub ..).trans (add_le_add h1 h2)) (by norm_num : (0:ℝ)≤1/2)) |
| 146 | unfold m; linarith |
| 147 | end YM.AnalyticBridge.Annulus.LocalLog |