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.FullVolume.Ray.Gain |
| 2 | import Mathlib.Analysis.SpecialFunctions.Exponential |
| 3 | /-! Scout algebra. real line aperture. Absolute costs. -/ |
| 4 | set_option autoImplicit false |
| 5 | noncomputable section |
| 6 | namespace YM.FullVolume.Ray.Scout |
| 7 | open Filter Function RG Push.AbsoluteSums Finset |
| 8 | open scoped Topology BigOperators NNReal ENNReal ContDiff |
| 9 | variable {a v p c d : ℝ} {f g : ℝ → ℝ} {s:ℕ→ℝ} |
| 10 | lemma multiplies (h:Scout p f c) (hv : Scout p g d): Scout p (fun i=>f i*g i) (c*d):=by |
| 11 | obtain ⟨hp,b,hb,hk⟩:=h; obtain ⟨r,hr,he⟩:=hv.scored |
| 12 | let F (b r:ℕ→ℝ) n:=∑ x∈antidiagonal (n:ℕ),b x.1*r x.2 |
| 13 | have hs (b r:ℕ→ℝ) (h:Summable (fun i=> ‖b i‖)) (hv:Summable (fun i=>‖r i‖)):HasSum (F b r) ((∑' i,b i)*∑' i,r i):=by |
| 14 | rw [tsum_mul_tsum_eq_tsum_sum_antidiagonal_of_summable_norm h hv] |
| 15 | exact (summable_norm_sum_mul_antidiagonal_of_summable_norm h hv).of_norm.hasSum |
| 16 | refine ⟨hp,F b r,?_,fun i hi=>?_⟩ |
| 17 | · let u n:= ‖b n‖; let v n:= ‖r n‖; have hu:0≤u:=fun _=>norm_nonneg _; have ht:0≤v:=fun _=>norm_nonneg _ |
| 18 | have hP := hs u v ((show Summable u from hb.2.1).norm) ((show Summable v from hr.2.1).norm) |
| 19 | have hx: SumBudget (F u v) (c*d):= ⟨fun n=> Finset.sum_nonneg (fun i _=> mul_nonneg (hu _) (ht _)), hP.summable, hP.tsum_eq.trans_le (mul_le_mul hb.2.2 hr.2.2 (tsum_nonneg ht) ((tsum_nonneg (g:=u) hu).trans hb.2.2))⟩ |
| 20 | refine budget_mono hx (fun i=>norm_nonneg _) (fun i=>(norm_sum_le ..).trans ?_) |
| 21 | unfold F; exact (Finset.sum_le_sum fun x _=> (norm_mul ..).le) |
| 22 | let z:=i/p |
| 23 | let u n:= z^n • b n; let v n:= z^n • r n |
| 24 | have hz: ‖z‖≤1:=ratio_le hp hi |
| 25 | have h:=hs u v (at_flight z hz hb).2.1 (at_flight z hz hr).2.1 |
| 26 | change HasSum (fun n=> z^n • _) (f i*g i); rw [← (show HasSum u (f i) from hk _ hi).tsum_eq, ← (show HasSum v (g i) from he _ hi).tsum_eq] |
| 27 | refine h.congr_fun fun n=> ?_; simp only [smul_eq_mul,F, Finset.mul_sum]; apply sum_congr rfl; intro j hj |
| 28 | dsimp only [u,v,smul_eq_mul]; rw [← mem_antidiagonal.mp hj,pow_add]; ring |
| 29 | lemma power (h:Scout p f c) (k:ℕ):Scout p (fun t=> f t^k) (c^k):=by |
| 30 | induction k with |
| 31 | | zero => simpa using still h.ray (1:ℝ) |
| 32 | | succ k ih => simpa only [pow_succ] using ih.multiplies h |
| 33 | section infinite |
| 34 | variable {ι : Type*} {E:Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E] |
| 35 | lemma infinite {a:ι→ℝ} {g:ι→ℝ→E} (h:SumBudget a c) (hp:1≤p) (hv:∀ i,Scout p (g i) (a i)): Scout p (fun t=>∑' i,g i t) c:=by |
| 36 | choose f b hf using fun i=>(hv i).scored |
| 37 | let t n:=∑' i, f i n |
| 38 | let F(i:ι × ℕ):= ‖f i.1 i.2‖; have hF:0≤ F:=fun _=> norm_nonneg _ |
| 39 | let u i:=∑' n,F (i,n); have hu:0≤u:=fun i=> tsum_nonneg fun n=> hF _ |
| 40 | have ha := budget_mono h (f:=a) (g:=u) hu (fun i=>(b i).2.2) |
| 41 | have hK : Summable F:= (summable_prod_of_nonneg hF).2 ⟨fun i=>(b i).2.1,ha.2.1⟩ |
| 42 | let R:=Equiv.prodComm ℕ ι; let v : ℕ×ι→ℝ:=F ∘ R; have hU:Summable v:= R.summable_iff.2 hK; have ht i:=hU.prod_factor i |
| 43 | have he n: ‖t n‖≤ ∑' i, v (n,i):= norm_tsum_le_tsum_norm (ht n) |
| 44 | refine ⟨hp,t,budget_mono (budget_loosen ?_ (show ∑' i,u i≤c from ha.2.2)) (fun n=>norm_nonneg _) he,?_⟩ |
| 45 | · exact ⟨fun n=> tsum_nonneg (fun i=> hF _), hU.prod, le_of_eq (hU.tsum_prod.symm.trans ((R.tsum_eq F).trans hK.tsum_prod))⟩ |
| 46 | intro x hx |
| 47 | let q (i:ℕ×ι):= (x/p)^i.1 • f i.2 i.1 |
| 48 | have hq:Summable q:= hU.of_norm_bounded fun i=> by |
| 49 | unfold q; rw [norm_smul]; apply mul_le_of_le_one_left (norm_nonneg _); rw [Real.norm_eq_abs, abs_pow]; exact pow_le_one₀ (abs_nonneg _) (ratio_le hp hx) (n:=i.fst) -- simp |
| 50 | have hL:= R.symm.summable_iff (f:=q)|>.2 hq |
| 51 | have hh:∑' i:ℕ × ι, q i=∑' i,g i x:= by |
| 52 | refine Eq.trans (R.symm.tsum_eq q).symm (hL.tsum_prod.trans ?_); apply tsum_congr; intro i; exact (hf i x hx).tsum_eq |
| 53 | rw [hq.tsum_prod] at hh; rw [← hh] |
| 54 | apply hq.prod.hasSum.congr_fun; intro i; unfold q t; dsimp only |
| 55 | rw [Summable.tsum_const_smul ..]; exact (ht _).of_norm |
| 56 | end infinite |
| 57 | |
| 58 | lemma blaze_bill (x : ℝ) : ∑' i:ℕ,x^(i+1) / ((i+1).factorial:ℝ) = Real.exp x-1:=by |
| 59 | rw [Real.exp_eq_exp_ℝ, NormedSpace.exp_eq_tsum_div]; dsimp only |
| 60 | rw [← Summable.sum_add_tsum_nat_add 1 (Real.summable_pow_div_factorial x)]; simp |
| 61 | lemma burn (h:Scout p f c): Scout p (fun i=> Real.exp (f i)-1) (Real.exp c -1):=by |
| 62 | have hr:=h.nonneg; let a(i:ℕ):= c^(i+1) / ((i+1).factorial:ℝ); let g (i:ℕ) t:= f t^(i+1) / ((i+1).factorial:ℝ) |
| 63 | refine (infinite (ι:=ℕ) (g:=g) (a:=a) ⟨fun i=>by unfold a; positivity,(summable_nat_add_iff 1).2 (Real.summable_pow_div_factorial _), (blaze_bill _).le⟩ h.ray ?_).replace fun i _=>blaze_bill _ |
| 64 | intro i; let q:= ((i+1).factorial:ℝ)⁻¹; have hp := (h.power (i+1)).scale q; refine (hp.enlarged ?_).replace (fun i hi=> ?_) |
| 65 | · change _ ≤ a i; unfold q a; rw [norm_inv,Real.norm_of_nonneg (Nat.cast_nonneg _) ,div_eq_mul_inv,mul_comm] |
| 66 | unfold q g; dsimp only; rw [smul_eq_mul,div_eq_mul_inv,mul_comm] |
| 67 | lemma ignite (h:Scout p f c):Scout p (fun i=> Real.exp (f i)) (Real.exp c):=by |
| 68 | have hp := (h.burn).pair (still h.ray (1:ℝ)); simpa using hp |
| 69 | end YM.FullVolume.Ray.Scout |