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.Corrections |
| 2 | import YM.Extra.MULTISOURCE_BOUNDS.Forks |
| 3 | |
| 4 | /-! |
| 5 | # Pricing projection / log / extraction & restoration procedure |
| 6 | |
| 7 | Alternative towards `Raw`. The depth-indexed unmarked and packet estimates |
| 8 | below are tested through the exponents in `System` (on the actual alphabets); |
| 9 | NOT implied by stability/positivity of the kernel. Here we grant thresholds |
| 10 | for any given per-plateau positive-power decay exponent and projection-degree |
| 11 | asks; must also be joined with sufficient physics prices. |
| 12 | -/ |
| 13 | set_option autoImplicit false |
| 14 | noncomputable section |
| 15 | namespace YM.Extra.Multi.System |
| 16 | open Function Filter Lattice RG RG.Supply Source Wilson Overlay Marker Labels MeasureTheory Finset LogTerms Germs Merger Pressure Precision Asymptotics |
| 17 | open scoped Topology BigOperators Matrix.Norms.Frobenius ContDiff Classical |
| 18 | |
| 19 | variable {G : Gauge} {C : Family G} {m : ℕ} |
| 20 | |
| 21 | lemma overheadAt_one {H : Hol G} {F : Frames G} {S : Stage} {j μ B : ℕ} : 1 ≤ overheadAt H F S j μ B := by |
| 22 | have h := sum_nonneg (fun i (_:i∈ Finset.range (j+1)) => (zero_le_one.trans (lens_ge H F i))) |
| 23 | change 0 ≤ upper H F j at h |
| 24 | have he := S.columns_ge |
| 25 | have hc := S.price_pos |
| 26 | apply one_le_mul_of_one_le_of_one_le (one_le_mul_of_one_le_of_one_le (le_add_of_nonneg_right (by positivity)) (Real.one_le_exp (by linarith))) |
| 27 | (le_add_of_nonneg_right (by unfold siteFactor; positivity)) |
| 28 | |
| 29 | def logBudget (S : Stage) (B : ℕ) := (((4*B+2:ℝ)^S.power)^S.order)*book S.power S.order |
| 30 | |
| 31 | lemma logBudget_one {S : Stage} {B : ℕ} : 1≤logBudget S B := |
| 32 | one_le_mul_of_one_le_of_one_le (one_le_pow₀ (one_le_pow₀ (by have : (0:ℝ) ≤ B := (by positivity); linarith))) |
| 33 | ((exp_absorbs _ _ zero_lt_one).choose_spec.1) |
| 34 | |
| 35 | def bank (H : Hol G) (F : Frames G) (P : Stage) (j μ B : ℕ) := |
| 36 | 256*((B+B+1:ℕ):ℝ)^4*logBudget P B * overheadAt H F P j μ B |
| 37 | |
| 38 | lemma bank_pos {H : Hol G} {F : Frames G} {P : Stage} {j μ B : ℕ} : 0 < bank H F P j μ B := by |
| 39 | unfold bank; have := logBudget_one (S:=P) (B:=B); have := overheadAt_one (H:=H) (F:=F) (S:=P) (j:=j) (B:=B) (μ:=μ); positivity |
| 40 | |
| 41 | def ticket (P Q : Stage) (r B μ k : ℕ) := (1+μ*siteFactor B)*pad (P.supportExponent+7) Q.supportExponent r k |
| 42 | |
| 43 | def extra (t : Tariff) : Tariff := { t with power := fun i => t.power i + 1 } |
| 44 | |
| 45 | abbrev tollCap (s : Scope) (C : Family G) (m : ℕ) := |
| 46 | (bank C.params C.labels (C.path.levels.params m) (year C m) (s.markers (year C m)) (point C m).B)⁻¹ |
| 47 | |
| 48 | structure Certified (s : Scope) (loss : Tariff) (d : ℕ → ℕ) (ζ : ℕ → ℝ) (H : Hol G) (F : Frames G) (a : Levels G) : Prop where |
| 49 | cost m : let i := a.clock.J m; let j := a.clock.J (m+1) |
| 50 | let x := a.clock.hatBeta m; let y := a.clock.hatBeta (m+1); let B := a.clock.coverSize m |
| 51 | let ε := (bank H F (a.params m) i (s.markers i) B)⁻¹ |
| 52 | ticket (a.params m) (a.params (m+1)) (s.expand j) B (s.markers i) (d j) * fee loss j y / fee (extra loss) j y ≤ ε/2 ∧ |
| 53 | x^(-ζ j) ≤ ε/2 |
| 54 | |
| 55 | section Numerics |
| 56 | |
| 57 | private def Soft (f : ℝ → ℝ) := ∃ C : ℝ, 0<C ∧ ∃ n : ℕ, ∀ᶠ x in atTop, 0 ≤ f x ∧ f x ≤ C*(Real.log x)^n |
| 58 | variable {f g : ℝ → ℝ} |
| 59 | |
| 60 | private lemma Soft.constant {a : ℝ} (ha : 0 ≤ a) : Soft fun _ => a := |
| 61 | ⟨a+1,by linarith,0,Eventually.of_forall fun _ => ⟨ha,by simp⟩⟩ |
| 62 | |
| 63 | private lemma Soft.sum (he : Soft f) (hh : Soft g) : Soft fun x => f x+g x := by |
| 64 | obtain ⟨C,hC,n,hn⟩ := he; obtain ⟨D,hD,m,hm⟩ := hh |
| 65 | refine ⟨C+D,by linarith,n+m,?_⟩; filter_upwards [hn,hm,Real.tendsto_log_atTop.eventually_ge_atTop 1] with x hn hm hx |
| 66 | refine ⟨by linarith,?_⟩; rw [add_mul]; apply (add_le_add hn.2 hm.2).trans; gcongr <;> omega |
| 67 | |
| 68 | private lemma Soft.prod (he : Soft f) (hh : Soft g) : Soft fun x => f x*g x := by |
| 69 | obtain ⟨C,hC,n,hn⟩ := he; obtain ⟨D,hD,m,hm⟩ := hh |
| 70 | refine ⟨C*D,mul_pos hC hD,n+m,?_⟩; filter_upwards [hn,hm] with x hn hm |
| 71 | exact ⟨mul_nonneg hn.1 hm.1,(mul_le_mul hn.2 hm.2 hm.1 (hn.1.trans hn.2)).trans_eq (by rw [pow_add]; ring)⟩ |
| 72 | |
| 73 | private lemma Soft.pow (he : Soft f) (n : ℕ) : Soft fun x => f x^n := by |
| 74 | induction n with |
| 75 | | zero => simpa using! Soft.constant zero_le_one |
| 76 | | succ n ih => simpa only [pow_succ] using ih.prod he |
| 77 | |
| 78 | private lemma baseSoft : Soft fun x => (Stock.scaleB x:ℝ) := by |
| 79 | refine ⟨2,by positivity,2,?_⟩ |
| 80 | filter_upwards [Real.tendsto_log_atTop.eventually_ge_atTop 1] with x hx |
| 81 | exact ⟨by positivity,(Nat.ceil_lt_add_one (sq_nonneg _)).le.trans (by nlinarith)⟩ |
| 82 | |
| 83 | private lemma Soft.pays {a : ℝ} (h : Soft f) (ha : 0<a) : ∀ᶠ x : ℝ in atTop, f x ≤ x^a := by |
| 84 | obtain ⟨C,hC,n,he⟩ := h |
| 85 | have ht := (isLittleO_log_rpow_rpow_atTop (n:ℝ) ha).const_mul_left C |>.def zero_lt_one |
| 86 | filter_upwards [he,ht,eventually_gt_atTop (1:ℝ)] with i hi hx he |
| 87 | exact hi.2.trans ((Real.le_norm_self _).trans (by simpa [Real.norm_of_nonneg (le_of_lt (Real.rpow_pos_of_pos (zero_lt_one.trans he) _))] using hx)) |
| 88 | |
| 89 | private lemma sitesSoft : Soft fun x => siteFactor (Stock.scaleB x) := ((Soft.constant (Real.exp_pos _).le).prod |
| 90 | (((Soft.constant (by positivity)).prod (((Soft.constant (by positivity)).prod baseSoft).sum (Soft.constant (by positivity)))).pow _)) |
| 91 | |
| 92 | private lemma logSoft (P : Stage) : Soft fun x => logBudget P (Stock.scaleB x) := by |
| 93 | have he : 1≤book P.power P.order := (exp_absorbs _ _ zero_lt_one).choose_spec.1 |
| 94 | exact (((((Soft.constant (by positivity)).prod baseSoft).sum (Soft.constant (by positivity))).pow _).pow _).prod |
| 95 | (Soft.constant (zero_le_one.trans he)) |
| 96 | |
| 97 | private lemma bankSoft (H : Hol G) (F : Frames G) (P : Stage) (i μ : ℕ) : Soft fun x => bank H F P i μ (Stock.scaleB x) := by |
| 98 | have h := P.columns_ge |
| 99 | have hu := sum_nonneg (fun j (_:j∈ Finset.range (i+1)) => (zero_le_one.trans (lens_ge H F j))) |
| 100 | change 0 ≤ upper H F i at hu |
| 101 | have hi : Soft fun x => overheadAt H F P i μ (Stock.scaleB x) := |
| 102 | (Soft.constant (by positivity)).prod ((Soft.constant zero_le_one).sum ((Soft.constant (by positivity)).prod sitesSoft)) |
| 103 | unfold bank; push_cast |
| 104 | exact (((Soft.constant (by positivity)).prod (((baseSoft.sum baseSoft).sum (Soft.constant zero_le_one)).pow _)).prod (logSoft _)).prod hi |
| 105 | |
| 106 | |
| 107 | |
| 108 | def post (k : ℕ) (c : ℝ) (x : ℝ) := c*(1 + (Stock.scaleB x:ℝ) + YM.Vac.Numbers.P x)^k |
| 109 | |
| 110 | |
| 111 | |
| 112 | private lemma funds_late (H : Hol G) (F : Frames G) (s : Scope) (P Q : Stage) (k i j : ℕ) |
| 113 | (t : Tariff) {z : ℝ} (hz : 0 < z) : ∀ᶠ x : ℝ in atTop, ∀ y ≥ x, |
| 114 | let B := Stock.scaleB x; let μ := s.markers i |
| 115 | let ε := (bank H F P i μ B)⁻¹ |
| 116 | ticket P Q (s.expand j) B μ k * fee t j y / fee (extra t) j y ≤ ε/2 ∧ x^(-z) ≤ ε/2 := by |
| 117 | let A := fun x => ticket P Q (s.expand j) (Stock.scaleB x) (s.markers i) k |
| 118 | have ht : Soft A := by |
| 119 | have hc := P.price_pos |
| 120 | have he := pad_ge (r:=s.expand j) (A:=Q.supportExponent) (k:=k) (show 0 ≤ P.supportExponent+7 by linarith) |
| 121 | exact ((Soft.constant zero_le_one).sum ((Soft.constant (by positivity)).prod sitesSoft)).prod (Soft.constant (zero_le_one.trans he)) |
| 122 | let Z := fun x => bank H F P i (s.markers i) (Stock.scaleB x) |
| 123 | have he : Soft fun x => 2*Z x := (Soft.constant (by positivity)).prod (bankSoft ..) |
| 124 | filter_upwards [(ht.prod he).pays zero_lt_one,he.pays hz,eventually_gt_atTop (0:ℝ)] with x h₁ h₂ h₃ y hy |
| 125 | change A x * fee t j y / fee (extra t) j y ≤ (Z x)⁻¹/2 ∧ x^(-z) ≤ (Z x)⁻¹/2 |
| 126 | have hw : 0 < Z x := bank_pos |
| 127 | have hg : 0 < t.factor j := zero_lt_one.trans_le (t.factor_ge _) |
| 128 | constructor |
| 129 | · have : A x * fee t j y / fee (extra t) j y = A x / y := by have := h₃.trans_le hy; unfold fee extra; dsimp only; rw [pow_succ]; field_simp |
| 130 | rw [this, Real.rpow_one] at *; apply (div_le_iff₀ (by linarith)).mpr |
| 131 | field_simp; linarith |
| 132 | rw [Real.rpow_neg h₃.le]; have hp := Real.rpow_pos_of_pos h₃ z |
| 133 | field_simp; linarith |
| 134 | |
| 135 | -- `W'` here only carries extra numerical thresholds. Follow by `pricing` |
| 136 | -- which keeps them. Other bids of V are exposed and retained by the combined |
| 137 | -- pricing lemma below; no assumption of a physical solution. |
| 138 | private lemma precharge (H : Hol G) (F : Frames G) (h : G.Simple) (s : Scope) {p : Sheet G} {D : Rolls p} {T : Protection D} |
| 139 | (V : Delays T) (t : Tariff) (d : ℕ→ℕ) (ζ : ℕ→ℝ) (hζ : ∀ j, 0 < ζ j) : ∃ W' : Delays T, |
| 140 | V.betaEntry ≤ W'.betaEntry ∧ W'.scaleEntry=V.scaleEntry ∧ W'.shells=V.shells ∧ W'.growth=V.growth ∧ |
| 141 | ∀ W : Delays T,W'.betaEntry ≤ W.betaEntry → ∀ (Y : Bar W) (I : Wait Y) (a : Levels G), Paid I a → |
| 142 | Certified s t d ζ H F a := by |
| 143 | choose b hb using fun i j => eventually_atTop.mp (funds_late H F s (p.profile i) (p.profile j) (d j) i j t (hζ j)) |
| 144 | let W' := { V with betaEntry := fun j => max (V.betaEntry j) (max (b j j) (b (j-1) j)) : Delays T } |
| 145 | refine ⟨W',fun _ => le_max_left ..,rfl,rfl,rfl,fun W hW Y I a ha => ⟨fun m => ?_⟩⟩ |
| 146 | let J := a.clock.J |
| 147 | have H₁ := a.fits.stepSlow m; have H₂ := a.fits.mono m.le_succ; change J (m+1) ≤ J m + 1 at H₁; change J m ≤ J (m+1) at H₂ |
| 148 | have ht : b (J m) (J (m+1)) ≤ W'.betaEntry (J (m+1)) := by |
| 149 | unfold W'; dsimp only; apply le_max_of_le_right |
| 150 | rcases H₂.eq_or_lt with hh|hh |
| 151 | · rw [hh]; exact le_max_left .. |
| 152 | rw [show J m=J (m+1)-1 by omega]; exact le_max_right .. |
| 153 | have hy : a.clock.hatBeta m ≤ a.clock.hatBeta (m+1) := by |
| 154 | unfold Calendar.hatBeta; rw [Schedule.scale_succ]; gcongr |
| 155 | · exact (Gauge.slopeConstant_pos h).le |
| 156 | exact le_add_of_nonneg_right (Real.log_nonneg (by exact_mod_cast (a.S.block m).property : 1≤ ((a.S.block m).val:ℝ))) |
| 157 | simp only [Levels.params,Calendar.params,ha.stage]; apply hb (J m) (J (m+1)) _ (ht.trans ((hW _).trans (ha.pays m))) _ hy |
| 158 | |
| 159 | /-- Extra thresholds for the optional primitive system below. Raw remains |
| 160 | an analytic question. This does not use any `Family`; choose the exact |
| 161 | parameters H F T in advance (or prices for the same), not another set when |
| 162 | creating the vacuum and fitting labels. In this example raise Tariff once for |
| 163 | ALL applications, after the one-step projected-vertex loss `loss` supplied |
| 164 | post-L; BEFORE commissioning the actual trajectories. -/ |
| 165 | theorem price (hG : G.Simple) (s : Scope) (H : Hol G) (F : Frames G) (T : Sections F) (p : Sheet G) (K : MapPrices) |
| 166 | (hfact : ∀ j : ℕ,((p.profile j).order.factorial:ℝ) ≤ (p.profile j).columns) : |
| 167 | ∃ k : ℕ→ℕ, ∀ n : ℕ→ℕ, (∀ i,k i ≤ n i) → ∀ D : Rolls {p with floorL := n}, |
| 168 | ∀ (loss : Tariff) (d : ℕ→ℕ) (ζ : ℕ→ℝ), (∀ j,0 < ζ j) → |
| 169 | ∀ m ≥ (0:ℝ), ∀ Θ : Protection D, ∀ V : Delays Θ, ∃ W : Delays Θ, |
| 170 | W.shells=V.shells ∧ W.growth=V.growth ∧ V.scaleEntry ≤ W.scaleEntry ∧ V.betaEntry ≤ W.betaEntry ∧ |
| 171 | ∃ U : ℕ → ℕ → ℝ, Testing.Ringing K U W ∧ (∀ i j,U i j ≥ m) ∧ |
| 172 | ∀ (Y : Bar W) (I : Wait Y) (a : Levels G), Paid I a → Prepared s (extra loss) T a ∧ Certified s loss d ζ H F a := by |
| 173 | obtain ⟨k,hk⟩ := pricing s T hG p K hfact |
| 174 | refine ⟨k,fun n hn D loss d ζ hζ m hm Θ V => ?_⟩ |
| 175 | obtain ⟨W',he,h1,h2,h3,hw⟩ := precharge H F hG s V loss d ζ hζ |
| 176 | obtain ⟨W',hh,hg,ht,h₄,U,hU,hu,h₅⟩ := hk n hn D (extra loss) m hm Θ W' |
| 177 | exact ⟨W',hh.trans h2,hg.trans h3,h1 ▸ ht,he.trans h₄,U,hU,hu,fun Y I a h => ⟨h₅ Y I a h,hw _ h₄ Y I a h⟩⟩ |
| 178 | |
| 179 | end Numerics |
| 180 | end YM.Extra.Multi.System |