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.Push.LOCAL_SPLITTING.Marginal |
| 2 | import YM.Work.A15 |
| 3 | |
| 4 | /-! Local marginal passes have true gauge and matched-hierarchy covariance on |
| 5 | any observation support, even if paths, tags and switches in the fine |
| 6 | variables are nonlocal for that support. Not the assertion that a whole |
| 7 | pushforward of a local observable only uses edges near the marked subset. |
| 8 | -/ |
| 9 | set_option autoImplicit false |
| 10 | noncomputable section |
| 11 | namespace YM.Push.Local.Kernel |
| 12 | open Function Filter Lattice Wilson RG MeasureTheory |
| 13 | open scoped Topology Matrix.Norms.Frobenius BigOperators Classical |
| 14 | variable {G : Gauge} {c f : Side} (S : StepData c f) |
| 15 | |
| 16 | theorem pdf_gauge (β : ℝ) (J : Edges c) (h : S.patch.Branches S.kernel G) (k : Site f → G.El) (U : Config G f) (V : Config G c) : |
| 17 | pdf S β J (gauge k U) (gauge (k ∘ S.ratio.embed) V) = pdf S β J U V := by |
| 18 | apply Finset.sum_congr rfl; intro i _ |
| 19 | have he : S.likelihood (Lattice.gauge k U) i=S.likelihood U i := by |
| 20 | unfold StepData.likelihood; apply congr_arg₂ |
| 21 | · refine Finset.prod_congr rfl fun j _ => ?_; rw [expandAt_gauge]; exact (S.patch.frame_gauged h ..).1 |
| 22 | refine Finset.prod_congr rfl fun j _ => ?_; rw [S.updateGauged h]; exact (S.patch.bond_gauge (h:=h) ..).1 |
| 23 | rw [he]; unfold noisy; apply congr_arg |
| 24 | refine Finset.prod_congr rfl fun j _ => ?_; unfold StepData.prediction; rw [S.updateGauged h, (S.patch.bond_gauge (h:=h) ..).2] |
| 25 | have hh (u v x y : G.El) : S.penaltyWeight β (u*x*v⁻¹*(u*y*v⁻¹)⁻¹)=S.penaltyWeight β (x*y⁻¹) := by |
| 26 | unfold StepData.penaltyWeight; rw [show u*x*v⁻¹*(u*y*v⁻¹)⁻¹=u*(x*y⁻¹)*u⁻¹ by group,G.price_conj] |
| 27 | simp only [Lattice.gauge,Function.comp_apply,hh] |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 36 | |
| 37 | theorem pass_gauge (β : ℝ) (J : Edges c) (h : S.patch.Branches S.kernel G) {F : Config G f → E} (hg : GaugeInvariant F) : GaugeInvariant (pass S β J F) := by |
| 38 | intro k V |
| 39 | let a := k ∘ S.ratio.parent |
| 40 | have hc : Continuous (gauge a : Config G f → Config G f) := by unfold Lattice.gauge; fun_prop |
| 41 | have he : Injective (gauge a) := fun x y he => funext fun j => by simpa [Lattice.gauge] using congr_fun he j |
| 42 | have hi := (hc.isClosedEmbedding he).measurableEmbedding.integral_map (μ := prior G _) (fun W => pdf S β J W (gauge k V) • F W) |
| 43 | rw [(prior_gauge a).map_eq] at hi |
| 44 | conv_rhs at hi => simp only [hg a]; rw [← show a ∘ S.ratio.embed=k from funext fun i => congr_arg k (S.ratio.embed_parent i)] |
| 45 | simp only [pdf_gauge S β J h] at hi; exact hi |
| 46 | |
| 47 | |
| 48 | |
| 49 | theorem pass_local (β : ℝ) (X : Support c) (F : Config G f → E) : LocalOn X (pass S β (edges X) F) := by |
| 50 | intro V Y h; unfold pass pdf weights noisy |
| 51 | congr! 2 with U; apply congr_arg (· • F U : ℝ → E); refine Finset.sum_congr rfl fun i _ => congr_arg (S.likelihood U i * ·) (Finset.prod_congr rfl fun j hj => ?_) |
| 52 | obtain ⟨_,h1,h2⟩ := Finset.mem_filter.mp hj |
| 53 | rw [h _ h1 h2] |
| 54 | |
| 55 | theorem pass_continuous (β : ℝ) (J : Edges c) (h : S.patch.Branches S.kernel G) {F : Config G f → E} (hf : Integrable F (prior G f)) : Continuous (pass S β J F) := by |
| 56 | -- local change of variables via `plog`, enough that the torus itself is finite |
| 57 | rw [continuous_iff_continuousAt]; intro V |
| 58 | let q (U : Config G c) : Directions G c := fun i => G.plog (G.mat (U i * (V i)⁻¹)) |
| 59 | have he (i) : Continuous (fun U : Config G c => U i * (V i)⁻¹) := by fun_prop |
| 60 | have hQ : Tendsto q (𝓝 V) (𝓝 0) := by |
| 61 | refine tendsto_pi_nhds.mpr fun i => ?_ |
| 62 | have hi := ((he i).tendsto V); rw [mul_inv_cancel] at hi |
| 63 | simpa [q,comp_def] using G.plog_diff.continuousAt.tendsto.comp ((G.mat_one ▸ G.continuous_mat.continuousAt.tendsto).comp hi) |
| 64 | have ht : ∀ᶠ U in 𝓝 V, increment V (q U) = U := by |
| 65 | suffices he : ∀ i, ∀ᶠ U in 𝓝 V, G.lieExp (q U i) = U i * (V i)⁻¹ by |
| 66 | filter_upwards [eventually_all.mpr he] with U hu; funext i; rw [increment,hu, inv_mul_cancel_right] |
| 67 | intro i; exact ((he i).tendsto V).eventually ((show V i * (V i)⁻¹ = 1 by group).symm ▸ G.plog_right) |
| 68 | have h0 := (smooth_pass S β J h hf V 0).continuousAt.tendsto.comp hQ |
| 69 | rw [comp_apply,Work.G07.at_zero_increment] at h0 |
| 70 | exact h0.congr' (ht.mono fun U hu => congr_arg (pass S β J F) hu) |
| 71 | end YM.Push.Local.Kernel |