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 | /-! |
| 6 | # Actual finite projections: power moments on the whole corrected operators |
| 7 | -/ |
| 8 | set_option autoImplicit false |
| 9 | noncomputable section |
| 10 | namespace YM.Extraction.Retain |
| 11 | open Function Set Filter MeasureTheory Measure |
| 12 | open Table Cells CellHyp OS Ground Wilson Word |
| 13 | open scoped Topology NNReal ENNReal InnerProductSpace BigOperators ContDiff |
| 14 | variable {G : Gauge} |
| 15 | section Bit |
| 16 | variable {L : Register G} {S : Table L} {V : Chamber S timeAxis} (P : Spread V) |
| 17 | variable {R : P.Resolution} |
| 18 | |
| 19 | /-- spectral shortcut for moment bounds to all characters, against probability |
| 20 | measure with actual full support. -/ |
| 21 | abbrev Tall (x : P.algebra) (t : ℝ) := ∀ n : ℕ, (inner ℂ V.omega0 ((((star x*x)^n:P.algebra).val) V.omega0)).re ≤ t^(2*n) |
| 22 | lemma bit (H : R.Out) (x : P.algebra) (t : ℝ) (ht : 0 ≤ t) (h : Tall P x t) (i : R.X) : |
| 23 | ‖R.character i x‖ ≤ t := by |
| 24 | classical |
| 25 | have ht' (j n) : R.character j (((star x*x)^n:P.algebra))=(↑(‖R.character j x‖^(2*n)):ℂ) := by |
| 26 | rw [map_pow,map_mul,map_star,pow_mul,Complex.ofReal_pow -- direction |
| 27 | ] |
| 28 | congr 1 |
| 29 | change starRingEnd ℂ _ * _=_ |
| 30 | rw [mul_comm, Complex.mul_conj,Complex.normSq_eq_norm_sq] |
| 31 | let f (i) := ‖R.character i x‖ |
| 32 | have hg n : (∫ i, f i^(2*n) ∂R.μ) ≤ t^(2*n) := by |
| 33 | have he := h n; rw [← H.ground] at he |
| 34 | simp_rw [ht',integral_complex_ofReal,Complex.ofReal_re] at he; exact he |
| 35 | by_contra! hv |
| 36 | obtain ⟨p,hp,hv⟩ := exists_between hv |
| 37 | let Q := {x | p<f x} |
| 38 | have he : Continuous f := (H.weak x).norm |
| 39 | have hu : IsOpen Q := isOpen_lt continuous_const he |
| 40 | have ho := H.support; have h' := H.normalized |
| 41 | let c := R.μ.real Q |
| 42 | have hc : 0<c := by apply ENNReal.toReal_pos (mu_ne ho Q hu ⟨i,hv⟩) (measure_ne_top R.μ Q) |
| 43 | have hz := ht.trans_lt hp |
| 44 | have hf n : c ≤ ((t/p)^2)^n := by |
| 45 | let g (i) := f i ^ (2*n) |
| 46 | have hx : Integrable g R.μ := (he.pow _).integrable_of_hasCompactSupport (HasCompactSupport.of_compactSpace _) |
| 47 | rw [← pow_mul,div_pow] |
| 48 | refine (le_div_iff₀ (pow_pos hz _)).2 ?_ |
| 49 | calc |
| 50 | _ = ∫ _ in Q,(p^(2*n):ℝ) ∂R.μ := by simp [c] |
| 51 | _ ≤ ∫ i in Q,g i ∂R.μ := setIntegral_mono_on (integrable_const _) hx.integrableOn hu.measurableSet fun j hj => |
| 52 | pow_le_pow_left₀ hz.le (show p < f j from hj).le _ |
| 53 | _ ≤ ∫ i, g i ∂R.μ := setIntegral_le_integral hx (ae_of_all _ fun i => pow_nonneg (norm_nonneg _) _) |
| 54 | _ ≤ t^(2*n) := hg n |
| 55 | have hq : t/p < 1 := div_lt_one hz |>.2 hp |
| 56 | have hx := div_nonneg ht hz.le |
| 57 | exact hc.not_ge (ge_of_tendsto' (tendsto_pow_atTop_nhds_zero_of_lt_one (sq_nonneg _) (by exact pow_lt_one₀ hx hq (by omega))) hf) |
| 58 | where mu_ne (h : R.μ.IsOpenPosMeasure) (q : Set R.X) (a : IsOpen q) (b : q.Nonempty) : R.μ q≠0 := IsOpenPosMeasure.open_pos q a b |
| 59 | end Bit |
| 60 | variable {C : Family G} {S : Table C.book} {V : Chamber S timeAxis} {d : ℕ} {X : Columns C S d} |
| 61 | variable {f : Order} (Y : X.Trials) (Q : Y.Valid f) (P : Spread V) (a : P.Resolution) |
| 62 | |
| 63 | def token (k : ℕ) (i : Fin X.amount) (c : Fin (X.dim+1)) (s : Fin ((X.row i).extra+1)) : C.book.Token := ⟨d,Y.later k (Columns.Trials.names (X := X) i c s)⟩ |
| 64 | def plant (k : ℕ) (i : Fin X.amount) (c : Fin (X.dim+1)) (s : Fin ((X.row i).extra+1)) : C.book.Plant := (Y.realPlace k i s, token Y k i c s) |
| 65 | include Q in |
| 66 | lemma apart (k i c s u) (h : s<u) : distinct [plant Y k i c s,plant Y k i c u] := by |
| 67 | suffices he : (plant Y k i c s).1≠(plant Y k i c u).1 from locations.mpr (by simp [he]) |
| 68 | intro hp |
| 69 | exact h.ne ((show Injective _ from generic_conf _ (Q.generic k i)) hp) |
| 70 | -- include Q needed above |
| 71 | |
| 72 | abbrev atOne (p : C.book.Plant) := M P [p] (locations.mpr (by simp)) |
| 73 | def Δone (k : ℕ) (i : Fin X.amount) (c : Fin (X.dim+1)) (s : Fin ((X.row i).extra+1)) : P.algebra := atOne P (plant Y k i c s)- Y.singleton k i c s • 1 |
| 74 | |
| 75 | def Δtwo (k : ℕ) (i : Fin X.amount) (c : Fin (X.dim+1)) (s u : Fin ((X.row i).extra+1)) (h : s<u) : P.algebra := M P _ (apart Y Q k i c s u h)- |
| 76 | Y.singleton k i c s • atOne P (plant Y k i c u) - Y.singleton k i c u • atOne P (plant Y k i c s)+ |
| 77 | (Y.singleton k i c u *Y.singleton k i c s-Y.cumulant k i c s u) • 1 |
| 78 | |
| 79 | /-- Need trains alternating translated (θ or conjugate after Mθ bridge), |
| 80 | all positions generic, including all cross copies. Maps exactly rankwid tail. -/ |
| 81 | structure Funds : Prop where |
| 82 | one (k i c s) : Tall P (Δone Y P k i c s) (Y.gap k) |
| 83 | pair (k i c s u) (h : s<u) : Tall P (Δtwo Y Q P k i c s u h) (Y.gap k) |
| 84 | variable (H : Funds Y Q P) |
| 85 | |
| 86 | lemma pops {D : Table C.book} {i} (h : a.receives D i) (u : C.book.Word) (hu : distinct u) : |
| 87 | a.character i (M P u hu)=D.expect u := (h u hu _ _ (Spread.Resolution.place_exists hu).choose_spec.choose_spec).symm |
| 88 | |
| 89 | lemma picky (j) (x : ℂ) (p : P.algebra) : a.character j (x • p)=x*a.character j p := (a.character j).toAlgHom.toLinearMap.map_smul _ _ |
| 90 | lemma plus (j) (x y : P.algebra) : a.character j (x+y) = a.character j x+a.character j y := (a.character j).toAlgHom.map_add x y |
| 91 | lemma minus (j) (x y : P.algebra) : a.character j (x-y) = a.character j x-a.character j y := (a.character j).toAlgHom.map_sub x y |
| 92 | include H in |
| 93 | lemma one_near (hi : a.Out) {D : Table C.book} {v} (h : a.receives D v) k i c s : |
| 94 | ‖D.expect [plant Y k i c s]- Y.singleton k i c s‖ ≤ Y.gap k := by |
| 95 | have H := bit P hi _ _ (Y.allowed k) (H.one k i c s) v |
| 96 | rw [Δone,minus P a v,picky P a v,atOne,pops P a h,map_one] at H; simpa only [smul_eq_mul,mul_one] using H |
| 97 | |
| 98 | def free2 (k : ℕ) (i : Fin X.amount) (c : Fin (X.dim+1)) (s u : Fin ((X.row i).extra+1)) := Y.cumulant k i c s u + Y.singleton k i c s* Y.singleton k i c u |
| 99 | |
| 100 | include H in |
| 101 | lemma pair_near (hi : a.Out) {D : Table C.book} {v} (h : a.receives D v) k i c s u (hp : s<u) : |
| 102 | ‖D.expect [plant Y k i c s,plant Y k i c u]- free2 Y k i c s u‖ ≤ |
| 103 | Y.gap k+ (‖Y.singleton k i c s‖+‖Y.singleton k i c u‖)*Y.gap k := by |
| 104 | have hb := bit P hi _ _ (Y.allowed k) (H.pair k i c s u hp) v |
| 105 | have hy (x) := one_near Y Q P a H hi h k i c x |
| 106 | let U := D.expect |
| 107 | let y t := plant Y k i c t |
| 108 | let j t := Y.singleton k i c t |
| 109 | rw [Δtwo,plus P a v,minus P a v,minus P a v,picky P a v,picky P a v,picky P a v,map_one] at hb |
| 110 | simp only [mul_one,atOne,pops P a h] at hb |
| 111 | let G (s t) := U [y s,y t]-j s*U [y t]-j t*U [y s]+(j t*j s-Y.cumulant k i c s t) |
| 112 | change ‖U _-_‖ ≤ _ |
| 113 | rw [show U [y s,y u]- _= G s u + (j s*(U [y u]-j u)+j u*(U [y s]- j s)) from by unfold G; unfold free2; simp only [j]; ring] |
| 114 | rw [add_mul] |
| 115 | refine (norm_add_le ..).trans (add_le_add hb ((norm_add_le ..).trans ?_)) |
| 116 | rw [norm_mul,norm_mul]; exact add_le_add (mul_le_mul_of_nonneg_left (hy u) (norm_nonneg _)) |
| 117 | (mul_le_mul_of_nonneg_left (hy s) (norm_nonneg _)) |
| 118 | end YM.Extraction.Retain |