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.Weight |
| 2 | import Mathlib.LinearAlgebra.Lagrange |
| 3 | /-! Width polynomial-price devices. Lagrange at *outer* real probing knots, avoids high power of the actual width radius. -/ |
| 4 | set_option autoImplicit false |
| 5 | noncomputable section |
| 6 | namespace YM.FullVolume.Ray |
| 7 | open Filter Function Set RG ConnectedActivityE6.Blaze Planned.AtomRegular Next.Foundations Polynomial Finset |
| 8 | open scoped Topology BigOperators NNReal ContDiff Polynomial |
| 9 | variable {k i n:ℕ} |
| 10 | def ink (k:ℕ) (f:ℝ → ℝ) := ∃ P: Polynomial ℝ, P.natDegree≤k ∧ ∀ t,f t=P.eval t |
| 11 | namespace ink |
| 12 | variable {a b:ℝ}{f g:ℝ→ℝ} |
| 13 | lemma rise (h:ink i f) (ht:i≤k):ink k f:=⟨h.choose,h.choose_spec.1.trans ht,h.choose_spec.2⟩ |
| 14 | lemma termC (c:ℝ): ink k (fun _=> c):=⟨C c,by simp,by simp⟩ |
| 15 | lemma straight (a b:ℝ):ink 1 (fun x=>a+b*x):= by |
| 16 | refine ⟨C a+C b*X, natDegree_add_le_of_degree_le ?_ ?_,?_⟩ -- naming |
| 17 | · simp |
| 18 | · exact (natDegree_mul_le).trans (by simp) |
| 19 | simp |
| 20 | lemma abreast (h : ink k f) (hz:ink k g):ink k (fun x=>f x+g x):=by |
| 21 | obtain ⟨F,hF,h⟩:=h; obtain ⟨G,hG,he⟩:=hz |
| 22 | exact ⟨F+G,natDegree_add_le _ _ |>.trans (max_le hF hG),fun x=> by dsimp only; rw [he,h,eval_add]⟩ |
| 23 | lemma docket (h:ink k f) (hv:ink i g): ink (k+i) (fun x=>f x*g x):=by |
| 24 | obtain ⟨F,hF,h⟩:=h; obtain ⟨G,hG,hh⟩:=hv; exact ⟨F*G,natDegree_mul_le.trans (Nat.add_le_add hF hG),fun x=>by dsimp only; rw [h,hh,eval_mul]⟩ |
| 25 | lemma scale (c:ℝ) (h:ink k f): ink k (fun x=> c*f x):=by simpa using (termC (k:=0) c).docket h |
| 26 | lemma collection {ι : Type*} (S : Finset ι) (f:ι→ℝ→ℝ) (h:∀ i∈S,ink k (f i)): ink k (fun x=> ∑ i∈S,f i x):= by |
| 27 | classical induction S using Finset.induction_on with |
| 28 | | empty => simpa using (termC (k:=k) 0) |
| 29 | | insert j s hj ih => simp_rw [sum_insert hj]; exact (h _ (mem_insert_self ..)).abreast (ih fun i hi=> h i (mem_insert_of_mem hi)) |
| 30 | lemma shift (h:ink k f) (a:ℝ):ink k (fun x=>f (a*x)):=by |
| 31 | obtain ⟨F,hF,h⟩:= h |
| 32 | exact ⟨F.comp (C a *X), natDegree_comp_le.trans ((Nat.mul_le_mul hF (show (C a*X).natDegree≤1 from natDegree_mul_le.trans (by simp))).trans_eq (mul_one _)),fun x=>by simp [h]⟩ |
| 33 | -- norm flight for any query at cost view `zeta/R`. basis maximum independent R |
| 34 | private def total (p:Polynomial ℝ):ℝ:=∑ k∈ range (p.natDegree+1),‖p.coeff k‖ |
| 35 | private lemma gallery (p:Polynomial ℝ) {R:ℝ} (hr:1≤R): Scout R (fun t=>p.eval (t/R)) (total p):=by |
| 36 | have hR:=zero_lt_one.trans_le hr |
| 37 | have hf:Scout R (fun t:ℝ=> t/R) 1:=by |
| 38 | have hh:= (Scout.line hr).scale R⁻¹; unfold id at hh |
| 39 | rw [norm_inv,Real.norm_of_nonneg hR.le,inv_mul_cancel₀ hR.ne'] at hh; exact hh.replace (fun i _=> by change R⁻¹*i=_; rw [mul_comm,(div_eq_mul_inv i R)]) |
| 40 | let f(k:ℕ) (t:ℝ):=p.coeff k*(t/R)^k |
| 41 | have hz(k:ℕ):Scout R (f k) ‖p.coeff k‖:=by |
| 42 | have ht:= (hf.power k).scale (p.coeff k); simp_rw [one_pow,mul_one] at ht; exact ht |
| 43 | exact (Scout.pieces _ f _ hr (fun k _=> hz k)).replace (fun t ht=> Eq.symm (eval_eq_sum_range' (lt_add_one _) _)) |
| 44 | variable {m : ℕ} (r:Fin (m+1) →ℝ) |
| 45 | abbrev lamp (i:Fin (m+1)) (t:ℝ) := (Lagrange.basis univ r i).eval t |
| 46 | def prices (i:Fin (m+1)):= total (Lagrange.basis univ r i) |
| 47 | def pay:=∑ i,prices r i |
| 48 | lemma price_pos (i:Fin (m+1)):0≤ prices r i := by unfold prices total; exact sum_nonneg fun _ _=> norm_nonneg _ |
| 49 | lemma pay_pos : 0≤ pay r:=sum_nonneg fun i _=> price_pos r i |
| 50 | lemma vitals (i : Fin (m+1)) {R} (hr:1 ≤ R): Scout R (fun t=>lamp r i (t/R)) (prices r i) := gallery _ hr |
| 51 | lemma tour (h: ink m f) (he: Injective r) (a:ℝ): f a=∑ i,f (r i)*lamp r i a:=by |
| 52 | obtain ⟨P,hp,h⟩:=h; simp_rw [h] |
| 53 | have ht:P.degree < ↑(Finset.univ (α:=Fin (m+1))).card:= by |
| 54 | apply lt_of_le_of_lt (degree_le_natDegree) (WithBot.coe_lt_coe.mpr _); simpa [Nat.lt_succ_iff] using hp -- nat coercion |
| 55 | conv => lhs; rw [Lagrange.eq_interpolate he.injOn ht, Lagrange.interpolate_apply] |
| 56 | rw [eval_finsetSum]; apply sum_congr rfl; simp [lamp] |
| 57 | lemma token (h:ink m f) (he: Injective r) {a} (ha : 0<a) (t:ℝ): f t=∑ i,f (a*r i)*lamp r i (t/a):=by |
| 58 | have hh:= tour r (shift h a) he (t/a); rwa [show a*(t/a)=t from by field_simp] at hh -- reduce |
| 59 | end ink |
| 60 | end YM.FullVolume.Ray |