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.Bid.Grow |
| 2 | import YM.Spark.Limit |
| 3 | /-! |
| 4 | # Tensor density for joint Schwartz tests |
| 5 | |
| 6 | Compact real-space tests suffice. Keep a fixed tensor cutoff equal to one there, |
| 7 | then cap the Fourier transform and use inversion; after the two cutoffs this |
| 8 | is a compact integral of tensor tests (the cutoff times plane waves). `Spark.records` |
| 9 | implements strong quadrature for such a continuous Schwartz-valued family via |
| 10 | its pointwise integrals. No support restrictions requested on the tensor span. |
| 11 | -/ |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | namespace YM.Work.C25 |
| 15 | open Set Filter Function MeasureTheory Boundary Probe |
| 16 | open scoped ContDiff Topology BigOperators InnerProductSpace |
| 17 | variable {P X : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] [FiniteDimensional ℝ P] |
| 18 | [NormedAddCommGroup X] [InnerProductSpace ℝ X] [FiniteDimensional ℝ X] |
| 19 | |
| 20 | omit [FiniteDimensional ℝ P] [FiniteDimensional ℝ X] in |
| 21 | theorem continuous_partialJet (F : P × X → ℂ) (j : ℕ) (h : ContDiff ℝ j F) : |
| 22 | Continuous (fun y : P × X => iteratedFDeriv ℝ j (fun x => F (y.1, x)) y.2) := by |
| 23 | let L := ContinuousLinearMap.inr ℝ P X |
| 24 | have he (p : P) (x : X) : iteratedFDeriv ℝ j (fun t => F (p,t)) x = |
| 25 | ContinuousMultilinearMap.compContinuousLinearMapL (fun _ : Fin j => L) (iteratedFDeriv ℝ j F (p,x)) := by |
| 26 | let G : P × X → ℂ := fun y => F ((p,0) + y) |
| 27 | have hg : ContDiff ℝ j G := h.comp (contDiff_const.add contDiff_id) |
| 28 | have hG : G ∘ L = (fun t => F (p,t)) := by ext t : 1; simp [G,L] |
| 29 | rw [← hG,L.iteratedFDeriv_comp_right hg x le_rfl, show G=(fun y => F ((p,0)+y)) from rfl, |
| 30 | iteratedFDeriv_comp_add_left] |
| 31 | simp [L] |
| 32 | simp_rw [he] |
| 33 | exact (ContinuousMultilinearMap.compContinuousLinearMapL (fun _ : Fin j => L)).continuous.comp |
| 34 | (h.continuous_iteratedFDeriv le_rfl) |
| 35 | |
| 36 | theorem continuous_probes (f : P → Probe X) {K : Set X} (hK : IsCompact K) |
| 37 | (ht : ∀ p, tsupport (f p) ⊆ K) |
| 38 | (h : ContDiff ℝ ∞ (fun y : P × X => f y.1 y.2)) : Continuous f := by |
| 39 | refine continuous_iff_continuousAt.mpr fun p => Spark.ready (fun j x => ?_) (fun i j => ?_) |
| 40 | · rw [← nhds_prod_eq] |
| 41 | exact (continuous_partialJet _ j (h.of_le (mod_cast le_top))).tendsto (p,x) |
| 42 | let g (y : P × X) := ‖y.2‖^i * ‖iteratedFDeriv ℝ j (f y.1) y.2‖ |
| 43 | have hg : Continuous g := ((continuous_norm.comp continuous_snd).pow _).mul |
| 44 | (continuous_partialJet (fun y : P × X => f y.1 y.2) j (h.of_le (mod_cast le_top))).norm |
| 45 | obtain ⟨C,hC⟩ := ((isCompact_closedBall p 1).prod hK).bddAbove_image hg.continuousOn |
| 46 | refine ⟨max 0 C, ?_⟩ |
| 47 | filter_upwards [Metric.closedBall_mem_nhds p (zero_lt_one : 0 < (1 : ℝ))] with q hq |
| 48 | refine (f q).seminorm_le_bound ℂ i j (le_max_left ..) (fun x => ?_) |
| 49 | by_cases hx : x ∈ K |
| 50 | · exact (hC ⟨(q,x), mk_mem_prod hq hx, rfl⟩).trans (le_max_right ..) |
| 51 | have hv : ⇑(f q) =ᶠ[𝓝 x] 0 := notMem_tsupport_iff_eventuallyEq.mp (fun hv => hx (ht q hv)) |
| 52 | rw [Probe.vanish_j _ _ hv,norm_zero,mul_zero]; exact le_max_left .. |
| 53 | |
| 54 | omit [FiniteDimensional ℝ X] in |
| 55 | theorem smooth_plane : ContDiff ℝ ∞ (fun y : X × X => plane y.1 y.2) := |
| 56 | ((Complex.ofRealCLM.contDiff.comp (contDiff_fst.inner ℝ contDiff_snd)).mul contDiff_const).cexp |
| 57 | |
| 58 | theorem compact_keeper (k : ℕ) : HasCompactSupport ⇑(keeper (X:=X) k) := by |
| 59 | have hc : HasCompactSupport (tint (stall (X:=X)) : X → ℂ) := by |
| 60 | rw [HasCompactSupport,tint_support]; exact isCompact_closedBall .. |
| 61 | exact hc.comp_homeomorph (compress k).toHomeomorph |
| 62 | |
| 63 | def cut_plane (k : ℕ) (p : X) : Probe X := |
| 64 | ((compact_keeper k).mul_right (f' := plane p)).toSchwartzMap |
| 65 | (((keeper k).smooth ⊤).mul (smooth_plane.comp (contDiff_const.prodMk contDiff_id))) |
| 66 | |
| 67 | theorem continuous_cut_plane (k : ℕ) : Continuous (cut_plane (X:=X) k) := by |
| 68 | apply continuous_probes _ (compact_keeper k) (fun p => ?_) |
| 69 | · exact (((keeper k).smooth ⊤).comp contDiff_snd).mul smooth_plane |
| 70 | exact closure_mono fun x hx => left_ne_zero_of_mul hx |
| 71 | |
| 72 | def box (n k : ℕ) := Joint.materialize n fun _ => keeper k |
| 73 | |
| 74 | def boxedPlane (n k : ℕ) (p : Points n) := Joint.materialize n fun i => cut_plane k (p i) |
| 75 | |
| 76 | theorem boxedPlane_apply {n : ℕ} (k : ℕ) (p x : Points n) : boxedPlane n k p x = box n k x * plane p x := by |
| 77 | simp [boxedPlane, box, cut_plane, plane, PiLp.inner_apply, Finset.sum_mul, Complex.exp_sum, Finset.prod_mul_distrib] |
| 78 | |
| 79 | theorem continuous_boxedPlane (n k : ℕ) : Continuous (boxedPlane n k) := by |
| 80 | exact (Joint.jointCont n).comp (continuous_pi fun i => (continuous_cut_plane k).comp (by fun_prop)) |
| 81 | |
| 82 | abbrev span (n : ℕ) := Submodule.span ℂ (range (Joint.materialize n)) |
| 83 | abbrev closedSpan (n : ℕ) := (span n).topologicalClosure |
| 84 | |
| 85 | attribute [local instance] Measure.Subtype.measureSpace in |
| 86 | theorem cut_port_mem {n : ℕ} (w : Joint n) (hw : HasCompactSupport ⇑w) (k : ℕ) : |
| 87 | sew (box n k) (port w) ∈ closedSpan n := by |
| 88 | let K := tsupport w |
| 89 | have hKm : MeasurableSet K := (isClosed_tsupport _).measurableSet |
| 90 | haveI : CompactSpace K := isCompact_iff_compactSpace.mp hw |
| 91 | haveI : IsFiniteMeasure (volume : Measure K) := ⟨by |
| 92 | rw [Measure.Subtype.volume_univ hKm.nullMeasurableSet]; exact (show IsCompact K from hw).measure_lt_top⟩ |
| 93 | let c := (pref (Points n))⁻¹ |
| 94 | let f : K → Joint n := fun p => c • (w (p : Points n) • boxedPlane n k p) |
| 95 | have hc : Continuous f := ((w.continuous.smul (continuous_boxedPlane n k)).comp continuous_subtype_val).const_smul c |
| 96 | have h (x : Points n) : sew (box n k) (port w) x = ∫ u : K, f u x := by |
| 97 | rw [sews,port_eq] |
| 98 | change _ = ∫ u : K, c • (w (u : Points n) * boxedPlane n k u x) |
| 99 | rw [integral_smul,integral_subtype hKm (fun u => w u * boxedPlane n k u x), |
| 100 | setIntegral_eq_integral_of_forall_compl_eq_zero (fun u hu => ?_)] |
| 101 | · rw [show (fun u : Points n => w u * boxedPlane n k u x)=(fun u => box n k x * (plane u x * w u)) from |
| 102 | funext (fun u => by rw [boxedPlane_apply]; ring),integral_const_mul, mul_smul_comm] |
| 103 | rw [show w u=0 from image_eq_zero_of_notMem_tsupport hu,zero_mul] |
| 104 | refine (span n).isClosed_topologicalClosure.mem_of_tendsto (Spark.records volume f _ h hc) ?_ |
| 105 | refine Eventually.of_forall fun i => (closedSpan n).sum_mem (fun j _ => ?_) |
| 106 | refine (closedSpan n).smul_of_tower_mem _ ((closedSpan n).smul_of_tower_mem c ((closedSpan n).smul_mem _ ?_)) |
| 107 | exact (span n).le_topologicalClosure (Submodule.subset_span ⟨_, rfl⟩) |
| 108 | |
| 109 | theorem compact_mem {n : ℕ} (v : Joint n) (hv : HasCompactSupport ⇑v) : v ∈ closedSpan n := by |
| 110 | obtain ⟨C,hC⟩ := (show IsCompact (tsupport v) from hv).bddAbove_image continuous_norm.continuousOn |
| 111 | obtain ⟨k,hk⟩ := exists_nat_gt C |
| 112 | have he : sew (box n k) v = v := by |
| 113 | ext x : 1 |
| 114 | rw [sews] |
| 115 | by_cases hx : x ∈ tsupport v |
| 116 | · have hh := (hC (mem_image_of_mem _ hx)).trans hk.le |
| 117 | have hb i := keeper_one k (x:=x i) ((PiLp.norm_apply_le x i).trans (hh.trans (by linarith))) |
| 118 | rw [show box n k x=1 by simp [box,hb], one_mul] |
| 119 | rw [show v x=0 from image_eq_zero_of_notMem_tsupport hx,mul_zero] |
| 120 | have ht : Tendsto (fun l => sew (box n k) (port (cap l (hat v)))) atTop (𝓝 v) := by |
| 121 | convert! (((sew (box n k)).continuous.comp port.continuous).tendsto (hat v)).comp (persistent (hat v)) using 1 |
| 122 | rw [comp_apply,comes,he] |
| 123 | exact (span n).isClosed_topologicalClosure.mem_of_tendsto ht (Eventually.of_forall |
| 124 | fun l => cut_port_mem (cap l (hat v)) (finite_cap l) k) |
| 125 | |
| 126 | /-- Sanity check: the empty tuple is not a missing generator. -/ |
| 127 | theorem span_zero : span 0 = ⊤ := by |
| 128 | refine top_unique fun v _ => ?_ |
| 129 | have he : v = v 0 • Joint.materialize 0 0 := by |
| 130 | ext x : 1 |
| 131 | rw [Subsingleton.elim x 0]; simp |
| 132 | rw [he] |
| 133 | exact (span 0).smul_mem _ (Submodule.subset_span ⟨_, rfl⟩) |
| 134 | |
| 135 | theorem answer : YM.Bid.C25 := by |
| 136 | intro n |
| 137 | exact top_unique fun v _ => (span n).isClosed_topologicalClosure.mem_of_tendsto (persistent v) |
| 138 | (Eventually.of_forall fun l => compact_mem (cap l v) (finite_cap l)) |
| 139 | end YM.Work.C25 |