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.Bid.Loan |
| 2 | import YM.Next.BOUNDARY.Parallel |
| 3 | |
| 4 | /-! |
| 5 | # Descent on *these* quotient fields (boost, inclusions, J_E) |
| 6 | |
| 7 | Real spatial rotations AND reflection supplied from this O(4) Euclidean action. |
| 8 | `conj` commutes with its real lie derivatives; reflection changes the sign on |
| 9 | the time--space planes. Hence `adj`, which is *anti*linear, commutes with the |
| 10 | actual boosts. No claim of bounded action on the algebraic Union in any norm. |
| 11 | This closes a boundary compatibility / spin producer WITHOUT assuming a lift |
| 12 | through a free model. The proof of the Euclidean inputs remains upstream. |
| 13 | -/ |
| 14 | |
| 15 | set_option autoImplicit false |
| 16 | noncomputable section |
| 17 | namespace YM.Next.BOUNDARY.Descent |
| 18 | open Function Filter NormedSpace Set Mink Table Boundary Complex |
| 19 | open scoped Topology Matrix.Norms.Frobenius |
| 20 | attribute [local instance] fieldOp_smul fieldOp_top |
| 21 | |
| 22 | variable {G : Gauge} {L : Register G} {S : Table L} (R : Rotation S) {P : DiffPlan S} {H : S.RealSpin} |
| 23 | |
| 24 | private def realCast (d : ℕ) (Q : S.Field d →ₛₗ[starRingEnd ℂ] S.Field d) : S.Field d →L[ℝ] S.Field d := |
| 25 | LinearMap.toContinuousLinearMap { |
| 26 | toFun := Q, map_add' := map_add Q |
| 27 | map_smul' := fun c x => by |
| 28 | change Q (c • x)=c • Q x; simp only [RCLike.real_smul_eq_coe_smul (K := ℂ),map_smulₛₗ] |
| 29 | exact congr_arg (· • Q x) (Complex.conj_ofReal c) } |
| 30 | |
| 31 | lemma lie_real (h : Spin.Port R H) (d : ℕ) (U : Ortho.Skew) (v : S.Field d) : |
| 32 | S.conj H d (lie R d U v)=lie R d U (S.conj H d v) := by |
| 33 | have he : HasDerivAt (fun t => S.conj H d (R.act d (Ortho.oneParameter U t) v)) |
| 34 | (S.conj H d (lie R d U v)) 0 := |
| 35 | (realCast d (S.conj H d)).hasFDerivAt.comp_hasDerivAt 0 (h.spinAt d U v) |
| 36 | simp_rw [h.real] at he; exact he.unique (h.spinAt d U _) |
| 37 | |
| 38 | lemma er_reflect (h : Spin.Port R H) (d : ℕ) (v : S.Field d) : |
| 39 | er R d (Signed.reflect timeAxis) v=S.mirror H d (Signed.mirror timeAxis) v := |
| 40 | h.signed .. |
| 41 | |
| 42 | lemma rank_adj (h : Spin.Port R H) (d : ℕ) (a : SpaceAxis) (v : S.Field d) : |
| 43 | S.adj H d timeAxis (rankAction R d (B a) v)=rankAction R d (B a) (S.adj H d timeAxis v) := by |
| 44 | let m := Signed.reflect timeAxis |
| 45 | have he := er_lie R h d m (Q a) |
| 46 | have hp : orbitA m (Q a) = -(Q a) := by |
| 47 | apply Subtype.ext |
| 48 | change theta*(Q a).val * star theta = -(Q a).val |
| 49 | rw [← BQ a,star_theta,← mul_assoc theta, time_parity a] |
| 50 | simp only [neg_mul,mul_assoc, theta_sq, mul_one] |
| 51 | rw [hp,map_neg] at he |
| 52 | have hk : S.adj H d timeAxis (lie R d (Q a) v) = -(lie R d (Q a) (S.adj H d timeAxis v)) := by |
| 53 | unfold Table.adj; simp only [LinearMap.comp_apply, lie_real R h, ← er_reflect R h] |
| 54 | exact DFunLike.congr_fun he (S.conj H d v) |
| 55 | simp_rw [rank_B R] |
| 56 | change S.adj H d timeAxis ((-I) • lie R d (Q a) v) = (-I) • lie R d (Q a) (S.adj H d timeAxis v) |
| 57 | rw [map_smulₛₗ, hk, show starRingEnd ℂ (-I)=I by simp, smul_neg, neg_smul] |
| 58 | |
| 59 | lemma eb_through {d e : ℕ} (a : SpaceAxis) (f : S.Field d →L[ℝ] S.Field e) |
| 60 | (h : ∀ x, f (rankAction R d (B a) x)=rankAction R e (B a) (f x)) (t : ℝ) (x : S.Field d) : |
| 61 | f (eb R d a t x) = eb R e a t (f x) := by |
| 62 | let g t := f (eb R d a t x) |
| 63 | let k t := eb R e a t (f x) |
| 64 | let Z := (rankAction R e (B a)).restrictScalars ℝ |
| 65 | have hg (u) : HasDerivAt g (Z (g u)) u := by |
| 66 | change HasDerivAt g (rankAction R e (B a) (f _)) u |
| 67 | rw [← h]; exact f.hasFDerivAt.comp_hasDerivAt u (on_field (eb_left R d a u) x) |
| 68 | have hk (u) : HasDerivAt k (Z (k u)) u := on_field (eb_left R e a u) (f x) |
| 69 | have hi : g 0=k 0 := by simp [g,k,eb_zero] |
| 70 | exact congr_fun (ODE_solution_unique_univ (s := fun _ => Set.univ) (fun (_ : ℝ) => Z.lipschitz.lipschitzOnWith) |
| 71 | (fun u => ⟨hg u,mem_univ _⟩) (fun u => ⟨hk u,mem_univ _⟩) hi) t |
| 72 | |
| 73 | lemma er_adj (h : Spin.Port R H) (d : ℕ) (k : Ortho) (hk : Lorentz.spatialTurn k) (v : S.Field d) : |
| 74 | S.adj H d timeAxis (er R d k v)=er R d k (S.adj H d timeAxis v) := by |
| 75 | have hp : S.conj H d (er R d k v)=er R d k (S.conj H d v) := h.real .. |
| 76 | unfold Table.adj; rw [LinearMap.comp_apply, LinearMap.comp_apply, ← er_reflect R h, ← er_reflect R h,hp] |
| 77 | change (er R d (Signed.reflect timeAxis)*er R d k) _=(er R d k*er R d (Signed.reflect timeAxis)) _ |
| 78 | rw [← er_mul R h, ← er_mul R h, show Signed.reflect timeAxis*k=k*Signed.reflect timeAxis from |
| 79 | Subtype.ext (space_parity k hk)] |
| 80 | |
| 81 | lemma spins_adj (h : Spin.Port R H) (d : ℕ) (k : Lorentz) (v : S.Field d) : |
| 82 | S.adj H d timeAxis (spins R d k v)=spins R d k (S.adj H d timeAxis v) := by |
| 83 | have he (a s x) : S.adj H d timeAxis (eb R d a s x)=eb R d a s (S.adj H d timeAxis x) := |
| 84 | eb_through R a (realCast d (S.adj H d timeAxis)) (rank_adj R h d a) s x |
| 85 | change S.adj H d timeAxis (eb _ _ 0 _ (eb _ _ 1 _ (eb _ _ 2 _ (er R d _ v))))= |
| 86 | eb _ _ 0 _ (eb _ _ 1 _ (eb _ _ 2 _ (er _ _ _ _))) |
| 87 | rw [he 0,he 1,he 2,er_adj R h d _ (oriented k)] |
| 88 | |
| 89 | lemma rotation_port (h : R.Laws P H) : Spin.Port R H := ⟨h.spin,h.fixes,h.group,h.signed,h.real,h.infinitesimal⟩ |
| 90 | |
| 91 | lemma rank_through (h : R.Laws P H) {d e : ℕ} (hp : d≤e) (a : SpaceAxis) (v : S.Field d) : |
| 92 | P.rise hp (rankAction R d (B a) v)=rankAction R e (B a) (P.rise hp v) := by |
| 93 | let T := ((P.rise hp).toContinuousLinearMap).restrictScalars ℝ |
| 94 | have hn : HasDerivAt (fun t => P.rise hp (R.act d (Ortho.oneParameter (Q a) t) v)) |
| 95 | (P.rise hp (lie R d (Q a) v)) 0 := |
| 96 | T.hasFDerivAt.comp_hasDerivAt 0 (h.infinitesimal d _ v) |
| 97 | have ht := h.infinitesimal e (Q a) (P.rise hp v) |
| 98 | simp_rw [h.filtered] at ht |
| 99 | rw [rank_B,rank_B]; change P.rise hp ((-I) • _) = (-I) • _ |
| 100 | rw [map_smul]; exact congr_arg _ (hn.unique ht) |
| 101 | |
| 102 | lemma spins_through (h : R.Laws P H) {d e : ℕ} (hp : d≤e) (k : Lorentz) (v : S.Field d) : |
| 103 | P.rise hp (spins R d k v)=spins R e k (P.rise hp v) := by |
| 104 | have he (a s x) : P.rise hp (eb R d a s x)=eb R e a s (P.rise hp x) := |
| 105 | eb_through R a ((P.rise hp).toContinuousLinearMap.restrictScalars ℝ) (rank_through R h hp a) s x |
| 106 | change P.rise hp (eb _ _ 0 _ (eb _ _ 1 _ (eb _ _ 2 _ (er R d _ v))))= |
| 107 | eb _ _ 0 _ (eb _ _ 1 _ (eb _ _ 2 _ (er _ _ _ _))) |
| 108 | rw [he 0,he 1,he 2, show P.rise hp (er R d (orientation k) v) = er R e (orientation k) (P.rise hp v) from |
| 109 | (h.filtered _ _ hp _ _).symm] |
| 110 | |
| 111 | lemma spatial_spins (h : Spin.Port R H) (d : ℕ) (k : Ortho) (hk : Lorentz.spatialTurn k) : |
| 112 | spins R d (Lorentz.room k hk) = er R d k := by |
| 113 | have ht := spatial_right R d h 1 k hk; rwa [one_mul, spins_one R d h, one_mul] at ht |
| 114 | |
| 115 | lemma boost_spins (h : Spin.Port R H) (d : ℕ) (a : SpaceAxis) (s : ℝ) : |
| 116 | spins R d (boost a s)=eb R d a s := by |
| 117 | have ht := boost_right R d h 1 a s; rwa [one_mul, spins_one R d h, one_mul] at ht |
| 118 | |
| 119 | def shell (h : Spin.Port R H) (d : ℕ) (g : Lorentz) : S.Field d ≃ₗ[ℂ] S.Field d := { |
| 120 | toLinearMap := (spins R d g).toLinearMap |
| 121 | invFun := spins R d g⁻¹ |
| 122 | left_inv x := by |
| 123 | change (spins R d g⁻¹*spins R d g) x=x; rw [← spins_mul R d h, inv_mul_cancel, spins_one R d h]; rfl |
| 124 | right_inv x := by |
| 125 | change (spins R d g*spins R d g⁻¹) x=x; rw [← spins_mul R d h, mul_inv_cancel, spins_one R d h]; rfl } |
| 126 | |
| 127 | |
| 128 | |
| 129 | /-- The lift doesn't identify S with any other table, nor assume topology on Union. -/ |
| 130 | theorem produce (h : R.Laws P H) (hp : S.Symmetric) (ht : P.Inclusions S) : ∃ K : Spins S, K.Descends R H := by |
| 131 | have hz := rotation_port R h |
| 132 | have he (g : Lorentz) : ∃ W : S.Union→ₗ[ℂ] S.Union, ∀ d x, W (S.pin d x)=S.pin d (spins R d g x) := |
| 133 | (P.uniqueLift hp ht (fun d => (S.pin d).comp (spins R d g).toLinearMap) (by |
| 134 | intro d e w x; change S.pin e (spins R e g (P.rise w x))=S.pin d (spins R d g x) |
| 135 | rw [← spins_through R h, P.stays hp ht])).exists |
| 136 | choose W hW using he |
| 137 | have h1 (x : S.Union) : W 1 x=x := by |
| 138 | obtain ⟨d,v,rfl⟩ := P.covered hp ht x; rw [hW,spins_one R d hz]; rfl |
| 139 | have hmul (f g : Lorentz) (x : S.Union) : W (f*g) x=W f (W g x) := by |
| 140 | obtain ⟨d,v,rfl⟩ := P.covered hp ht x; rw [hW,hW,hW,spins_mul R d hz]; rfl |
| 141 | let K : Spins S := { |
| 142 | shell := shell R hz |
| 143 | rail g := { |
| 144 | toLinearMap := W g, invFun := W g⁻¹ |
| 145 | left_inv x := by change W g⁻¹ (W g x)=_; rw [← hmul,inv_mul_cancel,h1] |
| 146 | right_inv x := by change W g (W g⁻¹ x)=_; rw [← hmul,mul_inv_cancel,h1] } } |
| 147 | refine ⟨K,hW,h1,hmul, ?_, ?_, ?_, fun g d x => spins_adj R hz d g x⟩ |
| 148 | · intro d v |
| 149 | exact ((ContinuousLinearMap.apply ℂ (S.Field d) v).continuous.comp (spins_continuous R d hz)) |
| 150 | · intro d a x |
| 151 | change HasDerivAt (fun t => spins R d (boost a t) x) _ _ |
| 152 | simp_rw [boost_spins R hz] |
| 153 | have hr := on_field (eb_right R d a 0) x |
| 154 | rw [eb_zero,one_mul,rank_B] at hr |
| 155 | exact hr |
| 156 | intro k hh d x; rw [show K.shell d (Lorentz.room k hh) x=spins R d _ x from rfl, spatial_spins R hz]; rfl |
| 157 | |
| 158 | private lemma shell_rep (K : Spins S) (h : K.Descends R H) (d : ℕ) (g k : Lorentz) (v : S.Field d) : |
| 159 | K.shell d (g*k) v=K.shell d g (K.shell d k v) := by |
| 160 | apply S.pin_inj; rw [← h.ties,← h.ties,← h.ties,h.representation] |
| 161 | |
| 162 | lemma matches_shell (K : Spins S) (h : K.Descends R H) (d : ℕ) (g : Lorentz) (v : S.Field d) : |
| 163 | K.shell d g v=spins R d g v := by |
| 164 | have hb (a t x) : K.shell d (boost a t) x=eb R d a t x := by |
| 165 | let k (s) := (K.shell d (boost a s)).toContinuousLinearEquiv.toContinuousLinearMap |
| 166 | have h0 : k 0=1 := by |
| 167 | ext v; apply S.pin_inj; change S.pin d (K.shell d _ v)=S.pin d v |
| 168 | rw [← h.ties,boost, Ray.boost_start,h.identity] |
| 169 | have he (t r) : k (t+r)=k t*k r := by |
| 170 | ext v; change K.shell d (boost a (t+r)) v = _ |
| 171 | rw [boost,Ray.boost_add]; exact shell_rep R K h _ _ _ v |
| 172 | have hk (v) : HasDerivAt (fun t => k t v) (rankAction R d (B a) v) 0 := by rw [rank_B]; exact h.boosts .. |
| 173 | exact DFunLike.congr_fun (one_parameter_field h0 he hk t) x |
| 174 | conv_lhs => rw [← factors g] |
| 175 | rw [shell_rep R K h,shell_rep R K h,shell_rep R K h, hb,hb,hb,h.spatial]; rfl |
| 176 | |
| 177 | end YM.Next.BOUNDARY.Descent |
| 178 | |
| 179 | namespace YM.Next.BOUNDARY |
| 180 | open Function Table Boundary |
| 181 | variable {G : Gauge} {L : Register G} {S : Table L} {R : Rotation S} {P : DiffPlan S} {H : S.RealSpin} |
| 182 | |
| 183 | /-- Producer of the K seam, also for e.g. a free-table consumer. No Maxwell or |
| 184 | UV stress witness is input. This doesn't construct the Euclidean rotation. |
| 185 | Uniqueness on the ACTUAL proper orthochronous group. -/ |
| 186 | theorem spins_producer (hp : S.Symmetric) (ht : P.Inclusions S) (h : R.Laws P H) : |
| 187 | ∃! K : Spins S, K.Descends R H := by |
| 188 | obtain ⟨K,hK⟩ := Descent.produce R h hp ht |
| 189 | refine ⟨K,hK,?_⟩ |
| 190 | intro X hx |
| 191 | have he : X.shell=K.shell := by |
| 192 | funext d k; ext x |
| 193 | exact (Descent.matches_shell R X hx _ _ _).trans (Descent.matches_shell R K hK _ _ _).symm |
| 194 | have hr : X.rail=K.rail := by |
| 195 | funext k; ext1 x |
| 196 | obtain ⟨d,v,rfl⟩ := P.covered hp ht x |
| 197 | rw [hx.ties,hK.ties,he] |
| 198 | cases X; cases K; congr |
| 199 | |
| 200 | end YM.Next.BOUNDARY |