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.Flow |
| 2 | |
| 3 | /-! |
| 4 | # Existence of the coordinate OS semigroups |
| 5 | |
| 6 | Unconditional from Table hierarchy. These will support either |
| 7 | PVM work or analytic-vector approaches to rotation. Completion applies |
| 8 | any cardinal size of register/plants in Type, no separability baked in. |
| 9 | -/ |
| 10 | set_option autoImplicit false |
| 11 | noncomputable section |
| 12 | namespace YM.OS |
| 13 | open Function Set Filter Analysis Word |
| 14 | open scoped Topology BigOperators InnerProductSpace NNReal ComplexOrder ComplexConjugate |
| 15 | variable {G : Gauge} {L : Register G} {S : Table L} {a : Axis} |
| 16 | |
| 17 | lemma ketC {D : Hilbert} {Y : Type*} [TopologicalSpace Y] (f : Y → D) (u : Y) |
| 18 | (hp : ContinuousAt (fun t => inner ℂ (f t) (f t)) u) |
| 19 | (hh : ContinuousAt (fun t => inner ℂ (f u) (f t)) u) : ContinuousAt f u := by |
| 20 | -- take norm-square of difference from u |
| 21 | have he : ContinuousAt (fun y => inner ℂ (f y) (f u)) u := by |
| 22 | rw [show (fun y => inner ℂ (f y) (f u)) = star ∘ fun y => inner ℂ (f u) (f y) from funext fun i => (inner_conj_symm _ _).symm] |
| 23 | exact (continuous_star (R := ℂ)).continuousAt.comp hh |
| 24 | have ht : ContinuousAt (fun y => dist (f y) (f u)) u := by |
| 25 | simp_rw [dist_eq_norm,@norm_eq_sqrt_re_inner ℂ,inner_sub_right,inner_sub_left] |
| 26 | exact Real.continuous_sqrt.continuousAt.comp (Complex.continuous_re.continuousAt.comp |
| 27 | ((hp.sub hh).sub (he.sub (continuousAt_const (y := inner ℂ (f u) (f u)))))) |
| 28 | apply tendsto_iff_dist_tendsto_zero.mpr; simpa only [ContinuousAt,dist_self] using ht |
| 29 | |
| 30 | variable (X : Schwinger S a) |
| 31 | lemma contE (h : S.Hierarchy) (i : Future L a) : Continuous fun (t : ℝ≥0) => X.plant (travel i t) := by |
| 32 | have he : Continuous fun (t : ℝ≥0) => S.gram a i.val (travel i t).val := by |
| 33 | let c : E4 → ℂ := fun x => S.expect (reflect i.val a ++ carry i.val x) |
| 34 | let f : ℝ≥0 → E4 := fun t => (t:ℝ) • basis a |
| 35 | have h₁ : Continuous f := continuous_subtype_val.smul continuous_const |
| 36 | have hu := (correl h a i i).1.comp_continuous h₁ (fun t => show 0 ≤ f t a by simp [f]) |
| 37 | exact hu |
| 38 | apply continuous_iff_continuousAt.mpr |
| 39 | intro t |
| 40 | apply ketC (D := X.H) |
| 41 | · simp_rw [X.measure, sym_time h.translations, advances] |
| 42 | exact (he.comp (show Continuous (fun x : ℝ≥0 => x+x) from continuous_id.add continuous_id)).continuousAt |
| 43 | simp_rw [X.measure,sym_time h.translations a i, advances] |
| 44 | exact (he.comp (show Continuous (fun x : ℝ≥0 => x+t) from continuous_id.add continuous_const)).continuousAt |
| 45 | |
| 46 | lemma contU (h : S.Hierarchy) (i : Future L a) : Continuous fun (x : Cross a) => X.plant (over i x) := by |
| 47 | apply continuous_iff_continuousAt.mpr |
| 48 | intro t |
| 49 | apply ketC (D := X.H) |
| 50 | · simp_rw [X.measure,sym_space h.translations]; exact continuousAt_const |
| 51 | simp_rw [X.measure] |
| 52 | let F (x : Cross a) := (x.val : E4) |
| 53 | have he : Continuous F := continuous_subtype_val |
| 54 | have H := (correl h a (over i t) i).1.comp_continuous he (fun x => show _ from (le_of_eq x.property.symm)) |
| 55 | exact H.continuousAt |
| 56 | |
| 57 | structure Chamber (S : Table L) (a : Axis) where |
| 58 | GNS : Schwinger S a |
| 59 | flow : Semigroup GNS.H a |
| 60 | atBirth t (v : Future L a) : GNS.plant (travel v t) = flow.E t (GNS.plant v) |
| 61 | across t (v : Future L a) : GNS.plant (over v t) = flow.U t (GNS.plant v) |
| 62 | |
| 63 | lemma implement (H : S.Hierarchy) : ∃ C : Chamber S a, C.GNS = X := by |
| 64 | choose E hE hP using fun (t : ℝ≥0) => X.by_bound (fun v => X.plant (travel v t)) 1 zero_le_one (by |
| 65 | intro g; rw [one_mul]; exact contract X H t g) |
| 66 | choose U hU hW using fun (x : Cross a) => X.by_bound (fun v => X.plant (over v x)) 1 zero_le_one (by |
| 67 | intro g; rw [one_mul]; exact (safe X x H g).le) |
| 68 | have es t : (E t).adjoint=E t := by |
| 69 | apply X.by_bud; intro v |
| 70 | refine X.whole.eq_of_inner_left ℂ fun f => ?_ |
| 71 | rw [ContinuousLinearMap.adjoint_inner_left] |
| 72 | -- linearity on all sums; compare singles |
| 73 | induction f using Finsupp.induction_linear with |
| 74 | | zero => simp |
| 75 | | add f g hf hg => -- extract v form after adj rewrite |
| 76 | simp only [map_add, inner_add_right,hf,hg] |
| 77 | | single i c => |
| 78 | simp only [Kernel.Gram.stems,Finsupp.linearCombination_single,map_smul, |
| 79 | inner_smul_right,hP,X.measure,sym_time H.translations] |
| 80 | have hu : U 0=ContinuousLinearMap.id ℂ X.H := X.by_bud fun i => by rw [hW,pause]; rfl |
| 81 | have hv (x y) : U (x+y)=(U x).comp (U y) := by |
| 82 | apply X.by_bud; intro i; simp [hW, parallel, add_comm x y] |
| 83 | let B : Semigroup X.H a := { |
| 84 | E := E |
| 85 | U := U |
| 86 | eZero := X.by_bud fun i => by rw [hP,done]; rfl |
| 87 | sym := es |
| 88 | uZero := hu |
| 89 | space := hv |
| 90 | shrinks := hE |
| 91 | time := fun x y => X.by_bud fun i => by simp [hP,add_comm x y] |
| 92 | independent := fun t y => X.by_bud fun i => by simp [hP,hW] |
| 93 | unitary := by |
| 94 | intro t p |
| 95 | have ht (t : Cross a) (p) : ‖U t p‖ ≤ ‖p‖ := ((U t).le_opNorm p).trans |
| 96 | (mul_le_of_le_one_left (norm_nonneg _) (hU _)) |
| 97 | refine le_antisymm (ht _ _) ?_ |
| 98 | have he := ht (-t) (U t p) |
| 99 | rw [← ContinuousLinearMap.comp_apply,← hv,neg_add_cancel,hu] at he |
| 100 | exact he |
| 101 | continuousE := strong X (D := X.H) hE fun i => by simp_rw [hP]; exact contE X H i |
| 102 | continuousU := strong X (D := X.H) hU fun i => by simp_rw [hW]; exact contU X H i |
| 103 | } |
| 104 | exact ⟨⟨X,B,fun t v => (hP t v).symm,fun x v => (hW x v).symm⟩,rfl⟩ |
| 105 | |
| 106 | lemma realization (H : S.Hierarchy) (a : Axis) : Nonempty (Chamber S a) := |
| 107 | ⟨(implement (Classical.choice (schwinger_ready (a := a) H)) H).choose⟩ |
| 108 | end YM.OS |