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.Bid.Drops |
| 2 | |
| 3 | /-! |
| 4 | # Top coefficient budget (D01) |
| 5 | |
| 6 | One frame at a fixed degree, one origin calibration. The product-of-columns |
| 7 | estimate bounds the pullback of the reference label in **that factory**, on |
| 8 | all periods. This is a top *coordinate* budget; no discrepancy, remainder |
| 9 | estimate on a new presentation, or calibration producer is claimed here. |
| 10 | -/ |
| 11 | |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | namespace YM.Work.D01 |
| 15 | |
| 16 | open Filter |
| 17 | open scoped Topology BigOperators |
| 18 | |
| 19 | variable {G : Gauge} |
| 20 | |
| 21 | /-- Pad the backwards cost with all column costs even before the reference. -/ |
| 22 | def columnLogs (a : RG.Levels G) (m : ℕ) : ℝ := |
| 23 | ∑ i ∈ Finset.range m, Real.log (a.params (i+1)).columns |
| 24 | |
| 25 | lemma columnLogs_nonneg (a : RG.Levels G) (m : ℕ) : 0 ≤ columnLogs a m := |
| 26 | Finset.sum_nonneg fun i _ => Real.log_nonneg (a.params (i+1)).columns_ge |
| 27 | |
| 28 | lemma columnLogs_succ (a : RG.Levels G) (m : ℕ) : |
| 29 | columnLogs a (m+1) = columnLogs a m + Real.log (a.params (m+1)).columns := |
| 30 | Finset.sum_range_succ _ _ |
| 31 | |
| 32 | /-- The pre-L prices in this calendar suffice for subscale cost. Use the |
| 33 | same head/tail reasoning as for the beta drift in `Shoot.trajectory`. -/ |
| 34 | theorem columnLogs_le (a : RG.Levels G) (ε : ℝ) (he : 0 < ε) : |
| 35 | ∀ᶠ N in atTop, columnLogs a N ≤ ε * a.S.scale N := by |
| 36 | have hd : Tendsto (fun i : ℕ => ((a.clock.J (i+1):ℝ)^2)⁻¹) atTop (𝓝 0) := by |
| 37 | have ht := a.fits.deep.comp (tendsto_add_atTop_nat 1) |
| 38 | exact tendsto_inv_atTop_zero.comp |
| 39 | ((tendsto_pow_atTop (n := 2) (by decide)).comp (tendsto_natCast_atTop_atTop.comp ht)) |
| 40 | obtain ⟨k,hk⟩ := eventually_atTop.mp (hd.eventually (ge_mem_nhds (half_pos he))) |
| 41 | have tail (i : ℕ) (hi : k ≤ i) : |
| 42 | columnLogs a i ≤ columnLogs a k + (ε/2) * (a.S.scale i - a.S.scale k) := by |
| 43 | induction i,hi using Nat.le_induction with |
| 44 | | base => rw [sub_self, mul_zero, add_zero] |
| 45 | | succ i hi ih => |
| 46 | let p := a.params (i+1) |
| 47 | have hL : 0 < Real.log (a.S.block i).val := Real.log_pos (by |
| 48 | exact_mod_cast (show 1 < (a.S.block i).val from lt_of_lt_of_le (by norm_num) (a.S.block_large i))) |
| 49 | have hcost : Real.log |
| 50 | (1 + p.paths + p.width⁻¹ + p.columns + p.clip.relaxation + p.supportExponent) / |
| 51 | Real.log (a.S.block i).val ≤ ((a.clock.J (i+1):ℝ)^2)⁻¹ := a.fits.logCost i |
| 52 | have hstep : Real.log (a.params (i+1)).columns ≤ (ε/2) * Real.log (a.S.block i).val := by |
| 53 | apply le_trans _ ((div_le_iff₀ hL).mp (hcost.trans (show _ ≤ ε/2 from hk i hi))) |
| 54 | change Real.log p.columns ≤ _ |
| 55 | exact Real.log_le_log (lt_of_lt_of_le zero_lt_one p.columns_ge) (by |
| 56 | linarith only [p.paths_pos, inv_pos.mpr p.width_pos, p.clip.radius_pos, p.price_pos]) |
| 57 | rw [columnLogs_succ, Schedule.scale_succ] |
| 58 | linarith only [ih, hstep] |
| 59 | filter_upwards [eventually_ge_atTop k, |
| 60 | (a.S.divergent.const_mul_atTop (half_pos he)).eventually_ge_atTop (columnLogs a k)] |
| 61 | with i hi hhead |
| 62 | have hpre : columnLogs a k ≤ (ε/2) * a.S.scale i := hhead |
| 63 | linarith only [tail i hi, hpre, mul_nonneg he.le (RG.Shoot.scale_nn a k)] |
| 64 | |
| 65 | /-- Iterate `back` for the very same entry trajectory at `(d,N,p)`. -/ |
| 66 | theorem back_budget (C : Family G) (h : C.Makes) {d N p m : ℕ} |
| 67 | (x : C.label d) (hr : C.ref d ≤ m) (hm : m ≤ N) : |
| 68 | let T := C.factory d N p |
| 69 | let Z := C.labels.level d |
| 70 | Z.coeffSize (T.entries m (T.terminal.symm x)).x ≤ |
| 71 | Real.exp (columnLogs C.path.levels m) * Z.coeffSize x := by |
| 72 | intro T Z |
| 73 | induction m,hr using Nat.le_induction with |
| 74 | | base => |
| 75 | rw [show (T.entries (C.ref d) (T.terminal.symm x)).x = x from C.normalized h hm x] |
| 76 | exact le_mul_of_one_le_left (Finset.sum_nonneg fun _ _ => norm_nonneg _) |
| 77 | (Real.one_le_exp (columnLogs_nonneg _ _)) |
| 78 | | succ m hr ih => |
| 79 | have ht := h.calibrated d N p (hr.trans (le_trans (Nat.le_succ m) hm)) |
| 80 | have hpos : 0 < (C.path.levels.params (m+1)).columns := |
| 81 | lt_of_lt_of_le zero_lt_one (C.path.levels.params _).columns_ge |
| 82 | calc |
| 83 | _ ≤ (C.path.levels.params (m+1)).columns * Z.coeffSize (T.entries m (T.terminal.symm x)).x := |
| 84 | ht.back m hr hm _ |
| 85 | _ ≤ (C.path.levels.params (m+1)).columns * |
| 86 | (Real.exp (columnLogs C.path.levels m) * Z.coeffSize x) := |
| 87 | mul_le_mul_of_nonneg_left (ih (le_trans (Nat.le_succ m) hm)) hpos.le |
| 88 | _ = _ := by rw [columnLogs_succ, Real.exp_add, Real.exp_log hpos]; ring |
| 89 | |
| 90 | /-- Note the single cardinal factor (sup-norm vs the l1 budget). Uniform |
| 91 | in p and the vector in the ball, needs a fixed degree and radius only. -/ |
| 92 | theorem terminal_ball (C : Family G) (h : C.Makes) (d : ℕ) (A ε : ℝ) (he : 0 < ε) : |
| 93 | ∀ᶠ N in atTop, ∀ p, ∀ x : C.label d, ‖x‖ ≤ A → |
| 94 | ‖(C.factory d N p).terminal.symm x‖ ≤ Real.exp (ε * C.S.scale N) := by |
| 95 | let Z := C.labels.level d |
| 96 | have hc := columnLogs_le C.path.levels (ε/2) (half_pos he) |
| 97 | have hs : Tendsto (fun N => Real.exp ((ε/2) * C.S.scale N)) atTop atTop := |
| 98 | Real.tendsto_exp_atTop.comp (C.S.divergent.const_mul_atTop (half_pos he)) |
| 99 | filter_upwards [hc, hs.eventually_ge_atTop ((Fintype.card Z.Index:ℝ) * A), |
| 100 | eventually_ge_atTop (C.ref d)] with N hN ha hr |
| 101 | intro p x hx |
| 102 | let T := C.factory d N p |
| 103 | have hw : Z.coeffSize x ≤ Real.exp ((ε/2) * C.S.scale N) := calc |
| 104 | _ ≤ (Fintype.card Z.Index:ℝ) * ‖x‖ := by |
| 105 | simpa only [Labels.Frame.coeffSize, nsmul_eq_mul] using Pi.sum_norm_apply_le_norm (G := fun _ : Z.Index => ℂ) x |
| 106 | _ ≤ (Fintype.card Z.Index:ℝ) * A := mul_le_mul_of_nonneg_left hx (by positivity) |
| 107 | _ ≤ _ := ha |
| 108 | have hb : Z.coeffSize (T.terminal.symm x) ≤ Real.exp (columnLogs C.path.levels N) * Z.coeffSize x := by |
| 109 | have hk : Z.coeffSize (T.entries N (T.terminal.symm x)).x ≤ _ := |
| 110 | back_budget C h (p := p) x hr le_rfl |
| 111 | rw [show (T.entries N (T.terminal.symm x)).x = T.terminal.symm x from |
| 112 | (h.calibrated d N p hr).bare_coord _] at hk |
| 113 | exact hk |
| 114 | change ‖T.terminal.symm x‖ ≤ _ |
| 115 | have hnn : 0 ≤ Z.coeffSize x := Finset.sum_nonneg fun _ _ => norm_nonneg _ |
| 116 | calc |
| 117 | _ ≤ Z.coeffSize (T.terminal.symm x) := by |
| 118 | apply (pi_norm_le_iff_of_nonneg (show 0 ≤ Z.coeffSize (T.terminal.symm x) from |
| 119 | Finset.sum_nonneg fun _ _ => norm_nonneg _)).mpr |
| 120 | intro i |
| 121 | exact Finset.single_le_sum (fun _ _ => norm_nonneg _) (Finset.mem_univ i) |
| 122 | _ ≤ _ := hb.trans (calc |
| 123 | _ ≤ Real.exp ((ε/2) * C.S.scale N) * Real.exp ((ε/2) * C.S.scale N) := |
| 124 | mul_le_mul (Real.exp_le_exp.mpr hN) hw hnn (Real.exp_pos _).le |
| 125 | _ = _ := by rw [← Real.exp_add]; ring_nf) |
| 126 | |
| 127 | theorem answer : YM.Bid.D01 := by |
| 128 | intro G C h d F w hw ε he |
| 129 | obtain ⟨A,hA⟩ := hw |
| 130 | have hb := F.mesh.cofinal.eventually (terminal_ball C h d A ε he) |
| 131 | unfold Extraction.Order.late at hA ⊢ |
| 132 | filter_upwards [hA] with k hk |
| 133 | filter_upwards [hk, hb] with j hj hj' |
| 134 | exact hj' (F.per k) _ hj |
| 135 | |
| 136 | end YM.Work.D01 |