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.RELATIVE_LOGDET_TRACE.Pockets |
| 2 | import YM.Push.FREE_RESOLVENT.Torus |
| 3 | |
| 4 | /-! |
| 5 | # The local summable bills |
| 6 | |
| 7 | Costs hold **uniformly per ordered address**, on common Tube, step, and output |
| 8 | height, regardless of which allowed sector V/flags/tags is read on it (no |
| 9 | promise of simultaneous smoothness across sectors). Don't extend that to summing |
| 10 | over all ignored large-volume tag arrays! |
| 11 | -/ |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | namespace YM.AnalyticBridge.RelativeLogdet |
| 15 | open Filter Function Set Matrix MeasureTheory FreeResolvent Lattice |
| 16 | open Next.SectorChange |
| 17 | open scoped Topology BigOperators Classical |
| 18 | |
| 19 | variable {ι : Type} {c : Side} {B n l : ℕ} |
| 20 | |
| 21 | def inventory (p : ι → Site c) (l B : ℕ) (z : Letter ι n) := pocket p l B z.2.1 z.2.1 z.2.2 |
| 22 | def ticket (p : ι → Site c) (B : ℕ) (v C q : ℝ) (z : Letter ι n) : ℝ := |
| 23 | let i := z.2.1 |
| 24 | let x:= z.2.2 |
| 25 | let J:=fares (native c) p v |
| 26 | if jumps (nearby p B) i i x then C*q^(z.1+1)*road J J i i x else 0 |
| 27 | |
| 28 | variable {p : ι → Site c} {v C q : ℝ} |
| 29 | |
| 30 | lemma ticket_nn (p : ι → Site c) (v) (hC : 0 ≤ C) (hq : 0 ≤ q) (z : Letter ι n) : 0 ≤ ticket p B v C q z := by |
| 31 | unfold ticket; dsimp only; split |
| 32 | · exact mul_nonneg (by positivity) (road_pos _ _ (fun _ _ => fares_nn ..) (fun _ _ => fares_nn ..) ..) |
| 33 | exact le_rfl |
| 34 | |
| 35 | variable [Fintype ι] [DecidableEq ι] |
| 36 | |
| 37 | section sized |
| 38 | variable {A : Square ι} {W : ι → Set ι} |
| 39 | |
| 40 | lemma Priced.scrolls (H : Priced (native c) p W A v C q) (h : Aperture p B W A) (z : Letter ι 1) : |
| 41 | IntegrableOn (scroll W A z.2.1 z.2.2) (Ioi 0) ∧ (∫ u in Ioi 0, |scroll W A z.2.1 z.2.2 u|) ≤ ticket p B v C q z ∧ |
| 42 | |page W A z| ≤ ticket p B v C q z := by |
| 43 | unfold ticket; dsimp only; split |
| 44 | · exact H.scroll_paid z |
| 45 | next hx => |
| 46 | simp [Aperture.away h _ hx,page,show scroll W A z.2.1 z.2.2 = 0 from funext (h.away z hx)] |
| 47 | exact integrable_zero _ _ _ |
| 48 | |
| 49 | lemma Priced.erratas (H : Priced (native c) p W A v C q) (h : Aperture p B W A) (z : Letter ι 0) : |
| 50 | |errata W A z| ≤ ticket p B v C q z := by |
| 51 | unfold ticket; dsimp only; split |
| 52 | · apply (H.errata_paid z).trans |
| 53 | apply mul_le_mul_of_nonneg_right (le_mul_of_one_le_left (pow_nonneg H.coupon _) H.paid) |
| 54 | (road_pos _ _ (fun _ _ => fares_nn ..) (fun _ _ => fares_nn ..) ..) |
| 55 | next hx => rw [h.quiet z hx,abs_zero] |
| 56 | end sized |
| 57 | |
| 58 | def pass (L q a θ : ℝ) (l B : ℕ) : ℝ := q*L*Real.exp (a*tilePrice l)*Real.exp (θ*(B:ℝ)) |
| 59 | def permitCost (n : ℕ) (L V C q a θ : ℝ) (l B : ℕ) : ℝ := |
| 60 | V*C*q*L^n * Real.exp (a*tilePrice l)^(n+2)*Real.exp (θ*(B:ℝ))^(n+1+l) |
| 61 | def totalCost (n : ℕ) (L V C q a θ : ℝ) (l B : ℕ) : ℝ := |
| 62 | permitCost n L V C q a θ l B * (1-pass L q a θ l B)⁻¹ |
| 63 | |
| 64 | namespace Counting |
| 65 | variable {a L V θ : ℝ} (s : Site c) |
| 66 | |
| 67 | def hit (s : Site c) (p : ι → Site c) (l B : ℕ) (v C q a : ℝ) (z : Letter ι n) := |
| 68 | if s ∈ inventory p l B z then ticket p B v C q z * Real.exp (a*coverNumber B (inventory p l B z)) else 0 |
| 69 | |
| 70 | omit [DecidableEq ι] in |
| 71 | lemma tagged_length (hv : 0 ≤ v) (hC : 0 ≤ C) (hq : 0 ≤ q) (hB : 0 < B) (hl : 1 ≤ l) |
| 72 | (ha : 0 ≤ a) (ht : 0 ≤ θ) (hL : 0≤L) |
| 73 | (hK : (native c).Volume p v L) (h : (native c).Volume p θ V) (n m : ℕ) : |
| 74 | (∑ z : ι × (Fin (m+n) → ι),hit s p l B v C q a (⟨m,z⟩:Letter ι n)) ≤ |
| 75 | permitCost n L V C q a θ l B * pass L q a θ l B ^ m := by |
| 76 | let T := Real.exp (a*tilePrice l) |
| 77 | let J := Real.exp (θ*B) |
| 78 | let w (i : ι) := (native c).weight (-θ) s (p i) |
| 79 | let A := fares (native c) p v |
| 80 | let N := C*q^(m+1) |
| 81 | let H := T^(m+n+2) |
| 82 | let P := J^(m+n+1+l) |
| 83 | have hN : 0 ≤ N := by unfold N; positivity |
| 84 | have hH : 0 ≤ H := by unfold H T; positivity |
| 85 | have hP : 0 ≤ P := by unfold P J; positivity |
| 86 | have hw (i : ι) : 0 ≤ w i := (native c).weight_nn .. |
| 87 | have h1 (i : ι) (x : Fin (m+n) → ι) : hit s p l B v C q a (⟨m,i,x⟩:Letter ι n) ≤ |
| 88 | (P*H*N) * (w i * road A A i i x) := by |
| 89 | have hR : 0 ≤ road A A i i x := road_pos _ _ (fun _ _ => fares_nn ..) (fun _ _ => fares_nn ..) .. |
| 90 | unfold hit |
| 91 | split |
| 92 | next hu => |
| 93 | unfold ticket; dsimp only; split |
| 94 | next he => |
| 95 | let Z := pocket p l B i i x |
| 96 | have he1 := pocket_span p x he (show s∈Z from hu) |
| 97 | have he2 := pocket_cost p hB hl i i x he |
| 98 | have hs : Real.exp (a*coverNumber B Z) ≤ H := by |
| 99 | unfold H T; rw [← Real.exp_nat_mul] |
| 100 | have he' : (coverNumber B Z:ℝ) ≤ ((m+n+2:ℕ):ℝ)*tilePrice l := by exact_mod_cast he2 |
| 101 | exact Real.exp_monotone ((mul_le_mul_of_nonneg_left he' ha).trans_eq (by ring)) |
| 102 | have hr : 1 ≤ w i*P := by |
| 103 | unfold w P J Cost.weight; rw [← Real.exp_nat_mul,← Real.exp_add] |
| 104 | apply Real.one_le_exp |
| 105 | change 0 ≤ -θ * separation s (p i) + ((m+n+1+l:ℕ):ℝ)*(θ* (B:ℝ)) |
| 106 | rw [separation_comm]; have hi : (separation (p i) s:ℝ) ≤ ((m+n+1+l:ℕ):ℝ)*(B:ℝ) := by exact_mod_cast he1 |
| 107 | nlinarith only [mul_le_mul_of_nonneg_left hi ht] |
| 108 | change N*_*Real.exp _ ≤ _ |
| 109 | refine (mul_le_mul_of_nonneg_left hs (mul_nonneg hN hR)).trans ?_ |
| 110 | exact (le_mul_of_one_le_left (mul_nonneg (mul_nonneg hN hR) hH) hr).trans_eq (by ring) |
| 111 | next he => simp only [zero_mul]; exact mul_nonneg (by positivity) (mul_nonneg (hw _) hR) |
| 112 | next hu => exact mul_nonneg (by positivity) (mul_nonneg (hw _) hR) |
| 113 | have h2 (i : ι) : (∑ x : Fin (m+n) → ι, hit s p l B v C q a (⟨m,i,x⟩:Letter ι n)) ≤ |
| 114 | P*H*N*L^(m+n)*w i := by |
| 115 | refine (Finset.sum_le_sum (fun x _ => h1 i x)).trans ?_ |
| 116 | rw [← Finset.mul_sum,← Finset.mul_sum] |
| 117 | exact (mul_le_mul_of_nonneg_left (mul_le_mul_of_nonneg_left (sum_fares hv hL hK (m+n) i i) (hw i)) |
| 118 | (mul_nonneg (mul_nonneg hP hH) hN)).trans_eq (by ring) |
| 119 | rw [Fintype.sum_prod_type]; refine (Finset.sum_le_sum (fun i _ => h2 i)).trans ?_ |
| 120 | rw [← Finset.mul_sum] |
| 121 | refine (mul_le_mul_of_nonneg_left (h.bound s) (by positivity)).trans_eq ?_ |
| 122 | change _ * V = V*C*q*L^n * T^(n+2)*J^(n+1+l)*(q*L*T*J)^m |
| 123 | unfold P H N |
| 124 | rw [show m+n+2=m+(n+2) by omega,show m+n+1+l=m+(n+1+l) by omega] |
| 125 | simp only [pow_add,pow_one,mul_pow]; ring |
| 126 | |
| 127 | omit [DecidableEq ι] in |
| 128 | /-- Local differentiations can use larger l. This prices just values of |
| 129 | all ordered chains hitting at **any** of those lenses (not multiplied by |
| 130 | fuel for *each* such hit). -/ |
| 131 | theorem passports (hv : 0 ≤ v) (hC : 0 ≤ C) (hq : 0 ≤ q) (hB : 0<B) (hl : 1 ≤ l) |
| 132 | (ha : 0 ≤ a) (ht : 0 ≤ θ) (hL : 0≤L) (hK : (native c).Volume p v L) |
| 133 | (h : (native c).Volume p θ V) (he : pass L q a θ l B < 1) (n : ℕ) : |
| 134 | Ac.Hit (inventory p l B (n:=n)) B (ticket p B v C q) a (totalCost n L V C q a θ l B) := by |
| 135 | intro s |
| 136 | let f := hit s p l B v C q a (n:=n) |
| 137 | have he' : 0 ≤ pass L q a θ l B := by unfold pass; positivity |
| 138 | have hp := (hasSum_geometric_of_lt_one he' he).mul_left (permitCost n L V C q a θ l B) |
| 139 | have h0 z : 0 ≤ f z := by |
| 140 | unfold f hit; split |
| 141 | · exact mul_nonneg (ticket_nn _ _ hC hq _) (Real.exp_pos _).le |
| 142 | exact le_rfl |
| 143 | let g (m : ℕ) := ∑' x,f ⟨m,x⟩ |
| 144 | have hh (m : ℕ) : g m ≤ permitCost n L V C q a θ l B * pass L q a θ l B ^ m := by unfold g; rw [tsum_fintype]; exact tagged_length s hv hC hq hB hl ha ht hL hK h n m |
| 145 | have hg := hp.summable.of_nonneg_of_le (fun m => (by apply tsum_nonneg; intro; apply h0 : 0 ≤ g m)) hh |
| 146 | have hu : Summable f := (summable_sigma_of_nonneg h0).2 ⟨fun m=>.of_finite,hg⟩ |
| 147 | refine ⟨h0,hu,?_⟩ |
| 148 | change ∑' z,f z ≤ _ |
| 149 | rw [Summable.tsum_sigma' (fun m=>.of_finite) hu] |
| 150 | exact (hg.tsum_le_tsum hh hp.summable).trans_eq hp.tsum_eq |
| 151 | end Counting |
| 152 | end YM.AnalyticBridge.RelativeLogdet |