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.PCalc.Chart |
| 2 | |
| 3 | /-! |
| 4 | # Flat side syntax & algebra contracts |
| 5 | |
| 6 | Particular cuts for the NEEDS of Wilson/Sector. |
| 7 | |
| 8 | Use computed |
| 9 | arrays on the cover in the actual Ratio. |
| 10 | |
| 11 | No hidden width from region or current period. |
| 12 | |
| 13 | Costs MUST also be shown in assembly to have been chosen before L in its |
| 14 | uses across plateaus. |
| 15 | |
| 16 | See WPs for Construction route. |
| 17 | |
| 18 | These are **not** assertions that just these fields imply the vStep theorem, |
| 19 | and not trying to state the widest versions of estimate theorems: we're aiming |
| 20 | to construct `Recipe.Issues`, possibly using more about the actual choice of |
| 21 | kernel (cumulative, parity, sym paths etc). Clear seam definitions for proof. |
| 22 | -/ |
| 23 | set_option autoImplicit false |
| 24 | noncomputable section |
| 25 | namespace YM.Precision |
| 26 | open Lattice Wilson RG Matrix Exterior Finset Tree Function Bloch Laurent |
| 27 | open scoped Topology Matrix.Norms.Frobenius BigOperators ContDiff |
| 28 | |
| 29 | abbrev Layers2 := TypeFace 2 ⊕ TypeFace 2 |
| 30 | abbrev Gain := Layers2 ⊕ TypeFace 3 |
| 31 | |
| 32 | variable {c f n : Side} {G : Gauge} |
| 33 | |
| 34 | /-- Fourier ℓ row and BOTH metrics H & H tilde. -/ |
| 35 | structure Bed where |
| 36 | diagonal : Row (TypeFace 2) (TypeFace 2) |
| 37 | dual_diag : Row (TypeFace 2) (TypeFace 2) |
| 38 | metric : Row (TypeFace 2) (TypeFace 2) |
| 39 | inverse : Row (TypeFace 2) (TypeFace 2) |
| 40 | roots : Row (TypeFace 2) (TypeFace 2) |
| 41 | |
| 42 | /-- Need recover actual path entries of `R.ell` through these roots. |
| 43 | The R.Bounds carries own width/norm of full path length. -/ |
| 44 | structure Attached (M : Bed) (R : PathData G) : Prop where |
| 45 | layout (b p : PlaqAxes) (y : Cover) : HasSum (fun i => if (R.row b i).2.plaq=p ∧ (R.row b i).2.offset=y |
| 46 | then (R.row b i).1 else 0) (M.roots (plaquette b) (plaquette p) y) |
| 47 | |
| 48 | /-- Stack lifted metric; don't average channels separately in canonical action. -/ |
| 49 | def Bed.full (M : Bed) (p : Clip) (n : Side) : Matrix (Co n Layers2) (Body 2 n) ℝ := |
| 50 | of fun x b => Sum.elim (fun i => Real.sqrt p.direct * (1 : Matrix (Body 2 n) (Body 2 n) ℝ) (x.1,i) b) |
| 51 | (fun i => M.roots.acts n (x.1,i) b) x.2 |
| 52 | |
| 53 | def Bed.covered (M : Bed) (width price : ℝ) := |
| 54 | M.diagonal.strip width price ∧ M.metric.strip width price ∧ M.inverse.strip width price ∧ M.roots.strip width price ∧ M.dual_diag.strip width price |
| 55 | |
| 56 | /-- counting bounds on REAL physical coordinates, no normalization by number |
| 57 | of sites. -/ |
| 58 | def Numeric {m : Type*} [Fintype m] (H : Matrix m m ℝ) (η A : ℝ) := ∀ v : m → ℝ, |
| 59 | η*dotProduct v v ≤ dotProduct v (H *ᵥ v) ∧ dotProduct v (H *ᵥ v) ≤ A*dotProduct v v |
| 60 | |
| 61 | structure Floor (M : Bed) (p : Clip) (n : Side) (η A : ℝ) : Prop where |
| 62 | diagonalInv : M.diagonal.acts n * M.dual_diag.acts n=1 |
| 63 | inverse : M.metric.acts n * M.inverse.acts n=1 |
| 64 | roots : (M.full p n).transpose*M.full p n=M.metric.acts n |
| 65 | starts : M.metric.read 0=1 |
| 66 | same : M.metric.acts n*d 1 n=M.diagonal.acts n*d 1 n |
| 67 | symmetric : (M.metric.acts n).transpose=M.metric.acts n ∧ (M.diagonal.acts n).transpose=M.diagonal.acts n |
| 68 | uniform : Numeric (M.metric.acts n) η A ∧ Numeric (M.diagonal.acts n) η A |
| 69 | |
| 70 | structure Towers (L : Side) where |
| 71 | A0 : Cross L (TypeFace 1) (TypeFace 1) |
| 72 | T : Cross L (TypeFace 2) (TypeFace 2) |
| 73 | mf : Cross L Layers2 Layers2 |
| 74 | mn : Row (TypeFace 1) Layers2 |
| 75 | o : Row Gain Layers2 |
| 76 | |
| 77 | namespace Towers |
| 78 | |
| 79 | variable (S : StepData c f) (H H' : Bed) (K : Towers S.patch.L) |
| 80 | |
| 81 | /-- pointwise real matrix identities, not pinned-only. -/ |
| 82 | structure Diagonal (S : StepData c f) (H H' : Bed) (K : Towers S.patch.L) : Prop where |
| 83 | /-- T/H route still uses the unmodified H. -/ |
| 84 | trial : Inputs S (installed S.ratio K.A0) (H.metric.acts f) (H'.metric.acts c) |
| 85 | transport : (installed S.ratio K.T).transpose * d 1 f=d 1 c*mean S |
| 86 | stays : installed S.ratio K.T * H'.diagonal.acts c * d 1 c=H.diagonal.acts f*d 1 f*installed S.ratio K.A0 |
| 87 | |
| 88 | structure Roll (S : StepData c f) (H H' : Bed) (K : Towers S.patch.L) (p p' : Clip) : Prop where |
| 89 | m : (installed S.ratio K.mf).transpose*installed S.ratio K.mf + |
| 90 | (K.mn.acts c).transpose*K.mn.acts c + (K.o.acts c).transpose*K.o.acts c=1 |
| 91 | n : Real.sqrt S.kernel.penalty • (K.mn.acts c).transpose=H'.full p' c*d 1 c |
| 92 | fPart : installed S.ratio K.mf * H'.full p' c*d 1 c=H.full p f*d 1 f*installed S.ratio K.A0 |
| 93 | nPart : K.mn.acts c*H'.full p' c*d 1 c=(Real.sqrt S.kernel.penalty)⁻¹ • Precision.K (H'.metric.acts c) |
| 94 | oPart : K.o.acts c*H'.full p' c*d 1 c=0 |
| 95 | orthogonal : (installed S.ratio K.mf).transpose * (H.full p f*d 1 f)+ |
| 96 | (K.mn.acts c).transpose * (- Real.sqrt S.kernel.penalty • mean S)=0 |
| 97 | end Towers |
| 98 | |
| 99 | /-- Difference stencil on a cross row, incrementing FINE x in the |
| 100 | Cover. Need only odd L. True path costs can use separate path assignment. |
| 101 | -/ |
| 102 | def forwardC (L : Side) {α β : Type*} (K : Cross L α β) (i : Axis) : Cross L α β := fun a b x => |
| 103 | let q := a.1+step i |
| 104 | let Δ := if lift a.1 i=((L.val/2:ℕ):ℤ) then step i else 0 |
| 105 | K (q,a.2) b (x-Δ)-K a b x |
| 106 | |
| 107 | def advanceC (L : Side) {α β : Type*} (K : Cross L α β) : List Axis → Cross L α β |
| 108 | | [] => K |
| 109 | | i::l => forwardC L (advanceC L K l) i |
| 110 | |
| 111 | def Towers.Deep {L : Side} (K : Towers L) (α C : ℝ) (X : ℕ) : Prop := |
| 112 | K.mn.strip α C ∧ K.o.strip α C ∧ K.mf.strip α (C/(L.val:ℝ)^2) ∧ ∀ l : List Axis, |
| 113 | l.length ≤ X → (advanceC L K.A0 l).strip α (C/(L.val:ℝ)^(1+l.length)) ∧ |
| 114 | (advanceC L K.T l).strip α (C/(L.val:ℝ)^(2+l.length)) |
| 115 | |
| 116 | /-- Compute knot over every N,m then use `MapPrices` depending only j |
| 117 | and actual prechoices; can test both transitions, all sizes/directions jointly. |
| 118 | The filtering quantities on c,f matrices are not dimension-free by defeq. -/ |
| 119 | structure Horizon (a : Levels G) where |
| 120 | H (N m : ℕ) : Bed |
| 121 | towers (N m : ℕ) : Towers (a.S.block m) |
| 122 | |
| 123 | structure MapPrices where |
| 124 | α : ℕ → ℝ |
| 125 | Ω : ℕ → ℝ |
| 126 | η : ℕ → ℝ |
| 127 | alpha_pos i : 0 < α i |
| 128 | eta_pos i : 0 < η i |
| 129 | |
| 130 | namespace Horizon |
| 131 | variable {a : Levels G} |
| 132 | structure Suffices (M : Horizon a) (P : MapPrices) : Prop where |
| 133 | rows N m : m ≤ N → (M.H N m).covered (P.α (a.clock.J m)) (P.Ω (a.clock.J m)) |
| 134 | /-- Require every torus here; binit constructs UNIVERSAL. -/ |
| 135 | all N m : m ≤ N → ∀ n, Floor (M.H N m) (a.params m).clip n (P.η (a.clock.J m)) (P.Ω (a.clock.J m)) |
| 136 | costs N m : m < N → (M.towers N m).Deep (P.α (a.clock.J (m+1))) (P.Ω (a.clock.J (m+1))) (a.clock.J (m+1)-2) |
| 137 | crossings N m p : m < N → Towers.Diagonal (a.clock.op m p) (M.H N (m+1)) (M.H N m) (M.towers N m) |
| 138 | stack N m p : m < N → Towers.Roll (a.clock.op m p) (M.H N (m+1)) (M.H N m) (M.towers N m) (a.params (m+1)).clip (a.params m).clip |
| 139 | top N : ∀ n, (M.H N N).diagonal.acts n=1 |
| 140 | end Horizon |
| 141 | end YM.Precision |