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 | import YM.AnalyticNext.CONNECTED_ACTIVITY_JETS_E6.Shutter |
| 3 | |
| 4 | |
| 5 | /-! |
| 6 | # Simultaneous Gaussian rare event purchase |
| 7 | |
| 8 | At the actual reference precision, not assuming independence, include |
| 9 | repeated positions and degenerate dimensions. Anchor/fanout for trigger |
| 10 | calculated later. Simple union over coordinate witnesses; product measures |
| 11 | must still use the SAME z,k,Y. This bill with exponent first power of p_β |
| 12 | already enough for optional activity hit test here, not a sharp comparison. |
| 13 | -/ |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.ConnectedActivityE6.Poll |
| 17 | open Filter Function Lattice RG Pressure Pressure.Stores Pressure.Tube Tree Wilson Finset MeasureTheory Matrix |
| 18 | open Push Push.AbsoluteSums Precision Exterior Shell Channel Next.Fluctuations SectorMeasure Oriented Work.E03 |
| 19 | open Bloch Laurent Work.F03 Progress.StationaryScenes Bid SliceRows Control Window Census Green Mask |
| 20 | open ProbabilityTheory |
| 21 | open scoped Topology InnerProductSpace Matrix.Norms.Frobenius ContDiff BigOperators NNReal ENNReal Classical |
| 22 | variable {G : Gauge} {c f n : Side} {P : Teller G} {S : StepData c f} {T : Tube G S} {F : Forest S.ratio} |
| 23 | variable {ι κ : Type} [Fintype ι] [DecidableEq ι] {A : Matrix ι ι ℝ} {M : ℝ} |
| 24 | |
| 25 | abbrev Body (ι : Type) := EuclideanSpace ℝ ι |
| 26 | def sweep (A : Matrix ι ι ℝ) := ProbabilityTheory.multivariateGaussian 0 A |
| 27 | |
| 28 | instance probability : IsProbabilityMeasure (sweep A) := by unfold sweep; infer_instance |
| 29 | |
| 30 | private lemma shading (hA : A.PosSemidef) (v : Body ι) (t : ℝ) : |
| 31 | mgf (fun z=> inner ℝ v z) (sweep A) t = Real.exp (dotProduct v.ofLp (A *ᵥ v.ofLp) * t^2 / 2) := by |
| 32 | let L := innerSL ℝ v |
| 33 | let W := sweep A |
| 34 | have X : IsGaussian W := by unfold W sweep; infer_instance |
| 35 | have ht := IsGaussian.map_eq_gaussianReal (μ:=W) L |
| 36 | rw [ContinuousLinearMap.integral_comp_id_comm] at ht |
| 37 | have hV := covarianceBilin_multivariateGaussian (μ:=0) hA v v |
| 38 | rw [covarianceBilin_apply_eq_cov IsGaussian.memLp_two_id] at hV |
| 39 | change ProbabilityTheory.covariance L L W=_ at hV |
| 40 | rw [covariance_self (show AEMeasurable L W from L.measurable.aemeasurable)] at hV |
| 41 | change ProbabilityTheory.variance L W = dotProduct _ _ at hV |
| 42 | have he : (∫ x, x ∂W)=0 := by unfold W sweep; simp |
| 43 | rw [he,map_zero,hV] at ht; rw [show (fun z => inner ℝ v z) = L from rfl] |
| 44 | change mgf _ W t=_ |
| 45 | rw [mgf_gaussianReal ht,Real.coe_toNNReal,zero_mul,zero_add] |
| 46 | rw [← hV]; exact variance_nonneg _ _ |
| 47 | exact IsGaussian.integrable_id |
| 48 | |
| 49 | private def sound (X : Finset ι) (u : X→Bool) : Body ι := WithLp.toLp 2 fun i => |
| 50 | if h : i∈X then (if u ⟨i,h⟩ then -1 else 1) else 0 |
| 51 | |
| 52 | private lemma audible (X : Finset ι) (u : X→Bool) : |
| 53 | let v := sound X u |
| 54 | dotProduct v.ofLp v.ofLp=(X.card:ℝ) := by |
| 55 | let v := sound X u |
| 56 | have ht i (hi : i ∈ X) : v i * v i=1 := by unfold v sound; simp only [dif_pos hi]; split <;> norm_num |
| 57 | have hh : ∑ i∈X, v i * v i=∑ i : ι,v i*v i := by |
| 58 | apply sum_subset (subset_univ _); intro i _ hi |
| 59 | simp [v,sound,hi] |
| 60 | change ∑ i,v i*v i=_; rw [← hh, Finset.sum_congr rfl ht]; simp |
| 61 | |
| 62 | private lemma orthant (h : A.PosSemidef) (hv : ∀ v: ι→ℝ, dotProduct v (A *ᵥ v)≤ M*dotProduct v v) |
| 63 | (X : Finset ι) (u : X→Bool) (t s : ℝ) (hs : 0≤s) : |
| 64 | (sweep A).real {z : Body ι | ∀ i∈X, t ≤ sound X u i * z i} ≤ Real.exp ((-s*t+M*s^2/2)*X.card) := by |
| 65 | let v := sound X u; let V := v.ofLp; let F (z : Body ι) := inner ℝ v z |
| 66 | let μ := sweep A; let m := t*(X.card:ℝ) |
| 67 | have hh := shading h v s |
| 68 | change mgf F μ s = _ at hh |
| 69 | have hg : 0 < mgf F μ s := by rw [hh]; positivity |
| 70 | calc |
| 71 | _ ≤ μ.real {z | m ≤ F z} := by |
| 72 | refine MeasureTheory.measureReal_mono ?_ (measure_ne_top _ _) |
| 73 | intro z hz; change ∀ i∈X,t≤ v i*z i at hz; change m≤_ |
| 74 | have he : inner ℝ v z=∑ i∈X, v i*z i := by |
| 75 | rw [real_inner_comm, PiLp.inner_apply]; symm |
| 76 | simp only [RCLike.inner_apply,starRingEnd_apply,star_trivial] |
| 77 | refine sum_subset (subset_univ _) ?_; intro i _ hi; simp [v,sound,hi] |
| 78 | change _ ≤ F z; unfold F; rw [he]; unfold m; simpa [mul_comm t] using (sum_le_sum (f:=fun _=>t) hz) |
| 79 | _ ≤ _ := by |
| 80 | refine (measure_ge_le_exp_mul_mgf m hs (mgf_pos_iff.mp hg)).trans ?_ |
| 81 | rw [hh,← Real.exp_add]; apply Real.exp_monotone; apply le_trans (b:= -s*m+M*X.card*s^2/2) |
| 82 | · have he : dotProduct V (A *ᵥ V) ≤ M*X.card := (hv V).trans_eq (congr_arg (M*·) (audible X u)) |
| 83 | exact add_le_add_right (div_le_div_of_nonneg_right (mul_le_mul_of_nonneg_right he (by positivity)) (by norm_num)) _ |
| 84 | unfold m; exact le_of_eq (by ring) |
| 85 | |
| 86 | /-- No averaging Y or k inside this call. Price on normalized Gaussian at any |
| 87 | physical covariance with upper Schur cost. X labels arbitrary, volume |
| 88 | independent. -/ |
| 89 | lemma rectangle (h : A.PosSemidef) (hv : ∀ v: ι→ℝ, dotProduct v (A *ᵥ v)≤ M*dotProduct v v) |
| 90 | (X : Finset ι) (t s : ℝ) (hs : 0≤s) : |
| 91 | (sweep A).real {z : Body ι | ∀ i∈X,t ≤ |z i|} ≤ 2^X.card*Real.exp ((-s*t+M*s^2/2)*X.card) := by |
| 92 | let F (u : X→Bool) := {z : Body ι | ∀ i∈X, t≤ sound X u i*z i} |
| 93 | have hg : {z : Body ι | ∀ i∈ X, t ≤ |z i|} ⊆ ⋃ i∈ (univ:Finset (X→Bool)), F i := by |
| 94 | intro z hz; let u (i : X) := decide (z i.1<0) |
| 95 | refine Set.mem_iUnion.mpr ⟨u, Set.mem_iUnion.mpr ⟨mem_univ _,?_⟩⟩; intro i hi |
| 96 | by_cases h : z i<0 |
| 97 | · refine le_trans (hz _ hi) ?_; simp [u,sound,h,abs_of_neg h,hi] |
| 98 | · refine le_trans (hz _ hi) ?_; simp [u,sound,h,abs_of_nonneg (le_of_not_gt h),hi] |
| 99 | refine ((MeasureTheory.measureReal_mono hg (measure_ne_top (sweep A) _)).trans (measureReal_biUnion_finset_le _ _)).trans ?_ |
| 100 | apply (Finset.sum_le_sum (fun i _ => orthant h hv X i t s hs)).trans_eq |
| 101 | simp only [sum_const,nsmul_eq_mul,card_univ]; simp |
| 102 | end YM.ConnectedActivityE6.Poll |