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.Cells.Corrected |
| 2 | import YM.Ground.Spectrum |
| 3 | |
| 4 | /-! |
| 5 | # Choose ANY responding ensemble with chosen chambers, unique a.e. |
| 6 | |
| 7 | Countable family v_i whose SPANS of plant vectors are dense in each alpha |
| 8 | chamber, not dense as points. Use scalar DCT power limit of ground |
| 9 | norms. No separability postulated. -/ |
| 10 | set_option autoImplicit false |
| 11 | noncomputable section |
| 12 | namespace YM.OS.Cluster |
| 13 | open Set Function Filter MeasureTheory Measure Ground Word |
| 14 | open scoped Topology NNReal ENNReal InnerProductSpace ComplexOrder BigOperators |
| 15 | variable {G : Gauge} {L : Register G} {S : Table L} {V : Chamber S timeAxis} |
| 16 | variable (P : Spread V) (H : S.Hierarchy) |
| 17 | |
| 18 | def amplitude (V : Chamber S timeAxis) (b : Future L timeAxis) := V.D.orthogonalProjectionOnto (V.GNS.plant b) |
| 19 | def current (S : Table L) (b : Future L timeAxis) (s : ℕ) := S.gram timeAxis (travel b (s:ℝ≥0)).val (travel b (s:ℝ≥0)).val |
| 20 | |
| 21 | theorem magnitude (V : Chamber S timeAxis) (b : Future L timeAxis) (s : ℕ) : current S b s = ↑(‖V.flow.E (s:ℝ≥0) (V.GNS.plant b)‖^2) := by |
| 22 | unfold current; rw [← V.GNS.measure, V.atBirth, inner_self_eq_norm_sq_to_K];norm_cast |
| 23 | lemma trail (V : Chamber S timeAxis) (b : Future L timeAxis) : Tendsto (current S b) atTop (𝓝 (↑(‖amplitude V b‖^2):ℂ)) := by |
| 24 | rw [show current S b=(fun s : ℕ => ↑(‖V.flow.E (s:ℝ≥0) (V.GNS.plant b)‖^2)) from funext (magnitude V b)] |
| 25 | exact Complex.continuous_ofReal.continuousAt.tendsto.comp ((V.flow.emerges (V.GNS.plant b)).comp tendsto_natCast_atTop_atTop |>.norm.pow 2) |
| 26 | |
| 27 | lemma side (V : Chamber S timeAxis) (b : Future L timeAxis) : inner ℂ V.omega0 (amplitude V b)=S.expect b.val := by |
| 28 | unfold amplitude Chamber.omega0; simp only [Submodule.inner_orthogonalProjectionOnto_eq_of_mem_left] |
| 29 | unfold Chamber.omega; rw [V.GNS.measure]; rfl |
| 30 | |
| 31 | lemma fits (V : Chamber S timeAxis) (H : S.Basic) (b : Future L timeAxis) : |
| 32 | ‖amplitude V b-S.expect b.val • V.omega0‖^2 = ‖amplitude V b‖^2-‖S.expect b.val‖^2 := by |
| 33 | rw [norm_sub_sq (𝕜:=ℂ), norm_smul, show ‖V.omega0‖=1 from nil_norm V.GNS H,mul_one,inner_smul_right,← inner_conj_symm (amplitude V b),side, |
| 34 | Complex.mul_conj, Complex.normSq_eq_norm_sq] |
| 35 | rw [show ∀ i : ℝ, RCLike.re (K := ℂ) (↑i:ℂ)=i from fun _ => rfl] |
| 36 | ring |
| 37 | |
| 38 | variable {R : P.Resolution} {T : R.X → Table L} (D : ∀ i, Chamber (T i) timeAxis) |
| 39 | |
| 40 | lemma track (b : L.Word) (p : distinct b) (x : R.X) (he : R.receives (T x) x) : (T x).expect b=R.character x (M P _ p) := he b p _ _ (Spread.Resolution.place_exists p).choose_spec.choose_spec |
| 41 | include H in |
| 42 | lemma champ (s : ℕ) (b : Future L timeAxis) (he : ∀ i, R.receives (T i) i) (hp : R.Out) : |
| 43 | Continuous (fun i => current (T i) b s) ∧ (∫ i,current (T i) b s ∂R.μ)=current S b s := by |
| 44 | let w := reflect (travel b (s:ℝ≥0)).val timeAxis ++ (travel b (s:ℝ≥0)).val |
| 45 | have hh : distinct w := twoSides (travel b s).property (travel b s).property |
| 46 | refine ⟨?_, R.barycenter T hp he H.translations _ hh⟩ |
| 47 | change Continuous (fun i => (T i).expect w); rw [show (fun i => (T i).expect w) = fun i => R.character i (M P _ hh) from funext fun i => track _ _ hh i (he i)]; exact hp.weak _ |
| 48 | |
| 49 | private lemma at_M (u : P.algebra) (h : R.Out) : (∫ i, ‖R.character i u‖^2 ∂R.μ)=‖u.val V.omega0‖^2 := by |
| 50 | have he i : R.character i (star u*u)= ↑(‖R.character i u‖^2) := by |
| 51 | rw [map_mul,map_star];change starRingEnd ℂ _ * _=_; rw [mul_comm,Complex.mul_conj,Complex.normSq_eq_norm_sq] |
| 52 | have ht := h.ground (star u*u); simp_rw [he,integral_complex_ofReal] at ht |
| 53 | apply Complex.ofReal_injective; rw [ht,Complex.ofReal_pow] |
| 54 | exact (ContinuousLinearMap.adjoint_inner_right u.val V.omega0 (u.val V.omega0)).trans (inner_self_eq_norm_sq_to_K (𝕜:=ℂ) (u.val V.omega0)) |
| 55 | |
| 56 | include H P in |
| 57 | lemma exp_real (b : Future L timeAxis) (p : R.Out) (h : Steady V) (hv : ∀ i, R.receives (T i) i) (hp : ∀ i,(T i).Hierarchy) : |
| 58 | ∀ᵐ i ∂R.μ, amplitude (D i) b = (T i).expect b.val • (D i).omega0 := by |
| 59 | haveI := p.normalized |
| 60 | let w (i : R.X) := ‖amplitude (D i) b‖^2 |
| 61 | have hw i : 0≤w i := sq_nonneg _ |
| 62 | let F s (i : R.X) := (current (T i) b s).re |
| 63 | have hu k : Continuous (F k) := Complex.continuous_re.comp (champ P H k b hv p).1 |
| 64 | have ht i : Tendsto (fun j => F j i) atTop (𝓝 (w i)) := Complex.continuous_re.continuousAt.tendsto.comp (trail (D i) b) |
| 65 | have he s : ∀ᵐ i ∂R.μ, ‖F s i‖ ≤ F 0 i := by |
| 66 | apply Eventually.of_forall; intro i |
| 67 | unfold F; rw [magnitude (D i),magnitude (D i),Complex.ofReal_re,Complex.ofReal_re, Real.norm_eq_abs, abs_of_nonneg (sq_nonneg _)] |
| 68 | exact pow_le_pow_left₀ (norm_nonneg _) (((D i).flow.norm_decrease ((D i).GNS.plant b)) (by exact_mod_cast Nat.zero_le s : ((0:ℕ):ℝ≥0)≤ (s:ℝ≥0))) 2 |
| 69 | have Hz := (hu 0).integrable_of_hasCompactSupport (μ := R.μ) (HasCompactSupport.of_compactSpace _) |
| 70 | have hm := tendsto_integral_of_dominated_convergence (μ := R.μ) (F 0) (fun n => (hu n).aestronglyMeasurable) Hz he |
| 71 | (f:= w) (Eventually.of_forall ht) |
| 72 | have hf k : (∫ i, F k i ∂R.μ) = (current S b k).re := by |
| 73 | rw [← (champ P H k b hv p).2]; exact (integral_re ((champ P H k b hv p).1.integrable_of_hasCompactSupport (μ:=R.μ) (HasCompactSupport.of_compactSpace _))) |
| 74 | have hi : (∫ i, w i ∂R.μ)=‖amplitude V b‖^2 := by |
| 75 | simp_rw [hf] at hm; exact tendsto_nhds_unique hm (Complex.continuous_re.continuousAt.tendsto.comp (trail V b)) |
| 76 | let k:= M P b.val b.property.1 |
| 77 | have HH i : (T i).expect b.val=R.character i k := track P _ b.property.1 i (hv i) |
| 78 | let f (i : R.X) := w i- ‖R.character i k‖^2 |
| 79 | have H1 : Integrable w R.μ := ⟨aestronglyMeasurable_of_tendsto_ae _ (fun i : ℕ => (hu i).aestronglyMeasurable (μ:=R.μ)) |
| 80 | (Eventually.of_forall ht),hasFiniteIntegral_of_dominated_convergence Hz.2 he (Eventually.of_forall ht)⟩ |
| 81 | have H2 : Integrable (fun x => ‖R.character x k‖^2) R.μ := by simpa only [Pi.pow_def] using! ((p.weak k).norm.pow 2).integrable_of_hasCompactSupport (μ := R.μ) (HasCompactSupport.of_compactSpace _) |
| 82 | have Hz i : f i= ‖amplitude (D i) b-(T i).expect b.val • (D i).omega0‖^2 := by rw [fits (D i) (hp i).laws,HH] |
| 83 | have hx : (∫ i,f i∂R.μ)=0 := by |
| 84 | unfold f; rw [integral_sub H1 H2,at_M P k p, show k.val V.omega0=amplitude V b from almost P h b, hi,sub_self] |
| 85 | have hh : ∀ᵐ i ∂R.μ, f i=0 := (integral_eq_zero_iff_of_nonneg (f:= f) (fun i => (Hz i).symm ▸ sq_nonneg _) (H1.sub H2)).1 hx |
| 86 | filter_upwards [hh] with i hi; rw [Hz] at hi; exact sub_eq_zero.mp (norm_eq_zero.mp (by simpa only [sq_eq_zero_iff] using hi)) |
| 87 | |
| 88 | abbrev horizon (V : Chamber S timeAxis) (i : ℕ → Future L timeAxis) := DenseRange (Finsupp.linearCombination ℂ |
| 89 | (fun x => V.GNS.plant (i x))) |
| 90 | |
| 91 | lemma lifts {P : Spread V} {R : P.Resolution} {T : R.X→Table L} (D : ∀ i, Chamber (T i) timeAxis) (f : ℕ→Future L timeAxis) |
| 92 | (hp : ∀ i, horizon (D i) f) (H : S.Hierarchy) (h : Steady V) (hT : ∀ i,(T i).Hierarchy) (r : R.Out) (hr : ∀ i,R.receives (T i) i) : |
| 93 | ∀ᵐ i ∂R.μ,(D i).UniqueHeat := by |
| 94 | have hi := ae_all_iff.mpr (fun b : ℕ => exp_real P H D (f b) r h hr hT) |
| 95 | filter_upwards [hi] with i hx |
| 96 | let Q := D i |
| 97 | let U : Submodule ℂ Q.D := Submodule.span ℂ {Q.omega0} |
| 98 | have he : DenseRange (Q.D.orthogonalProjectionOnto ∘ Finsupp.linearCombination ℂ (fun x => (D i).GNS.plant (f x))) := |
| 99 | (show Surjective _ from fun p => ⟨_, Submodule.orthogonalProjectionOnto_mem_subspace_eq_self p⟩).denseRange.comp (hp i) Q.D.orthogonalProjectionOnto.continuous |
| 100 | have ht (x : ℕ→₀ℂ) : Q.D.orthogonalProjectionOnto (Finsupp.linearCombination ℂ (fun x => (D i).GNS.plant (f x)) x) ∈ U := by |
| 101 | induction x using Finsupp.induction_linear with |
| 102 | | zero => simp |
| 103 | | add x y X Y => simpa only [map_add] using! U.add_mem X Y |
| 104 | | single j c => |
| 105 | simp_rw [Finsupp.linearCombination_single,map_smul] |
| 106 | exact U.smul_mem _ ((Submodule.mem_span_singleton).2 ⟨_,(hx j).symm⟩) |
| 107 | intro v |
| 108 | suffices hx : v∈ U from (Submodule.mem_span_singleton).1 hx |
| 109 | refine closure_minimal ?_ (show IsClosed (U : Set _) from (by unfold U; exact Submodule.closed_of_finiteDimensional _)) (he v) |
| 110 | rintro _ ⟨x,rfl⟩; exact ht x |
| 111 | lemma selects (f : ℕ→Future L timeAxis) (hp : ∀ i, horizon (D i) f) (H : S.Hierarchy) (h : Steady V) |
| 112 | (hT : ∀ i,(T i).Hierarchy) (r : R.Out) (hr : ∀ i,R.receives (T i) i) : ∃ i, (D i).UniqueHeat := by |
| 113 | haveI := r.normalized |
| 114 | exact (lifts D f hp H h hT r hr).exists |
| 115 | end YM.OS.Cluster |