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.TraceExtension.LaplaceSchwartz |
| 2 | |
| 3 | /-! Wave function conventions in `prop:nfock`. Full direct sum, including vacuum, |
| 4 | finite copies. Ambient L² (impose the symmetric transverse subspace separately). |
| 5 | Use disjoint union to expose conditional wave functions without any slot-domain assumptions. |
| 6 | -/ |
| 7 | |
| 8 | set_option autoImplicit false |
| 9 | noncomputable section |
| 10 | namespace YM.TraceExtension.Photons |
| 11 | open Function Set Filter MeasureTheory Measure Metric Complex Mink Boundary |
| 12 | open scoped Topology NNReal ENNReal BigOperators InnerProductSpace Classical Interval |
| 13 | |
| 14 | /-- Shell-origin assigned zero density as it has zero volume. -/ |
| 15 | def photon : Measure Space3 := volume.withDensity fun x : Space3 => ENNReal.ofReal (2 * ‖x‖)⁻¹ |
| 16 | instance : NullSingletonClass photon := by unfold photon; infer_instance |
| 17 | instance : SigmaFinite photon := SigmaFinite.withDensity_of_ne_top |
| 18 | (ae_of_all _ fun _ => ENNReal.ofReal_ne_top) |
| 19 | lemma photon_ball {r : ℝ} (hr : 0<r) : photon (closedBall 0 r) = ENNReal.ofReal (Real.pi*r^2) := by |
| 20 | let f : ℝ → ℝ := fun x => (2*x)⁻¹ |
| 21 | let U := closedBall (0:Space3) r |
| 22 | have hi (x:Space3) : 0 ≤ f ‖x‖ := by unfold f; positivity |
| 23 | have ht : (∫ x in U, f ‖x‖) = Real.pi*r^2 := by |
| 24 | let g := (Iic r).indicator f |
| 25 | have he : (∫ x in U, f ‖x‖)=∫ x : Space3,g ‖x‖ := by |
| 26 | rw [← integral_indicator (f:=fun x => f ‖x‖) measurableSet_closedBall] |
| 27 | congr! 1; ext x; simp [g, Set.indicator] |
| 28 | rw [he, integral_fun_norm_addHaar]; rw [show Module.finrank ℝ Space3=3 from finrank_euclideanSpace_fin] |
| 29 | rw [Measure.real,EuclideanSpace.volume_ball_fin_three] |
| 30 | have hp : 0 ≤ Real.pi*4/3 := by positivity |
| 31 | norm_num [ENNReal.toReal_ofReal hp] |
| 32 | rw [show (fun x:ℝ => x^2 * g x)=(Iic r).indicator (fun x => (2:ℝ)⁻¹*x) by |
| 33 | ext x; by_cases h:x∈Iic r |
| 34 | · by_cases ht:x=0 |
| 35 | · simp [g, ht, Set.indicator, hr.le] |
| 36 | simp only [g,Set.indicator_of_mem h,f]; field_simp |
| 37 | simp [g,h], setIntegral_indicator measurableSet_Iic,Ioi_inter_Iic,← intervalIntegral.integral_of_le hr.le, intervalIntegral.integral_const_mul, integral_id] |
| 38 | ring |
| 39 | rw [← ht]; symm; exact ofReal_integral_eq_lintegral_ofReal (by |
| 40 | by_contra h; rw [integral_undef h] at ht; exact (by positivity : 0<Real.pi*r^2).ne ht) (ae_of_all _ hi) |>.trans (withDensity_apply _ measurableSet_closedBall).symm |
| 41 | instance photon_growth : photon.HasTemperateGrowth := by |
| 42 | have he := inverse_integrable (μ:=photon) (A:=Real.pi) (k:=2) Real.pi_pos.le (fun R hr => (photon_ball (zero_lt_one.trans_le hr)).le) |
| 43 | exact ⟨3,by |
| 44 | simp_rw [show ∀ p : Space3,(1+‖p‖) ^ (- ((3:ℕ):ℝ))=((1+‖p‖)^3)⁻¹ from fun p => by rw [Real.rpow_neg (by positivity),Real.rpow_natCast] ] |
| 45 | exact he⟩ |
| 46 | |
| 47 | /-- Space / time coordinates, forward cone covectors. -/ |
| 48 | def momentum (k : Space3) : E4 := position k ‖k‖ |
| 49 | @[simp] lemma momentum_energy (k) : time (momentum k) = ‖k‖ := by simp [momentum] |
| 50 | @[simp] lemma momentum_space (k) : spatial (momentum k)= k := by simp [momentum] |
| 51 | @[simp] lemma momentum_zero : momentum 0=0 := ext_by (by simp) (by simp) |
| 52 | @[fun_prop] lemma momentum_cont : Continuous momentum := divide.symm.continuous.comp (continuous_id.prodMk continuous_norm) |
| 53 | |
| 54 | abbrev Label (m : ℕ) := Fin m × SpaceAxis -- copy, spatial component |
| 55 | abbrev Tags (m n : ℕ) := Fin n → Label m |
| 56 | abbrev Mom (n : ℕ) := Fin n → Space3 |
| 57 | def photons (n : ℕ) : Measure (Mom n) := Measure.pi fun _ => photon |
| 58 | instance (n : ℕ) : SigmaFinite (photons n) := by unfold photons; infer_instance |
| 59 | lemma photons_nonzero (n : ℕ) : ∀ᵐ k ∂photons n, ∀ i, 0 < ‖k i‖ := |
| 60 | ae_all_iff.mpr fun i => (Measure.tendsto_eval_ae_ae (μ:=fun _ : Fin n => photon) (i:=i)).eventually |
| 61 | (show ∀ᵐ y : Space3 ∂photon, 0< ‖y‖ from (ae_iff.mpr (by simp))) |
| 62 | |
| 63 | /-- sectors, kept as compatible simultaneous ordered colors and momenta -/ |
| 64 | abbrev Index (m : ℕ) := Σ n, Tags m n |
| 65 | abbrev Wavespace (m : ℕ) := Σ i : Index m, Mom i.1 |
| 66 | |
| 67 | variable {m n : ℕ} |
| 68 | def totalMomentum (k : Mom n) := ∑ i, momentum (k i) |
| 69 | @[simp] lemma total_energy (k : Mom n) : time (totalMomentum k)=∑ i, ‖k i‖ := by |
| 70 | unfold totalMomentum; rw [← clockL_at, _root_.map_sum]; simp |
| 71 | @[fun_prop] lemma total_cont : Continuous (@totalMomentum n) := by unfold totalMomentum; fun_prop |
| 72 | abbrev forward (x : Wavespace m) := totalMomentum x.snd |
| 73 | |
| 74 | abbrev insertP (i : Index m) (k : Mom i.1) : Wavespace m := ⟨i,k⟩ |
| 75 | |
| 76 | private lemma measW {s : Set (Wavespace m)} : MeasurableSet s ↔ ∀ i, MeasurableSet (insertP i ⁻¹' s) := by |
| 77 | exact MeasurableSpace.measurableSet_iInf |
| 78 | lemma disjointP (i j : Index m) (h : i ≠ j) (s : Set (Mom i.1)) : insertP j ⁻¹' (insertP i '' s) = ∅ := by |
| 79 | ext k; refine ⟨?_,fun H => False.elim H⟩; rintro ⟨p,_,H⟩; exact False.elim (h (Sigma.mk.inj H).1) |
| 80 | lemma embedP (i : Index m) : MeasurableEmbedding (insertP i) := by |
| 81 | have he : Injective (insertP i) := fun a b h => eq_of_heq ((Sigma.mk.inj h).2) |
| 82 | refine ⟨he,fun s hs => measW.mp hs i,fun s hs => measW.mpr fun j => ?_⟩ |
| 83 | by_cases h : i=j |
| 84 | · subst j; rw [he.preimage_image]; exact hs |
| 85 | rw [disjointP i j h]; exact MeasurableSet.empty |
| 86 | lemma measurable_sector {V : Type*} [MeasurableSpace V] (f : Wavespace m → V) (h : ∀ i, Measurable (f ∘ insertP i)) : Measurable f := |
| 87 | fun _ he => measW.mpr fun i => h i he |
| 88 | lemma measurable_forward : Measurable (@forward m) := measurable_sector _ fun _ => total_cont.measurable |
| 89 | |
| 90 | def sumMeasure (m : ℕ) : Measure (Wavespace m) := Measure.sum fun i : Index m => (photons i.fst).map (insertP i) |
| 91 | lemma sum_ae (P : Wavespace m → Prop) : (∀ᵐ k ∂sumMeasure m, P k) ↔ ∀ i, ∀ᵐ k ∂photons i.fst, P (insertP i k) := by |
| 92 | unfold sumMeasure; rw [Measure.ae_sum_iff]; simp_rw [(embedP _).ae_map_iff] |
| 93 | lemma sum_part (i : Index m) {s : Set (Mom i.fst)} (h : MeasurableSet s) : sumMeasure m (insertP i '' s) = photons i.fst s := by |
| 94 | rw [sumMeasure,Measure.sum_apply _ ((embedP i).measurableSet_image' h), tsum_eq_single i] |
| 95 | · rw [(embedP i).map_apply,(embedP i).injective.preimage_image] |
| 96 | intro j he; rw [(embedP j).map_apply, disjointP _ _ (Ne.symm he),measure_empty] |
| 97 | instance : SigmaFinite (sumMeasure m) := by |
| 98 | let A (i : Index m × ℕ) := insertP i.1 '' spanningSets (photons i.1.1) i.2 |
| 99 | refine Measure.sigmaFinite_of_countable (countable_range A) (fun s h => ?_) ?_ |
| 100 | · obtain ⟨j,rfl⟩ := h; unfold A; rw [sum_part _ (measurableSet_spanningSets ..)]; exact measure_spanningSets_lt_top .. |
| 101 | refine Set.eq_univ_of_forall ?_; rintro ⟨k,i⟩ |
| 102 | obtain ⟨j,hj⟩ : ∃ j, i∈spanningSets (photons k.fst) j := mem_iUnion.mp (by rw [iUnion_spanningSets]; trivial) |
| 103 | exact mem_sUnion.mpr ⟨A (k,j),mem_range_self _,⟨i,hj,rfl⟩⟩ |
| 104 | |
| 105 | lemma sum_hasSum {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] (f : Wavespace m → V) (hf : Integrable f (sumMeasure m)) : |
| 106 | HasSum (fun i : Index m => ∫ k,f (insertP i k) ∂ photons i.fst) (∫ k,f k ∂ sumMeasure m) := by |
| 107 | unfold sumMeasure; change Integrable _ (Measure.sum _) at hf |
| 108 | have hp := hasSum_integral_measure hf; simp_rw [(embedP _).integral_map] at hp; exact hp |
| 109 | |
| 110 | /-- Ambient direct integral; use field-identification hypothesis with images transverse and symmetric. -/ |
| 111 | abbrev Ambient (m : ℕ) := Lp ℂ 2 (sumMeasure m) |
| 112 | end YM.TraceExtension.Photons |