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 Mathlib.Analysis.InnerProductSpace.StarOrder |
| 2 | import Mathlib.MeasureTheory.Measure.CharacteristicFunction.Basic |
| 3 | import Mathlib.Topology.Compactification.OnePoint.Basic |
| 4 | import YM.Compact.Borel |
| 5 | import YM.Distribution.Product |
| 6 | import YM.OS.Schwinger |
| 7 | |
| 8 | /-! |
| 9 | # Spectral test constants. `Sheet` here is product Schwartz only; no general |
| 10 | claim about global momentum values. |
| 11 | -/ |
| 12 | noncomputable section |
| 13 | namespace YM.Outer |
| 14 | open MeasureTheory Measure Filter Set Function Complex Boundary Probe OS |
| 15 | open scoped BigOperators Topology InnerProductSpace ContDiff NNReal ENNReal ComplexOrder |
| 16 | |
| 17 | abbrev Form := Probe ℝ |
| 18 | abbrev Panels := Axis → Form |
| 19 | abbrev Tang := SpaceAxis → ℝ |
| 20 | |
| 21 | def assembleL (n : ℕ) : (Fin (n+1) → ℝ) ≃L[ℝ] ℝ × (Fin n→ℝ) := LinearEquiv.toContinuousLinearEquiv { |
| 22 | toFun w := (w 0, fun i => w i.succ) |
| 23 | invFun w := Fin.cons w.1 w.2 |
| 24 | left_inv w := by funext i; refine Fin.cases ?_ (fun j => ?_) i <;> simp |
| 25 | right_inv w := by apply Prod.ext; · simp |
| 26 | funext j; simp |
| 27 | map_add' _ _ := rfl |
| 28 | map_smul' _ _ := rfl } |
| 29 | |
| 30 | def tensorN (n : ℕ) (f : Fin n → Form) : Probe (Fin n→ℝ) := |
| 31 | match n with |
| 32 | | 0 => (HasCompactSupport.of_compactSpace (f:=fun _ : Fin 0→ℝ => (1:ℂ))).toSchwartzMap contDiff_const |
| 33 | | k+1 => along (assembleL k) (Probe.combine (f 0) (tensorN k (Fin.tail f))) |
| 34 | |
| 35 | lemma tensorN_at (n) (f) (x) : tensorN n f x=∏ i, f i (x i) := by |
| 36 | induction n with |
| 37 | | zero => rw [Finset.univ_eq_empty,Finset.prod_empty];rfl |
| 38 | | succ k ih => rw [tensorN,along_at,combine_at,ih,Fin.prod_univ_succ]; rfl |
| 39 | |
| 40 | def tensor (f : Panels) : Probe E4 := along (PiLp.continuousLinearEquiv 2 ℝ (fun _ : Axis => ℝ)) (tensorN 4 f) |
| 41 | lemma tensor_at (f : Panels) (x : E4) : tensor f x= ∏ i,f i (x i) := tensorN_at 4 f x.ofLp |
| 42 | |
| 43 | /-- Put time i. -/ |
| 44 | def make (i : Axis) : ℝ × Tang ≃ᵐ E4 := |
| 45 | (MeasurableEquiv.piFinSuccAbove (fun _ => ℝ) i).symm.trans (MeasurableEquiv.toLp 2 _) |
| 46 | |
| 47 | lemma make_time (i : Axis) (x : ℝ × Tang) : make i x i = x.1 := i.insertNth_apply_same (α:=fun _ => ℝ) x.1 x.2 |
| 48 | lemma make_other (i : Axis) (x : ℝ × Tang) (j : SpaceAxis) : make i x (i.succAbove j) = x.2 j := i.insertNth_apply_succAbove (α:=fun _ => ℝ) x.1 x.2 j |
| 49 | |
| 50 | lemma make_pres (i : Axis) : MeasurePreserving (make i) := |
| 51 | (PiLp.volume_preserving_toLp Axis).comp (volume_preserving_piFinSuccAbove _ i).symm |
| 52 | |
| 53 | def elsewhere (i : Axis) (x : Tang) : Cross i := ⟨make i (0,x), make_time ..⟩ |
| 54 | lemma make_eq (i) (t : ℝ) (x : Tang) : make i (t,x)= t • basis i+(elsewhere i x).val := by |
| 55 | apply PiLp.ext; intro j |
| 56 | by_cases hj : j=i |
| 57 | · subst j; simp [make_time,elsewhere] |
| 58 | · obtain ⟨k,rfl⟩ := Fin.exists_succAbove_eq hj |
| 59 | simp [make_other,elsewhere,i.succAbove_ne k] |
| 60 | |
| 61 | lemma make_mirror (i) (t : ℝ) (x : Tang) : Ortho.move (Signed.reflect i) (make i (t,x))=make i (-t,x) := by |
| 62 | apply PiLp.ext; intro j |
| 63 | by_cases hj : j=i |
| 64 | · subst j; simp [make_time] |
| 65 | obtain ⟨k,rfl⟩ := Fin.exists_succAbove_eq hj |
| 66 | simp [i.succAbove_ne,make_other] |
| 67 | |
| 68 | def part (i : Axis) (p : E4) (j : SpaceAxis) := p (i.succAbove j) |
| 69 | def tests (f : Panels) (i : Axis) (x : Tang) := ∏ j, f (i.succAbove j) (x j) |
| 70 | def reading (i : Axis) (f : Panels) (p : E4) := tests f i (part i p) |
| 71 | |
| 72 | lemma tensor_made (f : Panels) (i : Axis) (t : ℝ × Tang) : tensor f (make i t)= f i t.1 * tests f i t.2 := by |
| 73 | rw [tensor_at,Fin.prod_univ_succAbove _ i]; unfold tests; simp [make_time,make_other] |
| 74 | lemma tests_update (f : Panels) (i h) : tests (update f i h) i=tests f i := by |
| 75 | ext1; unfold tests; simp [Fin.succAbove_ne] |
| 76 | lemma tensor_update (f : Panels) (i : Axis) (h) (p : E4) : tensor (update f i h) p=h (p i)*reading i f p := by |
| 77 | rw [tensor_at,Fin.prod_univ_succAbove _ i]; unfold reading part tests; simp [Fin.succAbove_ne] |
| 78 | |
| 79 | lemma tests_int (f : Panels) (i : Axis) : Integrable (tests f i) (volume : Measure Tang) := |
| 80 | Integrable.fintype_prod (μ:=fun _ => volume) (fun j => (f (i.succAbove j)).integrable) |
| 81 | |
| 82 | lemma wave_prod (i : Axis) (x : Tang) (p : E4) : plane p (elsewhere i x).val=∏ j,plane (p (i.succAbove j)) (x j) := by |
| 83 | unfold plane; rw [PiLp.inner_apply,Fin.sum_univ_succAbove _ i]; simp only [elsewhere,make_time,inner_zero_right, |
| 84 | zero_add, make_other, ofReal_sum, Finset.sum_mul, Complex.exp_sum] |
| 85 | |
| 86 | def positionTest (f : Panels) : Probe E4 := tensor fun i => hat (f i) |
| 87 | |
| 88 | lemma tensor_wave (f : Panels) (p : E4) (i : Axis) : |
| 89 | ∫ x : Tang,plane p (elsewhere i x).val * tests (fun i => hat (f i)) i x = ((pref ℝ)^3:ℝ) • reading i f p := by |
| 90 | have hu (j : Axis) : (∫ x : ℝ,plane (p j) x * hat (f j) x)=pref ℝ • f j (p j) := by |
| 91 | simp_rw [plane_dot (p j)]; exact positiveFourier .. |
| 92 | simp_rw [wave_prod i]; unfold tests reading part |
| 93 | simp_rw [← Finset.prod_mul_distrib] |
| 94 | rw [MeasureTheory.integral_fintype_prod_volume_eq_prod (f:=fun j x => plane (p (i.succAbove j)) x * hat (f _) x)] |
| 95 | simp_rw [hu]; unfold tests; simp [Complex.real_smul, Finset.prod_mul_distrib] |
| 96 | end YM.Outer |