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.UVNext.COUPLING_RESET.Advance |
| 2 | |
| 3 | |
| 4 | set_option warningAsError false |
| 5 | |
| 6 | |
| 7 | set_option linter.unusedSectionVars false |
| 8 | set_option linter.unnecessarySeqFocus false |
| 9 | |
| 10 | /-! |
| 11 | # A precision-to-response currency conversion specific to B70 |
| 12 | |
| 13 | For obtaining `surplus`, if doing pre-reset calculations on the unmasked |
| 14 | `mainTerm`, `loop`, and with **only the quadratic** `secondTerm` at α price, |
| 15 | the two actual output test arguments need no clipping/tail replacements or |
| 16 | sector predicates. (The FINE integration of course still uses all of them.) |
| 17 | Handle the discrepancy here using the bought widths/monetary delays. This is |
| 18 | a value estimate, not a bound on masked E derivatives beyond reset. Exposes |
| 19 | where additional nonperturbative log-contrast estimates on the two vacuum |
| 20 | probes are required **beyond** jet matching and a bound on α relative to the leading log. |
| 21 | No identifying the interacting log with `thermal`! |
| 22 | -/ |
| 23 | |
| 24 | set_option autoImplicit false |
| 25 | noncomputable section |
| 26 | namespace YM.UVNext.CouplingReset |
| 27 | open MeasureTheory Push.PriceCompiler Push.BetaTransport Lattice Wilson RG RG.Shoot RG.Supply Input Precision Filter Function Set |
| 28 | open scoped Topology Matrix.Norms.Frobenius BigOperators |
| 29 | variable {G : Gauge} {n : Side} |
| 30 | |
| 31 | lemma chord_le {P : BudgetPoint} {U : Config G n} (hu : flags P.threshold U = ∅) (p : Face (Per n)) : |
| 32 | G.chord (faceValue U p) ≤ P.threshold := by |
| 33 | by_contra! ht |
| 34 | have h := (flags_spec P.threshold U p.1).mpr ⟨p,List.mem_toFinset.mpr (List.mem_cons_self),ht⟩ |
| 35 | simp [hu] at h |
| 36 | |
| 37 | lemma unmasked_precision {P : BudgetPoint} (D : PathData G) (A : Clip) {V : Config G n} (hV : flags P.threshold V = ∅) : |
| 38 | kinetic D A P V = mainTerm A D V ∧ D.inChannels A P 0 V = loop D V ∧ ∀ s : Signed, |
| 39 | quadratic A D (pull s 0 V) = ∑ f, D.baseTerm A P (pull s 0 V) f := by |
| 40 | have hh (s : Signed) p : G.chord (faceValue (pull s 0 V) p) ≤ P.threshold := |
| 41 | (Face.send_price V _ _ _ G.chord G.chord_inv (fun k g => G.chord_conj g k)).trans_le (chord_le hV _) |
| 42 | have hk (s : Signed) (p : Face (Per n)) : PathData.kept A P.threshold p.1 (pull s 0 V) := fun f => |
| 43 | (hh s f).trans <| le_mul_of_one_le_right P.threshold_pos.le <| Real.one_le_exp (div_nonneg (Nat.cast_nonneg _) A.radius_pos.le) |
| 44 | have hb (s : Signed) : quadratic A D (pull s 0 V) = ∑ f, D.baseTerm A P (pull s 0 V) f := by |
| 45 | refine Finset.sum_congr rfl fun f _ => ?_ |
| 46 | rw [PathData.baseTerm,PathData.clipped,if_pos (hh ..),if_pos (hk s f), G.chord_price]; ring |
| 47 | have hs {k : ℕ} (s : Signed) (F : ℕ → Atom G k) : ∑ x : Site n, PathData.atomSeries F P (pull s 0 V) x = uncut F (pull s 0 V) := by |
| 48 | refine Finset.sum_congr rfl fun x _ => tsum_congr fun i => masked_eq _ _ _ _ ?_ |
| 49 | simp [Healthy,flags_empty (hh s)] |
| 50 | simp [kinetic,mainTerm,loop, Patch.average,Finset.sum_add_distrib,PathData.inChannels,PathData.principal,← hb,hs,add_assoc] |
| 51 | |
| 52 | lemma higher_estimate {P : BudgetPoint} {D : PathData G} {A : Clip} {σ C Λ : ℝ} (hD : D.Bounds A σ C Λ) |
| 53 | {V : Config G n} (hV : flags P.threshold V = ∅) : |
| 54 | |kinetic D A P V - secondTerm A D V| ≤ sites n * (2*C*P.threshold^3) := by |
| 55 | obtain ⟨-, -, hb⟩ := unmasked_precision D A hV |
| 56 | have hC : 0 ≤ C := (tsum_nonneg hD.three.1).trans hD.three.2.2 |
| 57 | have he (s : Signed) (x : Site n) : |
| 58 | |PathData.atomSeries D.cubic P (pull s 0 V) x + PathData.atomSeries D.quartic P (pull s 0 V) x| ≤ 2*C*P.threshold^3 := by |
| 59 | refine (abs_add_le ..).trans ((add_le_add (atomVolume _ _ _ _ hD.width hD.three) |
| 60 | (atomVolume _ _ _ _ hD.width hD.four)).trans ?_) |
| 61 | have ht := pow_le_pow_of_le_one P.threshold_pos.le P.threshold_le (by norm_num : (3:ℕ) ≤ 4) |
| 62 | linarith only [mul_le_mul_of_nonneg_left ht hC] |
| 63 | simp only [kinetic,secondTerm,Patch.average,hb] |
| 64 | rw [← mul_sub]; change |(Fintype.card Signed : ℝ)⁻¹ * _| ≤ _ |
| 65 | rw [abs_mul,abs_of_nonneg (inv_nonneg.mpr (Nat.cast_nonneg _)),inv_mul_le_iff₀ (Nat.cast_pos.mpr Fintype.card_pos), |
| 66 | Finset.sum_add_distrib,add_sub_cancel_left] |
| 67 | refine (Finset.abs_sum_le_sum_abs ..).trans ((Finset.sum_le_sum fun s (_ : s∈Finset.univ) => |
| 68 | (Finset.abs_sum_le_sum_abs ..).trans (Finset.sum_le_sum fun x _ => he s x)).trans_eq ?_) |
| 69 | simp [sites] |
| 70 | |
| 71 | lemma late_cubic (C : ℝ) : ∀ᶠ x : ℝ in atTop, C * (Vac.Numbers.theta x)^3 ≤ (Vac.Numbers.Hat x) ^ ((11:ℝ)/5) := by |
| 72 | filter_upwards [Vac.Numbers.cost 3 (1/5) (by norm_num), (tendsto_rpow_atTop (by norm_num : (0:ℝ)<1/5)).eventually_ge_atTop C, |
| 73 | eventually_gt_atTop (0:ℝ)] with x he h hx |
| 74 | change C ≤ x ^ ((1:ℝ)/5) at h |
| 75 | have hP : (mon x)^ (3:ℕ) ≤ x^((1:ℝ)/5) := by simpa using (show _ ≤ _ from he : Vac.Numbers.P x ^ ((3:ℕ):ℝ) ≤ x^((1:ℝ)/5)) |
| 76 | have ht : Vac.Numbers.Hat x = x^(-(1/2:ℝ)) := by rw [Vac.Numbers.Hat,Real.sqrt_eq_rpow,Real.rpow_neg hx.le] |
| 77 | unfold Vac.Numbers.theta; rw [ht, mul_pow, ← Real.rpow_natCast (x^(-(1/2:ℝ))) 3, ← Real.rpow_mul hx.le, |
| 78 | ← Real.rpow_mul hx.le] |
| 79 | calc |
| 80 | _ ≤ x^((1:ℝ)/5) * (x^(-(1/2:ℝ)*((3:ℕ):ℝ)) * x^((1:ℝ)/5)) := by have := mon_pos x; unfold mon at this; gcongr |
| 81 | _ = _ := by rw [← Real.rpow_add hx,← Real.rpow_add hx]; norm_num |
| 82 | |
| 83 | variable {c : Sheet G} {D : Rolls c} {Θ : Protection D} {W : Delays Θ} {Y : Bar W} {I : Wait Y} |
| 84 | {Z : ChartRatio G} {K : MapPrices} {P : PostCost D} {B : Directed G I Z K P} {η : ℕ → ℝ} {q : ResetPrices} |
| 85 | {s : Set ℝ} {N m p : ℕ} {F : Terms B.a m p} {Q : In B.a m p} {V : Config G (B.a.S.side m p)} |
| 86 | |
| 87 | def alphaBound (D : Rolls c) (j : ℕ) := (c.profile j).drift + |G.slopeConstant * Real.log (D.L j).val| |
| 88 | |
| 89 | lemma within_alpha (hm : m < N) : |B.kin.alpha N m| ≤ alphaBound D (B.a.clock.J (m+1)) := by |
| 90 | have he := B.support.kinetic N m hm |
| 91 | rw [params_eq B.valid, block_eq B.valid] at he |
| 92 | unfold alphaBound; have h := abs_sub ((B.kin.alpha N m)+G.slopeConstant*Real.log (D.L (B.a.clock.J (m+1))).val) |
| 93 | (G.slopeConstant*Real.log (D.L (B.a.clock.J (m+1))).val) |
| 94 | rw [add_sub_cancel_right] at h; linarith |
| 95 | |
| 96 | def CubicGate (D : Rolls c) (q : ResetPrices) (j i : ℕ) (x : ℝ) := |
| 97 | alphaBound D j * (2 * (c.profile i).paths * (Vac.Numbers.theta x)^3) ≤ |
| 98 | q.cost j i / 2 * Vac.Numbers.Hat x ^ ((11:ℝ)/5) |
| 99 | |
| 100 | theorem delay_cubic (D : Rolls c) (q : ResetPrices) (e : ℕ → ℝ) : |
| 101 | ∃ f, Monotone f ∧ e ≤ f ∧ ∀ j x, f j ≤ x → ∀ i, StepStages j i → CubicGate D q j i x := by |
| 102 | refine collect_upper e _ fun j => eventually_transitions _ _ _ fun i _ => ?_ |
| 103 | have hp : 0 < q.cost j i := q.cost_pos .. |
| 104 | filter_upwards [late_cubic (4 * alphaBound D j * (c.profile i).paths / q.cost j i)] with x hx |
| 105 | unfold CubicGate |
| 106 | rw [div_mul_eq_mul_div, div_le_iff₀ hp] at hx; linarith |
| 107 | |
| 108 | theorem pays_cubic (B : Directed G I Z K P) (hg : ∀ j x, W.betaEntry j ≤ x → ∀ i, StepStages j i → CubicGate D q j i x) |
| 109 | (hm : m < N) : |
| 110 | |B.kin.alpha N m| * (2 * (B.a.params m).paths * (B.a.budget m).threshold^3) ≤ funds B.a m q / 2 := by |
| 111 | have hp := hg _ _ (B.valid.pays m) _ (step_paid B.a m) |
| 112 | have h := (within_alpha (B:=B) hm) |
| 113 | have he := (B.a.budget m).threshold_pos; have hc := (B.a.params m).paths_pos |
| 114 | refine (mul_le_mul_of_nonneg_right h (by positivity)).trans ?_ |
| 115 | rw [params_eq B.valid, funds, mul_div_right_comm] |
| 116 | exact hp |
| 117 | |
| 118 | /-- Output test using *unmasked* (kinematic + one-loop) price prior to |
| 119 | higher-atom reset. Simplifications valid on THIS argument only. -/ |
| 120 | def vacuumError (B : Directed G I Z K P) (N : ℕ) {m p : ℕ} (Q : In B.a m p) (V : Config G (B.a.S.side m p)) x := |
| 121 | let R := B.kin.path N m; let γ := (B.a.params m).clip |
| 122 | ((Q x).beta * mainTerm γ R V + B.kin.alpha N m * secondTerm γ R V + loop R V) - contrast (target Q) V x |
| 123 | |
| 124 | lemma pays_surplus (hg : ∀ j x, W.betaEntry j ≤ x → ∀ i, StepStages j i → CubicGate D q j i x) {x : ℝ} |
| 125 | (hm : m < N) (hV : flags (B.a.budget m).threshold V = ∅) |
| 126 | (h : |vacuumError B N Q V x| ≤ sites (B.a.S.side m p) * (funds B.a m q / 2)) : let A := board B N F |
| 127 | |predictor B N Q x * A.leg V + A.background V - contrast (target Q) V x| ≤ sites (B.a.S.side m p) * funds B.a m q := by |
| 128 | intro A; change |predictor B N Q x * kinetic (B.bake.path N m) _ _ V + (B.bake.path N m).inChannels _ _ _ V - contrast (target Q) V x| ≤ _ |
| 129 | rw [B.bases]; have hD := B.support.cap N m hm.le |
| 130 | let R := B.kin.path N m; let γ := (B.a.params m).clip |
| 131 | let E := kinetic R γ (B.a.budget m) V |
| 132 | obtain ⟨h1,h2,-⟩ := unmasked_precision R γ hV |
| 133 | have hf := higher_estimate hD hV |
| 134 | have hc := pays_cubic B hg hm |
| 135 | let n := B.a.S.side m p |
| 136 | have H : |B.kin.alpha N m * (E-secondTerm γ R V)| ≤ sites n * (funds B.a m q / 2) := by |
| 137 | rw [abs_mul]; have hh := mul_le_mul_of_nonneg_left hf (abs_nonneg (B.kin.alpha N m)); exact hh.trans (by |
| 138 | linarith only [mul_le_mul_of_nonneg_left hc (sites_pos n).le]) |
| 139 | unfold vacuumError at h |
| 140 | change |predictor B N Q x * kinetic R γ (B.a.budget m) V + R.inChannels γ (B.a.budget m) 0 V - contrast (target Q) V x| ≤ _ |
| 141 | rw [h1,h2,predictor]; dsimp only [E] at H; rw [h1] at H |
| 142 | have ⟨hu,hv⟩ := abs_le.mp h; have ⟨hw,hW⟩ := abs_le.mp H |
| 143 | exact abs_le.mpr ⟨by dsimp only [R,γ,n] at *; linarith only [hu,hw],by dsimp only [R,γ,n] at *; linarith only [hv,hW]⟩ |
| 144 | end YM.UVNext.CouplingReset |