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.Fields.Mission |
| 2 | |
| 3 | /-! # Puncture-laurent budgeting with arbitrary coarse p, all aliases. |
| 4 | Budget pair arithmetic for kbulk. -/ |
| 5 | set_option autoImplicit false |
| 6 | noncomputable section |
| 7 | namespace YM.RG08.Drift |
| 8 | open Function Filter Set Lattice Wilson RG Exterior Precision Next.Free |
| 9 | open Laurent Bloch Matrix Work.F08 |
| 10 | open scoped Topology BigOperators |
| 11 | variable {j n : ℕ} {k : ℝ} |
| 12 | |
| 13 | lemma pineNorm {p : Momentum} (hp : p∈baseCube) : ‖p‖≤ domainRadius := |
| 14 | (pi_norm_le_iff_of_nonneg domainRadius_pos.le).mpr (fun _=> zone_in_disk p (mem_cube_real (base_subset_realCube zone_pos hp) zone_pos) _) |
| 15 | lemma aliasP_bound (L : Side) (l : Site L) {p} (hp : p∈baseCube) : ‖p‖ ≤ L.val*‖aliasAt p l‖ := by |
| 16 | refine (pi_norm_le_iff_of_nonneg (by positivity)).2 fun i=> ?_ |
| 17 | let y : ℤ := lift l i |
| 18 | have hA : ((p i).re:ℂ)=p i := by |
| 19 | apply Complex.ext <;> simp [(physical_iff _|>.1 hp.1) i] |
| 20 | have hx : ‖p i‖ ≤ Real.pi := hA ▸ (by rw [Complex.norm_real]; exact hp.2 i) |
| 21 | have hL : 0<(L.val:ℝ):= by positivity |
| 22 | refine le_trans ?_ (mul_le_mul_of_nonneg_left (norm_le_pi_norm (aliasAt p l) i) hL.le) |
| 23 | rw [alias_value,norm_div, Complex.norm_natCast, mul_div_cancel₀ _ hL.ne'] |
| 24 | change ‖p i‖ ≤ ‖p i + 2 *(Real.pi:ℂ)* (y:ℂ)‖ |
| 25 | by_cases hy : y=0 |
| 26 | · simp [hy] |
| 27 | have hb : (1:ℝ) ≤ y.natAbs := by exact_mod_cast (show 1≤y.natAbs by omega) |
| 28 | have ha : ‖(2:ℂ)* (Real.pi:ℂ)*(y:ℂ)‖=2*Real.pi*y.natAbs := by |
| 29 | simp only [norm_mul,Complex.norm_intCast, Complex.norm_real,Real.norm_eq_abs,abs_nat,abs_of_pos Real.pi_pos] |
| 30 | norm_num |
| 31 | have hm := norm_sub_le (p i + 2*(Real.pi:ℂ)*(y:ℂ)) (p i); rw [add_sub_cancel_left,ha] at hm |
| 32 | nlinarith [Real.pi_pos] |
| 33 | |
| 34 | def rim (p : Momentum) := max 1 (‖p‖⁻¹) |
| 35 | lemma rim_one (p : Momentum) : 1 ≤ rim p := le_max_left .. |
| 36 | lemma rim_live (p : Momentum) : 0 < rim p := zero_lt_one.trans_le (rim_one _) |
| 37 | lemma rim_alias (L : Side) (l : Site L) {p} (hp : p∈baseCube) (he : p≠0) : rim (aliasAt p l) ≤ L.val * rim p := by |
| 38 | have hv : 0 < (L.val:ℝ) := by positivity |
| 39 | have hx := aliasP_bound L l hp |
| 40 | have he := norm_pos_iff.mpr he |
| 41 | have hu : 0<‖aliasAt p l‖ := (mul_pos_iff_of_pos_left hv).mp (he.trans_le hx) |
| 42 | refine max_le ?_ ?_ |
| 43 | · exact (rim_one p).trans (le_mul_of_one_le_left (rim_live _).le (by exact_mod_cast L.property)) |
| 44 | apply le_trans _ (mul_le_mul_of_nonneg_left (le_max_right ..) hv.le) |
| 45 | apply le_of_mul_le_mul_right _ (inv_pos.mpr hv) |
| 46 | rw [mul_comm (L.val:ℝ),mul_assoc,mul_inv_cancel₀ hv.ne',mul_one,← _root_.mul_inv_rev] |
| 47 | exact (inv_le_inv₀ (mul_pos hv hu) he).2 hx |
| 48 | |
| 49 | section Budget |
| 50 | variable {I : Type*} (Z : I→ℝ) (w : I→Momentum) |
| 51 | /-- Keep fixed exponent (arithmetic index). -/ |
| 52 | def Wave (u : ℕ) (f g : I → ℂ) := ∃ c : ℝ, 0 ≤ c ∧ ∀ i, Ripple (f i) (g i) (c*rim (w i)^u) (Z i) |
| 53 | namespace Wave |
| 54 | variable {Z w} {u v : ℕ} {f g l h : I→ℂ} |
| 55 | lemma expand (hp : Wave Z w u f g) (hz : ∀ i,0≤Z i) (hm : u≤v) : Wave Z w v f g := by |
| 56 | obtain ⟨c,hc,K⟩:=hp; exact ⟨c,hc,fun i=> (K i).tack (mul_le_mul_of_nonneg_left (pow_le_pow_right₀ (rim_one _) hm) hc) (hz i)⟩ |
| 57 | lemma plus (hf : Wave Z w u f g) (hh : Wave Z w u l h) : Wave Z w u (fun i=> f i+l i) (fun i=> g i+h i) := by |
| 58 | obtain ⟨c,hc,H⟩:=hf; obtain ⟨K,hK,G⟩:=hh; exact ⟨_,add_nonneg hc hK,fun i=> (add_mul c K _) ▸ ((H i).add (G i)) ⟩ |
| 59 | lemma negative (hf : Wave Z w u f g) : Wave Z w u (fun i=> -f i) (fun i=> -g i) := by |
| 60 | obtain ⟨c,hc,H⟩:=hf; refine ⟨c,hc,fun i=> ?_⟩ |
| 61 | constructor |
| 62 | · rw [norm_neg]; exact (H i).up |
| 63 | · rw [norm_neg]; exact (H i).down |
| 64 | · rw [show -f i- -g i= -(f i-g i) by ring,norm_neg]; exact (H i).both |
| 65 | lemma difference (hf : Wave Z w u f g) (hh : Wave Z w u l h) : Wave Z w u (fun i=> f i-l i) (fun i => g i-h i) := by simpa only [sub_eq_add_neg] using (hf.plus hh.negative) |
| 66 | lemma same (hZ : ∀ i,0≤Z i) (c : ℝ) (hc : 0≤c) (H : ∀ i,‖f i‖ ≤ c) : Wave Z w 0 f f := by |
| 67 | refine ⟨c,hc,fun i=>?_⟩; rw [pow_zero,mul_one]; exact Ripple.self (hZ i) (H i) |
| 68 | lemma constant (hZ : ∀ i,0≤Z i) (v : ℂ) : Wave Z w 0 (fun _=>v) (fun _=>v) := same hZ ‖v‖ (norm_nonneg _) fun _=>le_rfl |
| 69 | lemma times (hf : Wave Z w u f g) (hh : Wave Z w v l h) : Wave Z w (u+v) (fun i=> f i*l i) (fun i=> g i*h i) := by |
| 70 | obtain ⟨c,hc,H⟩:=hf; obtain ⟨K,hK,G⟩:=hh |
| 71 | refine ⟨2*(c*K),by positivity,fun i=>?_⟩; rw [pow_add,mul_assoc _ (_*_),mul_mul_mul_comm c K] |
| 72 | exact (H i).mul (G i) |
| 73 | lemma collect {ι : Type*} [Fintype ι] {A B : ι → I → ℂ} |
| 74 | (hZ : ∀ i,0≤Z i) (h : ∀ i, Wave Z w u (A i) (B i)) : Wave Z w u (fun i=> ∑ j,A j i) (fun i=> ∑ j,B j i) := by |
| 75 | classical |
| 76 | generalize (Finset.univ : Finset ι)=F; induction F using Finset.induction_on with |
| 77 | | empty => simp only [Finset.sum_empty]; exact (constant (w:=w) hZ 0).expand hZ (Nat.zero_le _) |
| 78 | | insert i F hx IH=> simp_rw [Finset.sum_insert hx]; exact (h i).plus IH |
| 79 | lemma invert {b : ℕ} (hf : Wave Z w u f g) (hv : ∀ i, f i≠0) (hg : ∀ i, g i≠0) |
| 80 | (hx : ∃ c : ℝ, 0≤c ∧ ∀ i, ‖(f i)⁻¹‖ ≤ c*rim (w i)^b ∧ ‖(g i)⁻¹‖ ≤ c*rim (w i)^b) : |
| 81 | Wave Z w (u+b+b) (fun i=> (f i)⁻¹) (fun i => (g i)⁻¹) := by |
| 82 | obtain ⟨c,hc,H⟩:=hf; obtain ⟨K,hK,G⟩:=hx |
| 83 | refine ⟨max K (c*K^2),hK.trans (le_max_left ..),fun i=>?_⟩ |
| 84 | have hk := rim_live (w i) |
| 85 | have ht : K*rim (w i)^b ≤ max K (c*K^2)*rim (w i)^(u+b+b) := mul_le_mul (le_max_left ..) (pow_le_pow_right₀ (rim_one _) (by omega)) (pow_nonneg hk.le _) (hK.trans (le_max_left ..)) |
| 86 | refine ⟨(G i).1.trans ht,(G i).2.trans ht,?_⟩ |
| 87 | rw [show (f i)⁻¹-(g i)⁻¹=(g i-f i)*(f i)⁻¹*(g i)⁻¹ by field_simp [hv i,hg i],norm_mul,norm_mul,norm_sub_rev] |
| 88 | refine (mul_le_mul (mul_le_mul (H i).both (G i).1 (norm_nonneg _) ((norm_nonneg _).trans (H i).both)) (G i).2 (norm_nonneg _) |
| 89 | (mul_nonneg ((norm_nonneg _).trans (H i).both) ((norm_nonneg _).trans (G i).1))).trans ?_ |
| 90 | -- why Z ≥ 0 when f i nonzero |
| 91 | have hM : 0<c*rim (w i)^u := (norm_pos_iff.mpr (hv i)).trans_le (H i).up |
| 92 | have hy : 0≤Z i := nonneg_of_mul_nonneg_right ((norm_nonneg _).trans (H i).both) hM |
| 93 | refine le_trans ?_ (mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right (le_max_right ..) (pow_nonneg hk.le _)) hy) |
| 94 | rw [pow_add, pow_add]; exact le_of_eq (by ring) |
| 95 | lemma intermittent (h : ∀ i,0≤Z i) (p : I→Momentum) (f : Momentum→ℂ) (hp : ∀ i,p i∈baseCube) (hf : Continuous f) : Wave Z w 0 (f∘p) (f∘p) := by |
| 96 | let k:= Metric.closedBall (0 : Momentum) domainRadius; have he : IsCompact k:= isCompact_closedBall .. |
| 97 | obtain ⟨a,ha,H⟩ := he.exists_isMaxOn (show k.Nonempty from ⟨0,by simp [k,domainRadius_pos.le]⟩) hf.norm.continuousOn |
| 98 | exact same h ‖f a‖ (norm_nonneg _) fun i=> H (show p i∈ k by simpa [k] using pineNorm (hp i)) |
| 99 | lemma punctured (h : ∀ i, 0≤Z i) {a : ℕ} {p : I→Momentum} {c : ℝ} (hc : 0≤c) |
| 100 | (H : ∀ i,Ripple (f i) (g i) (c*rim (p i)^a) (Z i)) (ht : ∃ L : ℝ, 0≤L ∧ ∀ i,rim (p i) ≤ L * rim (w i)) : |
| 101 | Wave Z w a f g := by |
| 102 | obtain ⟨s,hs,K⟩:=ht; refine ⟨c*s^a,by positivity,fun i=> ?_⟩ |
| 103 | exact (H i).tack (by rw [mul_assoc,← mul_pow]; exact mul_le_mul_of_nonneg_left (pow_le_pow_left₀ (rim_live _).le (K i) _) hc) (h i) |
| 104 | end Wave |
| 105 | variable {ι Ω α : Type*} |
| 106 | def Beam (u : ℕ) (A B : I → Matrix ι Ω ℂ) := ∀ i j, Wave Z w u (fun x=> A x i j) (fun x=> B x i j) |
| 107 | namespace Beam |
| 108 | variable {Z w} {u v : ℕ} {A B C D : I → Matrix ι Ω ℂ} {L H : I → Matrix Ω α ℂ} {f g : I→ℂ} |
| 109 | lemma times [Fintype Ω] (hZ : ∀ i, 0≤ Z i) (h : Beam Z w u A B) (hh : Beam Z w v L H) : |
| 110 | Beam Z w (u+v) (fun i=> A i * L i) (fun i=> B i * H i) := fun i j=> Wave.collect hZ (fun c=> (h i c).times (hh c j)) |
| 111 | lemma plus (h : Beam Z w u A B) (hh : Beam Z w u C D) : Beam Z w u (fun i=> A i+C i) (fun i=>B i+D i) := |
| 112 | fun i j => (h i j).plus (hh i j) |
| 113 | lemma minus (h : Beam Z w u A B) (hh : Beam Z w u C D) : Beam Z w u (fun i=> A i-C i) (fun i=>B i-D i) := |
| 114 | fun i j => (h i j).difference (hh i j) |
| 115 | lemma scale (h : Beam Z w u A B) (hp : Wave Z w v f g) : Beam Z w (v+u) (fun i => f i • A i) (fun i=> g i • B i) := |
| 116 | fun i j=> hp.times (h i j) |
| 117 | lemma home (hZ : ∀ i,0≤Z i) (M : Matrix ι Ω ℂ) : Beam Z w 0 (fun _=>M) (fun _=>M) := fun i j=> Wave.constant hZ (M i j) |
| 118 | lemma upright (h : Beam Z w u A B) (hZ : ∀ i,0≤Z i) (hp : u≤v) : Beam Z w v A B := fun i j=> (h i j).expand hZ hp |
| 119 | lemma circum [Fintype ι] [Fintype Ω] (h : Beam Z w u A B) (hZ : ∀ i, 0≤Z i) : |
| 120 | ∃ c : ℝ, 0≤c ∧ ∀ i j x,Ripple (A x i j) (B x i j) (c*rim (w x)^u) (Z x) := by |
| 121 | choose c hc H using h |
| 122 | refine ⟨∑ i, ∑ j,c i j,Finset.sum_nonneg fun i _=> Finset.sum_nonneg fun j _=>hc i j,fun i j x=> ?_⟩ |
| 123 | have hh := (Finset.single_le_sum (fun j _=>hc i j) (Finset.mem_univ j)).trans |
| 124 | (Finset.single_le_sum (fun i _=> Finset.sum_nonneg fun j (_:j∈(Finset.univ:Finset Ω))=>hc i j) (Finset.mem_univ i)) |
| 125 | exact (H i j x).tack (mul_le_mul_of_nonneg_right hh (pow_nonneg (rim_live _).le _)) (hZ x) |
| 126 | lemma mask_one_w (hZ : ∀ i,0≤Z i) {F B : I → Axis → ℂ} (hp : ∀ i, Wave Z w u (fun x => F x i) (fun x=> B x i)) : |
| 127 | Beam Z w u (fun x=> mask 1 (F x)) (fun x => mask 1 (B x)) := by |
| 128 | intro i j; simp_rw [mask_value]; by_cases he:i=j <;> simp only [he,↓reduceIte] |
| 129 | · exact hp _ |
| 130 | exact (Wave.constant (w:=w) hZ _).expand hZ (Nat.zero_le _) |
| 131 | lemma turned (h : Beam Z w u A B) : Beam Z w u (fun x=> (A x)ᵀ) (fun x=> (B x)ᵀ) := fun i j=> h j i |
| 132 | end Beam |
| 133 | end Budget |
| 134 | end YM.RG08.Drift |