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.OS.Dynamics |
| 2 | |
| 3 | /-! |
| 4 | # Heat-zero space and projection, without spectral theory |
| 5 | -/ |
| 6 | set_option autoImplicit false |
| 7 | noncomputable section |
| 8 | namespace YM.OS.Semigroup |
| 9 | open Function Set Filter InnerProductSpace |
| 10 | open scoped NNReal Topology BigOperators InnerProductSpace ComplexOrder |
| 11 | variable {H : Hilbert} {a : Axis} (S : Semigroup H a) |
| 12 | |
| 13 | /-- Invariant under all forward time, not assumed vacuum span. -/ |
| 14 | def ground : Submodule ℂ H := ⨅ t, LinearMap.ker ((S.E t).toLinearMap-LinearMap.id) |
| 15 | |
| 16 | lemma fixed (x : H) : x ∈ S.ground ↔ ∀ t : ℝ≥0, S.E t x = x := by |
| 17 | rw [ground, Submodule.mem_iInf]; simp [sub_eq_zero] |
| 18 | |
| 19 | instance : CompleteSpace S.ground := by |
| 20 | have he : ((S.ground : Submodule ℂ _) : Set H) = ⋂ t, {x : H | S.E t x=x} := by |
| 21 | ext x; simp [S.fixed x] |
| 22 | haveI : IsClosed ((S.ground : Submodule ℂ _) : Set H) := by rw [he]; exact isClosed_iInter fun t => isClosed_eq (S.E t).continuous continuous_id |
| 23 | infer_instance |
| 24 | |
| 25 | abbrev orth := S.ground.starProjection |
| 26 | |
| 27 | theorem norm_decrease (x : H) : Antitone fun t => ‖S.E t x‖ := by |
| 28 | intro i j h |
| 29 | change ‖S.E j x‖ ≤ ‖S.E i x‖ |
| 30 | conv_lhs => rw [← tsub_add_cancel_of_le h, S.time] |
| 31 | exact ((S.E (j-i)).le_opNorm _).trans |
| 32 | (mul_le_of_le_one_left (norm_nonneg _) (S.shrinks _)) |
| 33 | |
| 34 | lemma swing t (x y : H) : inner ℂ (S.E t x) y = inner ℂ x (S.E t y) := by |
| 35 | conv_lhs => rw [← S.sym t] |
| 36 | rw [ContinuousLinearMap.adjoint_inner_left] |
| 37 | |
| 38 | theorem emerges (x : H) : Tendsto (fun t => S.E t x) atTop (𝓝 (S.orth x)) := by |
| 39 | let f t := S.E t x |
| 40 | have he : Antitone (fun t => ‖f t‖^2) := fun _ _ h => sq_le_sq₀ (norm_nonneg _) (norm_nonneg _) |
| 41 | |>.mpr (S.norm_decrease x h) |
| 42 | let c := ⨅ t, ‖f t‖^2 |
| 43 | have hb : BddBelow (range fun t => ‖f t‖^2) := ⟨0,by rintro z ⟨y,rfl⟩; exact sq_nonneg _⟩ |
| 44 | have hl : Tendsto (fun t => ‖f t‖^2) atTop (𝓝 c) := tendsto_atTop_ciInf he hb |
| 45 | have hi (u v) : inner ℂ (f u) (f v) = inner ℂ x (f (u+v)) := by unfold f; rw [S.swing,S.time]; rfl |
| 46 | have hh (u v) (h : u ≤ v) : dist (f u) (f v) ^ 2 ≤ ‖f u‖^2 - ‖f v‖^2 := by |
| 47 | let t := (u+v)/2 |
| 48 | have ht : t≤v := by unfold t; rw [div_le_iff₀ (by positivity)]; rw [mul_two]; gcongr |
| 49 | have hw : t+t=u+v := by simp [t] |
| 50 | rw [dist_eq_norm,norm_sub_sq (𝕜 := ℂ),hi u v,← hw, ← hi,inner_self_eq_norm_sq] |
| 51 | linarith [he ht] |
| 52 | have ht : CauchySeq f := by |
| 53 | apply Metric.cauchySeq_iff'.mpr |
| 54 | intro ε hp |
| 55 | obtain ⟨N,hN⟩ := (hl.eventually (gt_mem_nhds |
| 56 | (show c<c+ε^2 from lt_add_of_pos_right _ (pow_pos hp 2)))).exists |
| 57 | refine ⟨N,fun i h => ?_⟩ |
| 58 | apply (sq_lt_sq₀ dist_nonneg hp.le).mp |
| 59 | have hn := hh N i h; rw [dist_comm] at hn |
| 60 | have hy : c≤‖f i‖^2 := ciInf_le hb i |
| 61 | change ‖f N‖ ^2 < c + ε^2 at hN |
| 62 | linarith |
| 63 | obtain ⟨y,hY⟩ := cauchySeq_tendsto_of_complete ht |
| 64 | have hv : y ∈ S.ground := (S.fixed _).mpr fun t => by |
| 65 | have hu : (fun i => f (t+i)) = fun i => S.E t (f i) := by funext i; unfold f; rw [S.time]; rfl |
| 66 | have hw : Tendsto (fun i => f (t+i)) atTop (𝓝 y) := hY.comp (show Tendsto (fun i => t+i) atTop atTop from |
| 67 | tendsto_atTop_mono (show (fun i => i) ≤ fun i => t+i from fun i => by simp) tendsto_id) |
| 68 | rw [hu] at hw |
| 69 | exact tendsto_nhds_unique ((S.E t).continuous.continuousAt.tendsto.comp hY) hw |
| 70 | suffices h : y=S.orth x from h ▸ hY |
| 71 | symm |
| 72 | apply Submodule.eq_starProjection_of_mem_of_inner_eq_zero hv |
| 73 | intro u hu |
| 74 | have hx (t) : inner ℂ (f t) u = inner ℂ x u := by unfold f; rw [S.swing,(S.fixed _).1 hu] |
| 75 | have he : inner ℂ x u=inner ℂ y u := tendsto_nhds_unique (f := fun t => inner ℂ (f t) u) |
| 76 | (tendsto_const_nhds.congr' (Eventually.of_forall fun i => (hx i).symm)) |
| 77 | (hY.inner tendsto_const_nhds) |
| 78 | rw [inner_sub_left,he,sub_self] |
| 79 | end YM.OS.Semigroup |