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 Mathlib.Analysis.InnerProductSpace.StarOrder |
| 2 | import YM.Analysis.Weak |
| 3 | import YM.OS.Flow |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | /-! |
| 10 | # Continuous calculus on the bounded first-step, positive powers |
| 11 | |
| 12 | No Stone postulated. Deliberately avoid atomic-at-zero pitfalls. |
| 13 | Right half plane contractive norm calculus (no op norm continuity edge assumed). |
| 14 | -/ |
| 15 | set_option autoImplicit false |
| 16 | noncomputable section |
| 17 | namespace YM.OS.Semigroup |
| 18 | open Function Set Filter Complex Analysis |
| 19 | open scoped NNReal ENNReal Topology BigOperators ContDiff InnerProductSpace ComplexOrder |
| 20 | variable {H : Hilbert} {a : Axis} (S : Semigroup H a) |
| 21 | |
| 22 | abbrev duration (t : ℝ≥0) := ((t:ℝ):ℂ) |
| 23 | |
| 24 | abbrev inside : Set ℂ := {z | 0 < z.re} |
| 25 | lemma open_inside : IsOpen inside := isOpen_lt continuous_const continuous_re |
| 26 | lemma dur {t : ℝ≥0} : duration t ∈ inside ↔ 0<t := by |
| 27 | change 0<(duration t).re ↔ _ |
| 28 | rw [duration,ofReal_re] |
| 29 | rfl |
| 30 | |
| 31 | lemma clock_mul (n : ℕ) (t) : S.E (n • t) = S.E t ^ n := by |
| 32 | induction n with |
| 33 | | zero => rw [zero_smul, S.eZero,pow_zero]; rfl |
| 34 | | succ i ih => rw [add_smul,one_smul,S.time,ih,pow_succ]; rfl |
| 35 | |
| 36 | lemma stare (t) : IsSelfAdjoint (S.E t) := S.sym t |
| 37 | |
| 38 | lemma at_root {z : ℂ} {t} (h : z ∈ spectrum ℂ (S.E t)) : |
| 39 | ∃ r : ℝ, 0 ≤ r ∧ r ≤ 1 ∧ z=(r:ℂ) := by |
| 40 | -- square gives nonneg; split trivial Op case for spectral norm |
| 41 | have he : SpectrumRestricts (S.E t) ContinuousMap.realToNNReal := by |
| 42 | rw [show S.E t=S.E (2 • (t/2)) from congr_arg S.E (by rw [show ((2:ℕ)•(t/2))=(2:ℝ≥0)*(t/2) by simp]; field_simp), S.clock_mul] |
| 43 | exact (S.stare (t/2)).sq_spectrumRestricts |
| 44 | have hc := SpectrumRestricts.real_iff.mp (S.stare t).spectrumRestricts z h |
| 45 | have hr := SpectrumRestricts.nnreal_iff.mp he _ ((S.stare t).coe_mem_spectrum_complex.mp (hc ▸ h)) -- may rewrite hc in rhs h ?? |
| 46 | refine ⟨z.re,hr,?_ ,hc⟩ |
| 47 | rcases subsingleton_or_nontrivial H.space with I|I |
| 48 | · exfalso; apply h |
| 49 | change IsUnit ((algebraMap ℂ H.Op) z - S.E t); rw [Subsingleton.elim ((algebraMap ℂ H.Op) z - S.E t) (1:H.Op)]; exact isUnit_one |
| 50 | exact (re_le_norm _).trans ((spectrum.norm_le_norm_of_mem h).trans (S.shrinks _)) |
| 51 | |
| 52 | /-- Continuous on closed spec (includes zero possibly only in spectrum). |
| 53 | - Outside right halfplane use junk zero, never evaluate. -/ |
| 54 | def adopt (t) (z : ℂ) (h : z ∈ inside) : C(spectrum ℂ (S.E t),ℂ) := |
| 55 | ⟨fun x => x.val ^ z, by |
| 56 | apply continuous_iff_continuousAt.mpr; intro x |
| 57 | have he : 0 ≤ x.val.re := by |
| 58 | obtain ⟨r,hr,-,hy⟩ := S.at_root x.property; rwa [hy,ofReal_re] |
| 59 | exact (continuousAt_cpow_const_of_re_pos (Or.inl he) h).comp continuous_subtype_val.continuousAt⟩ |
| 60 | |
| 61 | def roots (z : ℂ) : C(spectrum ℂ (S.E 1), ℂ) := if h : z ∈ inside then S.adopt 1 z h else 0 |
| 62 | |
| 63 | -- rights |
| 64 | lemma on_root {z} (h : z ∈ inside) (x) : S.roots z x=(x.val:ℂ)^z := by simp [roots,h,adopt] |
| 65 | |
| 66 | lemma joins_root : ContinuousOn S.roots inside := by |
| 67 | apply continuousOn_iff_continuous_restrict.mpr |
| 68 | apply ContinuousMap.continuous_of_continuous_uncurry |
| 69 | apply continuous_iff_continuousAt.mpr |
| 70 | intro x |
| 71 | rcases x with ⟨⟨p,hp⟩,z⟩ |
| 72 | rw [show uncurry (fun (x : inside) y => (inside.restrict S.roots x) y) = fun x => x.2.val ^ (x.1.val : ℂ) from |
| 73 | funext fun x => S.on_root x.1.property x.2] |
| 74 | have he : 0 ≤ z.val.re := by |
| 75 | obtain ⟨r,hr,-,hy⟩ := S.at_root z.property; rwa [hy,ofReal_re] |
| 76 | exact ContinuousAt.comp (g := fun p : ℂ × ℂ => p.1^p.2) (f := fun x : ↥inside × ↥(spectrum ℂ (S.E 1)) => ((x.2.val:ℂ), x.1.val)) |
| 77 | (continuousAt_cpow_of_re_pos (p := (z.val,p)) (Or.inl he) hp) |
| 78 | ((continuous_subtype_val.comp continuous_snd |>.prodMk (continuous_subtype_val.comp continuous_fst)).continuousAt) |
| 79 | |
| 80 | lemma holo_root : AnalyticOnNhd ℂ S.roots inside := by |
| 81 | let X := ↥(spectrum ℂ (S.E 1)) |
| 82 | let P (i : X) : C(X,ℂ) →L[ℂ] ℂ := ContinuousMap.evalCLM ℂ i |
| 83 | refine Analysis.lift_weak (Set.range P) (fun f g h => ContinuousMap.ext fun i => h (P i) (mem_range_self i)) open_inside S.joins_root ?_ |
| 84 | rintro _ ⟨x,rfl⟩ |
| 85 | refine (DifferentiableOn.congr (f := fun z : ℂ => x.val^z) ?_ (fun p hp => S.on_root hp x)) |
| 86 | by_cases h : x.val=0 |
| 87 | · simp only [h] |
| 88 | apply DifferentiableOn.congr (differentiableOn_const (c := (0:ℂ))); intro z hz |
| 89 | refine Complex.zero_cpow ?_ |
| 90 | rintro rfl; exact lt_irrefl (0:ℝ) hz |
| 91 | apply (differentiable_id.const_cpow (Or.inl h)).differentiableOn |
| 92 | |
| 93 | def F (z : ℂ) : H.Op := cfcHom (S.stare 1).isStarNormal (S.roots z) |
| 94 | |
| 95 | lemma norm_row {z} (h : z∈inside) : ‖S.F z‖ ≤ 1 := by |
| 96 | rw [F,(isometry_cfcHom _ (S.stare 1).isStarNormal).norm_map_of_map_zero (map_zero _)] |
| 97 | apply ((S.roots z).norm_le (by norm_num)).mpr |
| 98 | intro x |
| 99 | obtain ⟨r,hr,hi,hh⟩ := S.at_root x.property |
| 100 | rw [S.on_root h,hh, norm_cpow_eq_rpow_re_of_nonneg hr (show z.re ≠ 0 from LT.lt.ne' h)] |
| 101 | exact Real.rpow_le_one hr hi (le_of_lt h) |
| 102 | |
| 103 | lemma localHeat : AnalyticOnNhd ℂ S.F inside := by |
| 104 | let V : C(spectrum ℂ (S.E 1),ℂ) →⋆ₐ[ℂ] H.Op := cfcHom (S.stare 1).isStarNormal |
| 105 | let L : C(spectrum ℂ (S.E 1),ℂ) →L[ℂ] H.Op := ⟨V.toAlgHom.toLinearMap,cfcHom_continuous (S.stare 1).isStarNormal⟩ |
| 106 | intro z hz |
| 107 | exact L.analyticAt _ |>.comp (S.holo_root z hz) |
| 108 | |
| 109 | lemma pairs {z w} (h : z ∈ inside) (hv : w ∈ inside) : S.F (z+w)=(S.F z).comp (S.F w) := by |
| 110 | have he : S.roots (z+w)=S.roots z*S.roots w := by |
| 111 | apply ContinuousMap.ext |
| 112 | intro x |
| 113 | have hj : z+w∈inside := (add_pos (show 0<z.re from h) (show 0<w.re from hv)) |
| 114 | change S.roots (z+w) x=S.roots z x*S.roots w x |
| 115 | rw [S.on_root hj, S.on_root h,S.on_root hv] |
| 116 | by_cases H : x.val=0 |
| 117 | · rw [H,zero_cpow (show z+w≠0 from fun he => lt_irrefl (0:ℝ) (show (0:ℂ) ∈inside from he ▸ hj)), |
| 118 | zero_cpow (show z≠0 from fun he => lt_irrefl (0:ℝ) (show (0:ℂ) ∈inside from he ▸ h)), zero_mul] |
| 119 | exact cpow_add z w H |
| 120 | unfold F; rw [he,map_mul]; rfl |
| 121 | |
| 122 | lemma flip_row {z} (hz : z∈ inside) : (S.F z).adjoint=S.F (star z) := by |
| 123 | have he : S.roots (star z)=star (S.roots z) := by |
| 124 | apply ContinuousMap.ext; intro x; change _ = star _ |
| 125 | rw [S.on_root (show star z∈inside from hz),S.on_root hz] |
| 126 | obtain ⟨r,hr,_,hx⟩ := S.at_root x.property |
| 127 | rw [hx] |
| 128 | change _ ^ (starRingEnd ℂ z) = _ |
| 129 | rw [cpow_conj (↑r) z (by rw [arg_ofReal_of_nonneg hr]; exact Real.pi_pos.ne),conj_ofReal] |
| 130 | rfl |
| 131 | unfold F; rw [he,map_star]; rfl |
| 132 | |
| 133 | lemma stays {z} (_ : z∈ inside) (s : Cross a) : (S.F z).comp (S.U s)=(S.U s).comp (S.F z) := by |
| 134 | have he : Commute (S.E 1) (S.U s) := S.independent 1 s |
| 135 | exact (S.stare 1).commute_cfcHom (S.stare 1).isStarNormal he (S.roots z) |
| 136 | end YM.OS.Semigroup |