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.MergeProof.Ginger |
| 2 | |
| 3 | set_option autoImplicit false |
| 4 | noncomputable section |
| 5 | namespace YM.Merge.Spicy |
| 6 | open AnalyticBridge AnalyticBridge.VerifiedReset VerifiedReset.Time |
| 7 | open Lattice Wilson RG Geo Collection Quotes Residual Next.Scheduling |
| 8 | open scoped Topology Matrix.Norms.Frobenius ContDiff BigOperators Classical |
| 9 | variable (G : Gauge) (S : Stage) |
| 10 | open Push.AbsoluteSums |
| 11 | lemma lowSoft_exp {p : BudgetPoint} (h : Same S p) : summer p S.clip S.width S.paths ≤ summer (probe S) S.clip S.width S.paths *(1+p.B)^ (4:ℕ) := by |
| 12 | let a := S.supportExponent+2 |
| 13 | let C := (Fintype.card Signed:ℝ)*lowerSize S.clip S.paths |
| 14 | let e := S.width/8; have he : 0 < e := by have := S.width_pos; unfold e; positivity |
| 15 | have hC : 0 ≤ C := by have := S.clip.quadratic_pos; have := S.paths_pos; unfold C lowerSize; positivity |
| 16 | let D := Real.exp (a*lowCount)*C*1 * (e⁻¹^ (4:ℕ)*↑(4:ℕ).factorial * Real.exp e) * (1-Real.exp (-e))⁻¹ |
| 17 | have h : 0 ≤ D := by unfold D; have := sub_pos.mpr (Real.exp_lt_one_iff.mpr (neg_lt_zero.mpr he)); positivity |
| 18 | unfold summer Footprint.payment Footprint.degreeIncome |
| 19 | rw [‹Same S p›.2.2]; apply le_trans (b:=D * Footprint.spread 1 p.B) (le_of_eq ?_) |
| 20 | · calc |
| 21 | _ ≤ D * ((Footprint.spread 1 (probe S).B:ℝ)*(1+p.B)^ (4:ℕ)) := by |
| 22 | apply mul_le_mul_of_nonneg_left _ h |
| 23 | unfold Footprint.spread Animals.ballCost probe; dsimp; push_cast; rw [one_mul,show (81:ℝ)=3^4 by norm_num,← mul_pow] |
| 24 | gcongr; linarith |
| 25 | _ = _ := by unfold D; change _ = (Real.exp (a*lowCount)*_*1*_*(e⁻¹^ (4:ℕ)*_*Real.exp e)*(1-Real.exp (-e))⁻¹)*_; unfold C; ring |
| 26 | dsimp only [a,C,D,e]; ring |
| 27 | |
| 28 | lemma fruit_exp {p : BudgetPoint} (h : Same S p) {H : ℝ} (hH : 0 ≤ H) : |
| 29 | fruit G p H ≤ fruit G (probe S) 1 * (1+p.B)^ (4:ℕ) * H := by |
| 30 | have he : resetLoss G p = resetLoss G (probe S) := by |
| 31 | unfold resetLoss multiplier pairBill probe; dsimp; rw [h.1,h.2.1] |
| 32 | have ht := loss_pos G p |
| 33 | have hw : 0 ≤ 1 - Real.exp (-(1/2:ℝ)) := sub_nonneg.mpr (Real.exp_le_one_iff.mpr (by norm_num)) |
| 34 | unfold fruit Footprint.payment Footprint.degreeIncome |
| 35 | rw [h.2.2,← he]; dsimp only [probe] |
| 36 | let D := Real.exp ((S.supportExponent+2)*81)*resetLoss G p * ((1/2:ℝ)⁻¹^ (4:ℕ) * ↑(4:ℕ).factorial * Real.exp (1/2))*(1-Real.exp (-(1/2)))⁻¹ |
| 37 | have hd : 0 ≤ D := by unfold D; positivity |
| 38 | calc |
| 39 | _ = D*Footprint.spread 1 (4*p.B+2)*H := by dsimp [D]; ring |
| 40 | _ ≤ D*(Footprint.spread 1 (4*1+2)*(1+p.B)^ (4:ℕ))*H := by |
| 41 | gcongr D*?_ * H |
| 42 | unfold Footprint.spread Animals.ballCost; push_cast; rw [one_mul,show (28561:ℝ)=13^4 by norm_num,← mul_pow] |
| 43 | gcongr; linarith |
| 44 | _ = _ := by dsimp only [D]; ring |
| 45 | |
| 46 | lemma fruit_pos : 0 ≤ fruit G (probe S) 1 := by |
| 47 | have := loss_pos G (probe S); have h : 0 ≤ 1 - Real.exp (-(1/2:ℝ)) := sub_nonneg.mpr (Real.exp_le_one_iff.mpr (by norm_num)) |
| 48 | unfold fruit Footprint.payment Footprint.degreeIncome; positivity |
| 49 | |
| 50 | def endcap (U : ℝ) := fruit G (probe S) 1 + |
| 51 | ((U+1)*2+2⁻¹*pairBill G (probe S)) * summer (probe S) S.clip S.width S.paths |
| 52 | lemma opens_table {p : BudgetPoint} (h : Same S p) {α H U : ℝ} (hα : |α|≤U) (hH : 0 ≤ H) (ht : H ≤ p.threshold^2) : |
| 53 | opens G p S.clip S.width S.paths α H ≤ endcap G S U * (1+p.B)^ (4:ℕ) * p.threshold := by |
| 54 | have he : pairBill G p = pairBill G (probe S) := by unfold pairBill probe; dsimp only []; rw [h.1,h.2.1] |
| 55 | have hu : 0 ≤ U := (abs_nonneg _).trans hα |
| 56 | have hp := p.threshold_pos; have hP := p.threshold_le; have hr := pair_nonneg G p |
| 57 | have hx(p: BudgetPoint) : 0 ≤ summer p S.clip S.width S.paths:=by |
| 58 | let v:=S.width/8; have ht:0<v:=by unfold v; have :=S.width_pos; positivity |
| 59 | have hh:0 ≤ 1-Real.exp (-v):= sub_nonneg.mpr (Real.exp_le_one_iff.mpr (neg_nonpos.mpr ht.le)) |
| 60 | have hs:= S.clip.quadratic_pos; have ha:=S.paths_pos; unfold summer Footprint.payment Footprint.degreeIncome lowerSize; unfold v at *; positivity |
| 61 | have hy : 0 ≤ hitNeed p G α H := by unfold hitNeed; positivity |
| 62 | have hE := fruit_pos G S |
| 63 | have h1 : H ≤ p.threshold := by nlinarith |
| 64 | have hk : hitNeed p G α H ≤ ((U+1)*2+2⁻¹*pairBill G (probe S))*p.threshold := by |
| 65 | rw [hitNeed,← he]; linarith only [mul_le_mul_of_nonneg_right h1 hr, mul_le_mul_of_nonneg_right (add_le_add hα (div_le_one_of_le₀ ht (by positivity))) hp.le] |
| 66 | exact (add_le_add ((fruit_exp G S h hH).trans (mul_le_mul_of_nonneg_left h1 (by positivity))) |
| 67 | (mul_le_mul hk (Spicy.lowSoft_exp S h) (hx _) (hy.trans hk))).trans_eq |
| 68 | (by unfold endcap; ring) |
| 69 | end YM.Merge.Spicy |