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.OPE.Log.PricePlot |
| 2 | import YM.Trace2.Transfer |
| 3 | import YM.SharpGram.Prices.FirstFloor |
| 4 | /-! Fixed-field estimates for unit inputs at every horizon, for all inputs through grade three, and for outputs of weight at most three. -/ |
| 5 | set_option autoImplicit false |
| 6 | noncomputable section |
| 7 | namespace YM.SharpGram |
| 8 | open Function Set Filter Lattice RG Wilson MergeProof Bid Source Extra.Histories Next.UVStress |
| 9 | open Extraction OPE OPE.Log |
| 10 | open scoped Topology BigOperators |
| 11 | variable {G : Gauge} {C : Family G} {f : Extraction.Order} {S : Table C.book} (U : Spec.Final C f S) |
| 12 | variable {W r D} (T : TableTickets C W r D) (h : C.Makes) {d k p N : ℕ} |
| 13 | |
| 14 | -- shorthand clauses in physical *field space*, quantifiers of the exact ticket |
| 15 | set_option quotPrecheck false |
| 16 | local notation "Φ" => Filter (ℕ × ℕ) |
| 17 | |
| 18 | def Supplies (C : Family G) {S : Table C.book} (φ : Filter (ℕ × ℕ)) (d : ℕ) (x : S.Field d) : Prop := |
| 19 | ∃ p : ℕ, ∀ᶠ k : ℕ in atTop, ∃ (y : C.label d) (q : ℕ×ℕ → C.label d), |
| 20 | S.project d y = x ∧ Tendsto q φ (𝓝 y) ∧ |
| 21 | ∀ᶠ i in φ, quota C d k i.1 i.2 (q i) ≤ C.path.levels.clock.hatBeta k^p |
| 22 | |
| 23 | def Releases (C : Family G) {S : Table C.book} (φ : Φ) (d w : ℕ) (L : S.Field d →ₗ[ℂ] ℂ) : Prop := |
| 24 | ∃ p : ℕ, ∀ᶠ k in atTop, ∀ (u : Φ) [u.NeBot], u ≤ φ → |
| 25 | ∀ (q : ℕ×ℕ → C.label d) (x : C.label d) (z : ℝ), (∀ᶠ i in u, quota C d k i.1 i.2 (q i) ≤ z) → |
| 26 | Tendsto q u (𝓝 x) → ‖L (S.project d x)‖ ≤ C.path.levels.clock.hatBeta k^p / C.S.a k^(d-w) * z |
| 27 | |
| 28 | def Kills (B : DiffPlan S) {d w : ℕ} (hw : w ≤ d) (L : S.Field d →ₗ[ℂ] ℂ) : Prop := |
| 29 | ∀ e : ℕ, ∀ he : e < w, ∀ x : S.Field e, L (B.rise (he.le.trans hw) x)=0 |
| 30 | |
| 31 | lemma quota_nonneg (x : C.label d) : 0 ≤ quota C d k N p x := Work.G08.size_nonneg .. |
| 32 | include h |
| 33 | lemma quota_smul (t : ℂ) (x : C.label d) (hk : C.ref d ≤ k) (hx : k ≤ N) : |
| 34 | quota C d k N p (t • x) = ‖t‖ * quota C d k N p x := by |
| 35 | obtain ⟨ht,he⟩ := (h.calibrated d N p (hk.trans hx)).linear k hk hx |
| 36 | unfold quota |
| 37 | rw [map_smul, show ((C.factory d N p).entries k _).x = _ from ht.map_smul t ((C.factory d N p).terminal.symm x), Size.smul] |
| 38 | lemma quota_unit (hk : C.ref d ≤ k) (hx : k ≤ N) : |
| 39 | quota C d k N p (C.refUnit d) = C.S.a k ^ d := by |
| 40 | let F := C.labels.level d |
| 41 | have hB := h.calibrated d N p (hk.trans hx) |
| 42 | unfold quota |
| 43 | have ht : (C.factory d N p).terminal.symm (C.refUnit d) = unitVec F C.path N := by |
| 44 | apply LinearEquiv.injective (C.factory d N p).terminal |
| 45 | rw [LinearEquiv.apply_symm_apply, ← hB.reads, hB.unit_coord (C.ref d) le_rfl (hk.trans hx)] |
| 46 | rw [ht, hB.unit_coord k hk hx] |
| 47 | change F.coeffSize ((C.S.a k:ℂ)^d • F.e0) = _ |
| 48 | rw [Size.smul, norm_pow,Complex.norm_real,Real.norm_of_nonneg (C.S.a_pos k).le, show F.coeffSize F.e0=1 from Size.size_axis F 0, mul_one] |
| 49 | |
| 50 | omit h |
| 51 | variable (hG : G.Simple) {φ : Φ} (hf : φ ≤ f.fuse) |
| 52 | include hG hf |
| 53 | include h |
| 54 | lemma supplyUnit (t : ℂ) : Supplies C φ d (t • S.unit d) := by |
| 55 | refine ⟨1, ?_⟩ |
| 56 | filter_upwards [eventually_ge_atTop (C.ref d),(Next.Rank.Station.hat_rate C.path.levels hG).eventually_ge_atTop ‖t‖, |
| 57 | C.S.shrinks.eventually (ge_mem_nhds zero_lt_one)] with k hk hK hx |
| 58 | refine ⟨t • C.refUnit d,fun _ => t • C.refUnit d, by rw [map_smul]; rfl,tendsto_const_nhds,?_⟩ |
| 59 | filter_upwards [((Push.RelayDifference.cutoff_grows f).mono_left hf).eventually_ge_atTop k] with i hi |
| 60 | rw [quota_smul h t (C.refUnit d) hk hi,quota_unit h hk hi,pow_one] |
| 61 | exact (mul_le_of_le_one_right (norm_nonneg _) (pow_le_one₀ (C.S.a_pos k).le hx)).trans hK |
| 62 | |
| 63 | omit h |
| 64 | include T h |
| 65 | omit hf in |
| 66 | /-- Sharper constant test (project AFTER core identity). Uniform at cutoff on |
| 67 | reference-normalized vectors. `L` really descends to the physical field space. -/ |
| 68 | theorem coreRead (L : S.Field d →ₗ[ℂ] ℂ) (hL : L (S.unit d) = 0) |
| 69 | (x : C.label d) (hr : C.ref d ≤ k) (hk : k ≤ N) : |
| 70 | let M := LinearMap.toContinuousLinearMap (L.comp (S.project d)) |
| 71 | ‖L (S.project d x)‖ ≤ ‖M‖ * ((C.S.a (C.ref d) / C.S.a k)^(d-3) * coreQuota C d k N p x) := by |
| 72 | intro M |
| 73 | let F := C.labels.level d |
| 74 | have hv : M F.e0=0:= by |
| 75 | have hb : (((C.S.a (C.ref d):ℂ))^d) ≠ 0 := pow_ne_zero _ (by exact_mod_cast (C.S.a_pos (C.ref d)).ne') |
| 76 | refine (mul_eq_zero.mp ?_).resolve_left hb |
| 77 | change (↑(C.S.a (C.ref d)):ℂ)^d • M F.e0=0 |
| 78 | rw [← map_smul] |
| 79 | exact hL |
| 80 | change ‖M x‖ ≤ _ |
| 81 | rw [show M x = M (F.core x) from ?_] |
| 82 | · refine (M.le_opNorm _).trans |
| 83 | (mul_le_mul_of_nonneg_left (referenceCore T h hG x hr hk) (norm_nonneg _)) |
| 84 | nth_rw 1 [← Size.core_plus F x] |
| 85 | rw [map_add, map_smul, hv, smul_zero, add_zero] |
| 86 | |
| 87 | lemma physicalRelease (w : ℕ) (L : S.Field d →ₗ[ℂ] ℂ) (hw : w ≤ 3) |
| 88 | (hp : 0 < w → L (S.unit d)=0) : Releases C φ d w L := by |
| 89 | let M := LinearMap.toContinuousLinearMap (L.comp (S.project d)) |
| 90 | let j := if w=0 then d else d-3 |
| 91 | let a := C.S.a (C.ref d) |
| 92 | have ha : 0 < a := C.S.a_pos _ |
| 93 | refine ⟨1,?_⟩ |
| 94 | filter_upwards [eventually_ge_atTop (C.ref d), (Next.Rank.Station.hat_rate C.path.levels hG).eventually_ge_atTop (‖M‖ * a^j), |
| 95 | C.S.shrinks.eventually (ge_mem_nhds zero_lt_one)] with k hk hK hx u hu hf' q x z hq hV |
| 96 | let l := C.S.a k |
| 97 | have hl : 0 < l := C.S.a_pos _ |
| 98 | have hc : 0 ≤ z := by obtain ⟨i,hi⟩ := hq.exists; exact (quota_nonneg ..).trans hi |
| 99 | apply le_trans (b:= ‖M‖ * ((a/l)^j * z)) ?_ ?_ |
| 100 | · change ‖M x‖ ≤ _ |
| 101 | apply le_of_tendsto ((M.continuous.continuousAt.tendsto.comp hV).norm) |
| 102 | filter_upwards [hq, ((Push.RelayDifference.cutoff_grows f).mono_left (hf'.trans hf)).eventually_ge_atTop k] |
| 103 | with i hi he |
| 104 | by_cases hz : w=0 |
| 105 | · have hh := reference (p:=i.2) T h (q i) hk he |
| 106 | exact (M.le_opNorm _).trans (mul_le_mul_of_nonneg_left (hh.trans (by unfold j; rw [if_pos hz]; exact mul_le_mul_of_nonneg_left hi (by change 0 ≤ (a/l)^_; positivity))) (norm_nonneg _)) |
| 107 | have he' := coreRead T h hG L (hp (Nat.pos_of_ne_zero hz)) (q i) hk (p:=i.2) he |
| 108 | rw [show j=d-3 from if_neg hz] |
| 109 | exact he'.trans (mul_le_mul_of_nonneg_left (mul_le_mul_of_nonneg_left ((coreQuota_le _).trans hi) (pow_pos (div_pos ha hl) _).le) (norm_nonneg _)) |
| 110 | rw [← mul_assoc,div_pow, ← mul_div_assoc,pow_one] |
| 111 | apply mul_le_mul_of_nonneg_right _ hc |
| 112 | apply le_trans (div_le_div_of_nonneg_right hK (pow_pos hl j).le) |
| 113 | refine div_le_div_of_nonneg_left (zero_le_one.trans (C.path.levels.fits.delayed k).le) (pow_pos hl _) ?_ |
| 114 | apply pow_le_pow_of_le_one hl.le hx |
| 115 | by_cases h0 : w=0 |
| 116 | · simp [j,h0] |
| 117 | dsimp only [j]; rw [if_neg h0]; omega |
| 118 | omit h |
| 119 | include U -- T available |
| 120 | lemma outletFirst {w : ℕ} (L : S.Field d →ₗ[ℂ] ℂ) (hw : w ≤ d) (he : w ≤ 3) |
| 121 | (hp : Kills (C:=C) U.sector.derivatives hw L) : Releases C φ d w L := by |
| 122 | apply physicalRelease T U.room.cutoff hG hf w L he -- order inspect |
| 123 | intro h'; rw [← U.sector.derivatives.fixs U.phase.transport.injection U.room.kernel.laws (Nat.zero_le d)] |
| 124 | exact hp 0 h' _ |
| 125 | omit T |
| 126 | lemma inletFirst (x : C.label d) (hd : d ≤ 3) : Supplies C φ d (S.project d x) := by |
| 127 | obtain ⟨t,h'⟩ := Trace.first_grade U hG (by omega : d < 4) (S.project d x) |
| 128 | rw [h'] |
| 129 | exact supplyUnit U.room.cutoff hG hf _ |
| 130 | end YM.SharpGram |