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.Extra.WILSON_STARTUP.Author |
| 2 | import YM.Extra.WILSON_STARTUP.MixPay |
| 3 | |
| 4 | /-! # Startup grants for all marker arities under width control -/ |
| 5 | set_option autoImplicit false |
| 6 | noncomputable section |
| 7 | namespace YM.WilsonStartup.Mixture |
| 8 | open Function Filter RG Lattice Wilson Finset Overlay Source Mix Labels |
| 9 | open scoped Topology Matrix.Norms.Frobenius BigOperators |
| 10 | variable {G : Gauge} {n d : ℕ} {m : Side} {V : Type} {F : Frame G d} {S : SectionData F} |
| 11 | |
| 12 | def order (F : Frame G d) := max 1 (Mark.slotOrder F) |
| 13 | |
| 14 | def Cap (v : F.Coeff) (S : SectionData F) (C g w : ℝ) := |
| 15 | (w*F.coeffSize v) * (Mark.price S*C) ≤ g ^ order F |
| 16 | |
| 17 | lemma core_le (v : F.Coeff) : F.coeffSize (F.core v) ≤ F.coeffSize v := by |
| 18 | unfold Frame.core Frame.coeffSize; refine sum_le_sum fun i _ => ?_; by_cases hi : i=0 <;> simp [hi] |
| 19 | |
| 20 | lemma diameter_cost {b : BudgetPoint} (hr : Mark.diameter S ≤ b.B) (o : Site m) : coverNumber b.B (S.footprint o) ≤ 5^4 := by |
| 21 | refine (Lattice.Corona.cover_mono (X:=pad b o) ?_ _).trans (Start.pad_cost o) |
| 22 | intro x hx |
| 23 | rw [mem_pad, separation_comm] |
| 24 | obtain ⟨y,hy,rfl⟩ := mem_image.mp hx |
| 25 | rw [separation,add_sub_cancel_right] |
| 26 | apply le_trans (b:=Mark.diameter S) _ (by omega) |
| 27 | exact Finset.sup_le fun i hi => (Lattice.Corona.lap ..).trans ((le_sup (f:=fun j : Axis => (y j).natAbs) hi).trans (le_sup |
| 28 | (f:=fun y : Cover => Finset.univ.sup fun j => (y j).natAbs) hy)) |
| 29 | |
| 30 | def excess (b : BudgetPoint) := Start.overhead b * ((b.order+1:ℕ):ℝ) |
| 31 | |
| 32 | lemma fitted {b : BudgetPoint} (o : V → Site m) (v : V → F.Coeff) {w C g : ℝ} (hC : 1 ≤ C) |
| 33 | (hg : 0 < g) (h : g ≤ b.threshold) (he : g * excess b ≤ 1) (hw : 0 < w) (hc : ∀ i, Cap (v i) S C g w) |
| 34 | (hD : Mark.diameter S ≤ b.B) (ht : Bid.Credit S b.order b.power C) : DataCost S o b v C w := by |
| 35 | let k := Mark.slotOrder F |
| 36 | let l := order F |
| 37 | have hg' := h.trans b.threshold_le |
| 38 | let c := fun i => w * F.coeffSize (v i) * (Mark.price S * C) |
| 39 | have hc' (i) : w * F.coeffSize (v i) * (Mark.price S * C) ≤ g^l := hc i |
| 40 | have hx := Mark.price_ge_one S |
| 41 | have h1 := pow_le_pow_of_le_one hg.le hg' (show 1 ≤ l from le_max_left ..) |
| 42 | rw [pow_one] at h1 |
| 43 | have hb := pow_le_pow_of_le_one hg.le hg' (show k ≤ l from le_max_right ..) |
| 44 | have hi (i) := core_le (v i) |
| 45 | have hn (i) := Mark.coeff_nn (F.core (v i)) |
| 46 | have hz (i) : w*F.coeffSize (F.core (v i))*C ≤ g^l := by |
| 47 | refine le_trans ?_ (hc' i) |
| 48 | have := Mark.coeff_nn (v i) |
| 49 | gcongr |
| 50 | · exact hi i |
| 51 | exact le_mul_of_one_le_left (zero_le_one.trans hC) hx |
| 52 | refine ⟨zero_le_one.trans hC,ht,hw, fun i => le_trans ?_ ((hc' i).trans (h1.trans hg')), fun i => ?_, fun i => ?_⟩ |
| 53 | · refine le_trans (b:=w*F.coeffSize (v i)) ?_ (le_mul_of_one_le_right (mul_nonneg hw.le (Mark.coeff_nn ..)) (one_le_mul_of_one_le_of_one_le hx hC)) |
| 54 | gcongr; exact single_le_sum (fun j _ => norm_nonneg (v i j)) (mem_univ 0) |
| 55 | · calc |
| 56 | _ = Real.exp (b.supportExponent * coverNumber b.B (S.footprint (o i))) * ((b.order+1:ℕ):ℝ) * (w*F.coeffSize (F.core (v i))*C) := by unfold ink BudgetPoint.mass; ring |
| 57 | _ ≤ excess b * g := by |
| 58 | unfold excess Start.overhead |
| 59 | have hI := hn i |
| 60 | have := b.exponent_pos; gcongr |
| 61 | · exact_mod_cast diameter_cost hD (o i) |
| 62 | · exact (hz i).trans h1 |
| 63 | _ ≤ 1 := by rwa [mul_comm] |
| 64 | · have hr : 0 ≤ b.threshold⁻¹^k := by have := b.threshold_pos; positivity |
| 65 | calc |
| 66 | _ = b.threshold⁻¹^k * ((w*F.coeffSize (F.core (v i))) * Mark.price S) := by unfold fullCost Mark.scale; ring |
| 67 | _ ≤ b.threshold⁻¹^k * c i := by |
| 68 | have := Mark.coeff_nn (v i) |
| 69 | unfold c; gcongr |
| 70 | · exact hi i |
| 71 | exact le_mul_of_one_le_right (zero_le_one.trans hx) hC |
| 72 | _ ≤ b.threshold⁻¹^k * b.threshold^k := mul_le_mul_of_nonneg_left ((hc i).trans (hb.trans (pow_le_pow_left₀ hg.le h k))) hr |
| 73 | _ = _ := by simp [b.threshold_pos.ne'] |
| 74 | |
| 75 | structure Extras (a : Levels G) (N : ℕ) : Prop where |
| 76 | size : 8 ≤ a.clock.coverSize N |
| 77 | overhead : a.clock.hatCoupling N * excess (a.budget N) ≤ 1 |
| 78 | packets : ∃ σ κ γ, Start.Loan (Start.expand (a.budget N)) (a.clock.hatBeta N / 2) σ κ γ ∧ Bid.quote κ (Real.exp γ-1) ≤ 1/2 |
| 79 | |
| 80 | lemma afford (G : Gauge) (A : Stage) : ∀ᶠ x : ℝ in atTop, ∀ a : Levels G, ∀ N, |
| 81 | a.params N=A → a.clock.hatBeta N=x → Extras a N := by |
| 82 | have H := (Timing.shrinking.mul_const (Real.exp (A.supportExponent *5^4)*((A.order+1:ℕ):ℝ))).eventually (ge_mem_nhds (by simp : 0*_<(1:ℝ))) |
| 83 | have ht : ∀ᶠ s in atTop, Timing.normK s ≤ 1/2 := by |
| 84 | refine Eventually.of_forall fun s => ?_ |
| 85 | have hx : 1 ≤ Real.exp ((Real.log s)^2/5) := Real.one_le_exp (by positivity) |
| 86 | rw [Timing.normK,Real.exp_neg, one_div]; refine (inv_le_inv₀ (by positivity) (by norm_num)).mpr ((by linarith only [Real.add_one_le_exp 1] : (2:ℝ) ≤ Real.exp 1).trans |
| 87 | (Real.exp_le_exp.mpr hx)) |
| 88 | filter_upwards [Real.tendsto_log_atTop.eventually (Timing.nballs.eventually_ge_atTop 8), Real.tendsto_log_atTop.eventually H, |
| 89 | Real.tendsto_log_atTop.eventually ht, Real.tendsto_log_atTop.eventually (Timing.loan (A.supportExponent+8)), eventually_gt_atTop (0:ℝ)] with x h1 h2 h3 h4 hx a N ha hN |
| 90 | let s := Real.log x; let b := Start.expand (a.budget N) |
| 91 | have hb : a.clock.coverSize N = Timing.balls s := congr_arg (fun x => Timing.balls (Real.log x)) hN |
| 92 | have hp : a.clock.hatCoupling N = Real.exp (-(s/2)) := by |
| 93 | unfold Calendar.hatCoupling; rw [hN,Real.exp_neg,Real.sqrt_eq_rpow,Real.rpow_def_of_pos hx]; unfold s; ring_nf |
| 94 | obtain ⟨hh,hμ⟩ := h4 b (by |
| 95 | dsimp only [b,Start.expand,Levels.budget,Calendar.threshold,Calendar.monitor,Timing.temp] |
| 96 | rw [hp,Real.exp_add]; unfold s; rw [hN]) hb (congr_arg (fun p : Stage => p.supportExponent + 8) ha) |
| 97 | rw [Real.exp_log hx] at hh |
| 98 | nth_rw 1 [← hN] at hh |
| 99 | refine ⟨hb ▸ h1, le_trans ?_ h2,_,_,_,hh,hμ.trans h3⟩ |
| 100 | rw [hp]; change Real.exp (-(s/2)) * (Real.exp ((a.params N).supportExponent*5^4) * _) ≤ _ |
| 101 | dsimp only [Levels.budget]; rw [ha]; unfold Timing.temp; gcongr |
| 102 | unfold s; linarith [sq_nonneg (Real.log (Real.log x))] |
| 103 | end YM.WilsonStartup.Mixture |