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.Next.FOUNDATIONS.SU2 |
| 2 | import YM.ProjectorNext.EQUATION_CAMPAIGN.Class |
| 3 | import YM.ProjectorNext.EQUATION_CAMPAIGN.Regularity |
| 4 | |
| 5 | |
| 6 | set_option warningAsError false |
| 7 | |
| 8 | /-! |
| 9 | # Regularity of a finite-regulator signed push in output links |
| 10 | |
| 11 | Check the scope of the producer hypotheses: a signal will be regular even globally in |
| 12 | `Y`. It depends on the *same* branch and period. Positivity on the ambient matrix space is |
| 13 | a useful (nonuniform!) extension for an existence check about solely financial finiteness |
| 14 | at one size. Don't try to use such bounds as WM budgets or infer locality from them. |
| 15 | |
| 16 | The kernels here are smooth in the remaining variables even when sharp in tag switches, |
| 17 | because we haven't split any sectors upon this check. Keep full summation over choices. |
| 18 | -/ |
| 19 | set_option autoImplicit false |
| 20 | noncomputable section |
| 21 | namespace YM.ProjectorNext.Equations.Finite |
| 22 | open RG Wilson Lattice MeasureTheory Filter Function Set |
| 23 | open scoped Topology Matrix.Norms.Frobenius BigOperators ContDiff |
| 24 | variable {G : Gauge} {n m : Side} |
| 25 | variable (S : StepData n m) (h : S.patch.Branches S.kernel G) (β : ℝ) |
| 26 | |
| 27 | def gauss (Q Y : Chart G n) := ∏ b : Edge (Site n), |
| 28 | (S.penaltyZ β G)⁻¹ * Real.exp (-β*S.kernel.penalty*(1- (Y b * star (Q b)).trace.re / G.repDim)) |
| 29 | |
| 30 | private lemma gauss_smooth : ContDiff ℝ ∞ (fun x : Chart G n × Chart G n => gauss S β x.2 x.1) := by |
| 31 | let M : G.Mat →ₗ[ℝ] ℝ := { |
| 32 | toFun v := v.trace.re / G.repDim |
| 33 | map_add' x y := by simp [add_div] |
| 34 | map_smul' c x := by simp; ring } |
| 35 | unfold gauss |
| 36 | refine contDiff_prod (fun i _ => ContDiff.mul contDiff_const (ContDiff.exp |
| 37 | (ContDiff.mul contDiff_const (ContDiff.sub contDiff_const ?_)))) |
| 38 | let Star := (starL' ℝ : G.Mat ≃L[ℝ] G.Mat).toContinuousLinearMap |
| 39 | exact M.toContinuousLinearMap.contDiff.comp (f:=fun x : Chart G n × Chart G n => |
| 40 | x.1 i*Star (x.2 i)) (by fun_prop) |
| 41 | |
| 42 | lemma gauss_pos (A B : Chart G n) : 0 < gauss S β A B := Finset.prod_pos fun _ _ => |
| 43 | mul_pos (inv_pos.mpr (S.penaltyZ_pos _)) (Real.exp_pos _) |
| 44 | |
| 45 | |
| 46 | |
| 47 | def marginal (U : Config G m) (x : Chart G n) := ∑ t, |
| 48 | S.likelihood U t * gauss S β (flattenMat (S.prediction U t)) x |
| 49 | |
| 50 | include h in |
| 51 | lemma marginal_pos (U : Config G m) (x : Chart G n) : 0<marginal S β U x := by |
| 52 | obtain ⟨t,hx⟩ : ∃ t, 0<S.likelihood U t := by |
| 53 | by_contra! he; have ht := S.chosen h U |
| 54 | have hu := Finset.sum_nonpos (s:=Finset.univ) fun i _ => he i; linarith |
| 55 | exact Finset.sum_pos' (fun i _ => mul_nonneg (S.likelihood_pos U i) (gauss_pos ..).le) ⟨t,Finset.mem_univ _,mul_pos hx (gauss_pos ..)⟩ |
| 56 | |
| 57 | |
| 58 | |
| 59 | variable {𝕜 : Type} [RCLike 𝕜] |
| 60 | variable (f : Config G m → 𝕜) (x : Chart G n) (hi : Integrable f (prior G m)) |
| 61 | |
| 62 | def allGas := ∫ U, marginal S β U x • f U ∂prior G m |
| 63 | |
| 64 | lemma yet (U : Config G n) : S.push β f U = allGas S β f (flattenMat U) := rfl |
| 65 | |
| 66 | def pieces (t : S.Choices) (U : Config G m) : 𝕜 := S.likelihood U t • f U |
| 67 | |
| 68 | def scaleOnly (t : S.Choices) (V : Config G m) : 𝕜 := pieces S f t V • (gauss S β (flattenMat (S.prediction V t)) x : ℝ) |
| 69 | |
| 70 | private lemma scale_at (t : S.Choices) (V : Config G m) : |
| 71 | scaleOnly S β f x t V = (S.likelihood V t * gauss S β (flattenMat (S.prediction V t)) x) • f V := by |
| 72 | unfold scaleOnly pieces; simp [Algebra.smul_def, mul_comm, mul_left_comm] |
| 73 | |
| 74 | include h hi in |
| 75 | lemma piece_int (t : S.Choices) : Integrable (pieces S f t) (prior G m) := by |
| 76 | refine hi.bdd_smul 1 (S.likelihood_meas h t |>.aestronglyMeasurable) ?_ |
| 77 | filter_upwards with V |
| 78 | rw [Real.norm_of_nonneg (S.likelihood_pos ..)]; exact le_trans |
| 79 | (Finset.single_le_sum (fun i _ => S.likelihood_pos V i) (Finset.mem_univ t)) (S.chosen h V).le |
| 80 | |
| 81 | private lemma compressed : IsCompact (Set.range (flattenMat (G:=G) (n:=n))) := |
| 82 | isCompact_range (by unfold flattenMat; fun_prop) |
| 83 | |
| 84 | include h in |
| 85 | private lemma sampled (t : S.Choices) : AEStronglyMeasurable (fun V : Config G m => flattenMat (S.prediction V t)) (prior G m) := |
| 86 | (show Continuous (flattenMat (G:=G) (n:=n)) from by unfold flattenMat; fun_prop).comp_aestronglyMeasurable |
| 87 | (S.prediction_meas h t).aestronglyMeasurable |
| 88 | |
| 89 | private lemma family_smooth : ContDiff ℝ ∞ (fun x : Chart G n × Chart G n => |
| 90 | ((gauss S β x.2 x.1 : ℝ) : 𝕜)) := ((algebraMapCLM ℝ 𝕜).contDiff).comp (gauss_smooth S β) |
| 91 | |
| 92 | include h hi in |
| 93 | lemma scale_int (t : S.Choices) : Integrable (scaleOnly S β f x t) (prior G m) := |
| 94 | compact_weight (piece_int S h f hi t) (sampled S h t) compressed (Eventually.of_forall fun _ => ⟨_,rfl⟩) |
| 95 | (family_smooth S β (𝕜:=𝕜)).continuous x |
| 96 | |
| 97 | private lemma exact_marginal : (fun U => marginal S β U x • f U) = fun V => ∑ t, scaleOnly S β f x t V := by |
| 98 | funext V; simp only [marginal, scale_at, Finset.sum_smul] |
| 99 | |
| 100 | include h hi in |
| 101 | theorem marginals : Integrable (fun U => marginal S β U x • f U) (prior G m) := by |
| 102 | rw [exact_marginal]; exact integrable_finsetSum _ (fun i _ => scale_int S h β f x hi i) |
| 103 | |
| 104 | include h hi in |
| 105 | theorem smooth : ContDiff ℝ ∞ (allGas S β f) := by |
| 106 | have he x : allGas S β f x = ∑ t, ∫ U, scaleOnly S β f x t U ∂prior G m := by |
| 107 | unfold allGas; rw [exact_marginal]; exact integral_finsetSum _ (fun i _ => scale_int S h β f _ hi _) |
| 108 | rw [funext he] |
| 109 | refine ContDiff.sum fun i _ => contDiff_weighted (piece_int S h f hi i) (sampled S h i) |
| 110 | compressed (Eventually.of_forall fun _ => ⟨_,rfl⟩) (family_smooth S β) |
| 111 | |
| 112 | include h hi in |
| 113 | lemma received : OverEntries (S.push β f) := ⟨_,smooth S h β f hi,funext (yet S β f)⟩ |
| 114 | |
| 115 | include h in |
| 116 | lemma pos {f : Config G m → ℝ} (hx : Integrable f (prior G m)) (x) (hq : ∀ i, 0<f i) : |
| 117 | 0<allGas S β f x := by |
| 118 | let F := fun U => marginal S β U x • f U |
| 119 | have hp (U) : 0<F U := mul_pos (marginal_pos S h β U x) (hq _) |
| 120 | refine (integral_pos_iff_support_of_nonneg (f:=F) (fun u => (hp u).le) (marginals S h β f x hx)).mpr ?_ |
| 121 | rw [show support F=univ from Set.eq_univ_of_forall (fun x => (hp x).ne')]; simp |
| 122 | |
| 123 | variable {Y : Type} [NormedAddCommGroup Y] [NormedSpace ℝ Y] |
| 124 | |
| 125 | -- All fine gauges. Coarse gauge is pulled through the actual ancestry lift. |
| 126 | include h in |
| 127 | theorem invariant (P : Config G m → Y) (hg : GaugeInvariant P) (hf : Integrable P (prior G m)) |
| 128 | (hx : ∀ (U : Config G m) V c, S.density β (gauge c U) (gauge (c ∘ S.ratio.embed) V)= S.density β U V) : |
| 129 | GaugeInvariant (S.push β P) := by |
| 130 | intro c V |
| 131 | let q := Function.extend S.ratio.embed c 1 |
| 132 | let F (v : Config G m) := S.density β v (gauge c V) • P v |
| 133 | have he : Integrable F (prior G m) := StepData.push_slice (S.isKernel h β) _ _ hf |
| 134 | have hy := prior_gauge q |
| 135 | have hs := integral_map hy.aemeasurable (f:=F) (by rw [hy.map_eq]; exact he.aestronglyMeasurable) |
| 136 | rw [hy.map_eq] at hs |
| 137 | change (∫ U, F U ∂prior G m)=(∫ U, _ ∂prior G m); rw [hs] |
| 138 | have hh U : F (gauge q U)=S.density β U V • P U := by |
| 139 | have ht := hx U V q; rw [show q ∘ S.ratio.embed=c from funext fun x => S.ratio.embed_injective.extend_apply ..] at ht |
| 140 | unfold F; rw [hg, ht] |
| 141 | simp_rw [hh] |
| 142 | end YM.ProjectorNext.Equations.Finite |