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.Primitives.SMALL_FIELD_EXTERIOR.Flat |
| 2 | import YM.Primitives.SMALL_FIELD_EXTERIOR.Scroll |
| 3 | |
| 4 | |
| 5 | /-! |
| 6 | # Approximate range of the generator |
| 7 | |
| 8 | Method of continuity, done directly in finite error norms. No claim of C^k |
| 9 | solution of elliptic PDE on corners; no density or BL estimate assumed. |
| 10 | -/ |
| 11 | set_option autoImplicit false |
| 12 | noncomputable section |
| 13 | namespace YM.Primitives.SmallFieldExterior |
| 14 | open Function Set Filter MeasureTheory |
| 15 | open scoped Topology BigOperators ContDiff |
| 16 | variable {ι : Type} [Fintype ι] [DecidableEq ι] {V u f : Points ι → ℝ} {r ε : ℝ} |
| 17 | |
| 18 | private lemma finer (hV : Regular r 2 V) (h : ∀ f : Points ι → ℝ, ContinuousOn f (cube ι r) → |
| 19 | ∃ u, Neumann r u ∧ ∃ c : ℝ, size r 0 (f-(elliptic V u+(fun _ => c))) ≤ (1/2) * size r 0 f) : Approximate r V := by |
| 20 | intro f hf ε he |
| 21 | let A : ℝ := 1/2 |
| 22 | let C := size r 0 f |
| 23 | have ht (n : ℕ) : ∃ u, Neumann r u ∧ ∃ c : ℝ, size r 0 (f-(elliptic V u+(fun _ => c))) ≤ A^n*C := by |
| 24 | induction n with |
| 25 | | zero => |
| 26 | refine ⟨0,Neumann.const 0,0,?_⟩; rw [elliptic_zero,show (fun _ : Points ι => (0:ℝ))=0 from rfl]; simp [C] |
| 27 | | succ n ih => |
| 28 | obtain ⟨u,hu,c,hc⟩ := ih |
| 29 | let g : Points ι → ℝ := f-(elliptic V u+(fun _ => c)) |
| 30 | obtain ⟨v,hv,d,hd⟩ := h g (hf.sub (((hu.elliptic1 hV).cOn).add continuousOn_const)) |
| 31 | refine ⟨u+v,hu.add hv,c+d,?_⟩ |
| 32 | rw [show f-(elliptic V (u+v)+(fun _ => c+d))=g-(elliptic V v+(fun _ => d)) by |
| 33 | unfold g; rw [elliptic_add V hu hv]; ext; simp; ring] |
| 34 | exact hd.trans ((mul_le_mul_of_nonneg_left hc (by norm_num : 0 ≤ A)).trans_eq (by rw [pow_succ']; ring)) |
| 35 | have hT : Tendsto (fun n : ℕ => A^n*C) atTop (𝓝 0) := by |
| 36 | simpa only [zero_mul] using ((tendsto_pow_atTop_nhds_zero_of_lt_one (show 0 ≤ A by unfold A; norm_num) (by unfold A; norm_num)).mul_const C) |
| 37 | obtain ⟨j,hj⟩ := (hT.eventually (gt_mem_nhds he)).exists |
| 38 | obtain ⟨u,hu,c,hc⟩ := ht j |
| 39 | exact ⟨u,hu,c,hc.trans (show A^j*C < ε from hj).le⟩ |
| 40 | |
| 41 | private lemma turning (hr : 0 < r) (hV : Regular r 2 V) (hh : Charged r V 0) : |
| 42 | ∃ C : ℝ, 0 < C ∧ ∀ t∈Icc (0:ℝ) 1, Approximate r (t • V) → ∀ s : ℝ, |t-s| ≤ C → Approximate r (s • V) := by |
| 43 | obtain ⟨K,hk,h⟩ := advance_rate hr hV hh |
| 44 | let C := 1/(8*K) |
| 45 | have hC : 0 < C := by unfold C; positivity |
| 46 | refine ⟨C,hC,fun t ht ha s hs => finer (hV.smul s) ?_⟩ |
| 47 | intro f hf |
| 48 | let m := size r 0 f |
| 49 | rcases eq_or_lt_of_le (size_nn r 0 f) with he|he |
| 50 | · refine ⟨0,Neumann.const 0,0,?_⟩; rw [elliptic_zero,show (fun _ : Points ι => (0:ℝ))=0 from rfl]; simp [← he] |
| 51 | change 0 < m at he |
| 52 | obtain ⟨u,hu,c,hc⟩ := ha f hf (m/4) (by positivity) |
| 53 | let L : Points ι → ℝ := elliptic (t • V) u + (fun _ => c) |
| 54 | let H : Points ι → ℝ := elliptic (s • V) u + (fun _ => c) |
| 55 | have hL : ContinuousOn L (cube ι r) := (hu.elliptic1 (hV.smul t)).cOn.add continuousOn_const |
| 56 | have hH : ContinuousOn H (cube ι r) := (hu.elliptic1 (hV.smul s)).cOn.add continuousOn_const |
| 57 | have hp : size r 0 L ≤ 2*m := (deficit (V:=0) continuousOn_const hL hf).trans (by |
| 58 | change m+size r 0 (f-L) ≤ _ |
| 59 | change size r 0 (f-L) ≤ _ at hc; linarith) |
| 60 | refine ⟨u,hu,c,?_⟩ |
| 61 | have hi : size r 0 (L-H)=|t-s| * size r 0 (drift V u) := by |
| 62 | unfold L H |
| 63 | rw [add_sub_add_right_eq_sub,size_congr 0 (under_drift hV u s t), size_smul] |
| 64 | calc |
| 65 | size r 0 (f-H) = size r 0 ((f-L)+(L-H)) := by rw [sub_add_sub_cancel] |
| 66 | _ ≤ size r 0 (f-L) + size r 0 (L-H) := size_add continuousOn_const (hf.sub hL) (hL.sub hH) |
| 67 | _ ≤ m/4 + C*(K * (2*m)) := by |
| 68 | rw [hi]; exact add_le_add hc (mul_le_mul hs ((h u hu t ht c).trans (mul_le_mul_of_nonneg_left hp hk.le)) (size_nn ..) hC.le) |
| 69 | _ = _ := by change m/4 + C*(K*(2*m)) = (1/2)*m; unfold C; field_simp; ring |
| 70 | |
| 71 | theorem approximated (hr : 0 < r) (hV : Regular r 2 V) (hh : Charged r V 0) : Approximate r V := by |
| 72 | obtain ⟨C,hc,h⟩ := turning hr hV hh |
| 73 | obtain ⟨N,hN⟩ := exists_nat_gt (1/C) |
| 74 | have hn : (0:ℝ)<N := (one_div_pos.mpr hc).trans hN |
| 75 | let t (i : ℕ) := (i:ℝ)/N |
| 76 | have he i (hi : i ≤ N) : Approximate r (t i • V) := by |
| 77 | induction i with |
| 78 | | zero => simp [t,approximate_flat hr] |
| 79 | | succ i ih => |
| 80 | have hz : i≤N := by omega |
| 81 | apply h (t i) ⟨by unfold t; positivity, (div_le_one hn).mpr (by exact_mod_cast hz)⟩ (ih hz) _ |
| 82 | have hw : t i-t (i+1)= -(1/(N:ℝ)) := by unfold t; push_cast; ring |
| 83 | rw [hw,abs_neg,abs_of_nonneg (by positivity), div_le_iff₀ hn] |
| 84 | rw [mul_comm]; exact ((div_lt_iff₀ hc).mp hN).le |
| 85 | simpa [t,div_self hn.ne'] using he N le_rfl |
| 86 | |
| 87 | /-- Enough to invert against any continuous test of mean zero on the BOX. -/ |
| 88 | theorem range_zero (hr : 0 < r) (hV : Regular r 2 V) (hh : Charged r V 0) |
| 89 | (hf : ContinuousOn f (cube ι r)) (h : raw r V f=0) (he : 0 < ε) : |
| 90 | ∃ u, Neumann r u ∧ size r V (f-elliptic V u) ≤ ε := by |
| 91 | obtain ⟨K,hk⟩ := glide hr hV.cOn |
| 92 | have hK := hk.pos |
| 93 | obtain ⟨u,hu,c,hc⟩ := approximated hr hV hh f hf (ε/K) (by positivity) |
| 94 | refine ⟨u,hu,?_⟩ |
| 95 | let L := elliptic V u; let C : Points ι → ℝ := fun _ => -c |
| 96 | let D := f-L+C |
| 97 | have hi : ContinuousOn L (cube ι r) := (hu.elliptic1 hV).cOn |
| 98 | have hD : D=f-(elliptic V u+(fun _ => c)) := by unfold D C L; ext; simp; ring |
| 99 | have hg : bracket r V (f-L) C=0 := by |
| 100 | have hx : C=(-c) • (1:Points ι → ℝ) := by ext; simp [C] |
| 101 | have hv : bracket r V L C=0 := hu.mean_zero hr.le hV _ |
| 102 | rw [bracket_sub hV.cOn hf hi continuousOn_const,hv]; change bracket r V f C - 0 = 0 |
| 103 | rw [hx,bracket_sym r V f,bracket_smul,bracket] |
| 104 | rw [one_mul,h,mul_zero,sub_zero] |
| 105 | have hj : size r V D ≤ K * size r 0 D := by |
| 106 | simpa only [one_smul] using hk.down 1 ⟨zero_le_one,le_rfl⟩ D ((hf.sub hi).add continuousOn_const) |
| 107 | calc |
| 108 | _ ≤ size r V D := pythagoras hV.cOn (hf.sub hi) continuousOn_const hg |
| 109 | _ ≤ _ := hj.trans (by rw [hD]; exact (mul_le_mul_of_nonneg_left hc hK.le).trans_eq (by field_simp)) |
| 110 | end YM.Primitives.SmallFieldExterior |