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.Probability.Distributions.Gaussian.Multivariate |
| 2 | |
| 3 | set_option warningAsError false |
| 4 | |
| 5 | /-! |
| 6 | # Conditional window Gaussian marginal service |
| 7 | |
| 8 | Here Z is the centered variable *after* the substitution, it is |
| 9 | NOT asserted to be the link law. All the probability statements will be conditioned on |
| 10 | that selection's V, tags and Y. Need a true common covariance including inactive completion. Even though it can depend on the global selection, if on the physical coordinates actually read |
| 11 | in components it has the same entries as at standalone completions, and zero cross entries, |
| 12 | prove the push of this ONE Gaussian by the joint read is the product of the local pushes. There is no assertion about splitting a full Z sample on the whole torus, nor recomputing |
| 13 | C when dropping a default. No estimate of moments here. |
| 14 | -/ |
| 15 | |
| 16 | set_option autoImplicit false |
| 17 | noncomputable section |
| 18 | namespace YM.SectorNext.Reconnect |
| 19 | namespace Window |
| 20 | |
| 21 | open Function Filter ProbabilityTheory MeasureTheory WithLp |
| 22 | open scoped BigOperators RealInnerProductSpace |
| 23 | |
| 24 | /-- Use actual Lie colors in orthonormal coordinates; at this level no Euclidean norm on the |
| 25 | array is used. Adapter to Mathlib Euclidean below. -/ |
| 26 | abbrev Z (ι : Type*) := ι → ℝ |
| 27 | abbrev Cov (ι : Type*) := ι → ι → ℝ |
| 28 | |
| 29 | variable {ι κ δ : Type*} [Fintype ι] [Fintype κ] {μ ν : Measure (Z ι)} {C : Cov ι} |
| 30 | |
| 31 | def sumPair (z t : Z ι) := ∑ i,z i*t i |
| 32 | |
| 33 | def osc (x : ℝ) := Complex.exp ((x:ℂ)*Complex.I) |
| 34 | |
| 35 | def said (μ : Measure (Z ι)) (t : Z ι) := ∫ z, osc (sumPair z t) ∂μ |
| 36 | |
| 37 | @[fun_prop] lemma osc_meas : Measurable osc := by unfold osc; fun_prop |
| 38 | @[fun_prop] lemma pair_meas (t : Z ι) : Measurable (fun z => sumPair z t) := |
| 39 | by unfold sumPair; fun_prop |
| 40 | |
| 41 | @[simp] lemma fromEuclid (μ : Measure (Z ι)) (x : EuclideanSpace ℝ ι) : |
| 42 | charFun (μ.map (MeasurableEquiv.toLp 2 (Z ι))) x = said μ (ofLp x) := by |
| 43 | rw [charFun_apply, integral_map (by fun_prop) (by fun_prop)] |
| 44 | simp only [MeasurableEquiv.coe_toLp, PiLp.inner_apply,Real.inner_apply] |
| 45 | rfl |
| 46 | |
| 47 | lemma identify [IsFiniteMeasure μ] [IsFiniteMeasure ν] (h : ∀ t,said μ t=said ν t) : μ=ν := by |
| 48 | apply (MeasurableEquiv.toLp 2 (Z ι)).map_measurableEquiv_injective |
| 49 | apply Measure.ext_of_charFun (E:=EuclideanSpace ℝ ι) |
| 50 | funext t; rw [fromEuclid, fromEuclid, h] |
| 51 | |
| 52 | /-- Centered real Gaussian law with the supplied covariance. Couple this with a symmetric positive |
| 53 | certificate (otherwise this characteristic function spec only measures the symmetric part of S) |
| 54 | or produce law and C from Gram. TRUE measure identification even when the covariance is singular. -/ |
| 55 | def act (C : Cov ι) (x y : Z ι) := ∑ i,∑ j,x i * y j * C i j |
| 56 | |
| 57 | def bell (x : ℝ) : ℂ := Complex.exp ((-(x/2) : ℝ) : ℂ) |
| 58 | |
| 59 | structure Says (μ : Measure (Z ι)) (C : Cov ι) : Prop where |
| 60 | normalized : IsProbabilityMeasure μ |
| 61 | response : ∀ t, said μ t = bell (act C t t) |
| 62 | |
| 63 | namespace Says |
| 64 | theorem unique (h : Says μ C) (h' : Says ν C) : μ=ν := by |
| 65 | have := h.normalized; have := h'.normalized |
| 66 | exact identify fun _ => (h.response _).trans (h'.response _).symm |
| 67 | end Says |
| 68 | |
| 69 | /-- Pull a physical-coordinate law to a list (repeated reads fine, use this actual *joint* law!). -/ |
| 70 | def scan (e : κ → ι) (z : Z ι) : Z κ := fun i => z (e i) |
| 71 | omit [Fintype ι] [Fintype κ] in |
| 72 | @[fun_prop] lemma scan_meas (e : κ → ι) : Measurable (scan e) := measurable_pi_lambda _ fun _ => measurable_pi_apply _ |
| 73 | |
| 74 | def run (R : κ → ι → ℝ) (z : Z ι) : Z κ := fun i => ∑ j,z j*R i j |
| 75 | |
| 76 | omit [Fintype κ] in |
| 77 | @[fun_prop] lemma run_meas (R : κ → ι → ℝ) : Measurable (run R) := by |
| 78 | refine measurable_pi_lambda _ fun i => ?_; change Measurable (fun z : Z ι => ∑ j,z j*R i j) |
| 79 | fun_prop |
| 80 | |
| 81 | def come (R : κ → ι → ℝ) (t : Z κ) : Z ι := fun j => ∑ i,t i*R i j |
| 82 | |
| 83 | lemma swap (R : κ → ι → ℝ) (z : Z ι) (t : Z κ) : sumPair (run R z) t = sumPair z (come R t) := by |
| 84 | unfold sumPair run come; simp only [Finset.sum_mul,Finset.mul_sum] |
| 85 | rw [Finset.sum_comm]; refine Finset.sum_congr rfl fun a _ => Finset.sum_congr rfl fun b _ => ?_; ring |
| 86 | |
| 87 | def pushed (R : κ → ι → ℝ) (C : Cov ι) : Cov κ := fun a b => |
| 88 | ∑ i,∑ j,R a i * R b j * C i j |
| 89 | |
| 90 | lemma place (R : κ → ι → ℝ) (C : Cov ι) (x y : Z κ) : |
| 91 | act C (come R x) (come R y) = act (pushed R C) x y := by |
| 92 | unfold act come pushed; simp only [Finset.sum_mul,Finset.mul_sum] |
| 93 | -- i j a b -> a b i j |
| 94 | conv_lhs => arg 2; intro i; rw [Finset.sum_comm] |
| 95 | rw [Finset.sum_comm] |
| 96 | conv_rhs => rw [Finset.sum_comm] |
| 97 | apply Finset.sum_congr rfl; intro a _ |
| 98 | conv_lhs => arg 2; intro i; rw [Finset.sum_comm] |
| 99 | rw [Finset.sum_comm] |
| 100 | apply Finset.sum_congr rfl; intro b _ |
| 101 | apply Finset.sum_congr rfl; intro i _ |
| 102 | apply Finset.sum_congr rfl; intro j _ |
| 103 | ring |
| 104 | |
| 105 | lemma said_image (R : κ → ι → ℝ) (μ : Measure (Z ι)) (t : Z κ) : |
| 106 | said (μ.map (run R)) t = said μ (come R t) := by |
| 107 | unfold said; rw [integral_map (by fun_prop) (show AEStronglyMeasurable (fun z => osc (sumPair z t)) _ from Measurable.aestronglyMeasurable (osc_meas.comp (pair_meas _)))]; simp_rw [swap R] |
| 108 | |
| 109 | lemma Says.image (h : Says μ C) (R : κ → ι → ℝ) : Says (μ.map (run R)) (pushed R C) := by |
| 110 | have := h.normalized |
| 111 | exact ⟨Measure.isProbabilityMeasure_map (by fun_prop),fun t => by rw [said_image,h.response,place]⟩ |
| 112 | |
| 113 | open scoped Classical in |
| 114 | lemma Says.view (h : Says μ C) (e : κ → ι) : Says (μ.map (scan e)) (fun x y => C (e x) (e y)) := by |
| 115 | let R (x : κ) (i : ι) := if e x=i then (1:ℝ) else 0 |
| 116 | have he : scan e=run R := by funext z x; simp [scan,run,R,Finset.sum_ite_eq] |
| 117 | have hp : pushed R C = fun x y => C (e x) (e y) := by |
| 118 | funext x y; unfold pushed R |
| 119 | simp [ite_mul,mul_ite] |
| 120 | rw [he,← hp]; exact h.image R |
| 121 | |
| 122 | /-- Product across a dependent family of (possibly size zero) coordinate arrays. -/ |
| 123 | def ribbon {δ : Type*} (J : δ → Type*) := (MeasurableEquiv.piCurry (fun (d : δ) (_ : J d) => ℝ)).symm |
| 124 | |
| 125 | @[simp] lemma ribbon_val {δ : Type*} (J : δ → Type*) (z : (i : δ) → Z (J i)) (x : Sigma J) : |
| 126 | ribbon J z x = z x.1 x.2 := rfl |
| 127 | |
| 128 | variable [Fintype δ] (J : δ → Type*) [∀ d, Fintype (J d)] |
| 129 | |
| 130 | lemma osc_sum (x : δ → ℝ) : osc (∑ i,x i) = ∏ i,osc (x i) := by |
| 131 | unfold osc; rw [Complex.ofReal_sum,Finset.sum_mul,Complex.exp_sum] |
| 132 | |
| 133 | lemma bell_sum (x : δ → ℝ) : bell (∑ i,x i)=∏ i,bell (x i) := by |
| 134 | unfold bell; rw [Finset.sum_div,← Finset.sum_neg_distrib,Complex.ofReal_sum,Complex.exp_sum] |
| 135 | |
| 136 | |
| 137 | |
| 138 | |
| 139 | |
| 140 | end Window |
| 141 | end YM.SectorNext.Reconnect |