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.Tree.Pines |
| 2 | |
| 3 | /-! |
| 4 | # Actual tree-gauge slice |
| 5 | |
| 6 | For any forest, without changing a single coarse argument. No Gaussian slicing |
| 7 | or making edge variables independent on a conditioned event. Pins are physical |
| 8 | sites/positive edges. Use `drape` to get the physical links. All identities |
| 9 | before exponential-chart coordinates. |
| 10 | -/ |
| 11 | set_option autoImplicit false |
| 12 | noncomputable section |
| 13 | namespace YM.Tree.Forest |
| 14 | open Lattice Wilson RG MeasureTheory Function Filter |
| 15 | open scoped Topology Matrix.Norms.Frobenius BigOperators ENNReal |
| 16 | variable {c f : Side} {g : Ratio c f} (A : Forest g) {G : Gauge} |
| 17 | |
| 18 | abbrev Free := {i : Edge (Site f) // i∉ A.trunks} |
| 19 | abbrev Slice (G : Gauge) := A.Free → G.El |
| 20 | |
| 21 | def foldAt (U : Config G f) (i : Site f) := (travel U i (A.hike i))⁻¹ |
| 22 | |
| 23 | lemma fold_root (U : Config G f) (x : Site c) : A.foldAt U (g.embed x)=1 := by |
| 24 | unfold foldAt |
| 25 | rw [hike, dif_neg ?_,travel, inv_one] |
| 26 | rintro h; exact h (by rw [Ratio.embed_parent]) |
| 27 | |
| 28 | lemma fold_step (U : Config G f) {x : Site f} (hx : leaf g x) : |
| 29 | A.foldAt U x * (A.up x).read U x=A.foldAt U (x+(A.up x).vec) := by |
| 30 | rw [foldAt, hike, dif_pos hx, travel, mul_inv_rev, inv_mul_cancel_right,foldAt] |
| 31 | |
| 32 | lemma compress (U : Config G f) (i : Edge (Site f)) (h : i ∈ A.trunks) : |
| 33 | Lattice.gauge (A.foldAt U) U i=1 := by |
| 34 | obtain ⟨x,hx,rfl⟩ := (trunk_mem_iff A _).mp h |
| 35 | have hh : (A.up x).read (Lattice.gauge (A.foldAt U) U) x=1 := by rw [Step.gauge_read,A.fold_step U hx,mul_inv_cancel] |
| 36 | unfold Step.read at hh |
| 37 | cases he : (A.up x).neg <;> simpa [he] using hh |
| 38 | |
| 39 | lemma names (U V : Config G f) (h : ∀ z∈ A.trunks, U z=V z) : A.foldAt U=A.foldAt V := by |
| 40 | funext x; induction x using hike.induct A with |
| 41 | | case1 x hx ih => |
| 42 | have he : (A.up x).read U x=(A.up x).read V x := by unfold Step.read; rw [h _ ((A.trunk_mem_iff _).mpr ⟨x,hx,rfl⟩)] |
| 43 | have hh' := A.fold_step U hx; rw [he,ih,← A.fold_step V hx] at hh' |
| 44 | exact mul_right_cancel hh' |
| 45 | | case2 x hx => rw [show x=g.embed (g.parent x) from Classical.not_not.mp hx,fold_root,fold_root] |
| 46 | |
| 47 | @[fun_prop] lemma folds (i : Site f) : Continuous fun U : Config G f => A.foldAt U i := by unfold foldAt; fun_prop |
| 48 | |
| 49 | def seam : Config G f ≃ᵐ ((↥A.trunks → G.El) × A.Slice G) := MeasurableEquiv.piEquivPiSubtypeProd _ _ |
| 50 | |
| 51 | def drape (S : A.Slice G) : Config G f := A.seam.symm (1,S) |
| 52 | |
| 53 | theorem on_tree (S : A.Slice G) (i : ↥A.trunks) : A.drape S i=1 := |
| 54 | congr_fun (congr_arg Prod.fst (A.seam.apply_symm_apply (1,S))) i |
| 55 | |
| 56 | @[simp] theorem off_tree (S : A.Slice G) (i : A.Free) : A.drape S i=S i := |
| 57 | congr_fun (congr_arg Prod.snd (A.seam.apply_symm_apply (1,S))) i |
| 58 | |
| 59 | @[fun_prop] theorem continuous_drape : Continuous (A.drape (G := G)) := by |
| 60 | apply continuous_pi |
| 61 | intro i |
| 62 | by_cases h : i ∈ A.trunks |
| 63 | · have he (x : A.Slice G) : A.drape x i=1 := A.on_tree x ⟨i,h⟩ |
| 64 | simp_rw [he]; fun_prop |
| 65 | have he (x : A.Slice G) : A.drape x i = x ⟨i,h⟩ := A.off_tree x ⟨i,h⟩ |
| 66 | simp_rw [he]; fun_prop |
| 67 | |
| 68 | def order (G : Gauge) : Measure (A.Slice G) := Measure.pi fun _ => G.probHaar |
| 69 | instance (G : Gauge) : IsProbabilityMeasure (A.order G) := by unfold order; infer_instance |
| 70 | |
| 71 | private def rearrange (k : Site f → G.El) : MeasurableEquiv (A.Slice G) (A.Slice G) where |
| 72 | toFun := fun s i => k i.val.1*s i*(k (i.val.1+step i.val.2))⁻¹ |
| 73 | invFun := fun s i => (k i.val.1)⁻¹*s i*k (i.val.1+step i.val.2) |
| 74 | left_inv := by intro s; funext; group |
| 75 | right_inv := by intro s; funext; group |
| 76 | measurable_toFun := by simp only [Equiv.coe_fn_mk]; fun_prop |
| 77 | measurable_invFun := by simp only [Equiv.coe_fn_symm_mk]; fun_prop |
| 78 | |
| 79 | variable {X : Type*} [NormedAddCommGroup X] [NormedSpace ℝ X] [CompleteSpace X] |
| 80 | |
| 81 | theorem pack (F : Config G f → X) (h : Integrable F (prior G f)) |
| 82 | (he : ∀ k : Site f → G.El, (∀ i, k (g.embed i)=1) → ∀ U,F (Lattice.gauge k U)=F U) : |
| 83 | (∫ U : Config G f, F U ∂prior G f) = ∫ x : A.Slice G,F (A.drape x) ∂A.order G := by |
| 84 | let M : Measure (↥A.trunks → G.El) := Measure.pi (fun _ => G.probHaar) |
| 85 | letI : IsProbabilityMeasure M := by unfold M; infer_instance |
| 86 | have hS : MeasurePreserving A.seam (prior G f) (M.prod (A.order G)) := by |
| 87 | unfold prior M order |
| 88 | convert! measurePreserving_piEquivPiSubtypeProd (fun _ : Edge (Site f) => G.probHaar) (fun i => i∈A.trunks) |
| 89 | rw [← hS.symm.integral_comp' F] |
| 90 | have H : Integrable (fun x => F (A.seam.symm x)) (M.prod (A.order G)) := |
| 91 | (hS.symm.integrable_comp_emb A.seam.symm.measurableEmbedding).mpr h |
| 92 | rw [integral_prod _ H]; clear H |
| 93 | have hh (x : ↥A.trunks → G.El) : (∫ y,F (A.seam.symm (x,y))∂A.order G) = ∫ y,F (A.drape y) ∂A.order G := by |
| 94 | let k := A.foldAt (A.seam.symm (x,(1:A.Slice G))) |
| 95 | have HS : MeasurePreserving (A.rearrange k) (A.order G) (A.order G) := |
| 96 | measurePreserving_pi _ _ fun i : A.Free => G.preserve_two_sided (k i.val.1) ((k (i.val.1+step i.val.2))⁻¹) |
| 97 | have hg (y : A.Slice G) : F (A.seam.symm (x,y))=F (A.drape (A.rearrange k y)) := by |
| 98 | rw [← he k (fun x => A.fold_root _ x)] |
| 99 | congr 1 |
| 100 | funext i; by_cases e : i∈A.trunks |
| 101 | · have H : k=A.foldAt (A.seam.symm (x,y)) := A.names _ _ (fun z h ↦ by |
| 102 | let t : ↥A.trunks := ⟨z,h⟩ |
| 103 | exact (congr_fun (congr_arg Prod.fst (A.seam.apply_symm_apply (x,(1:A.Slice G)))) t).trans (congr_fun (congr_arg Prod.fst (A.seam.apply_symm_apply (x,y))) t).symm) |
| 104 | exact Eq.trans (by rw [H]; exact A.compress _ _ e) (A.on_tree _ ⟨i,e⟩).symm |
| 105 | let t : A.Free := ⟨i,e⟩ |
| 106 | rw [show A.drape _ i = _ from A.off_tree (A.rearrange k y) t] |
| 107 | change k i.1*A.seam.symm (x,y) i*(k _)⁻¹=k i.1*y t*(k _)⁻¹ |
| 108 | rw [show A.seam.symm (x,y) i = y t from congr_fun (congr_arg Prod.snd (A.seam.apply_symm_apply (x,y))) t] |
| 109 | simp_rw [hg] |
| 110 | exact HS.integral_comp' (fun x ↦ F (A.drape x)) |
| 111 | simp_rw [hh]; simp |
| 112 | |
| 113 | /-- Actual block use. h includes both Covariant proof and numeric branch API. -/ |
| 114 | theorem pushing {S : StepData c f} (A : Forest S.ratio) {β : ℝ} |
| 115 | (hk : S.IsKernel β G) (F : Config G f → X) (V : Config G c) (hf : GaugeInvariant F) (h : Integrable F (prior G f)) |
| 116 | (H : ∀ k : Site f → G.El,∀ U : Config G f, S.density β (Lattice.gauge k U) (Lattice.gauge (k ∘ S.ratio.embed) V) = S.density β U V) : |
| 117 | S.push β F V = ∫ x : A.Slice G, S.density β (A.drape x) V • F (A.drape x) ∂A.order G := by |
| 118 | refine A.pack _ (StepData.push_slice hk V F h) (fun k hv U => ?_) |
| 119 | have he : Lattice.gauge (k ∘ S.ratio.embed) V=V := by funext; simp [Lattice.gauge,hv] |
| 120 | rw [hf,← H k U,he] |
| 121 | end YM.Tree.Forest |