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.Source.Preservation |
| 2 | |
| 3 | /-! |
| 4 | # Single Wilson family, its primary cylinders |
| 5 | |
| 6 | For each weight the levels `ref d` are fixed before any limits. For |
| 7 | convenience give transfers at all cutoffs (using e.g. zero or trivial padding |
| 8 | when the ref test doesn't fit). Soundness is demanded only down to the |
| 9 | fixed fitting levels; we concretize 'sufficiently fine' by allowing to |
| 10 | choose references sufficiently deep then asking whenever `ref d ≤ N`. |
| 11 | See . This supplies physical support O(a_N) |
| 12 | even though subsequent estimates may proceed via very different scales. |
| 13 | E outputs specialized to our choices of masks/paths/numerical gates; no |
| 14 | claim such a trajectory exists yet. |
| 15 | -/ |
| 16 | |
| 17 | set_option autoImplicit false |
| 18 | noncomputable section |
| 19 | namespace YM |
| 20 | |
| 21 | open MeasureTheory RG Lattice Source Wilson Labels |
| 22 | open scoped Topology Matrix.Norms.Frobenius BigOperators |
| 23 | |
| 24 | structure Family (G : Gauge) where |
| 25 | path : History G |
| 26 | params : Hol G |
| 27 | labels : Frames G |
| 28 | localSection (d : ℕ) : SectionData (labels.level d) |
| 29 | ref : ℕ → ℕ |
| 30 | factory (d N p : ℕ) : TransferData (labels.level d) path N p |
| 31 | |
| 32 | namespace Family |
| 33 | variable {G : Gauge} (C : Family G) |
| 34 | abbrev S := C.path.levels.S |
| 35 | abbrev side := C.S.side |
| 36 | abbrev label (d : ℕ) := (C.labels.level d).Coeff |
| 37 | abbrev refUnit (d : ℕ) := Source.unitVec (C.labels.level d) C.path (C.ref d) |
| 38 | abbrev beta (N p) := C.path.β N p N |
| 39 | |
| 40 | def omega (N p) (F : Config G (C.side N p) → ℂ) := moment (C.beta N p) F |
| 41 | |
| 42 | def O (N p) {d : ℕ} (v : C.label d) := (C.factory d N p).cylinder (C.localSection d) v |
| 43 | |
| 44 | structure Makes : Prop where |
| 45 | wilson : C.path.Selected |
| 46 | sections (d : ℕ) : (C.localSection d).Sound C.params |
| 47 | stages (d : ℕ) : |
| 48 | d+3 ≤ C.path.levels.clock.J (C.ref d) ∧ |
| 49 | ∀ m, C.ref d ≤ m → d+1 ≤ (C.path.levels.params m).order ∧ d ≤ (C.path.levels.params m).power |
| 50 | places (d N p : ℕ) : C.ref d ≤ N → ∀ x ∈ (C.localSection d).stencil, |
| 51 | ∀ i : Axis, 20*((x i).natAbs + 1) ≤ (C.side N p).val |
| 52 | /-- Section actually gives canonical mask test-size (cf eq:psect). |
| 53 | Charge this constant before L. -/ |
| 54 | priced (d N p : ℕ) : C.ref d ≤ N → |
| 55 | let P := C.path.levels.budget N |
| 56 | let F := C.labels.level d |
| 57 | let D := C.localSection d |
| 58 | ∀ o : Site (C.side N p), ∀ i : F.Index, |
| 59 | P.Regular (D.footprint o) (D.places (Pi.single i 1) o) ∧ |
| 60 | P.supBounds o (D.footprint o) (D.places (Pi.single i 1) o) ((C.path.levels.params N).columns * |
| 61 | P.threshold^(F.grades i).2) |
| 62 | calibrated (d N p : ℕ) : C.ref d ≤ N → (C.factory d N p).Based C.params (C.localSection d) (C.ref d) |
| 63 | |
| 64 | /-- The normalized readout, not the actual value of a coarse field. -/ |
| 65 | theorem normalized {N p d} (h : C.Makes) (hw : C.ref d ≤ N) (v : C.label d) : |
| 66 | let M := C.factory d N p |
| 67 | (M.entries (C.ref d) (M.terminal.symm v)).x = v := by |
| 68 | intro M; rw [(show M.Based _ _ _ from h.calibrated d N p hw).reads, LinearEquiv.apply_symm_apply] |
| 69 | |
| 70 | /-- Literal, no retuning at shifted anchors. -/ |
| 71 | theorem translation {N p d} (o b : Site (C.side N p)) (v : C.label d) U : C.O N p v o (Lattice.translate b U) = |
| 72 | C.O N p v (o+b) U := ((C.factory d N p).cylinder_shift _ v o b U).symm |
| 73 | |
| 74 | theorem reality {N p d} (h : C.Makes) (hv : C.ref d ≤ N) (x : C.label d) o U : |
| 75 | C.O N p (star x) o U = star (C.O N p x o U) := by |
| 76 | unfold O TransferData.cylinder initial |
| 77 | let T := C.factory d N p |
| 78 | let S := C.localSection d |
| 79 | let F := C.labels.level d |
| 80 | have hb := show T.Based _ S _ from h.calibrated _ _ p hv |
| 81 | rw [show (C.factory d N p).terminal.symm (star x) = star (T.terminal.symm x) by |
| 82 | apply T.terminal.injective; rw [hb.realForm, LinearEquiv.apply_symm_apply T.terminal x]; exact T.terminal.apply_symm_apply _] |
| 83 | have hs (t) (z : C.label d) : F.scaled (t : ℝ) (star z) = star (F.scaled t z) := by |
| 84 | funext i; simp [mul_comm] |
| 85 | rw [hs] |
| 86 | simp only [Pi.smul_apply, smul_eq_mul, SectionData.places, (h.sections d).ordinary_real]; simp [F,T] |
| 87 | |
| 88 | theorem rotated {N p d} (h : C.Makes) (hv : C.ref d ≤ N) (x : C.label d) (s : Signed) (o b U) : |
| 89 | C.O N p ((C.labels.level d).act s.ortho x) (affine s b o) U = C.O N p x o (pull s b U) := by |
| 90 | unfold O TransferData.cylinder initial |
| 91 | let T := C.factory d N p |
| 92 | let Q := C.localSection d |
| 93 | let F := C.labels.level d |
| 94 | have hb := show T.Based _ Q _ from h.calibrated _ _ p hv |
| 95 | rw [show T.terminal.symm (F.act s.ortho x) = F.act s.ortho (T.terminal.symm x) by |
| 96 | apply T.terminal.injective |
| 97 | rw [hb.orients, LinearEquiv.apply_symm_apply T.terminal x]; exact T.terminal.apply_symm_apply _] |
| 98 | simp only [T,F,Pi.smul_apply, Frame.scaling, SectionData.placed_signed (C.localSection d) (h.sections d)] |
| 99 | |
| 100 | theorem constant {N p} (h : C.Makes) (d : ℕ) (hv : C.ref d ≤ N) (o : Site (C.side N p)) : |
| 101 | C.O N p (C.refUnit d) o = 1 := |
| 102 | (C.factory d N p).origin_unit (h.sections d) _ (h.calibrated _ _ _ hv) o |
| 103 | |
| 104 | theorem invariant (h : C.Makes) (N p d : ℕ) (v : C.label d) o : GaugeInvariant (C.O N p v o) := by |
| 105 | intro t U |
| 106 | simp only [O, TransferData.cylinder, initial, Pi.smul_apply] |
| 107 | rw [(C.localSection d).placed_invariant (h.sections d) o _] |
| 108 | |
| 109 | theorem localO (N p d : ℕ) (v : C.label d) o : LocalOn ((C.localSection d).footprint o) (C.O N p v o) := by |
| 110 | intro U V hh |
| 111 | simp only [O,TransferData.cylinder,initial,Pi.smul_apply] |
| 112 | rw [((C.localSection d).placed_local o _) U V hh] |
| 113 | |
| 114 | theorem continuousO (N p d : ℕ) (v : C.label d) o : Continuous (C.O N p v o) := |
| 115 | (C.factory d N p).cylinder_cont _ _ _ |
| 116 | |
| 117 | theorem linearO (N p d : ℕ) (o : Site (C.side N p)) : |
| 118 | IsLinearMap ℂ (fun (v : C.label d) => C.O N p v o) := by |
| 119 | let h := (C.localSection d).eval_linear |
| 120 | simp only [O,TransferData.cylinder,initial] |
| 121 | constructor |
| 122 | · intro x y |
| 123 | funext U |
| 124 | simp [SectionData.places, h.map_add, mul_add] |
| 125 | intro q v |
| 126 | funext U |
| 127 | simp only [map_smul,SectionData.places, h.map_smul, Pi.smul_apply]; rw [smul_comm q] |
| 128 | end Family |
| 129 | end YM |