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.West.Peak |
| 2 | set_option autoImplicit false |
| 3 | noncomputable section |
| 4 | namespace YM.MultipleContact.Sharp |
| 5 | open Filter Set Function MeasureTheory Analysis Extraction Table Ward MergeProof.Ribbons MergeProof Climb Cells Next.UVStress Wilson Lattice Around Accent |
| 6 | open scoped Topology ContDiff BigOperators Classical |
| 7 | variable {G:Gauge}{C:Family G}{F:Extraction.Order}{S:Table C.book}{n:ℕ}(hC:C.Makes)(hq:Cells.CellHyp C F)(ho:F.PointLimits C S)(H:S.Hierarchy) |
| 8 | open Extraction.Gaps Extraction.Spin |
| 9 | variable {p k N m:ℕ} {ε:ℝ} (hε:0<ε) |
| 10 | include hε |
| 11 | lemma expanding (H : CellHyp C F) (x : C.book.Token) : |
| 12 | ∀ᶠ m in atTop,F.late (centeredBudget C x (Real.exp (((x.1:ℝ)+2*ε)*C.S.scale m)) m) := by |
| 13 | rcases x with ⟨d,v⟩ |
| 14 | obtain ⟨m₀,hp,A,hA,η⟩ := H.centered d ε (‖v‖+1) hε (by positivity) |
| 15 | let e:ℝ:= -(d:ℝ)-ε; let w i:=C.S.a i^e |
| 16 | have hh: Note C.S (fun i=>(A+1)*w i) (0+e*(-1)):= (Note.notes C.S _ (by linarith :0<A+1)).mills ((Note.note_a C.S).powr e) |
| 17 | have he: e≤0:=by dsimp [e]; linarith [Nat.cast_nonneg (α:=ℝ) d] |
| 18 | filter_upwards [eventually_ge_atTop m₀,hh.outweigh (Note.bell_exp C.S ((d:ℝ)+2*ε)) (by unfold e; linarith),C.S.shrinks.eventually (ge_mem_nhds (α:=ℝ) (by norm_num : (0:ℝ) < 1))] with m hm hh hx |
| 19 | apply (η _ hm 1 (by norm_num)).mono |
| 20 | intro i hi; refine hi.mono fun j hj => ?_ |
| 21 | obtain ⟨h,hj⟩ := hj; refine ⟨h,hp.trans (hm.trans h),fun o => ⟨(hj v (by simp) o).1,(hj v (by simp) o).2.trans (?_)⟩ ⟩ |
| 22 | refine le_trans ?_ hh; rw [add_mul,one_mul] |
| 23 | exact add_le_add_right (Real.one_le_rpow_of_pos_of_le_one_of_nonpos (C.S.a_pos _) hx he) _ |
| 24 | |
| 25 | lemma spectra {v:Fin n→ C.book.Token} (H: CellHyp C F):∀ᶠ m in atTop, ∀ᶠ u:ℕ×ℕ in F.fuse, m≤u.1∧∀ i j, centeredBudget C (Extraction.Spin.token C.book (v i) j) (Real.exp ((((v i).1:ℝ)+2*ε)*C.S.scale m)) m u.1 u.2 ∧ Fit (Extraction.Spin.token C.book (v i) j) m u.1 u.2:=by |
| 26 | let T := fun i : Fin n × Extraction.Spin.Frame => Extraction.Spin.token C.book (v i.1) i.2 |
| 27 | filter_upwards [eventually_all.mpr (fun i => expanding hε H (T i))] with k hk |
| 28 | have ht : ∀ᶠ u:ℕ×ℕ in F.fuse, ∀ i,centeredBudget C (T i) (Real.exp ((((T i).1:ℝ)+2*ε)*C.S.scale k)) k u.1 u.2:= eventually_all.mpr fun i=> hk i |
| 29 | have he : ∀ᶠ u in F.fuse, ∀ i, Around.Fit (T i) k u.1 u.2 := eventually_all.mpr fun i => by |
| 30 | rw [Extraction.Order.fused]; exact Eventually.of_forall fun r => (Around.fit (f:=F) (T i) k).mono fun p hp => hp _ |
| 31 | filter_upwards [ht,he,large_mesh F k] with u h hp hv |
| 32 | refine ⟨hv,fun i j=>⟨?_,hp (i,j)⟩⟩ |
| 33 | have hx : (T (i,j)).1=(v i).1:= by dsimp [T,Extraction.Spin.token]; split <;> rfl |
| 34 | specialize h (i,j); rw [hx] at h;exact h |
| 35 | include hC hq ho H hε |
| 36 | def honor (S:Schedule) (u:Fin n→C.book.Token)(ε:ℝ)(k:ℕ):=∏ i:Fin n, Real.exp ((((u i).1:ℝ)+2*ε)*S.scale k) |
| 37 | -- use C.book linear tags |
| 38 | lemma maine {q:Fin n→S.Tag} (l:ℕ) (hw:(n:ℝ)*6<(l:ℝ)) :∀ᶠ m in atTop, ∀ x, slide C.S m x→ ‖disc q x‖ ≤ honor C.S (expose ∘ q) ε (m+l):=by |
| 39 | let w : Fin n→ C.book.Token := expose ∘ q |
| 40 | filter_upwards [(tendsto_add_atTop_nat l).eventually (spectra hε (v:=w) hq)] with m hm x hs |
| 41 | apply le_of_tendsto_of_frequently (x:=𝓝 x) ((cont_disc H q (slide_conf C.S x hs)).continuousAt.norm) |
| 42 | refine (((meets_grid C x).and_eventually (show ∀ᶠ y in 𝓝 x,slide C.S m y from (slide_open C.S m n).mem_nhds hs)).mono ?_) |
| 43 | rintro y ⟨⟨hy,j,a,rfl⟩,hh⟩ |
| 44 | let y:=Extraction.Order.grid C j a; let I:= {i:Fin n×Fin n//i.1≠i.2}; let d:= m+l |
| 45 | have ht : Tendsto (fun i:ℕ×ℕ=> C.numeric i.1 i.2 w (Cells.location C.S j i.1 i.2 ∘ a)) F.fuse (𝓝 (disc q y)) := by |
| 46 | have ht:= Extraction.Order.along (Cells.eventual_grid (k:=j) C F S ho a hy w) |
| 47 | exact ht |
| 48 | change ‖disc q _‖ ≤ _; apply le_of_tendsto ht.norm |
| 49 | have he (i:I): ∃ b:Axis, C.S.a m < |distances y i.val.1 i.val.2 b|:=by |
| 50 | have hp := above_coord (C.S.a m) (y i.val.2-y i.val.1) (hh i.val.1 i.val.2 i.property); exact hp |
| 51 | choose b hb using he |
| 52 | obtain ⟨r,hr,hQ⟩:= ((show ∀ᶠ r in 𝓝[>] (C.S.a m),C.S.a m < r from self_mem_nhdsWithin).and (eventually_all.mpr fun i:I=> (show ∀ᶠ r in 𝓝[>] (C.S.a m), r ≤ |distances y i.val.1 i.val.2 (b i)| from mem_nhdsWithin_of_mem_nhds (ge_mem_nhds (hb i))))).exists -- fix |
| 53 | have hp : ∀ᶠ i:ℕ×ℕ in F.fuse, ∀ x∈({y}:Set _), someFine C.S i.2 r x := by |
| 54 | rw [Extraction.Order.fused,Extraction.Order.late] |
| 55 | filter_upwards [F.per.cofinal.eventually (expand_equivalent C.S (isCompact_singleton (x:=y)))] with p hp |
| 56 | apply Eventually.of_forall; intro N x hx k l hk |
| 57 | obtain rfl : x=y:= hx; let u:I:=⟨(k,l),hk⟩ |
| 58 | exact ⟨b u,fun t=>(hQ u).trans (hp _ (mem_singleton _) k l (b u) t)⟩ |
| 59 | filter_upwards [hp,large_mesh F j,hm] with i hi hj h' |
| 60 | let a':=pushSite C.S hj ∘ a |
| 61 | have hP (t:Fin n): wrap (C.side i.1 i.2) (a' t)= Cells.location C.S j i.1 i.2 (a t):=by |
| 62 | rw [Cells.location,dif_pos hj,Ratio.embed_wrap]; rfl |
| 63 | have hz:tag (C.S.a i.1) a'=y:=by |
| 64 | ext1 t; exact finer .. |
| 65 | change ‖C.numeric _ _ w _‖ ≤ _; rw [show (Cells.location C.S j i.1 i.2 ∘ a)=(wrap _ ∘ a') from (funext hP).symm] |
| 66 | refine contour hC w {y} r hi _ hr (Nat.le_add_right m l) ?_ h' a' hz |
| 67 | have ht := mul_lt_mul_of_pos_right hw (C.S.a_pos (m+l)) |
| 68 | linarith [fur l m C.S,C.S.a_pos (m+l)] |
| 69 | def tagWeights (q:Fin n→S.Tag):ℕ:=∑ i:Fin n, (q i).1 |
| 70 | variable {q:Fin n→S.Tag} |
| 71 | omit hC hq ho H hε in |
| 72 | lemma honor_eq (k): honor C.S (expose∘q) ε k=Real.exp (((tagWeights q:ℝ) + n * (2*ε))*C.S.scale k):=by |
| 73 | unfold honor tagWeights |
| 74 | rw [← Real.exp_sum,← Finset.sum_mul] |
| 75 | change Real.exp ((∑ i:Fin n, (↑(q i).1+2*ε : ℝ)) * C.S.scale k) = _ |
| 76 | simp [Finset.sum_add_distrib] |
| 77 | |
| 78 | /-- Actual continuum separated kernel bound from the same seed/cutoff hierarchy (global all arities at a common min gap). -/ |
| 79 | lemma separatedPower:∃ A:ℝ,0<A∧∀ (r:ℝ),0 < r → r ≤ 1 → ∀ x:Points n, (∀ i j:Fin n, i≠j → r ≤ ‖x j-x i‖) → ‖disc q x‖ ≤ A*r^(-(tagWeights q:ℝ)-ε):=by |
| 80 | obtain ⟨l,hl⟩ := exists_nat_gt ((n:ℝ)*6) |
| 81 | let δ := ε/ (4*((n:ℝ)+1)); have hn := (show 0≤(n:ℝ) by exact Nat.cast_nonneg _); let p := (tagWeights q:ℝ)+ε |
| 82 | have hp: 0 < p := by dsimp [p]; positivity |
| 83 | have hd': 0<(4:ℝ)*(n+1):=by linarith |
| 84 | have hd: 0 < δ := div_pos hε hd' |
| 85 | let e := (tagWeights q:ℝ)+n*(2*δ) |
| 86 | have he:e < p := by |
| 87 | suffices (n:ℝ)*(2*δ)<ε by dsimp [e,p]; linarith |
| 88 | dsimp only [δ]; rw [show (n:ℝ)*(2*(ε/(4*(n+1))))=(n*2*ε)/(4*(n+1)) from by ring] |
| 89 | exact (div_lt_iff₀ hd').mpr (by nlinarith) |
| 90 | have hh:Note C.S (fun m=> honor C.S (expose∘q) δ (m+1+l)) e:=by |
| 91 | conv => arg 2; intro m; rw [honor_eq (q:=q),show m+1+l=m+(l+1) from by omega] |
| 92 | exact Note.longer (C:=C) (Note.bell_exp C.S _) _ |
| 93 | have hw:Note C.S (fun m=> (4*C.S.a m)^(-p)) p := (Note.powr (Note.mills (Note.notes C.S (4:ℝ) (by norm_num)) (Note.note_a _)) (-p)).swapP (by ring) |
| 94 | obtain ⟨M,hM⟩:= eventually_atTop.1 ((hh.outweigh hw he).and (maine hC hq ho H hd l hl (q:=q))) |
| 95 | let A:= 1+honor C.S (expose∘q) δ (M+l); have ha:1≤A:=by dsimp [A]; rw [honor_eq (q:=q)]; linarith [Real.exp_pos (e*C.S.scale (M+l))] |
| 96 | refine ⟨A,ha.trans_lt' (by norm_num),fun r hr hr' x hx=>?_⟩ |
| 97 | have hpr:0<r^(-p):= Real.rpow_pos_of_pos hr _ |
| 98 | have hc:= Real.one_le_rpow_of_pos_of_le_one_of_nonpos hr hr' (neg_nonpos.mpr hp.le) |
| 99 | by_cases hy: r ≤ 4*C.S.a M |
| 100 | · have hf: ∃ j:ℕ, 4*C.S.a j < r:=by |
| 101 | have ht:= ((C.S.shrinks.const_mul (4:ℝ)).eventually (gt_mem_nhds (by simpa only [mul_zero] using hr))) |
| 102 | exact ht.exists |
| 103 | let z:= Nat.find hf; have hz : 4*C.S.a z < r := Nat.find_spec hf |
| 104 | have hMz: M < z:=by_contra fun h=> by |
| 105 | linarith [C.S.strictAnti.antitone (le_of_not_gt h)] |
| 106 | have he' : ∃ j, z=j+1 := ⟨z-1, (Nat.sub_add_cancel (show z≥1 from by omega)).symm⟩ |
| 107 | obtain ⟨j,hj⟩ := he'; rw [hj] at hz |
| 108 | have hrj:r≤4*C.S.a j:= le_of_not_gt (Nat.find_min hf (by show j<z; omega)) |
| 109 | calc ‖disc q x‖ ≤ honor C.S (expose∘q) δ (j+1+l) := (hM (j+1) (by omega)).2 _ fun i i' hi=>hz.trans_le (hx i i' hi) |
| 110 | _ ≤ _:= le_trans ((hM j (by omega)).1.trans (Real.rpow_le_rpow_of_nonpos hr hrj (neg_nonpos.mpr hp.le))) (by change r^(-p)≤A*r^(-(tagWeights q:ℝ)-ε); simpa only [p,one_mul,sub_eq_add_neg,neg_add] using (mul_le_mul_of_nonneg_right ha hpr.le)) |
| 111 | calc ‖disc q x‖ ≤ honor C.S (expose∘q) δ (M+l):= (hM M le_rfl).2 _ fun i j hi=>(lt_of_not_ge hy).trans_le (hx i j hi) |
| 112 | _ ≤ _ := by dsimp only [p] at hc;rw [neg_add] at hc;rw [sub_eq_add_neg];exact le_trans (by linarith : honor C.S (expose∘q) δ (M+l) ≤ A) (le_mul_of_one_le_right (by linarith) hc) |
| 113 | end YM.MultipleContact.Sharp |