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.Next.EXTRACTION.Detector |
| 2 | import YM.Push.CUTOFF_PROJECTORS.Spectral |
| 3 | |
| 4 | /-! |
| 5 | # Up to actual finite top tests |
| 6 | |
| 7 | Provide more local estimates leading to the optional separation gate. |
| 8 | With (i) the top equation `x_N` coordinates read on the actual local |
| 9 | holonomy probes at N and (ii) a fixed triangular stencil model accurate **on |
| 10 | a finite list of those probes themselves** with a prescribed positive |
| 11 | tolerance (as suggested by ), prove the top margin for using |
| 12 | our gate, uniformly. We don't imply the tolerance is achieved, even along |
| 13 | any subsequence; costs, jet accuracy and the construction of the top |
| 14 | receipts themselves are substantial separate projects. |
| 15 | |
| 16 | Require it as additional exact input; not automatic just by finding |
| 17 | some ComesFrom packet (e.g., how are supports and their possible wrapping |
| 18 | handled?). This assertion is needed here only on an equation parameter |
| 19 | basis; so is numerical accuracy. Use the probe **of the very same |
| 20 | family**, at finite torus anchor and threshold t_N; assess (ii) on jets with |
| 21 | *t_N* slot scaling before testing. Upper inputs may buy much better |
| 22 | powers, or test huge lists, but the list here and tolerance and downstream |
| 23 | singular value do not vary with N or p. |
| 24 | -/ |
| 25 | |
| 26 | set_option autoImplicit false |
| 27 | noncomputable section |
| 28 | namespace YM.Push.CutoffProjectors |
| 29 | open Function Filter Next.Extract Next.Foundations Extraction Labels Lattice Source Wilson |
| 30 | open scoped Topology BigOperators ContDiff Matrix.Norms.Frobenius |
| 31 | |
| 32 | variable {G : Gauge} {C : Family G} {d p N : ℕ} (F : Labels.Frame G d) |
| 33 | |
| 34 | abbrev Lens (G : Gauge) (d : ℕ) := Jet G × Fin (d+1) |
| 35 | |
| 36 | /-- Test linear functional on reference coefficients. -/ |
| 37 | def probe (v : Lens G d) : F.Coeff →L[ℂ] ℂ := |
| 38 | let L := (tier (v.2:ℕ)).comp ((localFields G d).subtype.comp F.coords.symm.toLinearMap) |
| 39 | ((v.2.val.factorial : ℂ) • ((Labels.read v.1).toLinearMap.comp L)).toContinuousLinearMap |
| 40 | |
| 41 | lemma probe_eq (v : Lens G d) (x : F.Coeff) : |
| 42 | probe F v x = iteratedDeriv (v.2:ℕ) |
| 43 | (fun t => Labels.read (scaleJet v.1 t) (F.coords.symm x).val) 0 := by |
| 44 | rw [deriv_read] |
| 45 | change (v.2.val.factorial : ℂ) • (Labels.read v.1 (tier _ (F.coords.symm x).val)) = _ |
| 46 | simp only [Complex.real_smul, Complex.ofReal_natCast, smul_eq_mul] |
| 47 | |
| 48 | /-- Finite computing bank, at each fixed level. Uses no Maxwell detector. -/ |
| 49 | lemma probes_bound : ∃ (I : Finset (Lens G d)) (c : ℝ), 0 < c ∧ ∀ x : F.Coeff, |
| 50 | c * ‖x‖ ≤ ∑ i ∈ I, ‖probe F i x‖ := by |
| 51 | have he (x : F.Coeff) (h : ∀ i, probe F i x = 0) : x = 0 := by |
| 52 | apply F.coords.symm.injective |
| 53 | apply jet_test_ext; intro J k hk |
| 54 | let i : Lens G d := (J,⟨k,Nat.lt_succ_of_le hk⟩) |
| 55 | exact ((probe_eq F i x).symm.trans (h i)).trans ((probe_eq F i 0).symm.trans (map_zero (probe F i))).symm |
| 56 | obtain ⟨I,c,hc,hu⟩ := finite_detectors (ContinuousLinearMap.id ℂ F.Coeff) (probe F) (fun x _ h => he x h) |
| 57 | exact ⟨I,c,hc,fun x => by simpa using hu x⟩ |
| 58 | |
| 59 | def parameters (F : Labels.Frame G d) := Module.finBasis ℂ (equationSpace F) |
| 60 | |
| 61 | namespace Packet |
| 62 | variable (E : Packet C d N p) |
| 63 | |
| 64 | /-- Exact read assertion at N. Use only where fitted (E.ComesFrom, |
| 65 | nonwrapping along Campaign). Includes order 0/flat test; also *true* |
| 66 | smoothness condition along the probes as in Foundations. |
| 67 | -/ |
| 68 | def TopTest (w : equationSpace (C.labels.level d)) := |
| 69 | let F := C.labels.level d |
| 70 | let t : ℝ := C.path.levels.clock.threshold N |
| 71 | JetTest C.params (0 : Site (C.side N p)) (F.coords.symm (F.scaled t⁻¹ (E.topEquation w))) |
| 72 | ((C.S.a N:ℂ)^d • E.Jorigin w) |
| 73 | |
| 74 | /-- Direct test on J. -/ |
| 75 | def amount (w : equationSpace (C.labels.level d)) (i : Lens G d) : ℂ := |
| 76 | let t : ℝ := C.path.levels.clock.threshold N |
| 77 | iteratedDeriv (i.2:ℕ) (fun h => (C.S.a N:ℂ)^d * E.Jorigin w |
| 78 | (C.params.testLinks d (0 : Site (C.side N p)) (t • i.1) h)) 0 |
| 79 | |
| 80 | lemma probed (w : equationSpace (C.labels.level d)) (h : E.TopTest w) (i : Lens G d) : |
| 81 | probe (C.labels.level d) i (E.topEquation w) = E.amount w i := by |
| 82 | let F := C.labels.level d |
| 83 | let t : ℝ := C.path.levels.clock.threshold N |
| 84 | have ht : 0 < t := (C.path.levels.budget N).threshold_pos |
| 85 | let v := E.topEquation w |
| 86 | let u := F.scaled t⁻¹ v |
| 87 | have hh (s : ℝ) : Labels.read (scaleJet (t • i.1) s) (F.coords.symm u).val = |
| 88 | Labels.read (scaleJet i.1 s) (F.coords.symm v).val := by |
| 89 | have hx : scaleJet (t • i.1) s = t • scaleJet i.1 s := funext fun j => smul_comm (s^(j+2)) t (i.1 j) |
| 90 | rw [hx, ← read_frame_scaled (scaleJet i.1 s) F u t, show F.scaled t u = v from F.scaled_inv ht.ne' v] |
| 91 | rw [probe_eq] |
| 92 | have hv : E.amount w i = iteratedDeriv (i.2:ℕ) |
| 93 | (fun h => Labels.read (scaleJet (t • i.1) h) (F.coords.symm u).val) 0 := |
| 94 | (h (t • i.1)).2.2 _ (Nat.le_of_lt_succ i.2.2) |
| 95 | rw [hv]; simp_rw [hh]; rfl |
| 96 | |
| 97 | /-- Additional exact and quantitative inputs. `T` fixed across cutoffs |
| 98 | in the application. No estimates on projected coordinates themselves. -/ |
| 99 | structure Bill (T : Model (C.labels.level d)) (I : Finset (Lens G d)) (ε : ℝ) : Prop where |
| 100 | reads (j) : E.TopTest (parameters (C.labels.level d) j) |
| 101 | near (j) : let F := C.labels.level d |
| 102 | ∀ i ∈ I, ‖E.amount (parameters F j) i - probe F i (T (parameters F j))‖ ≤ ε |
| 103 | end Packet |
| 104 | |
| 105 | -- Precalculate positive tolerances; includes constants for actual coefficient test |
| 106 | -- basis and exact domain norm. |
| 107 | def priorFee : ℝ := 1 + ∑ i, ‖((parameters F).coord i).toContinuousLinearMap‖ |
| 108 | |
| 109 | lemma priorFee_pos : 0 < priorFee F := by unfold priorFee; positivity |
| 110 | |
| 111 | lemma budget {η : ℝ} (L : Model F) (he : 0 ≤ η) (h : ∀ i, ‖L (parameters F i)‖ ≤ η) : |
| 112 | ‖L‖ ≤ priorFee F * η := by |
| 113 | let b := parameters F |
| 114 | let Q := fun i => (b.coord i).toContinuousLinearMap |
| 115 | refine L.opNorm_le_bound (mul_nonneg (priorFee_pos _).le he) fun x => ?_ |
| 116 | have hh i : ‖b.repr x i‖ ≤ ‖Q i‖*‖x‖ := (Q i).le_opNorm x |
| 117 | nth_rw 1 [← b.sum_repr x] |
| 118 | rw [map_sum] |
| 119 | apply (norm_sum_le ..).trans |
| 120 | calc |
| 121 | _ ≤ ∑ i, (‖Q i‖*η*‖x‖) := Finset.sum_le_sum fun i _ => by |
| 122 | rw [map_smul, norm_smul, mul_right_comm] |
| 123 | exact mul_le_mul (hh i) (h i) (norm_nonneg _) (by positivity) |
| 124 | _ = (∑ i, ‖Q i‖)*η*‖x‖ := by simp_rw [Finset.sum_mul] |
| 125 | _ ≤ priorFee F * η * ‖x‖ := by |
| 126 | have hs : ∑ i, ‖Q i‖ ≤ priorFee F := by dsimp only [Q, priorFee,b]; linarith |
| 127 | exact mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right hs he) (norm_nonneg _) |
| 128 | |
| 129 | /-- Pick a finite accuracy gate once, before claiming any cylinder tests |
| 130 | pass it. Then work with estimates at whichever cutoffs/periods are actually |
| 131 | served. The predicate supplied to Bank concerns *actual* local functions and |
| 132 | holonomy/linear jets only. -/ |
| 133 | lemma within_fee (d : ℕ) (T : Model (C.labels.level d)) (σ : ℝ) (ht : 0 < σ) : |
| 134 | ∃ (I : Finset (Lens G d)) (ε : ℝ), 0 < ε ∧ ∀ (N p) (E : Packet C d N p), |
| 135 | E.Bill T I ε → ‖E.topEquation - T‖ ≤ σ := by |
| 136 | let F := C.labels.level d |
| 137 | obtain ⟨I,c,hc,hu⟩ := probes_bound F |
| 138 | let r := σ / priorFee F |
| 139 | let n : ℝ := I.card |
| 140 | let ε := (c*r)/(1+n) |
| 141 | have hn : 0 < 1+n := by dsimp [n]; positivity |
| 142 | have hr : 0 < r := div_pos ht (priorFee_pos F) |
| 143 | have hε : 0 < ε := div_pos (mul_pos hc hr) hn |
| 144 | refine ⟨I, ε, hε, fun N p E h => ?_⟩ |
| 145 | have hi (i) : ‖(E.topEquation-T) (parameters F i)‖ ≤ r := by |
| 146 | let v := parameters F i |
| 147 | let w := E.topEquation v - T v |
| 148 | have ha (j) (hj : j ∈ I) : ‖probe F j w‖ ≤ ε := by |
| 149 | have hk : probe F j w = probe F j (E.topEquation v) - probe F j (T v) := map_sub .. |
| 150 | rw [hk, Packet.probed E v (h.reads i)] |
| 151 | exact h.near i j hj |
| 152 | have hs := (hu w).trans (Finset.sum_le_sum (fun j hj => ha j hj)) |
| 153 | rw [Finset.sum_const,nsmul_eq_mul] at hs |
| 154 | have hv : n*ε ≤ c*r := calc |
| 155 | _ ≤ (1+n)*ε := by linarith |
| 156 | _ = _ := by dsimp [ε]; field_simp |
| 157 | exact le_of_mul_le_mul_left (hs.trans hv) hc |
| 158 | exact (budget F _ hr.le hi).trans (le_of_eq (by dsimp only [r]; field_simp [(priorFee_pos F).ne'])) |
| 159 | |
| 160 | /-- The full optional positive lower gate up to finite hypotheses. -/ |
| 161 | theorem spectral_bank (d : ℕ) (T : Model (C.labels.level d)) (ht : triangular T) : |
| 162 | ∃ (I : Finset (Lens G d)) (ε c : ℝ), 0 < ε ∧ 0 < c ∧ ∀ (N p) (E : Packet C d N p), |
| 163 | E.Bill T I ε → C.Makes → ∀ W : Bid.Worth, Bid.Bank W C.path.levels → |
| 164 | Bid.roomCost C.path.levels W → E.Compares W → E.Separation c := by |
| 165 | let F := C.labels.level d |
| 166 | obtain ⟨r,hr⟩ := has_floor T (triangular_injective _ ht) |
| 167 | obtain ⟨I,ε,hε,hh⟩ := within_fee d T (r/2) (half_pos hr.1) |
| 168 | exact ⟨I,ε,(r/2)/(Packet.loss F),hε,div_pos (half_pos hr.1) (Packet.loss_pos F),fun N p E h H _ he hw hx => |
| 169 | (hr.perturb (hh N p E h)).separation hx he hw H⟩ |
| 170 | |
| 171 | |
| 172 | end YM.Push.CutoffProjectors |