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.Push.STATIONARY_UNIFORM.Paths |
| 2 | |
| 3 | /-! # PreL-power accounting: no evaluation on an actual torus -/ |
| 4 | set_option autoImplicit false |
| 5 | noncomputable section |
| 6 | namespace YM.Push.Uniform |
| 7 | open Lattice Wilson RG Precision Tree Pressure Gauge Exterior Bid |
| 8 | open Filter Function Set Metric |
| 9 | open scoped Topology Matrix.Norms.Frobenius ContDiff BigOperators InnerProductSpace Classical |
| 10 | |
| 11 | def Tame (j : ℕ) (f : Patch → ℝ) : Prop := ∃ (u : ℕ) (C : ℝ), 0 < C ∧ ∀ P : Patch, P.J=j → |
| 12 | |f P| ≤ C * (P.L.val:ℝ)^u |
| 13 | structure Lit (j : ℕ) (f : Patch → ℝ) : Prop where |
| 14 | high : Tame j f |
| 15 | low : Tame j (fun x => (f x)⁻¹) |
| 16 | pos : ∀ P : Patch, P.J=j → 0<f P |
| 17 | |
| 18 | variable {C : ℝ} {j : ℕ} {f g : Patch → ℝ} |
| 19 | lemma tame_k (a : ℝ) : Tame j (fun _ => a) := ⟨0,1+|a|,by positivity,fun x _ => by simp⟩ |
| 20 | lemma lit_k (ha : 0<C) : Lit j (fun _ => C) := ⟨tame_k _, tame_k _, fun _ _ => ha⟩ |
| 21 | lemma Tame.add (hf : Tame j f) (hg : Tame j g) : Tame j (fun x => f x+g x) := by |
| 22 | obtain ⟨p,C,hC,hf⟩ := hf; obtain ⟨q,D,hD,hg⟩ := hg |
| 23 | refine ⟨max p q,C+D,by positivity, fun x hx => ?_⟩ |
| 24 | have ht : 1 ≤ (x.L.val:ℝ) := by exact_mod_cast x.L.property |
| 25 | apply le_trans ((abs_add_le ..).trans (add_le_add (hf _ hx) (hg _ hx))); rw [add_mul] |
| 26 | exact add_le_add (mul_le_mul_of_nonneg_left (pow_le_pow_right₀ ht (le_max_left ..)) hC.le) |
| 27 | (mul_le_mul_of_nonneg_left (pow_le_pow_right₀ ht (le_max_right ..)) hD.le) |
| 28 | lemma Tame.mul (hf : Tame j f) (hg : Tame j g) : Tame j (fun x => f x*g x) := by |
| 29 | obtain ⟨p,C,hC,hf⟩ := hf; obtain ⟨q,D,hD,hg⟩ := hg |
| 30 | refine ⟨p+q,C*D,by positivity, fun x hx => ?_⟩ |
| 31 | rw [abs_mul]; apply (mul_le_mul (hf _ hx) (hg _ hx) (abs_nonneg _) (by positivity)).trans_eq; rw [pow_add]; ring |
| 32 | lemma Tame.ltMore (hf : Tame j f) (he : ∀ x : Patch, x.J=j → |g x| ≤ f x) : Tame j g := by |
| 33 | obtain ⟨p,C,hC,hf⟩ := hf |
| 34 | exact ⟨p,C,hC,fun x hx => le_trans (he x hx) ((le_abs_self _).trans (hf _ hx))⟩ |
| 35 | lemma Tame.at_eq (hf : Tame j f) (he : ∀ x : Patch, x.J=j → f x=g x) : Tame j g := by |
| 36 | obtain ⟨p,C,hC,hf⟩ := hf; exact ⟨p,C,hC,fun x hx => by rw [← he x hx]; exact hf x hx⟩ |
| 37 | lemma Tame.absolute (hf : Tame j f) : Tame j (fun x => |f x|) := by |
| 38 | obtain ⟨p,C,hC,hf⟩ := hf; exact ⟨p,C,hC, fun x hx => by simpa using hf x hx⟩ |
| 39 | lemma Tame.power (hf : Tame j f) (k : ℕ) : Tame j (fun x => (f x)^k) := by |
| 40 | induction k with |
| 41 | | zero => simp_rw [pow_zero]; exact tame_k _ |
| 42 | | succ k ih => simp_rw [pow_succ]; exact ih.mul hf |
| 43 | lemma Tame.exp' {j : ℕ} {f : Patch → ℝ} (h : ∀ P : Patch, P.J=j → f P ≤ C) : Tame j (fun x => Real.exp (f x)) := by |
| 44 | refine (tame_k (Real.exp C)).ltMore ?_; intro x hx; rw [abs_of_nonneg (Real.exp_pos _).le]; exact Real.exp_monotone (h x hx) |
| 45 | |
| 46 | lemma lit_size : Lit j (fun x => x.L.val) := by |
| 47 | refine ⟨⟨1,1,by norm_num,fun x _ => by simp⟩,(tame_k 1).ltMore (fun x _ => ?_), fun x _ => ?_⟩ |
| 48 | · rw [abs_of_nonneg (by positivity)]; exact inv_le_one_of_one_le₀ (by exact_mod_cast x.L.property) |
| 49 | exact_mod_cast x.L.property |
| 50 | lemma Lit.inv (hf : Lit j f) : Lit j (fun x => (f x)⁻¹) := ⟨hf.low,by simp_rw [inv_inv]; exact hf.high,fun x hx => inv_pos.mpr (hf.pos _ hx)⟩ |
| 51 | lemma Lit.add_left (hf : Lit j f) (h : Tame j g) (hp : ∀ x : Patch, x.J=j → 0≤g x) : Lit j (fun x => f x+g x) := by |
| 52 | refine ⟨hf.high.add h, hf.low.ltMore (fun x hx => ?_), fun x hx => add_pos_of_pos_of_nonneg (hf.pos x hx) (hp x hx)⟩ |
| 53 | have hh := hf.pos x hx; have he := hp x hx |
| 54 | rw [abs_of_nonneg (by positivity)]; exact inv_anti₀ hh (by linarith) |
| 55 | lemma Lit.add (hf : Lit j f) (hg : Lit j g) : Lit j (fun x => f x+g x) := hf.add_left hg.high fun x hx => (hg.pos x hx).le |
| 56 | lemma Lit.mul (hf : Lit j f) (hg : Lit j g) : Lit j (fun x => f x*g x) := by |
| 57 | refine ⟨hf.high.mul hg.high,?_, fun x hx => mul_pos (hf.pos x hx) (hg.pos x hx)⟩ |
| 58 | simp_rw [_root_.mul_inv]; exact hf.low.mul hg.low |
| 59 | lemma Lit.div (hf : Lit j f) (hg : Lit j g) : Lit j (fun x => f x/g x) := by simp_rw [div_eq_mul_inv]; exact hf.mul hg.inv |
| 60 | lemma Lit.pow (hf : Lit j f) (k : ℕ) : Lit j (fun x => (f x)^k) := ⟨hf.high.power _,by simp_rw [← inv_pow]; exact hf.low.power _,fun x hx => pow_pos (hf.pos x hx) _⟩ |
| 61 | lemma Lit.min' (hf : Lit j f) (hg : Lit j g) : Lit j (fun x => min (f x) (g x)) := by |
| 62 | have hu x (hx : x.J=j) : 0 < min (f x) (g x) := lt_min (hf.pos x hx) (hg.pos x hx) |
| 63 | refine ⟨hf.high.ltMore (fun x hx => ?_),(hf.low.add hg.low).ltMore (fun x hx => ?_),hu⟩ |
| 64 | · rw [abs_of_nonneg (hu x hx).le]; exact min_le_left .. |
| 65 | have hh := hf.pos x hx; have he := hg.pos x hx |
| 66 | rw [abs_of_nonneg (inv_pos.mpr (hu x hx)).le] |
| 67 | rcases le_total (f x) (g x) with h|h |
| 68 | · rw [min_eq_left h]; exact le_add_of_nonneg_right (by positivity) |
| 69 | rw [min_eq_right h]; exact le_add_of_nonneg_left (by positivity) |
| 70 | |
| 71 | lemma tame_radius (j : ℕ) : Tame j (fun x => x.radius) := by |
| 72 | unfold Patch.radius |
| 73 | simp_rw [Nat.cast_mul] |
| 74 | refine ((tame_k ((j+3:ℕ):ℝ)).mul lit_size.high).at_eq ?_ |
| 75 | intro x hx; simp only [hx] |
| 76 | end YM.Push.Uniform |