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.Shift.Ridge |
| 2 | |
| 3 | /-! |
| 4 | # Exact Taylor along real heights. Use *tested* repeated 1-direction lifts. |
| 5 | No bound on unscaled derivatives of distributions at the edge. |
| 6 | -/ |
| 7 | set_option autoImplicit false |
| 8 | noncomputable section |
| 9 | namespace YM.Boundary.Waves |
| 10 | open Filter Set Function MeasureTheory Probe Complex |
| 11 | open scoped Topology InnerProductSpace ContDiff BigOperators Interval ENNReal |
| 12 | variable {G : Gauge} {L : Register G} {S : Table L} {n : ℕ} (F : Waves S) |
| 13 | |
| 14 | def moves : (k : ℕ) → Joint n →L[ℂ] Joint n |
| 15 | | 0 => ContinuousLinearMap.id ℂ _ |
| 16 | | k+1 => (clock (rate n)).comp (moves k) |
| 17 | |
| 18 | def rocks (v : Fin n → S.Union) (y : Heights n) (f : Joint n) (t : ℝ) (k : ℕ) := F.psi v (y+t • rate n) (moves k f) |
| 19 | |
| 20 | def coal (t : ℝ) (m : ℕ) := (-↑t : ℂ)^m*(m.factorial:ℂ)⁻¹ |
| 21 | |
| 22 | def pol (v : Fin n → S.Union) (y : Heights n) (f : Joint n) (t : ℝ) (m : ℕ) := |
| 23 | ∑ k ∈ Finset.range (m+1), coal t k * F.rocks v y f t k |
| 24 | |
| 25 | def wind (v : Fin n → S.Union) (m : ℕ) (y : Heights n) (f : Joint n) (t : ℝ) := coal t m * F.rocks v y f t (m+1) |
| 26 | |
| 27 | def desired (v : Fin n → S.Union) (m : ℕ) (y : Heights n) (f : Joint n) := F.pol v y f 1 m -∫ s : ℝ in Ioc 0 1, |
| 28 | F.wind v m y f s |
| 29 | |
| 30 | private lemma pipe (t : ℝ) (m : ℕ) : HasDerivAt (fun t : ℝ => coal t (m+1)) (-coal t m) t := by |
| 31 | have he := (Complex.ofRealCLM.hasDerivAt (x:=t)).neg.pow (m+1) |>.mul_const ((m+1).factorial:ℂ)⁻¹ |
| 32 | apply he.congr_deriv |
| 33 | unfold coal |
| 34 | have hp : (m.factorial:ℂ)≠0 := by norm_cast; exact Nat.factorial_ne_zero _ |
| 35 | have hv : (m:ℂ)+1≠0 := by exact_mod_cast Nat.succ_ne_zero m |
| 36 | rw [Nat.factorial_succ, Nat.cast_mul, mul_inv] |
| 37 | push_cast; simp only [Pi.neg_apply, ofRealCLM_apply,ofReal_one] |
| 38 | field_simp |
| 39 | |
| 40 | lemma right (h : F.Lines) (v : Fin n → S.Union) (y : Heights n) (f : Joint n) (m : ℕ) (x : ℝ) |
| 41 | (p : y+x • rate n∈east n) : HasDerivAt (fun t => F.pol v y f t m) (F.wind v m y f x) x := by |
| 42 | have H (k) : HasDerivAt (fun t => F.rocks v y f t k) (F.rocks v y f x (k+1)) x := h n v (moves k f) y _ x p |
| 43 | induction m with |
| 44 | | zero => simpa [wind,pol,coal] using! H 0 |
| 45 | | succ m IH => |
| 46 | have ht := IH.add ((pipe x m).mul (H (m+1))) |
| 47 | simp_rw [show (fun t => F.pol v y f t (m+1))= (fun t => F.pol v y f t m+coal t (m+1)*F.rocks v y f t (m+1)) from funext fun t => Finset.sum_range_succ (fun k ↦ coal t k*_) _] |
| 48 | apply ht.congr_deriv; unfold wind; ring |
| 49 | |
| 50 | theorem meant (ha : F.Along) (h : F.Lines) (v : Fin n → S.Union) (y : Heights n) (hy : y∈east n) |
| 51 | (f : Joint n) (m : ℕ) : F.desired v m y f= F.psi v y f := by |
| 52 | unfold desired |
| 53 | have he (x : ℝ) (hx : x ∈ uIcc (0:ℝ) 1) : y+x • rate n∈east n := grows hy (by rw [uIcc_of_le zero_le_one] at hx; exact hx.1) |
| 54 | have ht : F.pol v y f 0 m= F.psi v y f := by |
| 55 | unfold pol |
| 56 | rw [Finset.sum_eq_single_of_mem 0 (by simp)] |
| 57 | · simp [coal,rocks,moves] |
| 58 | intro b _ hb; simp [coal,zero_pow hb] |
| 59 | rw [← intervalIntegral.integral_of_le (a:=(0:ℝ)) (b:=1) zero_le_one, intervalIntegral.integral_eq_sub_of_hasDerivAt |
| 60 | (fun x hx => F.right h v y f m x (he x hx)), ht]; swap |
| 61 | · have hh : ContinuousOn (F.wind v m y f) (uIcc (0:ℝ) 1) := by |
| 62 | unfold wind; apply ContinuousOn.mul |
| 63 | · unfold coal; fun_prop |
| 64 | exact (ha n v _).comp (show ContinuousOn (fun t : ℝ => y+t • rate n) _ from by fun_prop) he |
| 65 | exact hh.intervalIntegrable |
| 66 | abel |
| 67 | |
| 68 | lemma expense {v : Fin n → S.Union} (m : ℕ) {C : ℝ} |
| 69 | (hm : ∀ (y : Heights n) (k : ℝ), k ∈ Ioc 0 1 → broad y k → ∀ x, ‖F.restricted v y x‖ ≤ C*k⁻¹^m) |
| 70 | (y : Heights n) (hy : y∈sunrise n) (f : Joint n) {t : ℝ} (hr : t∈Ioc (0:ℝ) 1) : |
| 71 | ‖F.wind v m y f t‖ ≤ C*weight (moves (m+1) f) := by |
| 72 | have hF : ‖(m.factorial:ℂ)‖ = (m.factorial:ℝ) := by exact Complex.norm_natCast _ |
| 73 | have he : ((m.factorial:ℝ))⁻¹ ≤ 1 := inv_le_one_of_one_le₀ (by exact_mod_cast Nat.factorial_pos m) |
| 74 | rw [wind,norm_mul,coal,norm_mul, Complex.norm_pow,norm_neg,Complex.norm_real,Real.norm_eq_abs,abs_of_nonneg hr.1.le, norm_inv,hF] |
| 75 | exact le_trans (mul_le_mul_of_nonneg_right (mul_le_of_le_one_right (pow_nonneg hr.1.le m) he) (norm_nonneg _)) |
| 76 | (beam F m C hm hy (moves (m+1) f) hr) |
| 77 | |
| 78 | theorem maintains (v : Fin n → S.Union) (ha : F.Along) (m : ℕ) {C : ℝ} |
| 79 | (hm : ∀ (y : Heights n) (k : ℝ), k ∈ Ioc 0 1 → broad y k → ∀ x, ‖F.restricted v y x‖ ≤ C*k⁻¹^m) |
| 80 | (f : Joint n) : ContinuousOn (fun y => F.desired v m y f) (sunrise n) := by |
| 81 | intro s hs |
| 82 | unfold desired |
| 83 | apply ContinuousWithinAt.sub |
| 84 | · apply ContinuousOn.continuousWithinAt (s:=sunrise n) (x:=s) (by |
| 85 | unfold pol |
| 86 | apply continuousOn_finsetSum; intro i _; apply ContinuousOn.const_mul |
| 87 | exact (ha n v (moves _ f)).comp (continuous_id.add continuous_const).continuousOn (fun _ H => dawns H zero_lt_one)) hs |
| 88 | refine tendsto_integral_filter_of_dominated_convergence (F:=fun (y : Heights n) => F.wind v m y f) |
| 89 | (f:= F.wind v m s f) (bound := fun t : ℝ => C*weight (moves (m+1) f)) ?_ ?_ (integrable_const _) ?_ |
| 90 | · filter_upwards [self_mem_nhdsWithin] with y hy |
| 91 | have ht : ContinuousOn (F.wind v m y f) (Ioc 0 1) := by |
| 92 | unfold wind; apply ContinuousOn.mul; unfold coal; fun_prop |
| 93 | exact (ha n v _).comp (show ContinuousOn (fun t : ℝ => y+t • rate n) _ from by fun_prop) (fun _ p => dawns hy p.1) |
| 94 | exact ht.aestronglyMeasurable measurableSet_Ioc |
| 95 | · filter_upwards [self_mem_nhdsWithin] with y hy |
| 96 | exact ae_restrict_of_forall_mem measurableSet_Ioc fun x h => F.expense m hm _ hy f h |
| 97 | apply ae_restrict_of_forall_mem measurableSet_Ioc |
| 98 | intro x hx |
| 99 | have H : ContinuousOn (fun y : Heights n => F.psi v (y+x • rate n) (moves (m+1) f)) (sunrise n) := |
| 100 | (ha n v _).comp (continuous_id.add continuous_const).continuousOn (fun _ hy => dawns hy hx.1) |
| 101 | exact tendsto_const_nhds.mul (H s hs) |
| 102 | end YM.Boundary.Waves |