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.Analysis.Matrix.Order |
| 2 | import YM.Branch.Covariant |
| 3 | import YM.Next.UV_STRESS.Product |
| 4 | import YM.Slice.Levels |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | /-! |
| 10 | # Use the same fine→coarse RG kernel as the history |
| 11 | |
| 12 | Expose site tags from the density, integrate bond choices exactly. Pullback |
| 13 | shorthand for conditional averages against this kernel for observables. True |
| 14 | expectation for the bounded measurable functions we use below; conveyor at |
| 15 | fixed β and side. No conditional independence assertion with shared tags. |
| 16 | -/ |
| 17 | set_option autoImplicit false |
| 18 | noncomputable section |
| 19 | namespace YM.Next.UVStress |
| 20 | open Set Function Filter MeasureTheory Lattice Wilson RG Cells |
| 21 | open scoped Topology BigOperators Matrix.Norms.Frobenius |
| 22 | variable {G : Gauge} {c f : Side} |
| 23 | |
| 24 | lemma borel_bounded {s : Set (Site c)} {F : Config G c → ℂ} (hp : Interior s F) : Envelope F := ⟨hp.borel,hp.cost⟩ |
| 25 | |
| 26 | lemma prior_int {F : Config G c→ℂ} (hp : Envelope F) : Integrable F (prior G c) := |
| 27 | Integrable.of_bound hp.meas.aestronglyMeasurable hp.cost.choose (Eventually.of_forall hp.cost.choose_spec) |
| 28 | |
| 29 | variable (S : StepData c f) |
| 30 | |
| 31 | def back (β : ℝ) (F : Config G c → ℂ) (U : Config G f) := ∫ x : Config G c, S.density β U x • F x ∂prior G c |
| 32 | |
| 33 | section Budget |
| 34 | variable {B : Config G c→ℂ} (hB : Envelope B) (H : S.patch.Branches S.kernel G) (β : ℝ) |
| 35 | |
| 36 | include hB H |
| 37 | lemma pull_int (U : Config G f) : Integrable (fun x : Config G c => S.density β U x • B x) (prior G c) := by |
| 38 | have he := S.isKernel H β |
| 39 | obtain ⟨M,hM⟩ := he.bound |
| 40 | have hh : Measurable fun x => S.density β U x := |
| 41 | (show Measurable ((fun p : Config G f × Config G c => S.density β p.1 p.2) ∘ fun x : Config G c => (U,x)) from |
| 42 | he.meas.comp (measurable_const.prodMk measurable_id)) |
| 43 | have hp x : ‖S.density β U x‖ ≤ M := (Real.norm_of_nonneg (he.positive U x)).trans_le (hM U x) |
| 44 | apply (prior_int hB).bdd_smul M hh.aestronglyMeasurable |
| 45 | exact Eventually.of_forall hp |
| 46 | |
| 47 | omit hB in |
| 48 | lemma keeps_bound (M : ℝ) (hp : ∀ x, ‖B x‖ ≤ M) (U : Config G f) : ‖back S β B U‖ ≤ M := by |
| 49 | calc |
| 50 | _ ≤ ∫ x : Config G c, S.density β U x * M ∂prior G c := |
| 51 | norm_integral_le_of_norm_le (((S.isKernel H _).integrable U).mul_const M) (ae_of_all _ fun x => by |
| 52 | rw [norm_smul, Real.norm_of_nonneg ((S.isKernel H β).positive U x)] |
| 53 | exact mul_le_mul_of_nonneg_left (hp _) ((S.isKernel H _).positive U x)) |
| 54 | _ = M := by rw [integral_mul_const,(S.isKernel H _).total,one_mul] |
| 55 | |
| 56 | lemma pulled : Envelope (back S β B) := by |
| 57 | constructor |
| 58 | · have ht : Measurable (fun u : Config G f × Config G c => S.density β u.1 u.2 • B u.2) := |
| 59 | (S.isKernel H β).meas.smul (hB.meas.comp measurable_snd) |
| 60 | exact ht.stronglyMeasurable.integral_prod_right'.measurable |
| 61 | obtain ⟨M,hM⟩ := hB.cost |
| 62 | exact ⟨M,keeps_bound S H β M hM⟩ |
| 63 | |
| 64 | lemma transfer_gauge (hp : GaugeInvariant B) : GaugeInvariant (back S β B) := by |
| 65 | intro g x |
| 66 | let t : Site c → G.El := g ∘ S.ratio.embed |
| 67 | let F := fun y : Config G c => S.density β (Lattice.gauge g x) y • B y |
| 68 | have h := prior_gauge t |
| 69 | have hv := integral_map (f := F) h.aemeasurable (by rw [h.map_eq]; exact (pull_int S hB H ..).aestronglyMeasurable) |
| 70 | rw [h.map_eq] at hv |
| 71 | unfold back; rw [hv] |
| 72 | apply integral_congr_ae |
| 73 | filter_upwards with y |
| 74 | rw [show F (Lattice.gauge t y)=S.density β _ (Lattice.gauge t y) • B (Lattice.gauge t y) from rfl,S.covary H,hp] |
| 75 | |
| 76 | lemma transfer_shift (k : Signed) (s : Site c) : back S β (B ∘ pull k s)=back S β B ∘ pull k (S.ratio.embed s) := by |
| 77 | funext U |
| 78 | let F := fun y => S.density β (pull k (S.ratio.embed s) U) y • B y |
| 79 | have hp := prior_pull (G:=G) k s |
| 80 | have he := integral_map (f:=F) hp.aemeasurable (by rw [hp.map_eq]; exact (pull_int S hB H ..).aestronglyMeasurable) |
| 81 | rw [hp.map_eq] at he |
| 82 | change _=∫ y,F y ∂prior G c |
| 83 | rw [he] |
| 84 | unfold back; apply integral_congr_ae; filter_upwards with y |
| 85 | unfold F; rw [S.channel H]; rfl |
| 86 | |
| 87 | omit H hB in |
| 88 | lemma conjugate_back (B : Config G c → ℂ) : back S β (fun x => star (B x))=fun x => star (back S β B x) := by |
| 89 | funext x; unfold back |
| 90 | simp only [Complex.star_def, Complex.real_smul] |
| 91 | rw [← integral_conj]; simp |
| 92 | end Budget |
| 93 | |
| 94 | -- Factor before taking F-sums |
| 95 | section tags |
| 96 | variable (β : ℝ) (U : Config G f) (t : S.SitesChoice) |
| 97 | |
| 98 | def fees (e : Edge (Site c)) (z : G.El) : ℂ := |
| 99 | ∑ k : S.patch.Points, (↑(S.patch.predictorMass S.kernel (S.connector U t e) k * ((S.penaltyZ β G)⁻¹ * |
| 100 | S.penaltyWeight β (z*(S.patch.predict S.kernel (S.connector U t e) k)⁻¹))) : ℂ) |
| 101 | |
| 102 | def channels (x : Site c) (t : S.patch.FrameTag) : ℂ := ↑(S.patch.frameMass S.kernel (expandAt (S.ratio.embed x) U) t) |
| 103 | |
| 104 | def sourced (V : Config G c) : ℂ := (∏ i : Site c, channels S U i (t i)) * ∏ i, fees S β U t i (V i) |
| 105 | |
| 106 | lemma gathered (V : Config G c) : (S.density β U V:ℂ) = ∑ t, sourced S β U t V := by |
| 107 | unfold StepData.density; rw [Fintype.sum_prod_type]; push_cast; apply Finset.sum_congr rfl; intro t _ |
| 108 | unfold sourced fees |
| 109 | rw [Fintype.prod_sum, Finset.mul_sum]; apply Finset.sum_congr rfl; intro k _ |
| 110 | unfold StepData.likelihood StepData.noise StepData.prediction channels; push_cast |
| 111 | rw [mul_assoc,← Finset.prod_mul_distrib] |
| 112 | |
| 113 | lemma fees_cont (i : Edge (Site c)) : Continuous (fees S β U t i) := by |
| 114 | unfold fees; apply continuous_finsetSum; intro j _ |
| 115 | exact Complex.continuous_ofReal.comp (continuous_const.mul (continuous_const.mul |
| 116 | ((S.penaltyWeight_cont β).comp (continuous_id.mul continuous_const)))) |
| 117 | |
| 118 | lemma sourced_cont : Continuous (sourced S β U t) := by |
| 119 | unfold sourced |
| 120 | exact continuous_const.mul (continuous_finsetProd _ fun i _ => (fees_cont S ..).comp (continuous_apply i)) |
| 121 | |
| 122 | lemma channels_mass (h : S.patch.Branches S.kernel G) (i : Site c) : ∑ j, channels S U i j=1 := by |
| 123 | unfold channels; rw [← Complex.ofReal_sum,S.patch.frameMass_sum h]; rfl |
| 124 | |
| 125 | lemma fees_total (i : Edge (Site c)) : (∫ z, fees S β U t i z ∂G.probHaar)=1 := by |
| 126 | let L := S.patch.predictorMass S.kernel (S.connector U t i) |
| 127 | let J := S.patch.predict S.kernel (S.connector U t i) |
| 128 | let F (p : S.patch.Points) z := L p * ((S.penaltyZ β G)⁻¹ * S.penaltyWeight β (z*(J p)⁻¹)) |
| 129 | have hc p : Continuous (F p) := continuous_const.mul (continuous_const.mul |
| 130 | ((S.penaltyWeight_cont β).comp (continuous_id.mul continuous_const))) |
| 131 | have ht p : (∫ z, F p z ∂G.probHaar) = L p := by |
| 132 | have hh := (measurePreserving_mul_right G.probHaar (J p)⁻¹).integral_comp |
| 133 | (Homeomorph.mulRight (J p)⁻¹).measurableEmbedding (S.penaltyWeight β) |
| 134 | unfold F; rw [integral_const_mul,integral_const_mul,hh,← StepData.penaltyZ,inv_mul_cancel₀ (S.penaltyZ_pos _).ne',mul_one] |
| 135 | have hh p : (∫ z, (↑(F p z):ℂ) ∂G.probHaar)=L p := by rw [integral_complex_ofReal,ht] |
| 136 | change (∫ z, (∑ p, (↑(F p z):ℂ))∂G.probHaar)=1 |
| 137 | have hp p : Integrable (fun z => (↑(F p z):ℂ)) G.probHaar := |
| 138 | (Complex.continuous_ofReal.comp (hc p)).integrable_of_hasCompactSupport (HasCompactSupport.of_compactSpace _) |
| 139 | rw [integral_finsetSum _ (fun p _ => hp p)]; simp_rw [hh]; rw [← Complex.ofReal_sum,show ∑ p,L p=1 from S.patch.predictorMass_sum ..]; rfl |
| 140 | |
| 141 | |
| 142 | |
| 143 | lemma scanned_back (F : Config G c→ℂ) (hp : Envelope F) : back S β F U=scanning (channels S U) |
| 144 | (fun t => scatter G.probHaar (fees S β U t) F) := by |
| 145 | unfold back scanning; simp_rw [Complex.real_smul,gathered S β U,Finset.sum_mul] |
| 146 | have h t : Integrable (fun V => sourced S β U t V * F V) (prior G c) := by |
| 147 | obtain ⟨C,H⟩ := (sourced_cont S β U t).bounded_above_of_compact_support (HasCompactSupport.of_compactSpace _) |
| 148 | exact (prior_int hp).bdd_smul _ (sourced_cont _ _ _ _).aestronglyMeasurable (Eventually.of_forall H) |
| 149 | rw [integral_finsetSum _ (fun i _ => h i)]; apply Finset.sum_congr rfl; intro i _ |
| 150 | simp_rw [sourced,mul_assoc,integral_const_mul]; rfl |
| 151 | end tags |
| 152 | end YM.Next.UVStress |