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.Extra.SOURCE_HISTORIES.Clusters |
| 2 | import YM.Extra.SOURCE_HISTORIES.Motion |
| 3 | import YM.Next.EXTRACTION.Base |
| 4 | |
| 5 | /-! |
| 6 | # Chart at the fixed intermediate m. Don't project the wrong insertion. |
| 7 | |
| 8 | `window` is from the **reference** normalization (includes inverse terminal |
| 9 | T) to the actual readout at LEVEL m in the same history. Applied only with |
| 10 | `C.ref d ≤ m ≤ N` (other values are totalization to identity). |
| 11 | `ᵍ_m,N,R` matrix. `paper`-in-coordinates relations and integrated |
| 12 | physical formula below. These don't yet require choosing limits. All |
| 13 | here conditional on the Family,Makes — thus becomes available after Issue |
| 14 | on exactly its Printed family. |
| 15 | -/ |
| 16 | set_option autoImplicit false |
| 17 | noncomputable section |
| 18 | namespace YM.Extra.Histories.Charts |
| 19 | open Function Filter MeasureTheory Set Lattice Wilson RG Source Labels Bid Motion Extraction |
| 20 | open scoped Topology BigOperators Matrix.Norms.Frobenius ContDiff |
| 21 | |
| 22 | variable {G : Gauge} (C : Family G) (h : C.Makes) |
| 23 | |
| 24 | abbrev Exchange (d : ℕ) := C.label d ≃L[ℂ] C.label d |
| 25 | |
| 26 | variable (d N p m : ℕ) |
| 27 | include h |
| 28 | |
| 29 | private theorem isomorphism (hr : C.ref d ≤ m) (hm : m ≤ N) : ∃ t : Exchange C d, ∀ x, |
| 30 | t x = ((C.factory d N p).entries m ((C.factory d N p).terminal.symm x)).x := by |
| 31 | let F := C.labels.level d |
| 32 | let T := C.factory d N p |
| 33 | have ht : T.Based _ _ _ := h.calibrated d N p (hr.trans hm) |
| 34 | let A := IsLinearMap.mk' (fun v => (T.entries m v).x) (ht.linear m hr hm).1 |
| 35 | have he : Injective A := by |
| 36 | apply LinearMap.ker_eq_bot.mp |
| 37 | refine LinearMap.ker_eq_bot'.mpr fun x hx => ?_ |
| 38 | have hh (i : ℕ) (hb : m ≤ i) (hu : i≤N) : (T.entries i x).x=0 := by |
| 39 | induction i,hb using Nat.le_induction with |
| 40 | | base => exact hx |
| 41 | | succ i hI IH => |
| 42 | have he := ht.back i (hr.trans hI) hu x |
| 43 | rw [IH (i.le_succ.trans hu)] at he |
| 44 | exact Work.G08.size_separates F _ (by simpa [Frame.coeffSize] using he) |
| 45 | exact (ht.bare_coord x).symm.trans (hh N hm le_rfl) |
| 46 | exact ⟨(T.terminal.symm.trans (LinearEquiv.ofBijective A ⟨he,LinearMap.injective_iff_surjective.mp he⟩)).toContinuousLinearEquiv, |
| 47 | fun _ => rfl⟩ |
| 48 | |
| 49 | -- Order indices d,m,N,p for matrix family. Use proofs explicitly, and in all |
| 50 | -- formulas state fitting when comparing to entries. |
| 51 | def window (d m N p : ℕ) : Exchange C d := |
| 52 | if hr : C.ref d ≤ m ∧ m ≤ N then (isomorphism C h d N p m hr.1 hr.2).choose else .refl _ _ |
| 53 | |
| 54 | lemma peek (hr : C.ref d ≤ m) (hm : m ≤ N) (x) : window C h d m N p x = |
| 55 | ((C.factory d N p).entries m ((C.factory d N p).terminal.symm x)).x := by |
| 56 | rw [window,dif_pos (And.intro hr hm)] |
| 57 | exact (isomorphism C h d N p m hr hm).choose_spec x |
| 58 | |
| 59 | lemma terminal_unit_vec (hr : C.ref d≤N) : (C.factory d N p).terminal.symm (C.refUnit d)= |
| 60 | unitVec (C.labels.level d) C.path N := by |
| 61 | let T := C.factory d N p |
| 62 | have H := h.calibrated d N p hr |
| 63 | apply T.terminal.injective |
| 64 | unfold T |
| 65 | rw [LinearEquiv.apply_symm_apply,← H.reads] |
| 66 | rw [H.unit_coord _ le_rfl hr] |
| 67 | |
| 68 | theorem ref_chart (hr : C.ref d ≤ N) : window C h d (C.ref d) N p = .refl _ _ := by |
| 69 | ext1; funext v; rw [peek C h _ _ _ _ le_rfl hr] |
| 70 | exact C.normalized h hr v |
| 71 | |
| 72 | |
| 73 | |
| 74 | theorem chart_unit (hr : C.ref d ≤ m) (hm : m≤N) : window C h d m N p (C.refUnit d) = |
| 75 | unitVec (C.labels.level d) C.path m := by |
| 76 | rw [peek C h d N p m hr hm,terminal_unit_vec C h _ _ _ (le_trans hr hm)] |
| 77 | exact (h.calibrated _ _ _ (le_trans hr hm)).unit_coord _ hr hm |
| 78 | |
| 79 | /-- Looking up the literal column, now supplied via the packed |
| 80 | coordinates at level m. Does NOT recompute a Q for that location. -/ |
| 81 | def column (v : C.label d) := C.O N p ((window C h d m N p).symm v) |
| 82 | |
| 83 | |
| 84 | |
| 85 | /-- Transfer between two valid levels in this column space. Composes exactly |
| 86 | on chosen witness. -/ |
| 87 | def cross (l i : ℕ) := |
| 88 | (window C h d l N p).symm.trans (window C h d i N p) |
| 89 | |
| 90 | |
| 91 | |
| 92 | theorem same (l : ℕ) (v : C.label d) : column C h d N p l v=column C h d N p m (cross C h d N p l m v) := by |
| 93 | simp [column,cross] |
| 94 | |
| 95 | /-- The very entry and **unit/reference coefficients in it**, not a new field |
| 96 | assigned by fitting a conditional expectation. -/ |
| 97 | def ink (v : C.label d) (l : ℕ) := |
| 98 | (C.factory d N p).entries l |
| 99 | ((C.factory d N p).terminal.symm ((window C h d m N p).symm v)) |
| 100 | |
| 101 | |
| 102 | |
| 103 | |
| 104 | |
| 105 | |
| 106 | |
| 107 | |
| 108 | |
| 109 | |
| 110 | |
| 111 | |
| 112 | |
| 113 | |
| 114 | |
| 115 | end YM.Extra.Histories.Charts |