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.Extra.MULTISOURCE_BOUNDS.Layers |
| 2 | import YM.Extra.MULTISOURCE_BOUNDS.Trajectory |
| 3 | |
| 4 | /-! |
| 5 | # Entry from the old marked input and per-source vertex multiplicities |
| 6 | |
| 7 | Each source vertex variant already has a complete projected support and |
| 8 | carries its whole old mode. The sum of weights of variants per old address |
| 9 | can cost a fixed polynomial of OLD cover and a one-step loss C (may e.g. be |
| 10 | post-L, paid before invoking this convertor, not asserted bounded by any |
| 11 | stage here). Winding and all positive-weight dependencies must pass the |
| 12 | halo-containment test. Use w/b per name, *not* dividing by b at every later |
| 13 | merger. Old hit bound per marker only; new hit price uniform over volume. |
| 14 | -/ |
| 15 | set_option autoImplicit false |
| 16 | noncomputable section |
| 17 | namespace YM.Extra.Multi |
| 18 | open Function Filter Lattice RG Source Wilson Overlay Marker Labels MeasureTheory Finset LogTerms Merger |
| 19 | open scoped Topology BigOperators Matrix.Norms.Frobenius Classical |
| 20 | variable {n m : Side} {α β V : Type*} |
| 21 | |
| 22 | /-- A sufficient input-vertex price on the actual (possibly zero) weights. |
| 23 | No signed re-cancellations. Empty output sources not bought here. -/ |
| 24 | structure Fork (names : α → Finset V) (X : α → Support n) (s : β → Finset V) (Y : β → Support m) |
| 25 | (o : V → Site m) (q : Ratio m n) (r B M k : ℕ) (e : α → ℝ) (g : β → ℝ) (C : ℝ) : Prop where |
| 26 | bill : ∃ parent : β → α, (∀ j,0 < g j → s j = names (parent j) ∧ ∃ v∈s j, |
| 27 | o v∈Y j ∧ Y j ⊆ halo (r*B) ((X (parent j)).image q.parent)) ∧ |
| 28 | ∀ i, SumBudget (fun j => if parent j=i then g j else 0) (C * (1+(coverNumber M (X i):ℝ))^k * e i) |
| 29 | |
| 30 | def pad (a A : ℝ) (r k : ℕ) := if h : 0<A/2 then Real.exp (a * tilePrice r)*(exp_absorbs k (A/2) h).choose else 1 |
| 31 | lemma pad_ge {a A : ℝ} {k r : ℕ} (h : 0 ≤ a) : 1 ≤ pad a A r k := by |
| 32 | unfold pad; split |
| 33 | next he => exact one_le_mul_of_one_le_of_one_le (Real.one_le_exp (by positivity)) ((exp_absorbs k _ he).choose_spec.1) |
| 34 | exact le_rfl |
| 35 | |
| 36 | lemma conversion {a A : ℝ} {r k t : ℕ} (ha : 0 < A) : |
| 37 | Real.exp (a * tilePrice r + (A/2) * t) * (1+(t:ℝ))^k ≤ pad a A r k * Real.exp (A*t) := by |
| 38 | have h : 0<A/2 := by positivity |
| 39 | rw [Real.exp_add,pad,dif_pos h,show A*(t:ℝ)= A/2*t+A/2*t by ring,Real.exp_add,mul_assoc,mul_assoc] |
| 40 | refine mul_le_mul_of_nonneg_left ?_ (Real.exp_pos _).le |
| 41 | rw [mul_left_comm]; exact mul_le_mul_of_nonneg_left ((exp_absorbs k _ h).choose_spec.2 t) (Real.exp_pos _).le |
| 42 | |
| 43 | section |
| 44 | variable {names : α → Finset V} {X : α → Support n} {s : β → Finset V} {Y : β → Support m} {M B : ℕ} |
| 45 | {o : V → Site m} {q : Ratio m n} {r k : ℕ} {e : α → ℝ} {g : β → ℝ} {C : ℝ} |
| 46 | |
| 47 | theorem Fork.rethread (h : Fork names X s Y o q r B M k e g C) (hC : 0 ≤ C) (hg : ∀ i,0 ≤ g i) |
| 48 | (hB : 0<B) (hM : M ≤ 2*B) {a A b τ : ℝ} (ha : 0≤a) (hA : 0 < A) (hl : 20*a*tilePrice r ≤ (q.count.val:ℝ)*A) |
| 49 | {w : V → ℝ} (hw : ∀ v,0 ≤ w v) (hτ : 1 ≤ τ) (he : ∀ i,0 ≤ e i) |
| 50 | (hroot : Rooted names X M A (fun i => duty w (names i)*e i) b) : |
| 51 | Rooted s Y B a (fun i => duty (fun v => w v/τ) (s i)*g i) ((pad a A r k*C/τ)*b) := by |
| 52 | intro x |
| 53 | obtain ⟨f,hf,h⟩ := h.bill |
| 54 | let price i := duty (fun v => w v/τ) (s i) |
| 55 | have hp i : 0 ≤ price i := prod_nonneg fun v _ => div_nonneg (hw _) (zero_le_one.trans hτ) |
| 56 | let v (i : α) := coverNumber M (X i) |
| 57 | let z i := Real.exp (a*tilePrice r + (A/2)*v i) |
| 58 | let goal i := if x∈names i then Real.exp (A*v i)*(duty w (names i)*e i) else 0 |
| 59 | let charge j := if x∈s j then Real.exp (a*coverNumber B (Y j))*(price j*g j) else 0 |
| 60 | let Z := pad a A r k*C/τ |
| 61 | have hZ : 0≤Z := div_nonneg (mul_nonneg (zero_le_one.trans (pad_ge ha)) hC) (zero_le_one.trans hτ) |
| 62 | have hlocal (i j) (hj : f j=i) : charge j ≤ if x∈names i then (z i*(duty w (names i) / τ))*g j else 0 := by |
| 63 | have H : 0 ≤ z i*(duty w (names i)/τ)*g j := mul_nonneg (mul_nonneg (Real.exp_pos _).le (div_nonneg (prod_nonneg fun v (_:v∈ names i) => hw v) (zero_le_one.trans hτ))) (hg j) |
| 64 | by_cases ht : x∈s j ∧ 0<g j |
| 65 | · obtain ⟨hs,b,hb,-,hh⟩ := hf j ht.2 |
| 66 | rw [hj] at hs hh |
| 67 | unfold charge; rw [if_pos ht.1,if_pos (hs ▸ ht.1 : x∈names i),←mul_assoc] |
| 68 | refine mul_le_mul_of_nonneg_right (mul_le_mul (Real.exp_monotone (projection_reserve q hB hM ha hl _ _ hh)) ?_ (hp _) (Real.exp_pos _).le) |
| 69 | (hg j) |
| 70 | dsimp only [price,duty]; rw [←hs,← mul_prod_erase _ _ hb,← mul_prod_erase (s j) w hb,div_mul_eq_mul_div]; gcongr |
| 71 | · exact hw b |
| 72 | · exact fun i _ => div_nonneg (hw i) (zero_le_one.trans hτ) |
| 73 | exact div_le_self (hw _) hτ |
| 74 | have he : charge j=0 := by |
| 75 | by_cases h : x∈s j |
| 76 | · simp [charge, le_antisymm (le_of_not_gt (fun h' => ht ⟨h,h'⟩)) (hg j)] |
| 77 | simp [charge,h] |
| 78 | rw [he]; split <;> first | exact H | exact le_rfl |
| 79 | apply Budget.certify |
| 80 | · intro j; split; exact mul_nonneg (Real.exp_pos _).le (mul_nonneg (hp j) (hg j)); rfl |
| 81 | intro l |
| 82 | let I i := l.filter fun j => f j=i |
| 83 | have ht i : ∑ j∈I i,charge j ≤ Z*goal i := by |
| 84 | apply (sum_le_sum (fun j hj => hlocal i j (mem_filter.mp hj).2)).trans |
| 85 | dsimp only [goal]; split_ifs with hi |
| 86 | · have hk : ∑ j∈I i, g j ≤ C*(1+(v i:ℝ))^k*e i := Eq.trans_le (sum_filter ..) (Budget.cap (h i) l) |
| 87 | have hh := conversion (a:=a) (t:=v i) (r:=r) (k:=k) hA |
| 88 | have hy := mul_nonneg (Real.exp_pos (a*tilePrice r+(A/2)*v i)).le (div_nonneg (prod_nonneg fun v (_:v∈names i) => hw v) |
| 89 | (zero_le_one.trans hτ)) |
| 90 | rw [← mul_sum]; apply (mul_le_mul_of_nonneg_left hk hy).trans |
| 91 | let L := C*(duty w (names i)/τ*e i) |
| 92 | have hL : 0 ≤ L := mul_nonneg hC (mul_nonneg (div_nonneg (prod_nonneg fun v (_:v∈names i) => hw v) (zero_le_one.trans hτ)) (he i)) |
| 93 | calc |
| 94 | _ = L*(z i*(1+(v i:ℝ))^k) := by unfold L duty z; ring |
| 95 | _ ≤ L*(pad a A r k * Real.exp (A*v i)) := mul_le_mul_of_nonneg_left hh hL |
| 96 | _ = _ := by unfold L Z; ring |
| 97 | simp |
| 98 | calc |
| 99 | _ = ∑ i∈l.image f,∑ j∈I i,charge j := (sum_fiberwise_of_maps_to (fun i hi => mem_image_of_mem f hi) charge).symm |
| 100 | _ ≤ _ := (sum_le_sum fun i _ => ht i).trans (Budget.cap (Budget.scale (hroot x) hZ) _) |
| 101 | end |
| 102 | |
| 103 | variable [DecidableEq V] {G : Gauge} {P : Rep G n} {R : Census V} (X : Bands R P) |
| 104 | |
| 105 | abbrev Pieces := ℕ ⊕ (ℕ × ℕ) |
| 106 | abbrev bids := Sum.elim (fun i => (X.rays i).val) fun j => (tags X j).val |
| 107 | abbrev blocks := Sum.elim X.support (forced P) |
| 108 | |
| 109 | /-- Input nonunit point costs. Force divisor included. May request zero cost |
| 110 | for every unused gas entry (avoid budgeting unpinned ghost vertices). -/ |
| 111 | structure Inbox (κ : ℝ) (e : Pieces → ℝ) : Prop where |
| 112 | pos i : 0 ≤ e i |
| 113 | regular i : ∀ v∈ (X.rays i).val, P.p.supBounds (X.origins v) (X.support i) (X.H i) (e (.inl i)) |
| 114 | gas (i j : ℕ) U : ‖X.entries i j U‖ ≤ κ*e (.inr (i,j)) |
| 115 | blank (i j : ℕ) : X.entries i j = 0 → e (.inr (i,j)) = 0 |
| 116 | |
| 117 | lemma inbox {κ b : ℝ} (hk : 0<κ) {w : V→ℝ} (hw : ∀ v,0≤w v) (h : Spent entire X w 0 κ (b/2)) : |
| 118 | ∃ e, Inbox X κ e ∧ Rooted (bids X) (Sum.elim X.support (forced P)) P.p.B P.p.supportExponent |
| 119 | (fun i => duty w (bids X i)*e i) b := by |
| 120 | obtain ⟨⟨g,hg,ht,he⟩,⟨q,hq,hr,hq'⟩⟩ := h |
| 121 | let k (i : ℕ×ℕ) := if X.entries i.1 i.2 ≠ 0 then q i else 0 |
| 122 | have hnn i : 0 ≤ k i := by unfold k; split; exact hq i; rfl |
| 123 | have HH v := Budget.cap (Budget.scale (hq'.mono hw hnn (fun _ => le_rfl) (fun i => by unfold k; split; rfl; exact hq i) le_rfl v) (inv_pos.mpr hk).le) |
| 124 | let e := Sum.elim g (fun i => κ⁻¹*k i) |
| 125 | have hpos : ∀ i,0≤e i := Sum.rec hg fun i => mul_nonneg (inv_pos.mpr hk).le (hnn i) |
| 126 | refine ⟨e,⟨hpos, fun i => ht i trivial, fun i j U => ?_,fun i j hj => by simp [e,k,hj]⟩,fun v => ?_⟩ |
| 127 | · dsimp only [e,Sum.elim_inr]; rw [mul_inv_cancel_left₀ hk.ne']; unfold k; dsimp only; split |
| 128 | next hh => exact hr (i,j) trivial U |
| 129 | next hh => simp [not_ne_iff.mp hh] |
| 130 | refine Budget.certify (fun i => ?_) fun s => ?_ |
| 131 | · split; exact mul_nonneg (Real.exp_pos _).le (mul_nonneg (prod_nonneg fun _ _ => hw _) (hpos _)); rfl |
| 132 | have H := add_le_add (Budget.cap (he v) s.toLeft) (HH v s.toRight) |
| 133 | rw [inv_mul_cancel_left₀ hk.ne',add_zero,show b/2+b/2=b by ring] at H |
| 134 | rw [← toLeft_disjSum_toRight (u:=s), sum_disjSum]; apply le_trans _ H; apply add_le_add |
| 135 | · simp [e,duty,Poly.toll] |
| 136 | apply sum_le_sum; intro i _; dsimp [e]; split_ifs <;> simp [duty,Poly.toll,mul_left_comm] |
| 137 | |
| 138 | end YM.Extra.Multi |