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.Higher |
| 2 | import YM.AnalyticBridge.VERIFIED_RESET_STEP.Quadratic |
| 3 | import YM.Push.ABSOLUTE_SUMS.Basic |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | /-! |
| 9 | # Uniform quotes for raw row and projected-residual lengths and supports |
| 10 | |
| 11 | Pre-output orientation convention; no favorable wrap discard. Single-step |
| 12 | exponent reserve is just on EARLY products, not a smaller admissible class |
| 13 | for the next step. -/ |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.AnalyticBridge.VerifiedReset |
| 17 | open Function Filter Set Lattice Wilson RG Push.AbsoluteSums Extra.Iteration Next.Scheduling |
| 18 | open scoped Topology Matrix.Norms.Frobenius ContDiff BigOperators Classical |
| 19 | variable {G : Gauge} {n : Side} {p : BudgetPoint} |
| 20 | |
| 21 | namespace Geo |
| 22 | variable (p : BudgetPoint) (R : PathData G) |
| 23 | |
| 24 | def anchorTile (o : Site n) := halo p.B {o} |
| 25 | lemma tiles (o : Site n) : coverNumber p.B (anchorTile p o) ≤ 81 := by simpa [anchorTile] using Corona.tile o 1 p.B p.B_pos |
| 26 | lemma enlarge (a : RegularAddress n) (hb : 2 ≤ p.B) : coverNumber p.B (expand a) ≤ coverNumber p.B a.support + 81 := by |
| 27 | apply (Corona.meets_sum a.anchor (halo_subset 2 _ (Finset.mem_singleton_self _)) p.B).trans |
| 28 | exact Nat.add_le_add_left ((Corona.cover_mono (Corona.halo_mono hb (Finset.Subset.refl _)) p.B).trans (tiles p a.site)) _ |
| 29 | lemma enlarged_dist (a : RegularAddress n) (x : Site n) (hx : x∈expand a) : |
| 30 | separation x a.site ≤ (4*p.B+2)*(1+coverNumber p.B a.support) := by |
| 31 | rcases Finset.mem_union.mp hx with he|he |
| 32 | · have h := Corona.extent _ p.B he a.anchor |
| 33 | rw [Nat.mul_comm] at h; rw [Nat.mul_add,Nat.mul_one]; omega |
| 34 | obtain ⟨_,ht,h⟩ := halo_spec.mp he; rw [Finset.mem_singleton.mp ht,separation_comm] at h |
| 35 | exact h.trans (Nat.le_trans (by omega : 2 ≤ 4*p.B+2) (Nat.le_mul_of_pos_right _ (by omega))) |
| 36 | |
| 37 | def lowCount : ℕ := 85 |
| 38 | lemma low_geometry (d : Low) (x : Site n) : p.B * coverNumber p.B (d.home R p x) ≤ p.B*lowCount + d.length R := by |
| 39 | unfold Low.home Low.length |
| 40 | have h := Nat.mul_le_mul_left p.B (tiles p x) |
| 41 | cases e : d.2 with |
| 42 | | inl j => dsimp; exact h.trans (Nat.mul_le_mul_left p.B (by decide)) |
| 43 | | inr j => |
| 44 | dsimp only [Sum.elim_inr] |
| 45 | have t := halo_subset p.B _ (Finset.mem_singleton_self x) |
| 46 | apply (Nat.mul_le_mul_left p.B (Corona.meets_sum (Finset.mem_union_left _ t) (root_in _ x) p.B)).trans |
| 47 | rw [Nat.mul_add]; apply le_trans (Nat.add_le_add |
| 48 | (Nat.mul_le_mul_left p.B (Corona.meets_sum t (root_in _ x) p.B)) (Wages.walked (Low.right R d j) x p.B p.B_pos)) |
| 49 | rw [Nat.mul_add]; have hl := Wages.walked (Low.left R d j) x p.B p.B_pos |
| 50 | unfold anchorTile at h; unfold lowCount; omega |
| 51 | lemma low_dist (d : Low) {x y : Site n} (hx : y∈ d.home R p x) : separation y x ≤ p.B*(1+d.length R) := by |
| 52 | have hb := p.B_pos |
| 53 | have hu (h : y∈halo p.B {x}) : separation y x ≤ p.B := by rw [separation_comm]; simpa only [halo_spec,Finset.mem_singleton,exists_eq_left] using h |
| 54 | unfold Low.home at hx; unfold Low.length; cases he : d.2 <;> rw [he] at hx |
| 55 | · exact (hu hx).trans (Nat.le_mul_of_pos_right _ (by omega)) |
| 56 | dsimp only [Sum.elim_inr]; rcases Finset.mem_union.mp hx with h|h |
| 57 | · rcases Finset.mem_union.mp h with h|h |
| 58 | · exact (hu h).trans (Nat.le_mul_of_pos_right _ (by omega)) |
| 59 | exact (slot_length _ _ h).trans (Nat.le_trans (by omega) (Nat.le_mul_of_pos_left _ hb)) |
| 60 | exact (slot_length _ _ h).trans (Nat.le_trans (by omega) (Nat.le_mul_of_pos_left _ hb)) |
| 61 | |
| 62 | def highCount : ℕ := 9 |
| 63 | lemma high_geometry (d : High) (x : Site n) : p.B * coverNumber p.B (d.home R x) ≤ p.B*highCount + d.length R := by |
| 64 | have h := Wages.traversed (d.term R) x p.B p.B_pos |
| 65 | rcases High.significant d with hr|hr <;> simp only [hr] at h <;> unfold High.home High.length highCount <;> omega |
| 66 | |
| 67 | variable (G) |
| 68 | def Width (c : Clip) (σ : ℝ) := 0 < σ ∧ 12 ≤ c.relaxation*σ ∧ (p.supportExponent+1) / p.B ≤ σ/4 |
| 69 | |
| 70 | def lowerSize (c : Clip) (C : ℝ) := Fintype.card PlaqAxes * (c.direct + C*C) |
| 71 | lemma lower_budget {c σ C Λ} (h : R.Bounds c σ C Λ) : |
| 72 | SumBudget (fun d : Low => |d.mark R c| * Real.exp (σ*d.length R)) (lowerSize c C) := by |
| 73 | have hd := c.quadratic_pos |
| 74 | apply Cost.product (Cost.finite _ (by nlinarith)) |
| 75 | intro a |
| 76 | refine Cost.sum (by simpa [Low.mark,Low.length,abs_of_pos hd] using Cost.finite (α:=Unit) c.direct hd.le) ?_ |
| 77 | have he := budget_prod (h.rows a) (h.rows a); convert he using 2 with d |
| 78 | simp [Low.mark,Low.length,Low.left,Low.right,mul_add,Real.exp_add]; ring |
| 79 | |
| 80 | def highFee (k : ℕ) (p : BudgetPoint) (σ : ℝ) := Wages.startup G k p.power p.order * momentPrice (Wages.grade k p.power p.order) (σ/2) |
| 81 | def both p σ := highFee G 3 p σ + highFee G 4 p σ |
| 82 | lemma highFee_pos (p k) {σ : ℝ} (h : 0 < σ) : 0 < highFee G k p σ := by |
| 83 | have := Wages.slot_ge G p.power p.order 0; have := momentPrice_pos (Wages.grade k p.power p.order) (half_pos h) |
| 84 | unfold highFee Wages.startup; positivity |
| 85 | lemma both_pos (p) {σ : ℝ} (h : 0 < σ) : 0 < both G p σ := add_pos (highFee_pos G p 3 h) (highFee_pos G p 4 h) |
| 86 | lemma high_allow (d : High) {σ : ℝ} (hs : 0 < σ) : High.price R d p * Real.exp ((σ/2)*d.length R) ≤ |
| 87 | both G p σ * ((High.term R d).budget σ) := by |
| 88 | have := Wages.slot_ge G p.power p.order 0 |
| 89 | have h := highFee_pos G p (High.arity d) hs |
| 90 | let a := High.term R d |
| 91 | have hA : 0 ≤ a.budget σ := by unfold Atom.budget Atom.magnitude; positivity |
| 92 | let g := Wages.grade d.arity p.power p.order |
| 93 | let v := Wages.startup G d.arity p.power p.order |
| 94 | have hn : 0 ≤ v*a.magnitude := by unfold v Wages.startup Atom.magnitude; positivity |
| 95 | have he := mul_le_mul_of_nonneg_left (spendMoment g (half_pos hs) (Nat.cast_nonneg a.length)) hn |
| 96 | have hle : highFee G d.arity p σ ≤ both G p σ := by |
| 97 | unfold both; rcases d.significant with hi|hi <;> rw [hi] <;> linarith only [highFee_pos G p 3 hs, highFee_pos G p 4 hs] |
| 98 | calc _ ≤ (v*a.magnitude*(momentPrice g (σ/2) * Real.exp ((σ/2)*a.length))) * Real.exp ((σ/2)*a.length) := by |
| 99 | rw [High.price,add_comm (High.length R d:ℝ)]; exact mul_le_mul_of_nonneg_right he (Real.exp_pos _).le |
| 100 | _ = highFee G d.arity p σ * a.budget σ := by |
| 101 | unfold Atom.budget; rw [show σ*(a.length:ℝ)=σ/2*a.length+σ/2*a.length by ring,Real.exp_add]; unfold highFee v g; ring |
| 102 | _ ≤ _ := mul_le_mul_of_nonneg_right hle hA |
| 103 | lemma high_budget {c σ C Λ} (h : R.Bounds c σ C Λ) : |
| 104 | SumBudget (fun d => High.price R d p * Real.exp ((σ/2)*d.length R)) (both G p σ * (C+C)) := by |
| 105 | apply budget_mono (budget_scale (both_pos _ p h.width).le (f:=fun d => (High.term R d).budget σ) (Cost.sum h.three h.four)) |
| 106 | · exact fun i => mul_nonneg (High.price_nn ..) (Real.exp_pos _).le |
| 107 | exact fun d => high_allow G p R d h.width |
| 108 | |
| 109 | def rowDegree (p : BudgetPoint) : ℕ := (p.power+1)*p.order*2 |
| 110 | lemma rowCost_shape (p : BudgetPoint) (l : ℕ) : rowCost G p l = rowCost G p 0 * (1+(l:ℝ))^rowDegree p := by |
| 111 | simp only [rowCost,Wages.slotCost, Wages.margin,rowDegree,mul_pow, pow_mul,Nat.cast_zero,zero_add,one_pow,mul_one] |
| 112 | rw [add_comm (l:ℝ)]; ring |
| 113 | lemma low_vs (l : ℕ) : lowCost G p l ≤ lowCost G p 0*(1+(l:ℝ))^rowDegree p := by |
| 114 | simp only [lowCost,rowCost_shape G p l] |
| 115 | have := faceCost_nonneg G p; have := pair_nonneg G p |
| 116 | have he := mul_le_mul_of_nonneg_left (one_le_pow₀ (by simp : (1:ℝ) ≤ 1+(l:ℝ)) (n:=rowDegree p)) (show 0 ≤ (2:ℝ)⁻¹ * pairBill G p + faceCost G p by positivity) |
| 117 | linarith |
| 118 | |
| 119 | def lowFee (σ : ℝ) := lowCost G p 0 * momentPrice (rowDegree p) (σ/2) |
| 120 | lemma lowFee_nonneg {σ : ℝ} (hs : 0 < σ) : 0 ≤ lowFee G p σ := mul_nonneg (low_nonneg ..) (momentPrice_pos _ (half_pos hs)).le |
| 121 | lemma low_budget {c σ C Λ} (h : R.Bounds c σ C Λ) : SumBudget |
| 122 | (fun d : Low => |d.mark R c| * lowCost G p (d.length R) * Real.exp ((σ/2)*d.length R)) (lowFee G p σ * lowerSize c C) := by |
| 123 | apply Cost.mono (budget_scale (lowFee_nonneg G p h.width) (lower_budget G R h)) |
| 124 | · exact fun i => mul_nonneg (mul_nonneg (abs_nonneg _) (low_nonneg ..)) (Real.exp_pos _).le |
| 125 | intro d; let l := d.length R |
| 126 | have ht := (low_vs G p l).trans (mul_le_mul_of_nonneg_left (spendMoment _ (half_pos h.width) (Nat.cast_nonneg _)) (low_nonneg ..)) |
| 127 | apply le_trans (mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_left ht (abs_nonneg (d.mark R c))) (Real.exp_pos _).le) |
| 128 | rw [show σ*((d.length R):ℝ)=σ/2*l+σ/2*l by unfold l; ring,Real.exp_add,lowFee] |
| 129 | unfold l; ring_nf; rfl |
| 130 | |
| 131 | lemma kept_debit {c σ C Λ} (hW : Width p c σ) (h : R.Bounds c σ C Λ) : SumBudget |
| 132 | (fun d : Low => Real.exp ((d.length R : ℝ)/c.relaxation) * |d.mark R c| * Real.exp ((3*σ/4)*d.length R)) (lowerSize c C) := by |
| 133 | apply Cost.mono (lower_budget G R h) (fun _ => by positivity) fun d => ?_ |
| 134 | rw [mul_comm (Real.exp _) |d.mark R c|, mul_assoc,← Real.exp_add] |
| 135 | refine mul_le_mul_of_nonneg_left (Real.exp_monotone ?_) (abs_nonneg _) |
| 136 | have ht := hW.2.1 |
| 137 | have hi := mul_le_mul_of_nonneg_right (show (1:ℝ)/c.relaxation ≤ σ/4 from (div_le_iff₀ c.radius_pos).mpr (by linarith)) |
| 138 | (Nat.cast_nonneg (α:=ℝ) (d.length R)) |
| 139 | rw [div_mul_eq_mul_div,one_mul] at hi; linarith |
| 140 | end Geo |
| 141 | end YM.AnalyticBridge.VerifiedReset |