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.RG08.Flat.Routing |
| 2 | |
| 3 | /-! |
| 4 | # Unchanged rank-two projection through two possibly different backgrounds |
| 5 | |
| 6 | Moment order d Taylor-zero lets the repeated part spend d extra fine |
| 7 | forward differences. This bound is on genuine displacement stencils; keeping |
| 8 | one coarse root, not just after periodization. The count L^4 is included. |
| 9 | -/ |
| 10 | set_option autoImplicit false |
| 11 | noncomputable section |
| 12 | namespace YM.RG08 |
| 13 | open Function Filter Finset Laurent Bloch Lattice Matrix Work.F08 RG Precision Next.Free |
| 14 | open scoped Topology BigOperators |
| 15 | |
| 16 | variable {α β : Type} {c f L : Side} |
| 17 | |
| 18 | lemma row_ext_tail {I : Type} {u : I → Side} {v : Filter I} [v.NeBot] |
| 19 | (h : Tendsto (fun i => (u i).val) v atTop) |
| 20 | {A B : Row α β} (ha : A.safe) (hb : B.safe) |
| 21 | (hp : ∀ᶠ i in v,A.acts (u i) = B.acts (u i)) : A = B := by |
| 22 | funext i j x |
| 23 | apply tendsto_nhds_unique ((entry_limit u h A ha i j x).congr' |
| 24 | (f₂:=fun z => B.acts (u z) (0,i) (wrap (u z) x,j)) |
| 25 | (hp.mono fun k hk => congr_fun (congr_fun hk _) _)) (entry_limit u h B hb ..) |
| 26 | |
| 27 | def pullbackRows [Fintype α] (A B : Cross L α β) (D : Row α α) : Row β β := |
| 28 | composeRows (transRows A) (fineCompose D B) |
| 29 | |
| 30 | section |
| 31 | variable [Fintype α] |
| 32 | |
| 33 | lemma pullback_whole {A B : Cross L α β} {D : Row α α} |
| 34 | (ha : Whole A) (hb : Whole B) (hd : Whole D) : Whole (pullbackRows A B D) := |
| 35 | ha.flipped.prod (by |
| 36 | obtain ⟨s,h₁,hs,H⟩ := hd; obtain ⟨t,h₂,ht,h⟩ := hb |
| 37 | have he : 0 < min s t := lt_min hs ht |
| 38 | exact ⟨min s t, _, he, strip_fine he.le |
| 39 | (strip_mono H (min_le_left ..) le_rfl) (strip_mono h (min_le_right ..) le_rfl)⟩) |
| 40 | |
| 41 | lemma pullback_acts (w : Ratio c f) {A B : Cross w.count α β} {D : Row α α} |
| 42 | (ha : Whole A) (hb : Whole B) (hd : Whole D) : |
| 43 | (pullbackRows A B D).acts c = (installed w A)ᵀ * D.acts f * installed w B := by |
| 44 | obtain ⟨s,h₁,hs,H⟩ := hd; obtain ⟨t,h₂,ht,h⟩ := hb |
| 45 | have he : 0 < min s t := lt_min hs ht |
| 46 | have hK := strip_mono H (min_le_left s t) le_rfl |
| 47 | have hL := strip_mono h (min_le_right s t) le_rfl |
| 48 | rw [pullbackRows,composed_left w ha ⟨_,_,he,strip_fine he.le hK hL⟩, |
| 49 | installed_fine w he.le hK hL,Matrix.mul_assoc] |
| 50 | |
| 51 | end |
| 52 | |
| 53 | /-- d=3 gives the L⁻¹ contraction before readout. A, B may have different |
| 54 | flat history depths; use on the Hessian difference via the cross identity |
| 55 | rather than bounding a difference of an arbitrarily chosen predictor lift. -/ |
| 56 | theorem pullback_gain (α β : Type) [Fintype α] [DecidableEq α] [Fintype β] |
| 57 | (σ τ C : ℝ) (hs : 0 < σ) (ht : 0 < τ) (d : ℕ) : |
| 58 | ∃ η K : ℝ, 0 < η ∧ η ≤ σ ∧ 0 ≤ K ∧ |
| 59 | ∀ L : Side, Odd L.val → τ ≤ L.val*η → ∀ A B : Cross L α β, |
| 60 | A.strip τ (C/L.val) → |
| 61 | (∀ s : List Axis,s.length ≤ d → |
| 62 | (advanceC L B s).strip τ (C/(L.val:ℝ)^(1+s.length))) → |
| 63 | ∀ R : Row α α, ∀ M : ℝ, 0 ≤ M → R.strip σ M → ZeroOrder d R → |
| 64 | (pullbackRows A B R).strip τ (K*M*(L.val:ℝ)^2/(L.val:ℝ)^d) := by |
| 65 | obtain ⟨η,K,hη,hg,hK,H⟩ := row_division α α d σ hs |
| 66 | let I := Fin d → Axis |
| 67 | let m := (Fintype.card α:ℝ) |
| 68 | let v := (Fintype.card I:ℝ) * m*m*Real.exp (4*τ)*K*C^2 |
| 69 | refine ⟨η,v,hη,hg,by unfold v m; positivity,fun L ho hu A B hA hB R M hm hr hZ => ?_⟩ |
| 70 | let D := (L.val:ℝ) |
| 71 | have hD : 0 < D := by unfold D; positivity |
| 72 | obtain ⟨T,hT,hP⟩ := H M hm R hr hZ |
| 73 | let F (i : I) := fineCompose (T i) (advanceC L B (differenceList i)) |
| 74 | have hF i : (F i).strip τ (m*(Real.exp (4*τ)*(M*K)*(C/D^(1+d)))) := by |
| 75 | have hh := hB (differenceList i) (difference_length i|>.le) |
| 76 | rw [difference_length] at hh; exact strip_routed ht.le hu (hT i) hh |
| 77 | have ha : Whole A := ⟨_,_,ht,hA⟩ |
| 78 | have hb : Whole B := ⟨_,_,ht,hB [] (Nat.zero_le _)⟩ |
| 79 | have hw i : Whole (F i) := ⟨_,_,ht,hF i⟩ |
| 80 | let Y (i : I) := composeRows (transRows A) (F i) |
| 81 | have hy i : (Y i).strip τ ((D^4*m)*(C/D*(m*(Real.exp (4*τ)*(M*K)*(C/D^(1+d)))))) := by |
| 82 | rw [show D^4*m=(Fintype.card (Co L α):ℝ) from ?_] |
| 83 | · exact strip_compose ht.le (strip_trans hA) (hF i) |
| 84 | unfold D m Co; rw [Fintype.card_prod,site_card]; push_cast; rfl |
| 85 | have he : pullbackRows A B R=rowSum Y := by |
| 86 | apply bank_injective (pullback_whole ha hb ⟨_,_,hs,hr⟩).safe |
| 87 | (rowSum_safe (fun i => Whole.safe ⟨_,_,ht,hy i⟩)) |
| 88 | intro c |
| 89 | let w : Ratio c (c*L) := ⟨L,rfl⟩ |
| 90 | have hx i : Whole (T i) := ⟨_,_,hη,hT i⟩ |
| 91 | rw [pullback_acts (w:=w) ha hb (show Whole R from ⟨_,_,hs,hr⟩)] |
| 92 | rw [hP,rowSum_acts (I:=I) (fun i => ((hx i).prod (jet_whole ..)).safe), |
| 93 | rowSum_acts (I:=I) (fun i => Whole.safe ⟨_,_,ht,hy i⟩),Matrix.mul_sum, |
| 94 | Matrix.sum_mul] |
| 95 | refine sum_congr rfl fun j _ => ?_ |
| 96 | have ht' := hB (differenceList j) (difference_length j|>.le) |
| 97 | have hC : ∀ s : List Axis,s.length ≤ (differenceList j).length → Whole (advanceC L B s) := |
| 98 | fun s hp => ⟨_,_,ht,hB _ (hp.trans_eq (difference_length j))⟩ |
| 99 | rw [(hx j).acts (jet_whole ..), show Y j=composeRows (transRows A) (F j) from rfl, |
| 100 | composed_left w ha (hw j)] |
| 101 | unfold F |
| 102 | erw [installed_fine w (lt_min hη ht).le (strip_mono (hT j) (min_le_left η τ) le_rfl) |
| 103 | (strip_mono ht' (min_le_right η τ) le_rfl), flow_movement w B (differenceList j) ho hC, motion] |
| 104 | simp only [Matrix.mul_assoc] |
| 105 | rw [he] |
| 106 | have hh := rowSum_strip hy |
| 107 | refine strip_mono hh le_rfl (le_of_eq ?_) |
| 108 | unfold v |
| 109 | change _ = _*M*D^2/D^d |
| 110 | rw [pow_add]; field_simp |
| 111 | |
| 112 | end YM.RG08 |