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.RG08.Germ.Wilson |
| 2 | import YM.RG08.Arc.Spice |
| 3 | |
| 4 | /-! # Ward representatives for each full-loop power (finite jets) on true tori |
| 5 | Local representatives (potential-link chart). Only near germ is fixed. Measurability |
| 6 | standins chosen for auxiliary Ward Laplace proof on shrinking sets. -/ |
| 7 | set_option autoImplicit false |
| 8 | noncomputable section |
| 9 | namespace YM.RG08.Reflect |
| 10 | open Filter Set Metric MeasureTheory YM.PertExtension.Series.Tested |
| 11 | open Function Analysis Tree Lattice RG Stationary Wilson Precision Exterior Laurent |
| 12 | open scoped BigOperators Topology Real ContDiff Classical Matrix.Norms.Frobenius |
| 13 | variable {c f : Side} (S : StepData c f) {G : Gauge} (T : Forest S.ratio) |
| 14 | section reps |
| 15 | variable {E V : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 16 | variable [MeasurableSpace E] [BorelSpace E] [MeasurableSpace V] [BorelSpace V] |
| 17 | lemma linings {f : E→V} {x : E} (h : ContDiffAt ℝ ω f x) : ∃ g : E→V, Measurable g ∧ g=ᶠ[𝓝 x] f := by |
| 18 | obtain ⟨s,hs,hz,he⟩:= h.contDiffOn' (m:=0) (by simp) (by simp) |
| 19 | simp only [Set.insert_eq_of_mem (Set.mem_univ ..), Set.univ_inter] at he |
| 20 | exact ⟨s.piecewise f 0, he.continuousOn.measurable_piecewise continuousOn_const hs.measurableSet, (show ∀ᶠ y in 𝓝 x,y∈s from hs.mem_nhds hz).mono fun a ha=> Set.piecewise_eq_of_mem _ _ _ ha⟩ -- order |
| 21 | end reps |
| 22 | lemma content_real (G : Gauge) (m : Side) : ContinuousAt (@content G m) 1 ∧ ∃ g:Config G m→Link G m, Measurable g ∧ g=ᶠ[𝓝 1] content := by |
| 23 | let i p (x : Config G m) := G.mat (x ((p:Body 1 m).1,axisEquiv.symm p.2)) |
| 24 | have hx p : Continuous (i p):= G.continuous_mat.comp (continuous_apply _) |
| 25 | have ht p : i p 1=1:= G.mat_one |
| 26 | have H p : ∃ g:Config G m→G.Color, Measurable g ∧ g=ᶠ[𝓝 1] (G.plog ∘ i p) := by |
| 27 | obtain ⟨s,hs,hz,he⟩:= G.plog_diff.contDiffOn' (m:=0) (by simp) (by simp) |
| 28 | simp only [Set.insert_eq_of_mem (Set.mem_univ ..), Set.univ_inter] at he |
| 29 | let C := i p ⁻¹' s; have hC : IsOpen C:= hs.preimage (hx p); have hL:(1:Config G m)∈ C := (show i p 1∈s by rw [ht p]; exact hz) |
| 30 | have hi : ContinuousOn (G.plog ∘ i p) C := he.continuousOn.comp (hx p).continuousOn (fun x hx=>hx) |
| 31 | exact ⟨C.piecewise (G.plog ∘ i p) 0,hi.measurable_piecewise continuousOn_const hC.measurableSet,(show ∀ᶠ y in 𝓝 1,y∈ C from hC.mem_nhds hL).mono fun y hy=> Set.piecewise_eq_of_mem _ _ _ hy⟩ |
| 32 | choose g hG H using H |
| 33 | let A (x : Config G m):= fun p=>g p x |
| 34 | refine ⟨ (ContinuousAt.comp (f:=fun x p=> G.plog (i p x)) (arm G m 1).symm.continuousAt (continuousAt_pi.mpr fun p=> ?_)), (arm G m 1).symm ∘ A,?_, ?_⟩ |
| 35 | · refine ContinuousAt.comp (g:=G.plog) ?_ (hx p).continuousAt |
| 36 | rw [ht p]; exact G.plog_diff.continuousAt |
| 37 | · exact (arm G m 1).symm.continuous.measurable.comp (measurable_pi_lambda _ hG) |
| 38 | filter_upwards [eventually_all.mpr H] with x hx |
| 39 | unfold content; exact congr_arg ((arm G m 1).symm) (funext hx) |
| 40 | |
| 41 | -- constants rank-zero jet fixed to zero. call outputs on unnormalized family x |
| 42 | structure Caper {m : Side} (Q : Pot G 2) (F : Air G) (n : ℕ) (q : ℕ) (v : Config G m→ℝ) : Prop where |
| 43 | stamp : Measurable v |
| 44 | word : Pointwise (v ∘ input G m) |
| 45 | lyrics : ∀ j ≤ n+2, Tensor.coeff (v ∘ input G m) j 0= recital (sector Q F q j) m |
| 46 | |
| 47 | private lemma bendM {m : Side} (F H : Link G m→ ℝ) (h : F=ᶠ[𝓝 0] H) (hp : Pointwise H) : Pointwise F := by |
| 48 | -- unfold |
| 49 | refine ⟨hp.analytic.congr h.symm,fun i => ?_, fun i=>?_,?_⟩ |
| 50 | · obtain ht := (orderTurn i (G:=G) (m:=m)).continuous.tendsto 0; rw [map_zero] at ht |
| 51 | exact (h.comp_tendsto ht).trans ((hp.rotate _).trans h.symm) |
| 52 | · obtain ht := (stain (m:=m) i).continuous.tendsto 0; rw [map_zero] at ht |
| 53 | exact (h.comp_tendsto ht).trans ((hp.stained _).trans h.symm) |
| 54 | exact (h.comp_tendsto (moveField_zero (G:=G) (m:=m) ▸ moveField_analytic.continuousAt.tendsto)).trans (hp.guard.trans (h.symm.comp_tendsto (continuous_snd.tendsto (0:Swatch G m)))) |
| 55 | lemma costumed {m : Side} {Q : Pot G 2} {F : Air G} (hF : Faithful Q F m) (n : ℕ) : |
| 56 | ∃ v : ℕ→Config G m→ℝ, ∀ i,Caper Q F n i (v i) := by |
| 57 | have hu i : ∃ v : Config G m→ℝ,Caper Q F n i v := by |
| 58 | obtain ⟨u,h,H⟩:=hF i (n+2); obtain ⟨g,hg,hF⟩:= linings h.analytic.contDiffAt |
| 59 | obtain ⟨L,hL,hE⟩:=(content_real G m).2 |
| 60 | let V:=g ∘ L |
| 61 | have ht : Tendsto (input G m) (𝓝 0) (𝓝 1) := by simpa using input_cont.tendsto (0:Link G m) |
| 62 | have hz : V ∘ (input G m) =ᶠ[𝓝 0] u := by |
| 63 | filter_upwards [ht.eventually hE,input_encodes,hF] with a hx hp he |
| 64 | unfold V; simp only [Function.comp_apply]; rw [hx,hp,he] |
| 65 | exact ⟨V,hg.comp hL, bendM _ _ hz h,fun j hj=> (Tensor.GermCoeff j hz).trans (H j hj)⟩ |
| 66 | choose V hv using hu; exact ⟨V,hv⟩ |
| 67 | section actual |
| 68 | variable {κ : S.Choices} |
| 69 | |
| 70 | def laboratory (κ : S.Choices) (k : ℕ) (V : ℕ→Config G f→ℝ) (t : ℝ)(x : Config G c) (y : Config G f) := tickets S x (S.prediction y κ)+ ∑ i∈Finset.range (k+2+1), t^(2*i)*V i y |
| 71 | lemma tickets_stance (κ : S.Choices) (hp : S.patch.Branches S.kernel G) (X : Type) [MeasurableSpace X] |
| 72 | {w : X→Config G c} {v : X→Config G f} (h : Measurable w) (hv : Measurable v) : Measurable fun x=> tickets S (w x) (S.prediction (v x) κ) := by |
| 73 | unfold tickets; refine measurable_const.mul (Finset.measurable_fun_sum _ (fun i _ => G.continuous_price.measurable.comp ?_)) |
| 74 | exact ((measurable_pi_apply i).comp h).mul ((((measurable_pi_apply i).comp (S.prediction_meas hp κ)).comp hv).inv) |
| 75 | lemma labs_meas {V : ℕ→Config G f→ℝ} (hF : ∀ i,Measurable (V i)) (κ : S.Choices) (h : S.patch.Branches S.kernel G) |
| 76 | (X : Type) [MeasurableSpace X] {w : X→Config G c} {v : X→Config G f} {t : X→ℝ} |
| 77 | (hw : Measurable w) (hv : Measurable v) (ht : Measurable t) (n) : Measurable fun x=> laboratory S κ n V (t x) (w x) (v x) := by |
| 78 | unfold laboratory; exact (tickets_stance S κ h X hw hv).add (Finset.measurable_fun_sum _ (fun i _=> (ht.pow_const _).mul ((hF i).comp hv))) |
| 79 | end actual |
| 80 | end YM.RG08.Reflect |