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.Extra.WEAK_SCALING_ACTLAW.Fit |
| 2 | import YM.Next.EXTRACTION.Base |
| 3 | |
| 4 | /-! |
| 5 | # Fixed finite-dimensional adjustment to *exact* compatible maps |
| 6 | |
| 7 | Split free inclusions by fixed equivariant projections before using the |
| 8 | comparison columns. No point, test, direction or configuration-dependent |
| 9 | change of basis. Prove near identity in the weak coordinates and retain all |
| 10 | finite systems and derivative fits at the station. Even `Scaling.U` above |
| 11 | the requested cap must be an equivalence (pole unrelated to this station |
| 12 | suffices there). |
| 13 | -/ |
| 14 | set_option maxHeartbeats 400000 |
| 15 | set_option autoImplicit false |
| 16 | noncomputable section |
| 17 | namespace YM.Extra.WeakScaling |
| 18 | open Set Function Filter Table Climb |
| 19 | open scoped Topology ContDiff |
| 20 | variable {G : Gauge} {L : Register G} {T : Table L} {d D : ℕ} |
| 21 | |
| 22 | private abbrev next (d : ℕ) := Nat.le_succ d |
| 23 | private def conjugated (h : T.RealSpin) (f : T.Field (d+1) →ₗ[ℂ] T.Field d) : T.Field (d+1) →ₗ[ℂ] T.Field d := |
| 24 | ((T.conj h d).comp f).comp (T.conj h _) |
| 25 | private def averaged (h : T.RealSpin) (f : T.Field (d+1) →ₗ[ℂ] T.Field d) := |
| 26 | (Fintype.card Signed : ℂ)⁻¹ • ∑ s : Signed, (T.mirror h d s⁻¹).comp (f.comp (T.mirror h _ s)) |
| 27 | private lemma averaged_cov (h : T.RealSpin) (f : T.Field (d+1) →ₗ[ℂ] T.Field d) (g : Signed) v : |
| 28 | averaged h f (T.mirror h _ g v) = T.mirror h _ g (averaged h f v) := by |
| 29 | simp only [averaged,LinearMap.smul_apply,map_smul,LinearMap.sum_apply,LinearMap.comp_apply,map_sum] |
| 30 | refine congrArg (fun x : T.Field d => (Fintype.card Signed:ℂ)⁻¹ • x) ?_ |
| 31 | apply Fintype.sum_equiv (Equiv.mulRight g); intro s |
| 32 | rw [show (Equiv.mulRight g) s = s*g from rfl, ← T.mirror_mul, ← T.mirror_mul, mul_inv_rev, mul_inv_cancel_left] |
| 33 | |
| 34 | /-- H-equivariant, real retraction of each free rise map (works more generally). -/ |
| 35 | lemma retraction (H : T.Hierarchy) (W : DiffPlan T) (h : W.Inclusions T) (he : W.Orientation H.spin) (d : ℕ) : |
| 36 | ∃ P : T.Field (d+1) →ₗ[ℂ] T.Field d, (∀ v, P (W.rise (next d) v) = v) ∧ |
| 37 | (∀ g v, P (T.mirror H.spin _ g v) = T.mirror H.spin _ g (P v)) ∧ ∀ v, P (T.conj H.spin _ v) = T.conj H.spin _ (P v) := by |
| 38 | obtain ⟨R,hR⟩ := (W.rise (next d)).exists_leftInverse_of_injective (LinearMap.ker_eq_bot.mpr |
| 39 | (W.inject H.laws.toSymmetric h _)) |
| 40 | have hr v : R (W.rise (next d) v) = v := LinearMap.congr_fun hR v |
| 41 | let Q := averaged H.spin R |
| 42 | have hc : (Fintype.card Signed : ℂ) ≠ 0 := by exact_mod_cast Fintype.card_ne_zero |
| 43 | have hQ v : Q (W.rise (next d) v) = v := by |
| 44 | simp only [Q,averaged,LinearMap.smul_apply,LinearMap.sum_apply,LinearMap.comp_apply,he.mirrorInc,hr, |
| 45 | ← T.mirror_mul,inv_mul_cancel,T.mirror_one, Finset.sum_const,Finset.card_univ] |
| 46 | rw [← Nat.cast_smul_eq_nsmul ℂ,inv_smul_smul₀ hc] |
| 47 | let P := conjugated H.spin Q |
| 48 | have hP v : P (W.rise (next d) v) = v := by |
| 49 | dsimp only [P,conjugated,LinearMap.comp_apply]; rw [he.realInc,hQ,T.reflect_star] |
| 50 | refine ⟨(2:ℂ)⁻¹ • (Q+P),fun v => ?_, fun g v => ?_,fun v => ?_⟩ |
| 51 | · simp [hQ,hP,← two_smul ℂ] |
| 52 | · simp only [Q,P,LinearMap.smul_apply,map_smul,LinearMap.add_apply,map_add,conjugated,LinearMap.comp_apply, |
| 53 | averaged_cov,T.mirror_star] |
| 54 | simp only [LinearMap.smul_apply,map_smulₛₗ,LinearMap.add_apply,map_add,P,conjugated,LinearMap.comp_apply, |
| 55 | T.reflect_star,map_inv₀,map_ofNat,add_comm] |
| 56 | |
| 57 | variable {C : Family G} {S : Table C.book} |
| 58 | |
| 59 | /-- Adjacent entries commute exactly after the adjustment, *not* an |
| 60 | assumption that the original comparison choices commute. -/ |
| 61 | def adjusted (V : DiffPlan S) (W : DiffPlan (Free C)) |
| 62 | (P : ∀ d, (Free C).Field (d+1) →ₗ[ℂ] (Free C).Field d) (A : ∀ d, YM.Spin.change S d) : |
| 63 | ∀ d, (Free C).Field d →ₗ[ℂ] S.Field d |
| 64 | | 0 => (A 0).toLinearMap |
| 65 | | d+1 => (V.rise (next d)).comp ((adjusted V W P A d).comp (P d)) + |
| 66 | (A (d+1)).toLinearMap.comp (LinearMap.id - (W.rise (next d)).comp (P d)) |
| 67 | |
| 68 | variable {V : DiffPlan S} {W : DiffPlan (Free C)} |
| 69 | {P : ∀ d, (Free C).Field (d+1) →ₗ[ℂ] (Free C).Field d} |
| 70 | {A : ∀ d, YM.Spin.change S d} {h : S.Hierarchy} {H : (Free C).Hierarchy} |
| 71 | |
| 72 | def Exact (V : DiffPlan S) (W : DiffPlan (Free C)) (h : S.RealSpin) (H : (Free C).RealSpin) |
| 73 | (X : ∀ d, (Free C).Field d →ₗ[ℂ] S.Field d) (D : ℕ) := |
| 74 | (∀ d ≤ D, (∀ g v, X d ((Free C).mirror H d g v)=S.mirror h d g (X d v)) ∧ |
| 75 | (∀ v, X d ((Free C).conj H d v)=S.conj h d (X d v)) ∧ X d ((Free C).unit d)=S.unit d) ∧ |
| 76 | ∀ d e (he : d ≤ e), e ≤ D → ∀ v, X e (W.rise he v) = V.rise he (X d v) |
| 77 | |
| 78 | lemma adjusted_succ (d : ℕ) (v : (Free C).Field (d+1)) : |
| 79 | adjusted V W P A (d+1) v = V.rise (next d) (adjusted V W P A d (P d v)) + A (d+1) (v-W.rise (next d) (P d v)) := rfl |
| 80 | lemma adjusted_exact (hf : V.Inclusions S) (hg : W.Inclusions (Free C)) (hv : V.Orientation h.spin) (hw : W.Orientation H.spin) |
| 81 | (hr : ∀ d, (∀ v, P d (W.rise (next d) v)=v) ∧ |
| 82 | (∀ g v, P d ((Free C).mirror H.spin _ g v) = (Free C).mirror H.spin _ g (P d v)) ∧ |
| 83 | ∀ v, P d ((Free C).conj H.spin _ v) = (Free C).conj H.spin _ (P d v)) |
| 84 | (ha : ∀ d ≤ D, YM.Spin.realH h.spin H.spin (A d) ∧ A d ((Free C).unit d)=S.unit d) : |
| 85 | Exact V W h.spin H.spin (adjusted V W P A) D := by |
| 86 | let X := adjusted V W P A |
| 87 | have he d v : X (d+1) (W.rise (next d) v) = V.rise (next d) (X d v) := by |
| 88 | simp only [X,adjusted_succ,(hr d).1,sub_self,map_zero,add_zero] |
| 89 | constructor |
| 90 | · intro d hd; induction d with |
| 91 | | zero => exact ⟨(ha 0 hd).1.1,(ha 0 hd).1.2,(ha 0 hd).2⟩ |
| 92 | | succ d ih => |
| 93 | obtain ⟨h₁,h₂,h₃⟩ := ih (by omega) |
| 94 | refine ⟨fun g v => ?_,fun v => ?_,?_⟩ |
| 95 | · rw [adjusted_succ,(hr d).2.1,h₁, ← hw.mirrorInc,← map_sub,(ha _ hd).1.1, adjusted_succ,map_add,hv.mirrorInc] |
| 96 | · rw [adjusted_succ,(hr d).2.2,h₂,← hw.realInc,← map_sub,(ha _ hd).1.2, adjusted_succ,map_add,hv.realInc] |
| 97 | change X _ _=_; rw [← W.fixs hg H.laws (next d),he,h₃,V.fixs hf h.laws] |
| 98 | intro d e hde _ v |
| 99 | change X e _ = _ |
| 100 | induction e, hde using Nat.le_induction with |
| 101 | | base => rw [W.arrival H.laws.toSymmetric hg,V.arrival h.laws.toSymmetric hf] |
| 102 | | succ e hde ih => rw [← W.transit H.laws.toSymmetric hg hde (next e),he,ih (by omega),V.transit h.laws.toSymmetric hf] |
| 103 | |
| 104 | variable {A' : ℕ → ∀ d, YM.Spin.change S d} |
| 105 | |
| 106 | def perturb (V : DiffPlan S) (W : DiffPlan (Free C)) (P : ∀ d, (Free C).Field (d+1) →ₗ[ℂ] (Free C).Field d) |
| 107 | (A' : ℕ → ∀ d, YM.Spin.change S d) (d k : ℕ) := |
| 108 | (A' k d).symm.toLinearMap.comp (adjusted V W P (A' k) d) |
| 109 | |
| 110 | def Near (V : DiffPlan S) (W : DiffPlan (Free C)) (A' : ℕ → ∀ d, YM.Spin.change S d) (D : ℕ) := |
| 111 | ∀ d, d < D → ∀ v, Tendsto (fun k => (A' k (d+1)).symm (V.rise (next d) (A' k d v))) atTop (𝓝 (W.rise (next d) v)) |
| 112 | |
| 113 | lemma perturb_limit (h : Near V W A' D) (hd : d≤D) (v : (Free C).Field d) : |
| 114 | Tendsto (fun k => perturb V W P A' d k v) atTop (𝓝 v) := by |
| 115 | induction d with |
| 116 | | zero => |
| 117 | have he k : perturb V W P A' 0 k v = v := LinearEquiv.symm_apply_apply .. |
| 118 | simp [he] |
| 119 | | succ d ih => |
| 120 | let F (k : ℕ) := (A' k (d+1)).symm.toLinearMap.comp ((V.rise (next d)).comp (A' k d).toLinearMap) |
| 121 | have he := Dash.fit_plane F (W.rise (next d)) (h d hd) |
| 122 | have hi (k : ℕ) : perturb V W P A' (d+1) k v = F k (perturb V W P A' d k (P d v)) + (v-W.rise (next d) (P d v)) := by |
| 123 | simp only [perturb,F,LinearMap.comp_apply,LinearEquiv.coe_coe,LinearEquiv.apply_symm_apply, |
| 124 | adjusted_succ,map_add,LinearEquiv.symm_apply_apply] |
| 125 | have ht := Dash.arcing he (ih (by omega) (P d v)) |
| 126 | change Tendsto (fun i => F i _) _ (𝓝 (W.rise (next d) _)) at ht |
| 127 | simp_rw [hi] |
| 128 | convert ht.add_const (v-W.rise (next d) (P d v)) using 2 |
| 129 | abel |
| 130 | |
| 131 | lemma eventually_unit (h : Near V W A' D) (hd : d ≤ D) : ∀ᶠ k in atTop, Bijective (adjusted V W P (A' k) d) := by |
| 132 | have ht := Dash.fit_plane (perturb V W P A' d) LinearMap.id (perturb_limit h hd) |
| 133 | filter_upwards [ht.eventually (ContinuousLinearMap.isOpen_injective.mem_nhds (show _ from injective_id))] with k hk |
| 134 | have he : Injective (adjusted V W P (A' k) d) := Injective.of_comp (f := (A' k d).symm) hk |
| 135 | exact ⟨he,(LinearMap.injective_iff_surjective_of_finrank_eq_finrank ((A' k d).finrank_eq)).1 he⟩ |
| 136 | |
| 137 | open scoped Classical in |
| 138 | def rotateChart (V : DiffPlan S) (W : DiffPlan (Free C)) (P : ∀ d, (Free C).Field (d+1) →ₗ[ℂ] (Free C).Field d) |
| 139 | (A' : ℕ → ∀ d, YM.Spin.change S d) (k d : ℕ) := |
| 140 | if h : Bijective (adjusted V W P (A' k) d) then LinearEquiv.ofBijective _ h else A' k d |
| 141 | |
| 142 | lemma rotate_eq {k : ℕ} (h : Bijective (adjusted V W P (A' k) d)) (v) : |
| 143 | rotateChart V W P A' k d v = adjusted V W P (A' k) d v := by rw [rotateChart,dif_pos h]; rfl |
| 144 | lemma relative (h : Near V W A' D) (hd : d ≤ D) (v : (Free C).Field d) : |
| 145 | Tendsto (fun k => (A' k d).symm (rotateChart V W P A' k d v)) atTop (𝓝 v) := by |
| 146 | apply (perturb_limit (P:=P) h hd v).congr' |
| 147 | filter_upwards [eventually_unit (P:=P) h hd] with k hk |
| 148 | rw [rotate_eq hk]; rfl |
| 149 | |
| 150 | /-- Conjugations of scaled linear maps through the new chart have the same |
| 151 | limits. Applies e.g. to r*V.deriv and there is no orthogonality assumption |
| 152 | on the maps or their corrections. -/ |
| 153 | lemma transformed {e : ℕ} {F : ℕ → ∀ d, YM.Spin.change S d} |
| 154 | (m : ℕ → S.Field d →ₗ[ℂ] S.Field e) (g : (Free C).Field d →ₗ[ℂ] (Free C).Field e) |
| 155 | (hm : ∀ v, Tendsto (fun k => (A' k e).symm (m k (A' k d v))) atTop (𝓝 (g v))) |
| 156 | (hd : ∀ v, Tendsto (fun k => (A' k d).symm (F k d v)) atTop (𝓝 v)) |
| 157 | (he : ∀ v, Tendsto (fun k => (A' k e).symm (F k e v)) atTop (𝓝 v)) (v : (Free C).Field d) : |
| 158 | Tendsto (fun k => (F k e).symm (m k (F k d v))) atTop (𝓝 (g v)) := by |
| 159 | let M k := (A' k e).symm.toLinearMap.comp ((m k).comp (A' k d).toLinearMap) |
| 160 | let a k := (A' k e).symm.toLinearMap.comp (F k e).toLinearMap |
| 161 | have ht := Dash.fit_plane M g hm |
| 162 | apply Work.A04.tendsto_of_fitted a (LinearMap.id : (Free C).Field e →ₗ[ℂ] (Free C).Field e) injective_id he |
| 163 | have hh := Dash.arcing ht (hd v) |
| 164 | apply hh.congr' |
| 165 | refine Eventually.of_forall fun k => ?_ |
| 166 | change (A' k e).symm (m k (A' k d ((A' k d).symm (F k d v)))) = (A' k e).symm (F k e ((F k e).symm (m k _))) |
| 167 | rw [LinearEquiv.apply_symm_apply,LinearEquiv.apply_symm_apply] |
| 168 | |
| 169 | variable {f : Extraction.Order} (s : Spec.Seed C f S) |
| 170 | |
| 171 | def Graded (V : DiffPlan S) (W : DiffPlan (Free C)) (h : S.RealSpin) (H : (Free C).RealSpin) |
| 172 | (X : ∀ d, YM.Spin.change S d) (D : ℕ) := Exact V W h H (fun d => (X d).toLinearMap) D |
| 173 | |
| 174 | lemma repaired {M D' : ℕ} {Q : ℝ} (b : Survey S s.kernel.spin H.spin M D' Q) |
| 175 | (hF : ∀ d, Nonempty (YM.Spin.change S d)) (hD : D ≤ D') (hw : ∀ d ≤ D, Equipped H d M D' Q) |
| 176 | (hi : V.Inclusions S) (hi' : W.Inclusions (Free C)) (hp : V.Derivatives S) (hp' : W.Derivatives (Free C)) |
| 177 | (hv : V.Orientation s.kernel.spin) (hv' : W.Orientation H.spin) : |
| 178 | ∃ X : ℕ → ∀ d, YM.Spin.change S d, |
| 179 | (∀ᶠ k in atTop, Graded V W s.kernel.spin H.spin (X k) D) ∧ |
| 180 | (∀ d, d < D → ∀ a v, Tendsto (fun k => (X k (d+1)).symm (b.r k • V.deriv d a (X k d v))) atTop (𝓝 (W.deriv d a v))) ∧ |
| 181 | (∀ᶠ k in atTop, ∀ d ≤ D, ∀ v, b.charts hF k d v = b.U k d v) ∧ |
| 182 | ∀ d ≤ D, ∀ v, Tendsto (fun k => (b.charts hF k d).symm (X k d v)) atTop (𝓝 v) := by |
| 183 | choose P h₁ h₂ h₃ using retraction H W hi' hv' |
| 184 | let A := b.charts hF |
| 185 | let X := rotateChart V W P A |
| 186 | have he : Near V W A D := fun d hd => b.inc_limit s hF V W hi hi' _ (by omega) (hw _ hd) (hw d hd.le) |
| 187 | have ht : ∀ᶠ k in atTop, ∀ d ≤ D, ∀ v, A k d v = b.U k d v := by |
| 188 | have hh (d) (hd : d ∈ Finset.Iic D) := b.eventually_bijective s ((Finset.mem_Iic.mp hd).trans hD) (hw d (Finset.mem_Iic.mp hd)) |
| 189 | filter_upwards [((eventually_all_finset _).mpr hh)] with k hk d hd v |
| 190 | exact b.equals hF (hk d (Finset.mem_Iic.mpr hd)) v |
| 191 | refine ⟨X, ?_, fun d hd a => transformed (F:=X) (A':=A) (fun k => b.r k • V.deriv d a) _ |
| 192 | (b.deriv_limit s hF V W hp hp' (by omega) (hw _ hd) (hw d hd.le) · a) (relative (P:=P) he hd.le) (relative (P:=P) he hd), ht, fun d hd => relative (P:=P) he hd⟩ |
| 193 | have hh (d) (hd : d∈Finset.Iic D) := eventually_unit (P:=P) he (Finset.mem_Iic.mp hd) |
| 194 | filter_upwards [(eventually_all_finset _).mpr hh,ht] with k hk ht |
| 195 | have hy d (hd : d≤D) := rotate_eq (hk d (Finset.mem_Iic.mpr hd)) |
| 196 | have ha d (hd : d ≤ D) : YM.Spin.realH s.kernel.spin H.spin (A k d) ∧ A k d ((Free C).unit d)=S.unit d := by |
| 197 | unfold YM.Spin.realH |
| 198 | simp_rw [ht d hd]; exact ⟨⟨b.mirror k d (by omega),b.conj k d (by omega)⟩,b.unit k d (by omega)⟩ |
| 199 | obtain ⟨l,h⟩ := adjusted_exact (h:=s.kernel) (H:=H) hi hi' hv hv' (fun d => ⟨h₁ d,h₂ d,h₃ d⟩) ha |
| 200 | constructor |
| 201 | · intro d hd; dsimp only [X,LinearEquiv.coe_coe]; simp_rw [hy d hd]; exact l d hd |
| 202 | intro d e hb hd; dsimp only [X,LinearEquiv.coe_coe]; simp_rw [hy d (hb.trans hd),hy e hd]; exact h d e hb hd |
| 203 | end YM.Extra.WeakScaling |