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.Next.SCHEDULE.Post |
| 2 | import YM.Progress.DIRECTED_RECIPE.Tender |
| 3 | |
| 4 | /-! |
| 5 | # Financing an Ingredients purchase |
| 6 | |
| 7 | Given actual `Quotes` etc, this gives one way estimators may meet the |
| 8 | Ingredients geometry. Do NOT assume that the hard/soft populations |
| 9 | will have estimates of this shape! Here if enough entering size at THAT |
| 10 | stage pair, for all periods, we can do the (+1) joint attachment purchase |
| 11 | from separate post-L exponential / power hit bounds. Powers remain explicit. |
| 12 | Topology (`Passage` and `Menu.curve`) separate. Use beta boosts BEFORE Bar |
| 13 | on the same auctions as in `before_kin`. Applies even at level zero. |
| 14 | -/ |
| 15 | |
| 16 | set_option autoImplicit false |
| 17 | noncomputable section |
| 18 | namespace YM.Progress.DirectedRecipe.Payments |
| 19 | |
| 20 | open Function Set RG Lattice Wilson RG.Shoot Ovens Ovens.Pipes |
| 21 | open Next.Scheduling Next.Scheduling.Clock RG.Supply MeasureTheory Filter |
| 22 | open scoped Topology BigOperators ContDiff Matrix.Norms.Frobenius Classical |
| 23 | |
| 24 | /-- These estimates themselves are obligations. C,L constants post-L. Both |
| 25 | populations on the stronger support metric. Use y (fine hat) not β at bulk. |
| 26 | `rate` in F must have been chosen specifically to leave this reservoir. These |
| 27 | are *possible* budget comparisons, without conclusions about physics. -/ |
| 28 | structure Pairing (F : Postage) where |
| 29 | C : ℝ |
| 30 | C_nonneg : 0 ≤ C |
| 31 | r : ℝ |
| 32 | after_L : F.rate < r |
| 33 | d : ℕ |
| 34 | e : ℝ |
| 35 | p : ℝ |
| 36 | weak : 0 < p |
| 37 | |
| 38 | variable {F : Postage} |
| 39 | |
| 40 | namespace Pairing |
| 41 | variable (P : Pairing F) |
| 42 | |
| 43 | def mild (y : ℝ) := P.C * (1+(cover y:ℝ))^P.d * Instrument.plain.P y ^ P.e * gap y ^ P.p |
| 44 | |
| 45 | def strong (y β : ℝ) := P.C * Real.exp (-P.r * (Instrument.plain.t y/gap β)^(2:ℕ)) |
| 46 | |
| 47 | def kGoal (F : Postage) (y β : ℝ) := F.rate*(Instrument.plain.t y/gap β)^(2:ℕ) |
| 48 | |
| 49 | private lemma charged (d : ℕ) (e p : ℝ) (hp : 0 < p) : |
| 50 | Tendsto (fun x : ℝ => (1+(cover x:ℝ))^d* Instrument.plain.P x ^ e * gap x ^ p) atTop (𝓝 0) := by |
| 51 | have ht : Tendsto (fun x : ℝ => Instrument.plain.P x^(1+e)*gap x^p) atTop (𝓝 0) := light 2 _ _ hp |
| 52 | have hh : Tendsto (fun x : ℝ => (1+(cover x:ℝ))^d/Instrument.plain.P x^(1:ℝ)) atTop (𝓝 0) := |
| 53 | ceiling_cheaper 2 _ _ one_lt_two zero_lt_one |
| 54 | have H := hh.mul ht |
| 55 | rw [zero_mul] at H |
| 56 | refine H.congr fun x => ?_ |
| 57 | have he : 0<Instrument.plain.P x := wp _ _ |
| 58 | rw [Real.rpow_add he,Real.rpow_one]; field_simp |
| 59 | |
| 60 | private lemma priced (d : ℕ) (a : ℝ) (ha : 0 < a) : Tendsto |
| 61 | (fun y : ℝ => (1+(cover y:ℝ))^d * Real.exp (-a * Instrument.plain.P y ^ (2:ℕ))) atTop (𝓝 0) := by |
| 62 | have ht : Tendsto (fun y : ℝ => (1+(cover y:ℝ))^d * gap y) atTop (𝓝 0) := by |
| 63 | simpa using charged d 0 1 zero_lt_one |
| 64 | have h := ht.mul (burnt (-1) a 2 2 ha one_lt_two zero_lt_two) |
| 65 | rw [zero_mul] at h |
| 66 | refine h.congr' ?_ |
| 67 | filter_upwards [eventually_gt_atTop (0:ℝ)] with y hy |
| 68 | have he := gp hy |
| 69 | simp only [Real.rpow_neg_one,Real.rpow_two] |
| 70 | unfold Instrument.P; field_simp; rfl |
| 71 | |
| 72 | /-- Pair step. Uniform β. `a` coarse (or same hat for startup) with |
| 73 | cover not exceeding fine `y`. All interpolation here is about prices. |
| 74 | `strong` through ALL β allowed; startup callers can choose this e.g. at β=y |
| 75 | and pay a common sup hit. -/ |
| 76 | lemma currency : ∀ᶠ y : ℝ in atTop, 1 < y ∧ |
| 77 | ∀ β, inBand y β → ∀ B ≤ cover y, Rates B (Real.exp (-kGoal F y β)) |
| 78 | (P.strong y β) (P.mild y) (kGoal F y β) := by |
| 79 | let M := Instrument.plain.P |
| 80 | have hP := P.after_L |
| 81 | let η : ℝ := (P.r-F.rate)/4 |
| 82 | have heta : 0<η := by unfold η; linarith |
| 83 | have hpay d : Tendsto (fun y : ℝ => (1+(cover y:ℝ))^d * P.mild y) atTop (𝓝 0) := by |
| 84 | have he := (charged (d+P.d) P.e _ P.weak).const_mul P.C |
| 85 | rw [mul_zero] at he |
| 86 | refine he.congr fun x => ?_ |
| 87 | simp only [Pairing.mild, pow_add]; ring |
| 88 | let h y := P.C * Real.exp (-η*M y^ (2:ℕ)) |
| 89 | let v y := h y + 2*P.mild y |
| 90 | have hz d : Tendsto (fun y : ℝ => (1+(cover y:ℝ))^d * v y) atTop (𝓝 0) := by |
| 91 | have ht := ((priced d η heta).const_mul P.C).add ((hpay d).const_mul 2) |
| 92 | simp only [mul_zero, add_zero] at ht |
| 93 | apply ht.congr |
| 94 | intro y; unfold v h M; ring |
| 95 | have Hv : Tendsto v atTop (𝓝 0) := by simpa using! hz 0 |
| 96 | have he : Tendsto (fun y => 2^(4:ℕ)*((1+(cover y:ℝ))^ (4:ℕ) * v y)) atTop (𝓝 0) := by |
| 97 | simpa using (hz 4).const_mul ((2:ℝ)^ (4:ℕ)) |
| 98 | have hf : Tendsto (fun y => Real.exp (v y)-1) atTop (𝓝 0) := by |
| 99 | simpa [Function.comp_def] using (Real.continuous_exp.continuousAt.tendsto.comp Hv).sub_const 1 |
| 100 | have hm : Tendsto P.mild atTop (𝓝 0) := by simpa using! hpay 0 |
| 101 | filter_upwards [eventually_gt_atTop (1:ℝ),he.eventually (ge_mem_nhds (show (0:ℝ)<1 from zero_lt_one)), |
| 102 | hf.eventually (ge_mem_nhds (show (0:ℝ)<1 from zero_lt_one)),hm.eventually (ge_mem_nhds (show (0:ℝ)<1 from zero_lt_one))] with y hy ht hu hq |
| 103 | refine ⟨hy, fun β hb B hi => ?_⟩ |
| 104 | let z := gap β |
| 105 | have h0 : 0<y := lt_trans zero_lt_one hy |
| 106 | obtain ⟨ha,hc⟩ := band_gap y β h0 hb |
| 107 | have hY : 0 < gap y := gp h0 |
| 108 | have hy' : 0<M y := wp _ _ |
| 109 | have hx : 0<gap β := by linarith |
| 110 | have hg : M y/2 ≤ Instrument.plain.t y/z := by |
| 111 | apply (le_div_iff₀ hx).2 |
| 112 | unfold Instrument.t |
| 113 | change M y/2 * gap β ≤ gap y * M y; nlinarith only [hc,hy'] |
| 114 | have hs : Real.exp (kGoal F y β) * P.strong y β ≤ h y := by |
| 115 | unfold strong h |
| 116 | rw [mul_left_comm,← Real.exp_add]; apply mul_le_mul_of_nonneg_left _ P.C_nonneg |
| 117 | apply Real.exp_monotone |
| 118 | have he:=mul_le_mul_of_nonneg_left (pow_le_pow_left₀ (div_pos hy' (by norm_num)).le hg 2) |
| 119 | (show 0≤P.r-F.rate from sub_nonneg.mpr hP.le) |
| 120 | change F.rate * (Instrument.plain.t y/z)^ (2:ℕ) + -P.r *_ ≤ -((P.r-F.rate)/4)*M y^ (2:ℕ) |
| 121 | linarith |
| 122 | have hC : 0 ≤ P.C := P.C_nonneg |
| 123 | have hS : 0 ≤ P.strong y β := mul_nonneg hC (Real.exp_pos _).le |
| 124 | have ht' : 0 ≤ P.mild y := by |
| 125 | have hw : 0<Instrument.plain.P y := hy' |
| 126 | unfold mild; positivity |
| 127 | let γ := inflation (P.strong y β) (P.mild y) (kGoal F y β) |
| 128 | have hγ : γ ≤ v y := add_le_add_left hs (2*P.mild y) |
| 129 | have hh : 0 ≤ γ := add_nonneg (mul_nonneg (Real.exp_nonneg _) hS) (mul_nonneg zero_le_two ht') |
| 130 | have hnorm : 0 ≤ kGoal F y β := mul_nonneg F.pos.le (sq_nonneg _) |
| 131 | refine ⟨hnorm,hS,ht',hq,?_,?_⟩ |
| 132 | · apply le_trans ?_ ht |
| 133 | change ((B+B+1:ℕ):ℝ)^ (4:ℕ) * γ ≤ (2:ℝ)^ (4:ℕ)*(_^ (4:ℕ) * v y) |
| 134 | rw [← mul_assoc, ← mul_pow] |
| 135 | have hi0 : (B:ℝ) ≤ cover y := by exact_mod_cast hi |
| 136 | exact mul_le_mul (pow_le_pow_left₀ (by positivity) (by push_cast; linarith) _) hγ hh (by positivity) |
| 137 | unfold Bid.quote |
| 138 | refine mul_le_of_le_one_right (Real.exp_pos _).le ?_ |
| 139 | exact (sub_le_sub_right (Real.exp_monotone hγ) 1).trans hu |
| 140 | |
| 141 | |
| 142 | end Pairing |
| 143 | |
| 144 | section charging |
| 145 | variable {G : Gauge} {s : Survey G} {q : Quote} {v : ℕ → ℕ} {D : Rolls (s.paper q v)} |
| 146 | variable {V : Protection D} {W : Delays V} {Y : Bar W} {I : Wait Y} |
| 147 | |
| 148 | /-- One set of extra purchases. Pick the actual F and Pairing forecasts with |
| 149 | compatible prices (and reserve s.A across their analyses, not implied here). |
| 150 | Run BEFORE pricing W at the `before_kin` interface. -/ |
| 151 | structure Treats {F : ℕ → ℕ → Postage} (P : ∀ i j, Pairing (F i j)) (W : Delays V) : Prop where |
| 152 | all i j : Adj i j → ∀ x ≥ W.betaEntry i, |
| 153 | let y := x+G.slopeConstant*Real.log (D.L i).val |
| 154 | ∀ β, inBand y β → Rates (cover x) (Real.exp (-Pairing.kGoal (F i j) y β)) |
| 155 | ((P i j).strong y β) ((P i j).mild y) (Pairing.kGoal (F i j) y β) |
| 156 | start i : ∀ x ≥ W.betaEntry i, Rates (cover x) (Instrument.plain.w x) |
| 157 | ((P i i).strong x x) ((P i i).mild x) (Pairing.kGoal (F i i) x x) |
| 158 | |
| 159 | |
| 160 | |
| 161 | |
| 162 | |
| 163 | open Pairing |
| 164 | |
| 165 | variable {F : ℕ → ℕ → Postage} {P : ∀ i j, Pairing (F i j)} {a : Levels G} |
| 166 | |
| 167 | |
| 168 | |
| 169 | |
| 170 | |
| 171 | |
| 172 | end charging |
| 173 | end YM.Progress.DirectedRecipe.Payments |