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.Analysis.MomentPD |
| 2 | |
| 3 | /-! |
| 4 | # Compression of labels over compact variables, Schur positivity |
| 5 | -/ |
| 6 | set_option autoImplicit false |
| 7 | noncomputable section |
| 8 | namespace YM.Analysis |
| 9 | open Filter Function MeasureTheory |
| 10 | open scoped Topology BigOperators ComplexOrder |
| 11 | variable {X A B : Type*} [MetricSpace X] [MeasurableSpace X] [BorelSpace X] |
| 12 | [SecondCountableTopology X] [CompactSpace X] (μ : Measure X) [IsFiniteMeasure μ] |
| 13 | |
| 14 | namespace Quad |
| 15 | |
| 16 | def average (Q : Quad X) (g : X → X → ℂ) := ∑ i, (Q.mass μ i : ℂ) * ∑ j, (Q.mass μ j : ℂ) * |
| 17 | g (Q.tag i) (Q.tag j) |
| 18 | |
| 19 | theorem approx {F : X → X → ℂ} (h : Continuous (fun z : X × X => F z.1 z.2)) : |
| 20 | Tendsto (fun i => average μ (shrink X i) F) atTop (𝓝 (∫ x, ∫ y, F x y ∂μ ∂μ)) := by |
| 21 | classical |
| 22 | let g (Q : Quad X) := fun z : X × X => F (Q.map z.1) (Q.map z.2) |
| 23 | obtain ⟨c,hc⟩ := h.bounded_above_of_compact_support (HasCompactSupport.of_compactSpace _) |
| 24 | have hs (Q : Quad X) : Measurable (g Q) := h.measurable.comp |
| 25 | ((Q.meas_map.comp measurable_fst).prodMk (Q.meas_map.comp measurable_snd)) |
| 26 | have he (Q : Quad X) (x) : ‖g Q x‖ ≤ c := hc (Q.map x.1, Q.map x.2) |
| 27 | have hx (Q : Quad X) : (∫ x, g Q x ∂(μ.prod μ)) = average μ Q F := by |
| 28 | rw [integral_prod _ (Integrable.of_bound (hs Q).aestronglyMeasurable c |
| 29 | (Eventually.of_forall fun x => he Q x))] |
| 30 | change (∫ x, ∫ y, F (Q.map x) (Q.map y) ∂μ ∂μ) = _ |
| 31 | rw [Q.count μ (fun x => ∫ y, F x (Q.map y) ∂μ)] |
| 32 | dsimp only [average] |
| 33 | simp_rw [Q.count μ, Complex.real_smul] |
| 34 | simp_rw [← hx] |
| 35 | rw [← integral_prod (fun z : X × X => F z.1 z.2) (h.integrable_of_hasCompactSupport (HasCompactSupport.of_compactSpace _))] |
| 36 | refine tendsto_integral_of_dominated_convergence (fun _ => c) (fun i => (hs _).aestronglyMeasurable) |
| 37 | (integrable_const _) (fun i => Eventually.of_forall fun x => he _ _) (Eventually.of_forall fun x => ?_) |
| 38 | exact h.continuousAt.tendsto.comp ((along x.1).prodMk_nhds (along x.2)) |
| 39 | end Quad |
| 40 | |
| 41 | namespace NNKernel |
| 42 | |
| 43 | /-- Form new labels by integrating over independent random variables, one on each side. -/ |
| 44 | theorem accumulate {g : B → X → A} {K : A → A → ℂ} (H : NNKernel K) |
| 45 | (he : ∀ b c : B, Continuous fun p : X × X => K (g b p.1) (g c p.2)) : |
| 46 | NNKernel (fun b c => ∫ i : X, ∫ j : X, K (g b i) (g c j) ∂μ ∂μ) := by |
| 47 | let G (Q : Quad X) (b c : B) := Quad.average μ Q fun i j => K (g b i) (g c j) |
| 48 | have hh (Q : Quad X) : NNKernel (G Q) := by |
| 49 | apply criterion |
| 50 | · intro b c |
| 51 | unfold G Quad.average |
| 52 | simp only [star_sum,Finset.mul_sum, star_mul',Complex.star_def, Complex.conj_ofReal] |
| 53 | rw [Finset.sum_comm]; apply Finset.sum_congr rfl |
| 54 | intro i _; apply Finset.sum_congr rfl; intro j _ |
| 55 | have hs := H.swaps (g b (Q.tag i)) (g c (Q.tag j)) |
| 56 | simp only [Complex.star_def] at hs |
| 57 | rw [hs]; ring |
| 58 | intro m f r |
| 59 | let w (i : Fin Q.size) := (Q.mass μ i : ℂ) |
| 60 | have hp := H.positivity (I := Fin m × Fin Q.size) (fun i => g (f i.1) (Q.tag i.2)) (fun i => r i.1 * w i.2) |
| 61 | simp only [Fintype.sum_prod_type] at hp |
| 62 | unfold G Quad.average |
| 63 | simp_rw [Finset.mul_sum, Finset.sum_mul] |
| 64 | refine le_trans hp (le_of_eq ?_) |
| 65 | apply Finset.sum_congr rfl; intro j _ |
| 66 | rw [Finset.sum_comm]; apply Finset.sum_congr rfl |
| 67 | intro k _; apply Finset.sum_congr rfl |
| 68 | intro i _; apply Finset.sum_congr rfl; intro l h |
| 69 | simp [w]; ring |
| 70 | exact closed (fun i => G (Quad.shrink X i)) (fun i => hh _) (fun x y => Quad.approx μ (he x y)) |
| 71 | end NNKernel |
| 72 | end YM.Analysis |