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.AnalyticBridge.VERIFIED_RESET_STEP.Evaluation |
| 2 | |
| 3 | /-! |
| 4 | # Price drift in the projection through the real label census |
| 5 | |
| 6 | No Lipschitz-along-Q or continuity in field across flags assumed. All |
| 7 | pre-mask left jets charged (not derivatives of a Taylor polynomial). These |
| 8 | producer-side hypotheses must hold on the *same* data as the numerator |
| 9 | identity. Further subsequences only for the continuity test in fixed volume. |
| 10 | -/ |
| 11 | set_option autoImplicit false |
| 12 | set_option linter.unnecessarySeqFocus false |
| 13 | noncomputable section |
| 14 | namespace YM.AnalyticBridge.VerifiedReset.Collection |
| 15 | open Function Filter Set Lattice Wilson RG RG.Shoot Ovens Quotes Residual WilsonStartup Averaging Geo Progress.DirectedRecipe Extra.Iteration Push.BetaTransport Push.AbsoluteSums |
| 16 | open scoped Topology Matrix.Norms.Frobenius ContDiff BigOperators Classical |
| 17 | variable {G : Gauge} {n : Side} {R : PathData G} {c : Clip} {p : BudgetPoint} {σ C Λ : ℝ} |
| 18 | {X : Listing G n} |
| 19 | namespace Source |
| 20 | instance : Sub (Source G n) := ⟨fun v w => ⟨v.logRead - w.logRead, v.hardRead - w.hardRead⟩⟩ |
| 21 | end Source |
| 22 | |
| 23 | variable {a b : Source G n} {d v w : ℝ} |
| 24 | lemma projection_drift (g : G.Simple) (h : Projects (X.read a) p v) (h' : Projects (X.read b) p w) |
| 25 | (hd : deviation p (X.read a) (X.read b) d) : p.threshold^2 * |delta (X.read a) - delta (X.read b)| ≤ d := by |
| 26 | obtain ⟨k,k',hk,-,hkE,-⟩ := hd |
| 27 | have hf i := reg_sub (h.regular i) (h'.regular i) |
| 28 | have H : Projects (X.read (a-b)) p d := ⟨hf, k, fun i => (sup_varies (h.regular i) (h'.regular i)).1 (hk i), |
| 29 | fun o => Cost.mono hkE (fun i => by split; exact hkE.1 i; exact le_rfl) fun i => by split; exact le_rfl; exact hkE.1 i⟩ |
| 30 | convert delta_bound g H using 3 |
| 31 | unfold Averaging.delta Averaging.total; rw [← (h.seriesAt g ..).tsum_sub (h'.seriesAt g ..)] |
| 32 | apply tsum_congr; intro i |
| 33 | unfold censusAt; dsimp only [Listing.read]; split |
| 34 | · exact (projection_sub _ (h.regular i) (h'.regular i) ..).symm |
| 35 | ring |
| 36 | |
| 37 | lemma archive_sub (h : ∀ i, p.Regular (X.reg i).support (a.logRead i)) (h' : ∀ i, p.Regular (X.reg i).support (b.logRead i)) |
| 38 | (R : PathData G) (α Δ Δ' : ℝ) (i : EKey n) : archive X R c a α Δ i - archive X R c b α Δ' i = archive X R c (a-b) 0 (Δ-Δ') i := by |
| 39 | rcases i with i|⟨z,d⟩|⟨z,d⟩ |
| 40 | · exact (label_sub _ _ p.threshold _ p (h i) (h' i)).1.symm |
| 41 | · funext V |
| 42 | change d.fresh R c 0 (factor*Δ) _ - d.fresh R c 0 (factor*Δ') _ = d.fresh R c 0 (factor*(Δ-Δ')) _ |
| 43 | rw [mul_sub]; exact congr_fun (Low.fresh_sub R c d 0 _ _) (z.view _) |
| 44 | funext V |
| 45 | change d.fresh R 0 (factor*α) (factor*Δ) _ - d.fresh R 0 (factor*α) (factor*Δ') _ = d.fresh R 0 _ _ _ |
| 46 | rw [mul_zero,mul_sub]; exact (congr_fun (High.fresh_sub R d 0 _ _ _ _) (z.view V)).trans (by rw [sub_self]) |
| 47 | lemma throws_sub (h : ∀ i, p.Regular (X.reg i).support (a.logRead i)) (h' : ∀ i, p.Regular (X.reg i).support (b.logRead i)) |
| 48 | (R : PathData G) (α Δ Δ' : ℝ) (i : LKey n) (U) : loses X R c p a α Δ i U - loses X R c p b α Δ' i U = loses X R c p (a-b) 0 (Δ-Δ') i U := by |
| 49 | rcases i with i|⟨z,d⟩ |
| 50 | · exact congr_fun (label_sub _ _ p.threshold _ p (h i) (h' i)).2.symm U |
| 51 | exact (Low.loan_sub R c d 0 p (factor*α) (factor*Δ) (factor*α) (factor*Δ') (z.view U)).trans (by simp only [sub_self,loses, Sum.elim_inr,Function.comp_apply,mul_zero,← mul_sub]) |
| 52 | |
| 53 | lemma E_dominate (i : EKey n) {d α Δ t A e : ℝ} (he : e ≤ d) (hα : |α+Δ| ≤ t*A) (hΔ : |Δ| ≤ t * |v|) (hA : A=|w+v|) : |
| 54 | quoteE R p c α Δ (fun _ => e) i ≤ (Sum.elim (fun _ => resetLoss G p * d) fun j => t* quoteE R p c w v 0 (.inr j)) i := by |
| 55 | have ht := turnFee_pos p; have hp := p.threshold_pos |
| 56 | rcases i with i|⟨z,b⟩|⟨z,b⟩ |
| 57 | · exact mul_le_mul_of_nonneg_left he (loss_pos ..).le |
| 58 | · exact le_trans (b:= turnFee p * (t* |v| *p.threshold^2) * (|b.mark R c| * lowCost G p (b.length R))) (by |
| 59 | change turnFee p * (|Δ| * p.threshold^2) * (|b.mark R c| * lowCost G p (b.length R)) ≤ _ |
| 60 | have := low_nonneg G p (b.length R); gcongr) (by dsimp [quoteE]; apply le_of_eq; ring) |
| 61 | exact le_trans (b:=turnFee p * (t*A*p.threshold^3) * b.price R p) (by |
| 62 | change turnFee p * (|α+Δ| * p.threshold^3) * _ ≤ _; have := b.price_nn R p; gcongr) (by dsimp [quoteE]; rw [hA]; apply le_of_eq; ring) |
| 63 | lemma L_dominate (i : LKey n) {d α Δ t A e : ℝ} (he : e ≤ d) (hα : |α+Δ| ≤ t*A) (hΔ : |Δ| ≤ t * |v|) (hA : A=|w+v|) : |
| 64 | quoteL R p c α Δ (fun _ => e) i ≤ (Sum.elim (fun _ => resetLoss G p*d) fun j => t * quoteL R p c w v 0 (.inr j)) i := by |
| 65 | rcases i with i|⟨z,b⟩ |
| 66 | · exact mul_le_mul_of_nonneg_left he (loss_pos ..).le |
| 67 | have hp := p.threshold_pos; have hb := pair_nonneg G p |
| 68 | dsimp [quoteL]; rw [← mul_assoc t]; apply mul_le_mul_of_nonneg_right _ (by positivity) |
| 69 | rw [hA] at hα; unfold hitPower |
| 70 | linarith only [mul_le_mul_of_nonneg_right hα hp.le, mul_le_mul_of_nonneg_right hΔ (show 0 ≤ pairBill G p * p.threshold^2 by positivity)] |
| 71 | |
| 72 | structure Compared (X : Listing G n) (p : BudgetPoint) (a : ℝ → Source G n) (T : Set ℝ) : Prop where |
| 73 | values : ∀ x∈T, AtEach p (X.read (a x)) (fun y => X.read (a y)) (𝓝[T] x) |
| 74 | series : ∀ x∈T, Submajorized p (X.read (a x)) (fun y => X.read (a y)) (𝓝[T] x) |
| 75 | namespace Compared |
| 76 | variable {a : ℝ → Source G n} {T : Set ℝ} {H w : ℝ → ℝ} |
| 77 | (g : G.Simple) (L : ∀ x∈T, Local X p (a x) (H x) (w x)) (h : Compared X p a T) |
| 78 | (hx : R.Bounds c σ C Λ) (hc : Decent c p) (hw : Width p c σ) |
| 79 | include h |
| 80 | lemma deviation_at {x : ℝ} (he : x∈T) {ε : ℝ} (hε : 0<ε) : ∀ᶠ y in 𝓝[T] x,deviation p (X.read (a x)) (X.read (a y)) ε := |
| 81 | deviation_submajorized (F:=fun y => X.read (a y)) (Eventually.of_forall fun _ => rfl) (h.values x he) (h.series x he) hε |
| 82 | include g L in |
| 83 | lemma drifting {x : ℝ} (he : x∈T) {ε : ℝ} (hε : 0 < ε) : ∀ᶠ y in 𝓝[T] x, |delta (X.read (a x))-delta (X.read (a y))| ≤ ε := by |
| 84 | filter_upwards [self_mem_nhdsWithin,h.deviation_at he (mul_pos (sq_pos_of_pos p.threshold_pos) hε)] with y hy hq |
| 85 | exact le_of_mul_le_mul_left (projection_drift g (L _ he).projects (L _ hy).projects hq) (sq_pos_of_pos p.threshold_pos) |
| 86 | include g L |
| 87 | include hx hc in |
| 88 | set_option linter.unusedVariables false in |
| 89 | lemma quote_at (α : ℝ) (hn : 20 < n.val) (x : ℝ) (he : x∈T) (ε) (hε : 0<ε) : let Δ y := delta (X.read (a y)); let t y := branch X R c p (a y) α |
| 90 | ∀ᶠ y in 𝓝[T] x, |
| 91 | (∀ i, variesRegular p ((shelves X R p).reg i) ((t x).regular i) ((t y).regular i) (ε * quoteE R p c 0 1 (fun _ => 1) (numbering (EKey n) i))) ∧ |
| 92 | (∀ i U, ‖(t x).logarithm i U - (t y).logarithm i U‖ ≤ ε * quoteL R p c 0 1 (fun _ => 1) (numbering (LKey n) i)) := by |
| 93 | intro Δ t; filter_upwards [h.deviation_at he hε, self_mem_nhdsWithin, h.drifting g L he hε] with y hd hy hq |
| 94 | obtain ⟨u,_,hu,-,hU,-⟩ := hd |
| 95 | have hr i := reg_sub ((L x he).smooth i) ((L y hy).smooth i) |
| 96 | have ht i : p.supBounds (X.reg i).site (X.reg i).support ((a x).logRead i - (a y).logRead i) ε := sup_le |
| 97 | ((sup_varies ((L x he).smooth i) ((L y hy).smooth i)).1 (hu i)) ((p.loMass _ _ (hu i).1).trans (budget_single hU i)) |
| 98 | have hD : |0+(Δ x - Δ y)| ≤ ε*1 := by simpa only [zero_add,mul_one] |
| 99 | have hD' : |Δ x-Δ y| ≤ ε* |(1:ℝ)| := by simpa only [abs_one,mul_one] |
| 100 | constructor |
| 101 | · intro i |
| 102 | apply (sup_varies (((L x he).regFamily g hx hc hn α (Δ x)).smooth i) (((L y hy).regFamily g hx hc hn α (Δ y)).smooth i)).2 |
| 103 | change p.supBounds _ _ (archive X R c (a x) _ _ _ - archive X R c (a y) _ _ _) _ |
| 104 | rw [archive_sub ((L _ he).smooth) ((L _ hy).smooth)] |
| 105 | have H := Local.quote_regular (v:=a x-a y) g hx hc 0 (Δ x-Δ y) (u:=fun _ => ε) ht hr (numbering (EKey n) i) |
| 106 | exact sup_le H ((E_dominate (R:=R) (p:=p) (c:=c) (numbering (EKey n) i) (w:=0) (le_refl ε) hD hD' (by norm_num)).trans_eq |
| 107 | (by rcases numbering (EKey n) i with i|d|d <;> dsimp only [quoteE,Sum.elim_inl,Sum.elim_inr] <;> ring)) |
| 108 | intro i U; change ‖loses X R c p (a x) _ _ _ U - loses X R c p (a y) _ _ _ U‖ ≤ _ |
| 109 | rw [throws_sub ((L _ he).smooth) ((L _ hy).smooth)] |
| 110 | exact (Local.quote_soft (R:=R) (c:=c) (v:=a x-a y) g 0 (Δ x - Δ y) ht hr _ U).trans |
| 111 | ((L_dominate _ (w:=0) (v:=1) (R:=R) (c:=c) (p:=p) (le_refl ε) hD hD' (by norm_num)).trans_eq (by rcases numbering (LKey n) i with i|d <;> dsimp only [quoteL,Sum.elim_inl,Sum.elim_inr] <;> ring)) |
| 112 | end Compared |
| 113 | end YM.AnalyticBridge.VerifiedReset.Collection |