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.WilsonBulk.Build.Gallery |
| 2 | import YM.Branch.Covariant |
| 3 | |
| 4 | /-! |
| 5 | # Orbit movements for Whitney charts |
| 6 | |
| 7 | Rooted ordinary real configurations, joint nuisance tape *later*. |
| 8 | Use probability-Haar in chart overlap lemma. Captures any tree choices on |
| 9 | this finite period; theta/smearing not averaged. Retains normalized accounting. |
| 10 | This is not a change-of-measure bound for denominator costs in actual units. |
| 11 | -/ |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | namespace YM.WilsonBulk.Atelier |
| 15 | open scoped Topology Classical ENNReal BigOperators |
| 16 | open Lattice RG Function Filter Tree Wilson Precision MeasureTheory Set |
| 17 | variable {G : Gauge} {c f n : Side} {S : StepData c f} -- implicit add |
| 18 | -- Root relatives |
| 19 | |
| 20 | def Kindred (S : StepData c f) (U V : Config G f) := ∃ k : Site f → G.El, (∀ i,k (S.ratio.embed i)=1) ∧ U=Lattice.gauge k V |
| 21 | |
| 22 | lemma followGauge (U : Config G n) (k p : Site n→G.El) : Lattice.gauge k (Lattice.gauge p U) = Lattice.gauge (k*p) U := by |
| 23 | ext1 i; simp only [Lattice.gauge,Pi.mul_apply]; group |
| 24 | lemma turn_person (u : Config G n) : Lattice.gauge 1 u=u := by ext1 i; simp [Lattice.gauge] |
| 25 | lemma Kindred.trans {U V W : Config G f} (h : Kindred S U V) (he : Kindred S V W) : Kindred S U W := by |
| 26 | obtain ⟨k,h,rfl⟩:=h; obtain ⟨p,g,rfl⟩:=he; exact ⟨k*p,fun i=>by rw [Pi.mul_apply,h i,g i,mul_one],followGauge ..⟩ |
| 27 | lemma Kindred.symm {U V : Config G f} (h : Kindred S U V) : Kindred S V U := by |
| 28 | obtain ⟨k,h,rfl⟩:=h; exact ⟨k⁻¹,fun i=>by simp [h i],by rw [followGauge,inv_mul_cancel,turn_person]⟩ |
| 29 | lemma Kindred.wiped (S : StepData c f) (F : Forest S.ratio) (U : Config G f) : Kindred S (Profiles.wiped F U) U := ⟨F.foldAt U,F.fold_root U,rfl⟩ |
| 30 | lemma Kindred.same {U V : Config G f} (h : Kindred S U V) (T : Forest S.ratio) : Profiles.wick T U=Profiles.wick T V := by |
| 31 | obtain ⟨k,h,h'⟩:=h; rw [h']; exact Profiles.wick_gauge T V k h |
| 32 | lemma Kindred.gauge (U V : Config G f) (h : Kindred S U V) (p : Site f→ G.El) : Kindred S (Lattice.gauge p U) (Lattice.gauge p V) := by |
| 33 | obtain ⟨k,h,rfl⟩:=h; exact ⟨p*k*p⁻¹,fun i=>by simp [h i],by rw [followGauge,followGauge,inv_mul_cancel_right]⟩ |
| 34 | lemma Kindred.pull (U V : Config G f) (s : Signed) (b : Site c) (h : Kindred S U V) : Kindred S (Lattice.pull s (S.ratio.embed b) U) (Lattice.pull s (S.ratio.embed b) V) := by |
| 35 | obtain ⟨k,h,rfl⟩:= h; let x:= S.ratio.embed b; let g : Site f→G.El:= k ∘ affine s x |
| 36 | refine ⟨g,fun i=>?_,?_⟩ |
| 37 | · rw [show g (S.ratio.embed i)=_ from congr_arg k (S.port s b i)]; exact h _ |
| 38 | funext ⟨y,i⟩; change Step.read _ (Lattice.gauge k V) _= _ |
| 39 | rw [Step.gauge_read] |
| 40 | simp only [Lattice.pull,Lattice.gauge,g,Function.comp_apply,affine, Signed.act_add, Step.vec_rotate,Step.vec_pos]; unfold x; rw [add_right_comm] |
| 41 | |
| 42 | def rotating (s : Signed) (b : Site c) (S : StepData c f) : Config G f≃ₜ Config G f where |
| 43 | toFun := pull s (S.ratio.embed b) |
| 44 | invFun := pull s⁻¹ (S.ratio.embed ((s⁻¹).act (-b))) -- syntax |
| 45 | left_inv U := by |
| 46 | rw [pull_pull]; simp only [mul_inv_cancel]; convert! pull_id U; rw [Ratio.signed,affine, Signed.act_inv]; change S.ratio.root (-b)+S.ratio.root b=_; rw [map_neg,neg_add_cancel] |
| 47 | right_inv U:= by rw [pull_pull]; simp only [inv_mul_cancel]; convert! pull_id U; rw [Ratio.signed,affine, show S.ratio.embed (-b)= -S.ratio.embed b from map_neg S.ratio.root b,Signed.act_neg]; abel |
| 48 | continuous_toFun:= continuous_pull .. |
| 49 | continuous_invFun:= continuous_pull .. |
| 50 | |
| 51 | def leadingBy (t : Site f → G.El) : Config G f≃ₜ Config G f where |
| 52 | toFun:=Lattice.gauge t |
| 53 | invFun:=Lattice.gauge t⁻¹ |
| 54 | left_inv U:= by rw [followGauge,inv_mul_cancel,turn_person] |
| 55 | right_inv U:= by rw [followGauge,mul_inv_cancel,turn_person] |
| 56 | continuous_toFun:= by apply continuous_pi; intro i; exact (continuous_const.mul (continuous_apply i)).mul continuous_const |
| 57 | continuous_invFun:= by apply continuous_pi; intro i; exact (continuous_const.mul (continuous_apply i)).mul continuous_const |
| 58 | |
| 59 | /-- Send orbit spaces. Including any two trees, not requiring a turned |
| 60 | fixed prescription. statement strong enough for Ward transfer of arbitrary signed & gauge families. |
| 61 | -/ |
| 62 | structure Carries (G : Gauge) (S : StepData c f) where |
| 63 | routeG : Config G f≃ₜ Config G f |
| 64 | respects : ∀ U V, Kindred S U V → Kindred S (routeG U) (routeG V) |
| 65 | reversed : ∀ U V, Kindred S U V → Kindred S (routeG.symm U) (routeG.symm V) |
| 66 | toll : MeasurePreserving routeG (prior G f) (prior G f) |
| 67 | namespace Carries |
| 68 | variable (S) |
| 69 | def send (s : Signed) (b : Site c) (t : Site f→ G.El) : Carries G S where |
| 70 | routeG := (rotating s b S).trans (leadingBy t) |
| 71 | respects _ _ h:= ((h.pull _ _ _ _).gauge _ _ t) |
| 72 | reversed U V h:= (h.gauge U V t⁻¹).pull _ _ _ _ |
| 73 | toll:= (prior_gauge t).comp (prior_pull s (S.ratio.embed b)) |
| 74 | variable {S} |
| 75 | lemma sliceMass (F : Forest S.ratio) : MeasurePreserving (Profiles.wick (G:=G) F) (prior G f) (F.order G) := by |
| 76 | let f' : Config G f → F.Slice G := Profiles.wick F |
| 77 | have hh : Measurable f' := (Profiles.continuous_wick F).measurable |
| 78 | refine ⟨hh, Measure.ext fun s hs=> ?_⟩; rw [Measure.map_apply hh hs] |
| 79 | let m := (f' ⁻¹' s).indicator (fun _=> (1:ℝ)) |
| 80 | have hu t (ht : ∀ x,t (S.ratio.embed x)=1) u : m (Lattice.gauge t u)=m u := by unfold m; by_cases h : Profiles.wick F u∈s <;> simp [Set.indicator,f',h,Profiles.wick_gauge F u t ht] -- inspect |
| 81 | have he := F.pack m ((integrable_const _).indicator (hh hs)) hu |
| 82 | rw [show (fun x : F.Slice G=>m (F.drape x))=s.indicator fun _=>(1:ℝ) from by ext1 x; simp [m,f',indicator,Profiles.wick_root], integral_indicator hs,setIntegral_const] at he |
| 83 | unfold m at he; rw [integral_indicator (hh hs), setIntegral_const] at he |
| 84 | apply (ENNReal.toReal_eq_toReal_iff' (measure_ne_top _ _) (measure_ne_top _ _)).mp |
| 85 | simpa only [smul_eq_mul,mul_one,measureReal_def] using he |
| 86 | |
| 87 | variable (Q : Carries G S) (F L : Forest S.ratio) |
| 88 | def slit : F.Slice G ≃ₜ L.Slice G where |
| 89 | toFun U:= Profiles.wick L (Q.routeG (F.drape U)) |
| 90 | invFun U:= Profiles.wick F (Q.routeG.symm (L.drape U)) |
| 91 | left_inv U:= by dsimp only; rw [Profiles.wears, (Kindred.same (U:= Q.routeG.symm (Profiles.wiped L _)) (Q.reversed _ _ (Kindred.wiped S L (Q.routeG (F.drape U))))), Homeomorph.symm_apply_apply,Profiles.wick_root] |
| 92 | right_inv U:= by dsimp only; rw [Profiles.wears, (Kindred.same (U:= Q.routeG (Profiles.wiped F _)) (Q.respects _ _ (Kindred.wiped S F (Q.routeG.symm (L.drape U))))), Homeomorph.apply_symm_apply,Profiles.wick_root] |
| 93 | continuous_toFun:= by fun_prop |
| 94 | continuous_invFun:= by fun_prop |
| 95 | lemma passing (U) : slit Q F L (Profiles.wick F U)=Profiles.wick L (Q.routeG U) := by change Profiles.wick _ _=_; rw [Profiles.wears]; exact (Q.respects _ _ (Kindred.wiped S F _)).same L |
| 96 | lemma pass_paid : MeasurePreserving (slit Q F L) (F.order G) (L.order G) := by |
| 97 | have hv:= (sliceMass L).comp Q.toll |
| 98 | refine ⟨(slit Q F L).continuous.measurable,?_⟩ |
| 99 | rw [← (sliceMass F).map_eq,Measure.map_map (slit Q F L).continuous.measurable (sliceMass F).measurable]; rw [show slit Q F L ∘ Profiles.wick F=Profiles.wick L ∘ Q.routeG from funext (passing Q F L)]; exact hv.map_eq |
| 100 | end Carries |
| 101 | end YM.WilsonBulk.Atelier |