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.Next.UV_STRESS.Arrange |
| 2 | import YM.Spec.Closed |
| 3 | import YM.Work.A15 |
| 4 | |
| 5 | /- |
| 6 | Physical filtration splits and single-field detector maps. All moments use Table.useAt of the same kernel or phases respecting its quotient. |
| 7 | -/ |
| 8 | set_option autoImplicit false |
| 9 | noncomputable section |
| 10 | namespace YM.MultipleContact |
| 11 | open Set Function Filter MeasureTheory Table Extraction Spec |
| 12 | open scoped Topology Matrix.Norms.Frobenius BigOperators ContDiff |
| 13 | |
| 14 | variable {G:Gauge}{L:Register G}{S:Table L}{d h:ℕ} |
| 15 | variable {P: DiffPlan S} {X:Rotation S} |
| 16 | |
| 17 | structure Splitting (P : DiffPlan S) where |
| 18 | down (d:ℕ) : S.Field (d+1) →ₗ[ℂ] S.Field d |
| 19 | left (d x) : down d (P.rise (Nat.le_succ d) x)=x |
| 20 | |
| 21 | structure Splitting.Covariant (B : Splitting P) (X:Rotation S) (ρ:S.RealSpin) : Prop where |
| 22 | real d x : S.conj ρ d (B.down d x) = B.down d (S.conj ρ (d+1) x) |
| 23 | act d K x : X.act d K (B.down d x) = B.down d (X.act (d+1) K x) |
| 24 | |
| 25 | section Average |
| 26 | attribute [local instance] YM.Work.A15.compact_ortho |
| 27 | |
| 28 | local instance : SecondCountableTopology Ortho := by |
| 29 | haveI : SecondCountableTopology M4 := |
| 30 | inferInstanceAs (SecondCountableTopology (Axis → Axis → ℝ)) |
| 31 | exact inferInstanceAs |
| 32 | (SecondCountableTopology ↥((Matrix.unitaryGroup Axis ℝ : Set M4))) |
| 33 | |
| 34 | local instance : MeasurableSpace Ortho := borel Ortho |
| 35 | local instance : BorelSpace Ortho := ⟨rfl⟩ |
| 36 | |
| 37 | private def allO : TopologicalSpace.PositiveCompacts Ortho := |
| 38 | ⟨⟨Set.univ,isCompact_univ⟩,by simp⟩ |
| 39 | private def μ : Measure Ortho := Measure.haarMeasure allO |
| 40 | local instance : μ.IsHaarMeasure := by unfold μ; infer_instance |
| 41 | local instance : IsProbabilityMeasure μ := |
| 42 | ⟨@Measure.haarMeasure_self Ortho _ _ _ _ _ allO⟩ |
| 43 | |
| 44 | variable (B : Splitting P) |
| 45 | variable {ρ:S.RealSpin} (hX:X.Laws P ρ) |
| 46 | include hX |
| 47 | |
| 48 | private lemma ct_act {α:Type*}[TopologicalSpace α] (f:α→ Ortho)(g:α→ S.Field d) |
| 49 | (hf:Continuous f)(hg:Continuous g): Continuous (fun y:α=>X.act d (f y) (g y)):=by |
| 50 | let b := Module.finBasis ℂ (S.Field d) |
| 51 | have h' (y) : X.act d (f y) (g y)= ∑ i,b.coord i (g y) • (X.act d (f y) (b i)):=by |
| 52 | conv_lhs => rw [← b.sum_repr (g y)] |
| 53 | simp only [map_sum,map_smul]; rfl |
| 54 | simp_rw [h'] |
| 55 | refine continuous_finsetSum _ fun i _ => ?_ |
| 56 | exact ((b.coord i).continuous_of_finiteDimensional.comp hg).smul ((hX.spin d (b i)).comp hf) |
| 57 | |
| 58 | private def orbit_down : S.Field (d+1) → Ortho → S.Field d := fun x K=> X.act d K (B.down d (X.act (d+1) K⁻¹ x)) |
| 59 | private lemma orbit_live (x:S.Field (d+1)) : Integrable (orbit_down B (X:=X) x) μ:=by |
| 60 | refine Continuous.integrable_of_hasCompactSupport ?_ (HasCompactSupport.of_compactSpace _) (μ:=μ) |
| 61 | exact ct_act hX _ _ continuous_id ((B.down d).continuous_of_finiteDimensional.comp (ct_act hX _ _ continuous_inv continuous_const)) |
| 62 | |
| 63 | private def mean : S.Field (d+1) →ₗ[ℂ] S.Field d where |
| 64 | toFun x := ∫ K:Ortho, orbit_down B (X:=X) x K ∂μ |
| 65 | map_add' x y := by |
| 66 | simp_rw [orbit_down, map_add] |
| 67 | exact integral_add (orbit_live B hX x) (orbit_live B hX y) |
| 68 | map_smul' c x := by |
| 69 | simp_rw [orbit_down,map_smul] |
| 70 | exact MeasureTheory.integral_smul .. |
| 71 | |
| 72 | private lemma map_mean {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E] |
| 73 | (F : S.Field d →ₗ[ℝ] E) (x) : |
| 74 | F (mean B hX x) = ∫ K:Ortho, F (orbit_down B (X:=X) x K) ∂μ := by |
| 75 | exact ((LinearMap.toContinuousLinearMap F).integral_comp_comm (orbit_live B hX x)).symm |
| 76 | |
| 77 | omit hX in |
| 78 | private def realConj (ρ : S.RealSpin) (d:ℕ) : S.Field d →ₗ[ℝ] S.Field d where |
| 79 | toFun := S.conj ρ d |
| 80 | map_add' := map_add _ |
| 81 | map_smul' r u := by |
| 82 | change S.conj ρ d (r • u) = r • S.conj ρ d u |
| 83 | simp only [RCLike.real_smul_eq_coe_smul (K := ℂ),map_smulₛₗ]; simp |
| 84 | |
| 85 | private lemma orthos (H : ∀ d x,S.conj ρ d (B.down d x) = B.down d (S.conj ρ (d+1) x)) : |
| 86 | ∃ B : Splitting P, B.Covariant X ρ := by |
| 87 | let U : Splitting P := ⟨fun _=>mean B hX,fun d x=>by |
| 88 | change (∫ K:Ortho, X.act d K (B.down d (X.act (d+1) K⁻¹ (P.rise _ x))) ∂μ)=x |
| 89 | have he (K:Ortho) (y:S.Field d): X.act d K (X.act d K⁻¹ y)=y:=by rw [← hX.group,mul_inv_cancel,hX.fixes] |
| 90 | simp_rw [hX.filtered,B.left,he] |
| 91 | simp⟩ |
| 92 | refine ⟨U,fun d x=> ?_,fun d P x=> ?_⟩ |
| 93 | · exact (map_mean B hX (realConj ρ d) x).trans (show (∫ K:Ortho, S.conj ρ d (orbit_down B (X:=X) x K) ∂μ) = _ from by |
| 94 | simp_rw [orbit_down,hX.real,H,hX.real]; rfl) |
| 95 | refine (map_mean B hX (((X.act d P).toLinearMap).restrictScalars ℝ) x).trans ?_ |
| 96 | trans ∫ K:Ortho, orbit_down B (X:=X) (X.act (d+1) P x) (P*K) ∂μ |
| 97 | · exact integral_congr_ae (Eventually.of_forall fun K=> by |
| 98 | change X.act d P (X.act d K (B.down d (X.act (d+1) K⁻¹ x))) = orbit_down _ _ _ |
| 99 | simp [orbit_down,mul_inv_rev,← hX.group,mul_assoc]) |
| 100 | exact (measurePreserving_mul_left μ P).integral_comp (Homeomorph.mulLeft P).measurableEmbedding |
| 101 | (orbit_down B (X:=X) (X.act (d+1) P x)) |
| 102 | |
| 103 | end Average |
| 104 | lemma splits (H:S.Hierarchy) (hr:P.Inclusions S)(hc:P.Orientation H.spin) (hX:X.Laws P H.spin) : |
| 105 | ∃ B:Splitting P,B.Covariant X H.spin :=by |
| 106 | choose f hf hx hu using fun d:ℕ=>Next.UVStress.signed_section (H:=H) (Nat.le_succ d) hr hc |
| 107 | exact orthos (P:=P) ⟨f,hf⟩ hX fun d x=>(hx d x).symm |
| 108 | namespace Splitting |
| 109 | variable (B:Splitting P) |
| 110 | def top (v:ℕ): S.Field v→ₗ[ℂ] S.Field v:= match v with |
| 111 | | 0=>LinearMap.id |
| 112 | | n+1=> LinearMap.id - ((P.rise (Nat.le_succ n)).comp (B.down n)) |
| 113 | def part (w : ℕ) : (h : ℕ)→ S.Field h →ₗ[ℂ] S.Field w |
| 114 | | 0=> if e:0=w then e ▸ top B 0 else 0 |
| 115 | | n+1=> if e:n+1=w then e ▸ top B (n+1) else (part w n).comp (B.down n) |
| 116 | |
| 117 | theorem top_part (h:ℕ):B.part h h=B.top h:=by cases h <;> simp [part] |
| 118 | theorem beyondZero {w h:ℕ}(hw:h<w):B.part w h=0:=by |
| 119 | induction h with |
| 120 | | zero=> simp [part,ne_of_lt hw] |
| 121 | | succ k ih=> rw [part,dif_neg (ne_of_lt hw),ih (by omega)]; simp |
| 122 | |
| 123 | theorem part_top {w h:ℕ}(hw:w≠h):B.part w h ∘ₗ B.top h=0:=by |
| 124 | apply LinearMap.ext; intro x |
| 125 | cases h with |
| 126 | | zero=> simp [part,Ne.symm hw] |
| 127 | | succ k=> |
| 128 | have he : B.top (k+1) x = x-P.rise (Nat.le_succ k) (B.down k x):=rfl |
| 129 | rw [LinearMap.comp_apply,part,dif_neg (Ne.symm hw),LinearMap.comp_apply,he,map_sub,B.left,sub_self,map_zero,LinearMap.zero_apply] |
| 130 | |
| 131 | theorem recombine (Hs : S.Symmetric)(hr:P.Inclusions S): |
| 132 | ∀ (h:ℕ) (x:S.Field h), ∑ i:Fin (h+1), P.rise (show i.val ≤ h from i.isLt |> Nat.le_of_lt_succ) ((B.part i.val h) x)=x:=by |
| 133 | intro h; induction h with |
| 134 | | zero=> |
| 135 | intro x |
| 136 | rw [Fin.sum_univ_succ]; change P.rise (d:=0) le_rfl (B.part 0 0 x)+_=_ |
| 137 | rw [B.top_part,P.arrival Hs hr]; simp [top] |
| 138 | | succ h ih=> |
| 139 | intro x |
| 140 | have he (w:Fin (h+1))(e:w.castSucc.val ≤ h+1):P.rise e ((B.part w.castSucc.val (h+1)) x)=P.rise (Nat.le_succ h) (P.rise (show w.val ≤ h from Nat.le_of_lt_succ w.isLt) ((B.part w.val h) (B.down h x))) := by |
| 141 | change P.rise (show w.val ≤ h+1 from e) ((B.part w.val (h+1)) x)=_ |
| 142 | rw [part,dif_neg (by exact ne_of_gt w.isLt : h+1≠w.val),LinearMap.comp_apply,← P.transit Hs hr] |
| 143 | rw [Fin.sum_univ_castSucc]; simp_rw [he] |
| 144 | rw [← map_sum, ih (B.down h x)] |
| 145 | change P.rise _ (B.down _ _) + P.rise (le_refl (h+1)) ((B.part (h+1) (h+1)) x)=_ |
| 146 | rw [B.top_part,P.arrival Hs hr]; unfold top |
| 147 | simp; -- rw [add_sub_cancel] |
| 148 | |
| 149 | -- raising a slice into a larger horizon preserves its weight decomposition. |
| 150 | theorem part_rise (Hs : S.Symmetric)(hr:P.Inclusions S) {w h k:ℕ} (hwk:h≤k) (x:S.Field h): |
| 151 | B.part w k (P.rise hwk x)=B.part w h x:=by |
| 152 | induction k,hwk using Nat.le_induction with |
| 153 | | base=>rw [P.arrival Hs hr] |
| 154 | | succ k he ih=> |
| 155 | rw [← P.transit Hs hr he (Nat.le_succ k)] |
| 156 | by_cases hw:w=k+1 |
| 157 | · subst w |
| 158 | rw [B.top_part,(B.beyondZero (by omega : h < k+1)),LinearMap.zero_apply]; unfold top |
| 159 | simp [B.left] |
| 160 | rw [part,dif_neg (Ne.symm hw),LinearMap.comp_apply,B.left,ih] |
| 161 | |
| 162 | -- physical weights are ker(down) strata; weight 0 is the full lowest filtration space. |
| 163 | def stratum : (d:ℕ)→ Submodule ℂ (S.Field d) |
| 164 | | 0=> ⊤ |
| 165 | | d+1=>LinearMap.ker (B.down d) |
| 166 | |
| 167 | lemma top_mem {w h:ℕ} (x:S.Field h):B.part w h x∈B.stratum w:=by |
| 168 | induction h with |
| 169 | | zero=> cases w with |
| 170 | | zero=> exact Submodule.mem_top |
| 171 | | succ i=> simp [part] |
| 172 | | succ h ih=> |
| 173 | by_cases he:w=h+1 |
| 174 | · subst w; rw [top_part]; show _ ∈ LinearMap.ker _; unfold top |
| 175 | simp [B.left] |
| 176 | rw [part,dif_neg (Ne.symm he),LinearMap.comp_apply]; exact ih _ |
| 177 | end Splitting |
| 178 | end YM.MultipleContact |