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.TraceExtension.LogScaling |
| 2 | import Mathlib.Analysis.SpecialFunctions.Pow.Asymptotics |
| 3 | |
| 4 | /-! Finite-order polylogarithmic expansion tools. Signed integer powers of s, |
| 5 | *nonnegative* integer powers of log. -/ |
| 6 | set_option autoImplicit false |
| 7 | noncomputable section |
| 8 | namespace YM.TraceExtension.Wick |
| 9 | open Set Filter Function Asymptotics |
| 10 | open scoped Topology BigOperators Classical |
| 11 | |
| 12 | abbrev past := 𝓝[>] (0:ℝ) |
| 13 | lemma mostly : ∀ᶠ s in past, 0<s ∧ s<1 := by |
| 14 | filter_upwards [self_mem_nhdsWithin,(gt_mem_nhds (show 0<(1:ℝ) from zero_lt_one)).filter_mono nhdsWithin_le_nhds] with k hk hv using ⟨hk,hv⟩ |
| 15 | |
| 16 | /-- Ensure global multiplication rule -/ |
| 17 | def fill (x : ℝ) := if 0<x then x else 1 |
| 18 | lemma fill_away (x : ℝ) : fill x≠ 0 := by unfold fill; split; positivity; norm_num |
| 19 | lemma fill_at {x : ℝ} (h : 0<x) : fill x=x := if_pos h |
| 20 | |
| 21 | def tile (a : ℤ) := fun x=> fill x ^ a |
| 22 | def joint (a : ℤ) (k : ℕ) := fun x=> tile a x * Real.log (fill x)^k |
| 23 | def board := Submodule.span ℝ {f:ℝ→ℝ | ∃ a k, f= joint a k} |
| 24 | lemma jointBoard (a k) : joint a k ∈ board := Submodule.subset_span (show ∃ _ _, _ from ⟨a,k,rfl⟩) |
| 25 | lemma tileBoard (a) : tile a ∈ board := by |
| 26 | convert jointBoard a 0 using 1; ext1 x; simp [joint] |
| 27 | lemma one_board : (1:ℝ→ℝ)∈ board := by convert tileBoard 0 using 1; ext x; simp [tile] |
| 28 | lemma joinTiles (a b : ℤ) : tile (a+b)= tile a*tile b := funext fun x=> zpow_add₀ (fill_away x) a b |
| 29 | lemma board_mul (f g : ℝ→ℝ) (h : f∈board) (k : g∈board) : f*g∈board := by |
| 30 | unfold board at h k |
| 31 | induction h using Submodule.span_induction with |
| 32 | | mem t ht => |
| 33 | rcases ht with ⟨a,v,rfl⟩ |
| 34 | induction k using Submodule.span_induction with |
| 35 | | mem r hr=> |
| 36 | rcases hr with ⟨b,w,rfl⟩ |
| 37 | rw [show joint a v*joint b w=joint (a+b) (v+w) by ext; simp only [joint, joinTiles,pow_add,Pi.mul_apply]; ring]; exact jointBoard _ _ |
| 38 | | zero=> rw [mul_zero]; exact board.zero_mem |
| 39 | | add x y _ _ hx hy=> rw [mul_add]; exact board.add_mem hx hy |
| 40 | | smul t x _ hx=> rw [mul_smul_comm]; exact board.smul_mem _ hx |
| 41 | | zero=> rw [zero_mul]; exact board.zero_mem |
| 42 | | add x y _ _ hx hy=> rw [add_mul]; exact board.add_mem hx hy |
| 43 | | smul t x _ hx=> rw [smul_mul_assoc]; exact board.smul_mem _ hx |
| 44 | |
| 45 | /-- expansion at order integer k possibly diverging -/ |
| 46 | def AtOrder (f : ℝ→ℝ) (k : ℤ) := ∃ g∈board,(f-g) =O[past] tile k |
| 47 | def Expands (f : ℝ→ℝ) := ∀ i : ℤ, AtOrder f i |
| 48 | |
| 49 | lemma tile_cost {a b : ℤ} (h : a≤b) : tile b =O[past] tile a := by |
| 50 | apply isBigO_iff.mpr; refine ⟨1,?_⟩; filter_upwards [mostly] with x hx |
| 51 | unfold tile; rw [fill_at hx.1,one_mul,Real.norm_of_nonneg (zpow_nonneg hx.1.le b),Real.norm_of_nonneg (zpow_nonneg hx.1.le a)]; exact zpow_le_zpow_right_of_le_one₀ hx.1 hx.2.le h |
| 52 | lemma cost_mul {a b : ℤ} {f g : ℝ→ℝ} (h : f=O[past] tile a) (k : g=O[past] tile b) : (f*g)=O[past] tile (a+b) := by rw [joinTiles]; exact h.mul k |
| 53 | lemma allows {f : ℝ→ℝ} {a b : ℤ} (h : a≤b) : AtOrder f b → AtOrder f a := by rintro ⟨x,y,hx⟩; exact ⟨x,y,hx.trans (tile_cost h)⟩ |
| 54 | lemma board_bound (f) (h : f∈board) : ∃ i : ℤ, f=O[past] tile i := by |
| 55 | unfold board at h |
| 56 | induction h using Submodule.span_induction with |
| 57 | | mem t ht=> |
| 58 | obtain ⟨a,v,rfl⟩:=ht |
| 59 | refine ⟨a+ -(v:ℤ), cost_mul (tile_cost (le_refl a)) ?_⟩ |
| 60 | apply isBigO_iff.mpr; refine ⟨1,?_⟩; filter_upwards [mostly] with x hx |
| 61 | unfold tile; rw [fill_at hx.1, Real.norm_eq_abs,← pow_abs |
| 62 | ]; have he : |Real.log x| ≤ x⁻¹ := by |
| 63 | rw [abs_of_nonpos (Real.log_nonpos hx.1.le hx.2.le),← Real.log_inv]; exact Real.log_le_self (inv_pos.mpr hx.1).le |
| 64 | calc _ ≤ (x⁻¹)^v := pow_le_pow_left₀ (abs_nonneg _) he _ |
| 65 | _ = _ := by rw [one_mul,Real.norm_of_nonneg (zpow_nonneg hx.1.le _),zpow_neg, zpow_natCast, inv_pow] |
| 66 | | zero=> exact ⟨0,isBigO_of_le _ fun x=> (by change ‖(0:ℝ)‖ ≤ _; simp)⟩ |
| 67 | | add x y _ _ H K=> |
| 68 | obtain ⟨a,ha⟩:=H; obtain ⟨b,hb⟩:=K; exact ⟨min a b,(ha.trans (tile_cost (min_le_left ..))).add (hb.trans (tile_cost (min_le_right ..)))⟩ |
| 69 | | smul t x _ h=> obtain ⟨a,h⟩:=h; exact ⟨a,h.const_mul_left t⟩ |
| 70 | |
| 71 | lemma cost_order {f : ℝ→ℝ} {k : ℤ} (h : f=O[past] tile k) : AtOrder f k := ⟨0,board.zero_mem,by rwa [sub_zero]⟩ |
| 72 | lemma own {f : ℝ→ℝ} (h : f∈board) : Expands f := fun i=> ⟨f,h,isBigO_of_le _ fun _=> by simp⟩ |
| 73 | lemma AtOrder.plus {f g} {k} (h : AtOrder f k) (p : AtOrder g k) : AtOrder (f+g) k := by |
| 74 | obtain ⟨x,y,hx⟩:=h; obtain ⟨z,w,hz⟩:=p |
| 75 | exact ⟨x+z,board.add_mem y w, (show f+g-(x+z)=f-x+(g-z) by abel).symm ▸ hx.add hz⟩ |
| 76 | lemma AtOrder.scale {f k} (h : AtOrder f k) (t : ℝ) : AtOrder (t • f) k := by |
| 77 | obtain ⟨x,p,hx⟩:=h; exact ⟨t • x,board.smul_mem t p, by rw [← smul_sub]; exact hx.const_mul_left t⟩ |
| 78 | lemma AtOrder.shift {f k} (h : AtOrder f k) (a : ℤ) : AtOrder (tile a*f) (a+k) := by |
| 79 | obtain ⟨x,p,hx⟩:=h; exact ⟨tile a*x,board_mul _ _ (tileBoard a) p,by rw [← mul_sub]; exact cost_mul (tile_cost le_rfl) hx⟩ |
| 80 | lemma AtOrder.upon {f g k} (h : AtOrder f k) (p : f=ᶠ[past] g) : AtOrder g k := by |
| 81 | obtain ⟨x,y,h⟩:=h; exact ⟨x,y,h.congr' (p.sub (Filter.EventuallyEq.refl _ _)) EventuallyEq.rfl⟩ |
| 82 | lemma Expands.plus {f g : ℝ→ℝ} (h : Expands f) (p : Expands g) : Expands (f+g) := fun _=> AtOrder.plus (h _) (p _) |
| 83 | lemma Expands.scale {f : ℝ→ℝ} (h : Expands f) (t : ℝ) : Expands (t • f) := fun _=> AtOrder.scale (h _) t |
| 84 | lemma Expands.bound {f : ℝ→ℝ} (h : Expands f) : ∃ i:ℤ, f=O[past] tile i := by |
| 85 | obtain ⟨x,y,h⟩:= h 0; obtain ⟨k,hk⟩ := board_bound x y |
| 86 | refine ⟨min k 0,?_⟩; have he : (f-x+x)=O[past] tile (min k 0) := (h.trans (tile_cost (min_le_right ..))).add (hk.trans (tile_cost (min_le_left ..))) |
| 87 | rwa [sub_add_cancel] at he |
| 88 | lemma Expands.mult {f g} (h : Expands f) (p : Expands g) : Expands (f*g) := by |
| 89 | intro i |
| 90 | obtain ⟨l,hl⟩ := p.bound; obtain ⟨x,hx,hM⟩ := h (i-l) |
| 91 | obtain ⟨u,U⟩ := board_bound x hx; obtain ⟨y,hy,hN⟩:= p (i-u) |
| 92 | have hp : f*g-x*y=(f-x)*g+x*(g-y) := by ring |
| 93 | refine ⟨x*y,board_mul _ _ hx hy,by |
| 94 | rw [hp]; exact (show ((f-x)*g)=O[past] tile i by simpa only [sub_add_cancel] using cost_mul hM hl).add (show (x*(g-y))=O[past] tile i by simpa only [add_sub_cancel] using cost_mul U hN)⟩ |
| 95 | end YM.TraceExtension.Wick |