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.AnalyticNext.CONNECTED_ACTIVITY_BOUNDS.QuadraticTilts |
| 2 | import YM.Next.SCHEDULE.GridCost |
| 3 | import YM.Next.SCHEDULE.Stadium |
| 4 | |
| 5 | /-! |
| 6 | # Uniform joint tilt budget, value layer |
| 7 | |
| 8 | Use on actual selected factors, including exponentials of remaining ratio |
| 9 | rows and using trigger-witness words **without** differentiating any hard |
| 10 | indicator. Each spelling hit test sees one such bound in a fixed |
| 11 | projection; scores and marked insertions may use a further whole-word |
| 12 | fee; track costs with extra anchors at their use too. |
| 13 | -/ |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.AnalyticNext.ConnectedActivity.Centered |
| 17 | open Function MeasureTheory Filter Matrix |
| 18 | open Progress.StationaryScenes |
| 19 | open scoped Topology BigOperators ENNReal Matrix.Norms.Frobenius |
| 20 | |
| 21 | /-- After tilting, retain this much coercivity in physical squared norm |
| 22 | units. Allocation of paid exponents is not in energy units (β). -/ |
| 23 | structure Till where |
| 24 | floor : ℝ |
| 25 | expense : ℝ |
| 26 | floor_pos : 0 < floor |
| 27 | expense_nn : 0 ≤ expense |
| 28 | |
| 29 | namespace Till |
| 30 | variable {n : Type*} [Fintype n] {A : Matrix n n ℝ} (t : Till) |
| 31 | |
| 32 | def Safe (A : Matrix n n ℝ) := A.IsHermitian ∧ Green.Bottom A (t.floor+t.expense) |
| 33 | |
| 34 | structure Tilt (n : Type*) where |
| 35 | cap : ℝ |
| 36 | tally : n → ℝ |
| 37 | |
| 38 | def Tilt.Sound (b : Tilt n) := 0 ≤ b.cap ∧ ∀ i, 0 ≤ b.tally i |
| 39 | |
| 40 | def sale (b : Tilt n) := b.cap * Real.exp ((t.floor⁻¹ * ∑ i, b.tally i)/2) |
| 41 | |
| 42 | def Ticket (b : Tilt n) (v : n → ℝ) : ℝ := b.cap * Real.exp (tilt b.tally v/2) |
| 43 | |
| 44 | lemma sale_nn {b : Tilt n} (h : b.Sound) : 0 ≤ t.sale b := |
| 45 | mul_nonneg h.1 (Real.exp_pos _).le |
| 46 | |
| 47 | variable {ι : Type*} (Q : ι → Tilt n) |
| 48 | |
| 49 | def occupied (s : Finset ι) := ∀ i, (∑ j ∈ s, (Q j).tally i) ≤ t.expense |
| 50 | |
| 51 | /-- Any **one** set of factors may spend the exponential ticket under the |
| 52 | one actual Gaussian. Empty product also priced. -/ |
| 53 | lemma consume [DecidableEq n] (hA : t.Safe A) (s : Finset ι) (hs : t.occupied Q s) |
| 54 | (hu : ∀ j∈s, (Q j).Sound) {X : Type*} [NormedAddCommGroup X] |
| 55 | (g : (n → ℝ) → X) (hg : AEStronglyMeasurable g (law A)) |
| 56 | (h : ∀ z, ‖g z‖ ≤ ∏ i∈s, Ticket (Q i) z) : Integrable g (law A) ∧ |
| 57 | (∫ z, ‖g z‖ ∂law A) ≤ ∏ i∈s, t.sale (Q i) := by |
| 58 | let C := ∏ i∈s,(Q i).cap |
| 59 | let d x := ∑ i∈s,(Q i).tally x |
| 60 | have hC : 0 ≤ C := Finset.prod_nonneg fun i hi => (hu _ hi).1 |
| 61 | obtain ⟨he,hv⟩ := tilted (d:=d) t.floor_pos hA.1 hA.2 (fun x => |
| 62 | Finset.sum_nonneg fun i hi => (hu _ hi).2 _) hs |
| 63 | have h z : ‖g z‖ ≤ C * Real.exp (tilt d z/2) := by |
| 64 | apply (h z).trans_eq |
| 65 | simp_rw [Ticket, Finset.prod_mul_distrib, ← Real.exp_sum, ← Finset.sum_div] |
| 66 | congr 3 |
| 67 | simp_rw [tilt,d, Finset.sum_mul, Finset.sum_comm (s:=s)] |
| 68 | have hm := (he.const_mul C).mono' hg (Eventually.of_forall h) |
| 69 | refine ⟨hm,(integral_mono hm.norm (he.const_mul C) h).trans ?_⟩ |
| 70 | rw [integral_const_mul]; apply (mul_le_mul_of_nonneg_left hv hC).trans_eq |
| 71 | simp_rw [sale, Finset.prod_mul_distrib, ← Real.exp_sum, ← Finset.sum_div, ← Finset.mul_sum, d, |
| 72 | Finset.sum_comm (t:=s)]; rfl |
| 73 | |
| 74 | section rarity |
| 75 | variable (I : Finset n) |
| 76 | |
| 77 | def hitTilt [DecidableEq n] (C δ u : ℝ) : Tilt n := ⟨C * Real.exp (-u*δ/2), fun i => if i∈I then u else 0⟩ |
| 78 | |
| 79 | variable [DecidableEq n] {δ u C : ℝ} |
| 80 | |
| 81 | omit [Fintype n] in |
| 82 | lemma hitSound (hb : 0 ≤ C) (hu : 0 ≤ u) : (hitTilt I C δ u).Sound := |
| 83 | ⟨mul_nonneg hb (Real.exp_pos _).le,fun i => by |
| 84 | dsimp only [hitTilt]; split <;> first | exact hu | exact le_rfl⟩ |
| 85 | |
| 86 | |
| 87 | |
| 88 | |
| 89 | |
| 90 | def ratioTilt (x : ℝ) : Tilt n := ⟨x*Real.exp (2*x),fun i => if i∈I then 4*x else 0⟩ |
| 91 | |
| 92 | omit [Fintype n] in |
| 93 | lemma ratioSound {x : ℝ} (h : 0≤x) : (ratioTilt I x).Sound := |
| 94 | ⟨by change 0 ≤ x*_; positivity,fun i => by dsimp only [ratioTilt]; split <;> positivity⟩ |
| 95 | |
| 96 | |
| 97 | |
| 98 | omit [Fintype n] [DecidableEq n] in |
| 99 | lemma exp_bound {x b : ℝ} (h : |x| ≤ b) : |Real.exp x-1| ≤ b*Real.exp b := by |
| 100 | have hb := (abs_nonneg _).trans h |
| 101 | have he := Real.add_one_le_exp (-x) |
| 102 | rcases (abs_le.mp h) with ⟨hL,hR⟩ |
| 103 | rw [Real.exp_neg] at he |
| 104 | have hy := mul_inv_cancel₀ (Real.exp_pos x).ne' |
| 105 | apply abs_le.mpr; constructor |
| 106 | · have H := Real.add_one_le_exp x; have hx := Real.one_le_exp hb |
| 107 | nlinarith |
| 108 | have H := mul_le_mul_of_nonneg_right he (Real.exp_pos x).le |
| 109 | rw [inv_mul_cancel₀ (Real.exp_pos x).ne'] at H |
| 110 | have hx := Real.exp_le_exp.mpr hR |
| 111 | nlinarith [mul_le_mul_of_nonneg_right hR (Real.exp_pos x).le, mul_le_mul_of_nonneg_left hx hb] |
| 112 | |
| 113 | |
| 114 | end rarity |
| 115 | end Till |
| 116 | end YM.AnalyticNext.ConnectedActivity.Centered |