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.Work.B15 |
| 2 | |
| 3 | |
| 4 | /-! |
| 5 | # A site tiling sufficient for the shell comparisons |
| 6 | |
| 7 | Exterior at grid level k (points on that grid), tiling side a_k. Choose |
| 8 | seam aligned one level finer, separating EVEN with exterior on the grid faces |
| 9 | of the unshifted tiling. Works for arbitrarily large block ratios, all allowed |
| 10 | periods (only occupancy needs a long period). |
| 11 | -/ |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | namespace YM.Next.UVStress |
| 15 | open Set Function Filter Analysis Extraction Around Lattice Wilson Cells |
| 16 | open scoped Topology ContDiff BigOperators |
| 17 | variable {G : Gauge} {C : Family G} {F : Extraction.Order} |
| 18 | |
| 19 | lemma sparse (S : Schedule) (k : ℕ) {ι : Type*} [Finite ι] (f : ι → Cover) (hf : Injective f) : |
| 20 | ∀ᶠ p : ℕ in atTop, Injective ((wrap (S.side k p)) ∘ f) := by |
| 21 | have hp (j : Axis) (x : Cover) : ∀ᶠ p in atTop, -( (S.side k p).val : ℤ)< 2*x j ∧ 2*x j ≤ (S.side k p).val := by |
| 22 | filter_upwards [S.period_strict.tendsto_atTop.eventually (eventually_gt_atTop ((2*x j).natAbs))] with p hp |
| 23 | have he : (2*x j).natAbs < (S.side k p).val := |
| 24 | hp.trans_le (Nat.le_mul_of_pos_right _ (S.denominator k).property) |
| 25 | omega |
| 26 | filter_upwards [eventually_all.mpr fun i => eventually_all.mpr fun j => hp j (f i)] with p hp i j he |
| 27 | exact hf (Lattice.wrap_injOn _ (hp i) (hp j) he) |
| 28 | |
| 29 | lemma large_mesh (F : Extraction.Order) (k : ℕ) : ∀ᶠ i in F.fuse,k ≤ i.1 := by |
| 30 | rw [Order.fused,Order.late]; exact Eventually.of_forall (fun _ : ℕ => F.mesh.cofinal.eventually (eventually_ge_atTop k)) |
| 31 | |
| 32 | |
| 33 | |
| 34 | def terrace (S : Schedule) (k : ℕ) {N : ℕ} (h : k+1≤N) (p : ℕ) : Tiling (S.side N p) := |
| 35 | let b := Cells.span S h p*((S.block k).val/2) |
| 36 | { period := S.side k p |
| 37 | units := S.toDepth ((Nat.le_succ k).trans h) p, kind:=.site |
| 38 | widthHalf := Cells.half S k p |
| 39 | even := Cells.original S k p |
| 40 | base := fun _ => -(b : Per (S.side N p)) } |
| 41 | |
| 42 | lemma base_coarse (S : Schedule) {N p : ℕ} (k) (h : k+1≤N) : |
| 43 | (terrace S k h p).base=location S (k+1) N p (fun _ => -(↑((S.block k).val / 2):ℤ)) := by |
| 44 | funext i |
| 45 | rw [location,dif_pos h,Ratio.embed_wrap] |
| 46 | change -((Cells.span S h p*((S.block k).val/2):ℕ):Per (S.side N p)) = |
| 47 | (((Cells.span S h p • (-(↑((S.block k).val / 2):ℤ))) : ℤ) : Per (S.side N p)) |
| 48 | rw [nsmul_eq_mul, Nat.cast_mul, Int.cast_mul, Int.cast_natCast, Int.cast_neg,Int.cast_natCast,mul_neg] |
| 49 | |
| 50 | lemma buffered (S : Schedule) (k : ℕ) {N : ℕ} (h : k+1≤N) (p : ℕ) (x : Cover) : |
| 51 | let T := terrace S k h p |
| 52 | location S k N p x ∈ T.margin (Lattice.wrap (S.side k p) x) (T.side.val/3) := by |
| 53 | intro T; let t := location S k N p x |
| 54 | let v : T.Cell := Lattice.wrap _ x |
| 55 | let L := (S.block k).val |
| 56 | let m := Cells.span S h p |
| 57 | have hL : 3≤L:=S.block_large _ |
| 58 | have hT : T.side.val=m*L := Work.B15.count_trans (S.toDepth h p) (S.oneStep k p) _ |
| 59 | have hm : 0<m := (S.toDepth h p).count.property |
| 60 | let b := m*(L/2) |
| 61 | have hu : 3*b ≥ m*L := by |
| 62 | have hx : L ≤ 3*(L/2) := by omega |
| 63 | dsimp [b]; nlinarith |
| 64 | have hv : 2*b ≤ m*L := by |
| 65 | have hx : 2*(L/2) ≤ L := by omega |
| 66 | dsimp [b]; nlinarith |
| 67 | have hp : 0 < T.side.val := T.side.property |
| 68 | have he : t=T.units.root v := by unfold t; rw [location,dif_pos ((Nat.le_succ k).trans h)]; rfl |
| 69 | have hz i : T.coordinated v t i=b := by |
| 70 | have ht : t i-T.starts v i = (b : Per (S.side N p)) := by |
| 71 | unfold Tiling.starts; rw [he]; change _-(-(b : Per _)+_)=_; abel |
| 72 | unfold Tiling.coordinated; rw [ht]; exact ZMod.val_natCast_of_lt ((show b<T.side.val by omega).trans T.narrow) |
| 73 | refine ⟨fun i => ?_,fun i => ?_⟩ |
| 74 | · change 0 < T.coordinated v t i ∧ T.coordinated v t i < _ |
| 75 | rw [hz]; omega |
| 76 | change T.side.val/3≤T.coordinated v t i ∧ T.coordinated v t i+T.side.val/3+0 ≤ T.side.val |
| 77 | rw [hz]; omega |
| 78 | |
| 79 | /-- `Span` is independent of the period index. -/ |
| 80 | def pushSite (S : Schedule) {m N : ℕ} (h : m ≤ N) (p : Cover) : Cover := Cells.span S h 0 • p |
| 81 | |
| 82 | lemma location_down (S : Schedule) {m N l : ℕ} (h : m≤N) (he : N≤l) (p : Cover) (r : ℕ) : |
| 83 | location S N l r (pushSite S h p)=location S m l r p := by |
| 84 | unfold location; rw [dif_pos he,dif_pos (h.trans he),Ratio.embed_wrap,Ratio.embed_wrap] |
| 85 | change wrap _ (Cells.span S he r • (Cells.span S h r • p))= _ |
| 86 | rw [smul_smul]; congr 2 |
| 87 | exact (Work.B15.count_trans (S.toDepth he r) (S.toDepth h r) (S.toDepth (h.trans he) r)).symm |
| 88 | |
| 89 | lemma finer (S : Schedule) {m N : ℕ} (h : m≤N) (v : Cover) : |
| 90 | S.gridPoint N (pushSite S h v)=S.gridPoint m v := by |
| 91 | ext i; simp only [Schedule.gridPoint,WithLp.ofLp_toLp,pushSite,Pi.smul_apply,nsmul_eq_mul,Int.cast_mul,Int.cast_natCast] |
| 92 | rw [← mul_assoc]; exact congr_arg (fun z : ℝ => z * _) (S.embeds_scale (S.toDepth h 0)) |
| 93 | |
| 94 | -- Need only the expanding half of imageBudget, not CenteredBook.each |
| 95 | |
| 96 | private lemma growing (H : CellHyp C F) (x : C.book.Token) : |
| 97 | ∀ᶠ m in atTop, ∃ A : ℝ, 0≤A ∧ F.late (centeredBudget C x A m) := by |
| 98 | rcases x with ⟨d,v⟩ |
| 99 | obtain ⟨m₀,hp,A,hA,η⟩ := H.centered d 1 (‖v‖+1) (by norm_num) (by positivity) |
| 100 | filter_upwards [eventually_ge_atTop m₀] with m hm |
| 101 | refine ⟨_,add_nonneg (mul_nonneg hA (Real.rpow_nonneg (C.S.a_pos m).le (-(d:ℝ)-1))) zero_le_one,?_⟩ |
| 102 | exact (η _ hm 1 (by norm_num)).mono fun i hi => hi.mono fun j hj => by |
| 103 | obtain ⟨h,hj⟩ := hj; exact ⟨h,hp.trans (hm.trans h),fun o => hj v (by simp) o⟩ |
| 104 | |
| 105 | lemma grows {n : ℕ} (H : CellHyp C F) (v : Fin n→C.book.Token) : |
| 106 | ∀ᶠ k in atTop, ∃ A : ℝ, 0≤A ∧ F.late (imageBudget v A k) := by |
| 107 | classical |
| 108 | let T := fun i : Fin n × Extraction.Spin.Frame => Extraction.Spin.token C.book (v i.1) i.2 |
| 109 | have hf := eventually_all.mpr fun i => growing H (T i) |
| 110 | filter_upwards [hf] with k hk |
| 111 | choose R hR hs using hk |
| 112 | let Y := ∑ i,R i |
| 113 | have hp i : R i ≤ Y := Finset.single_le_sum (f:=R) (fun i _ => hR i) (Finset.mem_univ i) |
| 114 | refine ⟨Y,Finset.sum_nonneg (fun i _ => hR i),?_⟩ |
| 115 | have ht : ∀ᶠ u : ℕ×ℕ in F.fuse, ∀ i, centeredBudget C (T i) Y k u.1 u.2 := eventually_all.mpr |
| 116 | fun i => (show ∀ᶠ u : ℕ×ℕ in F.fuse, centeredBudget C (T i) (R i) k u.1 u.2 from hs i).mono fun u hu => |
| 117 | Extraction.fixup C hu (hp _) |
| 118 | have he : ∀ᶠ u in F.fuse, ∀ i, Around.Fit (T i) k u.1 u.2 := eventually_all.mpr fun i => by |
| 119 | rw [Extraction.Order.fused] |
| 120 | exact Eventually.of_forall fun r => (Around.fit (f:=F) (T i) k).mono fun p hp => hp _ |
| 121 | change ∀ᶠ u in F.fuse, imageBudget v Y k u.1 u.2 |
| 122 | exact ((ht.and he).and (large_mesh F k)).mono fun (N,p) ⟨⟨hi,hI⟩,h⟩ => ⟨h, fun x b => ⟨hi (x,b),hI (x,b)⟩⟩ |
| 123 | end YM.Next.UVStress |