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.Geometry |
| 2 | import YM.AnalyticBridge.VERIFIED_RESET_STEP.Placement |
| 3 | import YM.Push.ABSOLUTE_SUMS.Footprint |
| 4 | import YM.Push.LOCAL_SPLITTING.Merge |
| 5 | import YM.Push.PRICE_COMPILER.Canonical |
| 6 | import YM.Push.PRICE_COMPILER.Support |
| 7 | |
| 8 | /-! Summability across (path,site,seat) and all raw residual records with |
| 9 | absolute addresses. The bills in `soft` already ask a stronger exponent (+1) |
| 10 | for the final H01 fusion. This is an output *step-local* exponent, not a |
| 11 | loan from the NEXT call. -/ |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | namespace YM.AnalyticBridge.VerifiedReset |
| 15 | open Function Filter Set Lattice Wilson RG Push.AbsoluteSums Extra.Iteration Geo Residual |
| 16 | open scoped Topology Matrix.Norms.Frobenius ContDiff BigOperators Classical |
| 17 | variable {G : Gauge} {n : Side} {p : BudgetPoint} |
| 18 | |
| 19 | namespace Quotes |
| 20 | abbrev anchored {ι : Type*} (p : BudgetPoint) (X : ι → RegularAddress n) (k : ι → ℝ) (c : ℝ) := |
| 21 | ∀ o, SumBudget (fun i => if (X i).site=o then p.mass (X i).support (k i) else 0) c |
| 22 | def preExponent (p : BudgetPoint) := p.supportExponent+3 |
| 23 | abbrev early {ι : Type*} (p : BudgetPoint) (X : ι → RegularAddress n) (k : ι → ℝ) (c : ℝ) := |
| 24 | Footprint.Anchored (fun i => (X i).site) k (fun i => coverNumber p.B (X i).support) (preExponent p) c |
| 25 | def resetFee (G : Gauge) (p : BudgetPoint) := Real.exp (81*p.supportExponent)*resetLoss G p |
| 26 | def softReset (G : Gauge) (p : BudgetPoint) (H : ℝ) := |
| 27 | Footprint.payment 1 (4*p.B+2) 0 1 (resetLoss G p) H (p.supportExponent+1) 81 |
| 28 | lemma segment {ι : Type*} (X : ι → RegularAddress n) {k : ι → ℝ} {c : ℝ} (h : ∀ i, 0 ≤ k i) (hh : early p X k c) : |
| 29 | anchored p X k c := by |
| 30 | intro o; refine Cost.mono (hh o) (fun i => ?_) fun i => ?_ |
| 31 | · unfold BudgetPoint.mass; have h := h i; split <;> positivity |
| 32 | split |
| 33 | next he => rw [BudgetPoint.mass,mul_comm (k _)]; gcongr |
| 34 | · exact h i |
| 35 | unfold preExponent; linarith |
| 36 | exact le_rfl |
| 37 | lemma enlarging (G : Gauge) (X : ℕ → RegularAddress n) {k : ℕ → ℝ} {c : ℝ} |
| 38 | (hB : 2 ≤ p.B) (h : ∀ i, 0 ≤ k i) (hh : early p X k c) : |
| 39 | anchored p (enlarges ∘ X) (fun i => resetLoss G p*k i) (resetFee G p*c) ∧ Ac.Hit (expand ∘ X) p.B (fun i => resetLoss G p*k i) |
| 40 | (p.supportExponent+1) (softReset G p c) := by |
| 41 | have hz := loss_pos G p |
| 42 | have he := p.exponent_pos |
| 43 | have ht := segment X h hh |
| 44 | refine ⟨fun o => ?_,?_⟩ |
| 45 | · refine Cost.mono (Cost.scale (ht o) (resetFee G p) (by unfold resetFee; positivity)) ?_ ?_ |
| 46 | · intro i; split |
| 47 | · unfold BudgetPoint.mass; have := h i; positivity |
| 48 | exact le_rfl |
| 49 | intro i; dsimp [enlarges,BudgetPoint.mass,resetFee]; split |
| 50 | next _ => |
| 51 | have hi := enlarge p (X i) hB; rw [mul_mul_mul_comm, ← Real.exp_add]; gcongr |
| 52 | · exact mul_nonneg hz.le (h i) |
| 53 | exact le_trans (mul_le_mul_of_nonneg_left (by exact_mod_cast hi : (coverNumber p.B (expand (X i)) : ℝ) ≤ coverNumber p.B (X i).support + 81) he.le) (by linarith) |
| 54 | rw [mul_zero] |
| 55 | exact Footprint.assigned id 1 (fun Y : Support n => by simp) _ _ h _ _ hh _ 0 _ (fun i x hx => enlarged_dist p _ x hx) |
| 56 | (fun i => by rw [one_mul,add_comm]; exact_mod_cast enlarge p (X i) hB) hz.le ⟨by linarith,by norm_num,by unfold preExponent; linarith⟩ |
| 57 | _ (fun i => mul_nonneg hz.le (h i)) (by simp) |
| 58 | |
| 59 | def anchoredFee (p : BudgetPoint) (count : ℕ) := (Fintype.card Signed : ℝ) * Real.exp (p.supportExponent*count) |
| 60 | |
| 61 | lemma channel_mass {ι : Type*} (l : ι → ℕ) (X : ι → Support n) (g : ι → ℝ) (hg : ∀ i, 0 ≤ g i) |
| 62 | {σ C : ℝ} (h : SumBudget (fun i => g i * Real.exp ((σ/2)*l i)) C) (count : ℕ) |
| 63 | (hM : p.supportExponent/p.B ≤ σ/2) (he : ∀ i, p.B*coverNumber p.B (X i) ≤ p.B*count + l i) : |
| 64 | ∀ o : Site n, SumBudget (fun i : Seat n × ι => if i.1.2 = o then p.mass (i.1.spread (X i.2)) (g i.2) else 0) (anchoredFee p count*C) := by |
| 65 | intro o |
| 66 | let A := p.supportExponent |
| 67 | have hC := Cost.nonneg h |
| 68 | have hp : 0 < (p.B:ℝ) := Nat.cast_pos.mpr p.B_pos |
| 69 | have hx (s : Seat n) : SumBudget (fun i => p.mass (s.spread (X i)) (g i)) (Real.exp (A*count) * C) := by |
| 70 | refine Cost.mono (Cost.scale h _ (Real.exp_pos _).le) ?_ ?_ |
| 71 | · exact fun i => mul_nonneg (Real.exp_pos _).le (hg i) |
| 72 | intro i; rw [BudgetPoint.mass, Seat.visit_count,mul_comm (g _), ← mul_assoc,← Real.exp_add]; gcongr |
| 73 | · exact hg i |
| 74 | have hl : (coverNumber p.B (X i):ℝ) ≤ count + (l i:ℝ)/p.B := by |
| 75 | have hi := he i |
| 76 | apply le_of_mul_le_mul_left (a:=(p.B:ℝ)) _ hp; rw [mul_add,mul_div_cancel₀ _ hp.ne']; exact_mod_cast hi |
| 77 | exact (mul_le_mul_of_nonneg_left hl p.exponent_pos.le).trans (by dsimp [A]; rw [mul_add,mul_div_left_comm,mul_comm (l i:ℝ)]; gcongr) |
| 78 | rw [anchoredFee,mul_assoc]; apply Cost.product (f:=fun v : Seat n => if v.2=o then Real.exp (A*count)*C else 0) |
| 79 | · refine Cost.product (Cost.finite (α:=Signed) _ (by positivity)) (fun i => ⟨fun j => ?_,Summable.of_finite,?_⟩) |
| 80 | · dsimp only; split <;> positivity |
| 81 | rw [tsum_fintype]; simp [A] |
| 82 | intro i; by_cases hi : i.2 = o |
| 83 | · simpa [hi] using hx i |
| 84 | simp [hi,SumBudget] |
| 85 | |
| 86 | lemma channel_anchored {ι : Type*} (l : ι → ℕ) (g : ι → ℝ) (_hg : ∀ i, 0 ≤ g i) {σ C : ℝ} |
| 87 | (h : SumBudget (fun i => g i * Real.exp (σ*l i)) C) : |
| 88 | Footprint.Anchored (fun i : Seat n × ι => i.1.2) (fun i => g i.2) (fun i => l i.2) σ ((Fintype.card Signed : ℝ)*C) := by |
| 89 | intro o |
| 90 | have hC := budget_nonneg h |
| 91 | refine Cost.product (f:=fun v : Seat n => if v.2=o then C else 0) ?_ ?_ |
| 92 | · refine Cost.product (Cost.finite _ hC) (fun i => ⟨fun j => by dsimp only; split <;> positivity,Summable.of_finite,?_⟩) |
| 93 | rw [tsum_fintype]; simp |
| 94 | intro i; by_cases hi : i.2 = o |
| 95 | · simpa [hi] |
| 96 | simp [hi,SumBudget] |
| 97 | lemma anchored_scale {ι : Type*} {X : ι → RegularAddress n} {k : ι → ℝ} {c r : ℝ} (hr : 0 ≤ r) (h : anchored p X k c) : |
| 98 | anchored p X (fun i => r*k i) (r*c) := fun o => by simpa [BudgetPoint.mass,mul_ite,mul_left_comm r] using Cost.scale (h o) _ hr |
| 99 | lemma hit_scale {ι : Type*} {X : ι → Support n} {k : ι → ℝ} {c r : ℝ} {B : ℕ} {a : ℝ} (hr : 0 ≤ r) (h : Ac.Hit X B k a c) : |
| 100 | Ac.Hit X B (fun i => r*k i) a (r*c) := fun o => by simpa [mul_ite,← mul_assoc] using Cost.scale (h o) _ hr |
| 101 | |
| 102 | variable (G) |
| 103 | def lowEntry (R : PathData G) (p : BudgetPoint) (i : Seat n × Low) := i.1.reg (i.2.home R p 0) (i.2.small_home ..) |
| 104 | def highEntry (R : PathData G) (i : Seat n × High) := i.1.reg (i.2.home R 0) (High.small_home ..) |
| 105 | def lowBase (c : Clip) (p : BudgetPoint) (σ C : ℝ) := anchoredFee p lowCount * (lowFee G p σ * lowerSize c C) |
| 106 | def highBase (p : BudgetPoint) (σ C : ℝ) := anchoredFee p highCount * (both G p σ * (C+C)) |
| 107 | def lowHard (p : BudgetPoint) (c : Clip) (σ C : ℝ) := |
| 108 | Footprint.payment 1 p.B 0 (σ/4) 1 (Fintype.card Signed * lowerSize c C) (p.supportExponent+1) lowCount |
| 109 | lemma rows (R : PathData G) (c : Clip) (p : BudgetPoint) {σ C Λ : ℝ} (h : R.Bounds c σ C Λ) (hw : Width p c σ) : |
| 110 | anchored p (n:=n) (lowEntry G R p) (fun i => |i.2.mark R c| * lowCost G p (i.2.length R)) (lowBase G c p σ C) ∧ |
| 111 | anchored p (n:=n) (highEntry G R) (fun i => i.2.price R p) (highBase G p σ C) ∧ |
| 112 | Ac.Hit (fun i : Seat n × Low => i.1.spread (i.2.home R p 0)) p.B (fun i => Real.exp ((i.2.length R:ℝ)/c.relaxation)* |i.2.mark R c|) |
| 113 | (p.supportExponent+1) (lowHard p c σ C) := by |
| 114 | let x := p.supportExponent |
| 115 | have hB : 0 < (p.B:ℝ) := Nat.cast_pos.mpr p.B_pos |
| 116 | have he := p.exponent_pos |
| 117 | have hs := h.width |
| 118 | have ht := hw.2.2 |
| 119 | have hM : x/p.B ≤ σ/2 := (div_le_div_of_nonneg_right (by dsimp [x]; linarith) hB.le).trans (ht.trans (by linarith)) |
| 120 | refine ⟨channel_mass (Low.length R) (fun i => i.home R p (0:Site n)) _ (fun i => mul_nonneg (abs_nonneg _) (low_nonneg ..)) (low_budget G p R h) lowCount hM (fun i => low_geometry p R i _), |
| 121 | channel_mass (High.length R) (fun i => i.home R (0:Site n)) (fun i => i.price R p) (fun i => High.price_nn ..) (high_budget G p R h) highCount hM (fun i => high_geometry p R i _),?_⟩ |
| 122 | let g (i : Low) := Real.exp ((i.length R:ℝ)/c.relaxation)* |i.mark R c| |
| 123 | have hg i : 0 ≤ g i := mul_nonneg (Real.exp_pos _).le (abs_nonneg _) |
| 124 | have hK := channel_anchored (n:=n) _ g hg (kept_debit G p R hw h) |
| 125 | unfold lowHard |
| 126 | refine Footprint.assigned (id : Site n → Site n) 1 (fun Y : Support n => by simp) (fun i : Seat n × Low => i.1.2) (fun i => g i.2) (fun i => hg i.2) (fun i => i.2.length R) (fun i : Seat n × Low => i.1.spread (Low.home R i.2 p (0:Site n))) hK p.B 0 p.B (C:=1) (v:=lowCount) (a:=p.supportExponent+1) (ε:=σ/4) (v':=(p.B:ℝ)⁻¹) ?_ ?_ |
| 127 | zero_le_one (show Footprint.reserve (3*σ/4) (p.supportExponent+1) (p.B:ℝ)⁻¹ (σ/4) from ⟨by linarith,by linarith,by rw [← div_eq_mul_inv]; linarith⟩) (fun i => g i.2) (fun i => hg i.2) (fun _ => by simp) |
| 128 | · rintro i y hy; obtain ⟨j,hj,rfl⟩ := Finset.mem_image.mp hy |
| 129 | simpa only [affine, separation_translate, Signed.act_zero,zero_add,id_eq] using! (spin_separation i.1.1 i.1.2 j (0:Site n)).trans_le (low_dist p R _ hj) |
| 130 | intro i; rw [Seat.visit_count] |
| 131 | apply le_of_mul_le_mul_left (a:=(p.B:ℝ)) ?_ hB; rw [mul_add,← mul_assoc,mul_inv_cancel₀ hB.ne',one_mul]; exact_mod_cast low_geometry p R i.2 (0:Site n) |
| 132 | end Quotes |
| 133 | end YM.AnalyticBridge.VerifiedReset |