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.SectorNext.RECONNECTED_LOCALITY.Gaussian |
| 2 | |
| 3 | set_option warningAsError false |
| 4 | |
| 5 | /-! |
| 6 | # Borel parameter pass and normalizations for window law |
| 7 | |
| 8 | Parts need the true local marginals and measurability at dummy completions too. |
| 9 | Convenient way to get these is a Gram-root table for *generating a Gaussian*; |
| 10 | keep separate from any affine determinant multiplier or even from the base |
| 11 | Gram. Here the Gram on regular-color coordinates is the **covariance**, including |
| 12 | inactive completion, under ONE law to be used on both sides of the reconnection. |
| 13 | No locality is either used or got on the root itself! No A-estimate either. |
| 14 | -/ |
| 15 | set_option autoImplicit false |
| 16 | noncomputable section |
| 17 | namespace YM.SectorNext.Reconnect |
| 18 | namespace Window |
| 19 | |
| 20 | open Function Filter ProbabilityTheory MeasureTheory WithLp |
| 21 | open scoped BigOperators |
| 22 | |
| 23 | variable {ι κ : Type*} [Fintype ι] [Fintype κ] |
| 24 | |
| 25 | def source (ι : Type*) [Fintype ι] : Measure (Z ι) := Measure.pi (fun _ : ι => gaussianReal 0 1) |
| 26 | |
| 27 | instance : IsProbabilityMeasure (source ι) := by unfold source; infer_instance |
| 28 | |
| 29 | open scoped Classical in |
| 30 | def eyes (ι : Type*) : Cov ι := fun i j => if i=j then 1 else 0 |
| 31 | |
| 32 | lemma source_says (ι : Type*) [Fintype ι] : Says (source ι) (eyes ι) := by |
| 33 | classical |
| 34 | refine ⟨inferInstance,fun t => ?_⟩ |
| 35 | unfold source said |
| 36 | simp_rw [sumPair,osc_sum] |
| 37 | rw [integral_fintype_prod_eq_prod (f:=fun i x => osc (x*t i))] |
| 38 | have he i : (∫ x : ℝ,osc (x*t i) ∂gaussianReal 0 1) = bell (t i*t i) := by |
| 39 | conv_lhs => arg 2; ext; rw [mul_comm] |
| 40 | simp only [osc, Complex.ofReal_mul,← charFun_apply_real, charFun_gaussianReal] |
| 41 | unfold bell |
| 42 | simp [pow_two] |
| 43 | rw [Finset.prod_congr rfl (fun i _ => he i),← bell_sum] |
| 44 | simp [act,eyes,mul_ite] |
| 45 | |
| 46 | def gram (R : κ → ι → ℝ) : Cov κ := fun i j => ∑ a,R i a*R j a |
| 47 | |
| 48 | open Matrix in |
| 49 | lemma gram_pos [DecidableEq κ] (R : κ → ι → ℝ) : Matrix.PosSemidef (show Matrix κ κ ℝ from Window.gram R) := by |
| 50 | convert! posSemidef_gram ℝ (fun i : κ => (toLp 2 (R i) : EuclideanSpace ℝ ι)) using 1 |
| 51 | unfold Window.gram Matrix.gram |
| 52 | ext i j |
| 53 | change ∑ a,R i a*R j a = inner ℝ (toLp 2 (R i) : EuclideanSpace ℝ ι) (toLp 2 (R j)) |
| 54 | simp only [PiLp.inner_apply, Real.inner_apply] |
| 55 | |
| 56 | def pour (R : κ → ι → ℝ) : Measure (Z κ) := (source ι).map (run R) |
| 57 | instance (R : κ → ι → ℝ) : IsProbabilityMeasure (pour R) := by |
| 58 | unfold pour; exact Measure.isProbabilityMeasure_map (by fun_prop) |
| 59 | |
| 60 | theorem pour_says (R : κ → ι → ℝ) : Says (pour R) (gram R) := by |
| 61 | classical |
| 62 | rw [show gram R=pushed R (eyes ι) by |
| 63 | funext i j; unfold gram pushed eyes |
| 64 | simp [mul_ite]] |
| 65 | exact (source_says ι).image R |
| 66 | |
| 67 | omit [Fintype κ] in |
| 68 | lemma parameter_meas {V : Type*} [MeasurableSpace V] {R : V → κ → ι → ℝ} (h : ∀ i j,Measurable fun x => R x i j) |
| 69 | (f : V → Z κ → ℝ) (hf : Measurable (uncurry f)) : Measurable (fun x => ∫ z,f x z ∂pour (R x)) := by |
| 70 | let g (p : V × Z ι) := (p.1,run (R p.1) p.2) |
| 71 | have hg : Measurable g := measurable_fst.prodMk (measurable_pi_lambda _ fun i : κ => by |
| 72 | change Measurable (fun p : V × Z ι => ∑ j,p.2 j * R p.1 i j) |
| 73 | exact Finset.measurable_sum _ (fun j _ => |
| 74 | ((show Measurable (fun p : Z ι => p j) by fun_prop).comp measurable_snd).mul ((h _ _).comp measurable_fst))) |
| 75 | have hi (x : V) : (∫ z,f x z ∂pour (R x)) = ∫ z,uncurry f (g (x,z)) ∂source ι := by |
| 76 | unfold pour; rw [integral_map (by fun_prop) (show AEStronglyMeasurable (f x) _ from |
| 77 | (hf.comp measurable_prodMk_left).aestronglyMeasurable)]; rfl |
| 78 | simp_rw [hi] |
| 79 | exact (hf.comp hg).stronglyMeasurable.integral_prod_right'.measurable |
| 80 | |
| 81 | /-- Identification with Mathlib's multivariate law. -/ |
| 82 | lemma mathlib_says [DecidableEq κ] {S : Matrix κ κ ℝ} (hs : S.PosSemidef) : |
| 83 | Says ((multivariateGaussian 0 S).map (MeasurableEquiv.toLp 2 _).symm) (show Cov κ from S) := by |
| 84 | let p := MeasurableEquiv.toLp 2 (Z κ) |
| 85 | let M := (multivariateGaussian (0:EuclideanSpace ℝ κ) S).map p.symm |
| 86 | change Says M _ |
| 87 | refine ⟨Measure.isProbabilityMeasure_map (by fun_prop),fun t => ?_⟩ |
| 88 | rw [← show ofLp (toLp 2 t : EuclideanSpace ℝ κ)=t from ofLp_toLp .., ← fromEuclid, ofLp_toLp] |
| 89 | rw [show Measure.map (⇑p) M = _ from p.symm.map_symm_map,charFun_multivariateGaussian hs] |
| 90 | unfold bell act dotProduct Matrix.mulVec |
| 91 | simp only [inner_zero_right,Complex.ofReal_zero,zero_mul,zero_sub] |
| 92 | push_cast |
| 93 | simp only [dotProduct, Complex.ofReal_sum, Complex.ofReal_mul, Finset.mul_sum] |
| 94 | congrm Complex.exp (-(?_ / 2)) |
| 95 | exact Finset.sum_congr rfl fun i _ => Finset.sum_congr rfl fun j _ => by ring |
| 96 | |
| 97 | end Window |
| 98 | end YM.SectorNext.Reconnect |