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.Work.F05.Transport |
| 2 | |
| 3 | /-! |
| 4 | # Using the same linear space for a pair of slices |
| 5 | |
| 6 | Permute the link indices, no change of color basis or normalization of |
| 7 | volumes. Equal counts hold without requiring positive lieDim. |
| 8 | -/ |
| 9 | set_option autoImplicit false |
| 10 | noncomputable section |
| 11 | namespace YM.Work.F05 |
| 12 | open Function Filter Lattice Wilson RG Precision Exterior Tree MeasureTheory |
| 13 | open scoped Topology ContDiff Matrix.Norms.Frobenius |
| 14 | variable {c f : Side} {G : Gauge} {g : Ratio c f} |
| 15 | |
| 16 | section count |
| 17 | variable (B T : Forest g) |
| 18 | |
| 19 | private lemma used_eq_imp {x y : Site f} (hx : leaf g x) (hy : leaf g y) |
| 20 | (e : (B.up x).used x = (B.up y).used y) : x = y := by |
| 21 | have hh := B.rise x hx |
| 22 | have ht := B.rise y hy |
| 23 | cases a : (B.up x).neg <;> cases b : (B.up y).neg <;> |
| 24 | simp only [Step.used, Step.vec, a, b, Bool.false_eq_true, ↓reduceIte, Prod.mk.injEq, |
| 25 | ← sub_eq_add_neg] at e hh ht |
| 26 | · exact e.1 |
| 27 | · have hi : B.height x < B.height y := by rwa [← e.1] at ht |
| 28 | have hc : x + step (B.up x).dir = y := by rw [e.2, e.1, sub_add_cancel] |
| 29 | exact (hi.not_gt (hc ▸ hh)).elim |
| 30 | · have hi : B.height y < B.height x := by rwa [e.1] at hh |
| 31 | have hc : y + step (B.up y).dir = x := by rw [← e.2, ← e.1, sub_add_cancel] |
| 32 | exact (hi.not_gt (hc ▸ ht)).elim |
| 33 | · have hi : x - step (B.up x).dir = y - step (B.up x).dir := by rw [← e.2] at e; exact e.1 |
| 34 | exact sub_left_inj.mp hi |
| 35 | |
| 36 | def pinEquiv : {x : Site f // leaf g x} ≃ ↥B.trunks := |
| 37 | let F (x : {x : Site f // leaf g x}) : ↥B.trunks := |
| 38 | ⟨(B.up x.val).used x.val, (B.trunk_mem_iff _).mpr ⟨_,x.property,rfl⟩⟩ |
| 39 | Equiv.ofBijective F ⟨fun x y h => Subtype.ext (used_eq_imp B x.property y.property |
| 40 | (congr_arg Subtype.val h)), fun i => by |
| 41 | obtain ⟨x,hx,he⟩ := (B.trunk_mem_iff _).mp i.property |
| 42 | exact ⟨⟨x,hx⟩,Subtype.ext he⟩⟩ |
| 43 | |
| 44 | lemma free_card : Fintype.card B.Free = Fintype.card T.Free := by |
| 45 | have h : Fintype.card ↥B.trunks = Fintype.card ↥T.trunks := |
| 46 | Fintype.card_congr ((pinEquiv B).symm.trans (pinEquiv T)) |
| 47 | rw [show Fintype.card B.Free = _ from Fintype.card_subtype_compl (fun x => x ∈ B.trunks), |
| 48 | show Fintype.card T.Free = _ from Fintype.card_subtype_compl (fun x => x ∈ T.trunks), h] |
| 49 | |
| 50 | def freeEquiv : B.Free ≃ T.Free := Fintype.equivOfCardEq (free_card B T) |
| 51 | end count |
| 52 | |
| 53 | def countingBasis (B : Forest g) (G : Gauge) : Module.Basis (Key B G) ℝ (AxisChart G B) := |
| 54 | Module.Basis.reindex |
| 55 | (Pi.basis fun _ : B.Free => (EuclideanSpace.basisFun G.ColorIndex ℝ).toBasis) |
| 56 | (Equiv.sigmaEquivProd _ _) |
| 57 | |
| 58 | lemma countingBasis_apply (B : Forest g) (G : Gauge) (i : Key B G) : |
| 59 | countingBasis B G i = frame B i := by |
| 60 | rw [countingBasis, Module.Basis.reindex_apply, Pi.basis_apply] |
| 61 | rfl |
| 62 | |
| 63 | variable {B T : Forest g} |
| 64 | |
| 65 | def index (e : B.Free ≃ T.Free) : AxisChart G B ≃L[ℝ] AxisChart G T := |
| 66 | ContinuousLinearEquiv.piCongrLeft ℝ (fun _ => G.Color) e |
| 67 | |
| 68 | lemma index_apply (e : B.Free ≃ T.Free) (x : AxisChart G B) (i : B.Free) : |
| 69 | index e x (e i) = x i := Equiv.piCongrLeft_apply_apply (fun _ => G.Color) e x i |
| 70 | |
| 71 | lemma index_preserves (e : B.Free ≃ T.Free) : MeasurePreserving (index (G:=G) e) volume volume := |
| 72 | volume_measurePreserving_piCongrLeft (fun _ => G.Color) e |
| 73 | |
| 74 | def onKey (e : B.Free ≃ T.Free) : Key B G ≃ Key T G := |
| 75 | Equiv.prodCongr e (Equiv.refl _) |
| 76 | |
| 77 | lemma index_frame (e : B.Free ≃ T.Free) (i : Key B G) : |
| 78 | index e (frame B i) = frame T (onKey e i) := by |
| 79 | funext j |
| 80 | obtain ⟨k,rfl⟩ := e.surjective j |
| 81 | rw [index_apply] |
| 82 | by_cases h : k=i.1 <;> simp [frame,onKey,h] |
| 83 | |
| 84 | def move (e : B.Free ≃ T.Free) (x : Bid.Dir G c) (y : AxisChart G B) : AxisChart G B := |
| 85 | (index e).symm (switch B T x y) |
| 86 | |
| 87 | lemma move_eq (e : B.Free ≃ T.Free) (x : Bid.Dir G c) : |
| 88 | switch B T x = index e ∘ move e x := by |
| 89 | funext y |
| 90 | simp only [move, comp_apply, ContinuousLinearEquiv.apply_symm_apply] |
| 91 | |
| 92 | lemma move_jet (e : B.Free ≃ T.Free) : ContDiffAt ℝ ω (uncurry (move (G:=G) e)) 0 := |
| 93 | (index e).symm.contDiff.contDiffAt.comp (0 : Bid.Dir G c × AxisChart G B) (switch_jet B T) |
| 94 | |
| 95 | end YM.Work.F05 |