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.Progress.JOINT_CALENDAR.Issue |
| 2 | |
| 3 | /-! |
| 4 | # Further simultaneous period budget for applying finite-phase claims |
| 5 | |
| 6 | Bills independent of actual periods; enough for example to absorb whole |
| 7 | polynomial volumes times e^{-c R/a_m} when actually having such an invoice. |
| 8 | Works with the very same Package.Levels by putting scaleEntry and minLength |
| 9 | requests at their statutory quantifier positions. Handles m=0. (see also the other gates in Scheduling). Not an estimate of |
| 10 | the determinant for supplying the invoice itself. |
| 11 | -/ |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | namespace YM.Progress.Joint |
| 15 | open Filter Function RG RG.Supply Bid Precision Pressure Next Next.Scheduling Next.Scheduling.Weak Lattice |
| 16 | open scoped Topology BigOperators |
| 17 | variable {G : Gauge} |
| 18 | |
| 19 | def Native := ℕ → ℝ → ℝ → ℝ |
| 20 | |
| 21 | /-- `u j b s` = post-L bill in OUTPUT site units when coarse log scale=s, |
| 22 | β₀=b (the bar), fine smoothing index=j. Sufficient test; includes j |
| 23 | coarse as well as j-1 from using maxima. Earlier or later costs available |
| 24 | in the same way if THEN computable. No requiring arbitrary costs even |
| 25 | asymptotically proportional to the inverse spacing with coefficient growing |
| 26 | in j (cf. `fixed_period_obstacle`). -/ |
| 27 | structure Doable (u : Native) : Prop where |
| 28 | first j b : ContinuousOn (u j b) (Set.Ici 0) |
| 29 | late j b : ∀ᶠ s in atTop, u j b s ≤ Real.exp s |
| 30 | |
| 31 | def Cleared (a : Levels G) (u : Native) := ∀ m n : ℕ, u (a.clock.J (m+1)) a.clock.bar (a.S.scale m) ≤ (a.S.side m n).val |
| 32 | |
| 33 | |
| 34 | |
| 35 | variable {p : Sheet G} {D : Rolls p} {Θ : Protection D} |
| 36 | |
| 37 | def Over (u : Native) (V : Delays Θ) := ∀ j b s, V.scaleEntry j b ≤ s → u j b s ≤ Real.exp s |
| 38 | |
| 39 | lemma Doable.prepare {u : Native} (h : Doable u) (V : Delays Θ) : ∃ W : Delays Θ, Boost V W ∧ Over u W := by |
| 40 | choose z hz using fun j b => eventually_atTop.1 (h.late j b) |
| 41 | exact ⟨{ V with scaleEntry := fun j b => max (V.scaleEntry j b) (z j b) }, |
| 42 | ⟨le_rfl,fun _ _ => le_max_left ..,le_rfl,le_rfl⟩,fun j b s h => hz j b s (le_trans (le_max_right ..) h)⟩ |
| 43 | |
| 44 | lemma Over.later {u} {V W : Delays Θ} (h : Over u V) (hB : Boost V W) : Over u W := |
| 45 | fun j b s he => h j b s ((hB.scale j b).trans he) |
| 46 | |
| 47 | lemma Doable.reserve {u} (h : Doable u) (j : ℕ) (b : ℝ) : ∃ r : ℕ, ∀ s : ℝ, 0 ≤ s → |
| 48 | u j b s ≤ r*Real.exp s := by |
| 49 | obtain ⟨s₀,h₀⟩ := eventually_atTop.1 (h.late j b) |
| 50 | obtain ⟨B,hB⟩ := isCompact_Icc.bddAbove_image ((h.first j b).mono (Set.Icc_subset_Ici_self (a:=s₀))) |
| 51 | obtain ⟨r,hr⟩ := exists_nat_ge B |
| 52 | refine ⟨r+1,fun s hs => ?_⟩ |
| 53 | by_cases he : s₀ ≤ s |
| 54 | · exact (h₀ s he).trans (le_mul_of_one_le_left (Real.exp_nonneg _) (by exact_mod_cast Nat.le_add_left 1 r)) |
| 55 | exact (hB ⟨s, ⟨hs,le_of_not_ge he⟩,rfl⟩).trans <| hr.trans (by push_cast; nlinarith [Real.one_le_exp hs]) |
| 56 | |
| 57 | theorem Over.clear {s : Survey G} {q : Quote} {v} {D : Rolls (s.paper q v)} {Θ : Protection D} {u} (h : Doable u) {W : Delays Θ} (hg : Over u W) {Y : Bar W} (J : Wait Y) : |
| 58 | ∃ I : Wait Y, Behind J I ∧ ∀ {K : Wait Y}, Behind I K → ∀ a : Levels G, Paid K a → Cleared a u := by |
| 59 | obtain ⟨r,hr⟩ := h.reserve s.first Y.value |
| 60 | let I : Wait Y := { J with minLength := max J.minLength r } |
| 61 | refine ⟨I,⟨le_rfl,le_rfl,le_max_left ..⟩,fun hK a ha m n => ?_⟩ |
| 62 | have he : Real.exp (a.S.scale m) = (a.S.denominator m).val := by |
| 63 | unfold Schedule.scale Schedule.a; rw [inv_inv,Real.exp_log (by positivity)] |
| 64 | have hn : ((a.S.side m n).val:ℝ) = (a.S.period n).val * ((a.S.denominator m).val : ℝ) := by exact Nat.cast_mul .. |
| 65 | have ht := a.fits.mono (show 0 ≤ m+1 by omega) |
| 66 | rw [ha.bar,hn] |
| 67 | rw [ha.firstZero] at ht; rcases ht.eq_or_lt with h|h |
| 68 | · rw [← h]; have hh := hr _ (Shoot.scale_nn a m); rw [he] at hh |
| 69 | exact hh.trans (mul_le_mul_of_nonneg_right (by exact_mod_cast ((le_max_right ..).trans (hK.psize.trans (ha.periods n)) : r ≤ _)) (by positivity)) |
| 70 | have hh := hg _ _ _ (ha.paysHigher m h); rw [he] at hh |
| 71 | exact hh.trans (le_mul_of_one_le_left (by positivity) (by exact_mod_cast (a.S.period n).property)) |
| 72 | |
| 73 | /-- Basic family, y = fine hatBeta during the step, independent of p, |
| 74 | polynomial of y even for huge post-L constants. -/ |
| 75 | def native (D : Rolls p) (C : ℕ → ℝ) (d : ℕ → ℕ) : Native := fun j b s => |
| 76 | C j * (1+(b+G.slopeConstant*s + G.slopeConstant*Real.log (D.L j).val))^(d j) |
| 77 | |
| 78 | lemma doable_native (D : Rolls p) (C : ℕ → ℝ) (d : ℕ → ℕ) : Doable (native D C d) := by |
| 79 | refine ⟨fun j b => Continuous.continuousOn (by unfold native; fun_prop), fun j b => ?_⟩ |
| 80 | let g := G.slopeConstant |
| 81 | have co (c : ℝ) := (Asymptotics.isLittleO_const_id_atTop c).isBigO |
| 82 | have ho := ((co 1).add (((co b).add ((Asymptotics.isBigO_refl id atTop).const_mul_left g)).add (co (g*Real.log (D.L j).val)))) |
| 83 | have ht := (((ho.pow (d j)).const_mul_left (C j)).trans_isLittleO |
| 84 | (isLittleO_pow_exp_pos_mul_atTop _ (by norm_num : (0:ℝ)<1))).def one_pos |
| 85 | filter_upwards [ht] with x hx |
| 86 | exact (Real.le_norm_self _).trans (show ‖native D C d j b x‖ ≤ Real.exp x by simpa only [native,id_eq,g,one_mul,Real.norm_of_nonneg (Real.exp_nonneg _)] using hx) |
| 87 | |
| 88 | lemma native_price {C d} {D : Rolls p} {Θ : Protection D} {W : Delays Θ} {Y : Bar W} {I : Wait Y} {a : Levels G} |
| 89 | (h : Paid I a) (hU : Cleared a (native D C d)) (m n : ℕ) : |
| 90 | let j := a.clock.J (m+1) |
| 91 | C j*(1+a.clock.hatBeta (m+1))^(d j) ≤ (a.S.side m n).val := by |
| 92 | intro j; have he : a.S.block m = D.L j := (a.fits.sameFactor _).symm.trans (congr_fun h.lengths _) |
| 93 | rw [← Deployment.hat, he]; exact hU _ _ |
| 94 | |
| 95 | lemma cap_small (a : Levels G) (m : ℕ) : a.clock.loopCap m ≤ 2*a.clock.hatBeta m := by |
| 96 | have he := a.fits.smallField m |
| 97 | have hj : 1 ≤ (a.clock.J m:ℝ) := by have := a.clock.adm m; exact_mod_cast (show 1 ≤ a.clock.J m by omega) |
| 98 | have ht : a.clock.theta (a.clock.J m) ≤ (1:ℝ) := (a.fits.thetaRange m).2.trans (inv_le_one_of_one_le₀ hj) |
| 99 | have hx : 1 ≤ a.clock.monitor m := Real.one_le_exp (sq_nonneg _) |
| 100 | let y := a.clock.hatBeta m |
| 101 | have hp : 1 < y := a.fits.delayed m |
| 102 | unfold Calendar.loopCap |
| 103 | have hy := Real.rpow_le_rpow_of_exponent_le hx ht; rw [Real.rpow_one] at hy |
| 104 | have hh : Real.sqrt y ≤ y := by nlinarith [Real.sq_sqrt (x:=y) (by positivity)] |
| 105 | have hg : a.clock.monitor m ≤ Real.sqrt y := by |
| 106 | have ht := mul_le_mul_of_nonneg_left he (Real.sqrt_nonneg y) |
| 107 | change Real.sqrt y*( (Real.sqrt y)⁻¹*a.clock.monitor m) ≤ Real.sqrt y*1 at ht |
| 108 | rwa [mul_inv_cancel_left₀ (Real.sqrt_pos.2 (by linarith)).ne', mul_one] at ht |
| 109 | linarith |
| 110 | |
| 111 | /-- Once-only purchases *after* L/post prices known to commoditize the |
| 112 | period error, including actual site card, BOTH transition prices where |
| 113 | already bounded in Q, etc. -/ |
| 114 | structure Attenuated (Q : PostCost D) (a : Levels G) (rate : ℕ → ℝ) (t : ℕ → ℕ) : Prop where |
| 115 | side m n : |
| 116 | let j := a.clock.J (m+1); let c := a.S.side m n |
| 117 | (Fintype.card (Site c):ℝ)*Q.Γ j * a.clock.loopCap (m+1)*Real.exp (-Q.c j*c.val) ≤ |
| 118 | Real.exp (-rate j * a.clock.hatBeta (m+1)^(t j)) * Real.exp (-(Q.c j/2)*c.val) |
| 119 | |
| 120 | lemma Attenuated.offer (Q : PostCost D) (rate : ℕ → ℝ) (t : ℕ → ℕ) : |
| 121 | ∃ u : Native, Doable u ∧ ∀ {Θ : Protection D} {W : Delays Θ} {Y : Bar W} {I : Wait Y} {a : Levels G}, |
| 122 | Paid I a → Cleared a u → Attenuated Q a rate t := by |
| 123 | choose h hh using fun j => eventually_atTop.1 <| ((isLittleO_pow_exp_pos_mul_atTop 5 |
| 124 | (div_pos (Q.posC j) (by norm_num : (0:ℝ)<4))).const_mul_left (2*Q.Γ j)).def one_pos |
| 125 | let v j := max (max 1 (h j)) (4*rate j/Q.c j) |
| 126 | refine ⟨native D v (fun j => max 1 (t j)),doable_native ..,fun ha hU => ⟨fun m n => ?_⟩⟩ |
| 127 | intro j c |
| 128 | rename_i _ _ _ _ a |
| 129 | let r : ℝ := c.val; let y := a.clock.hatBeta (m+1); let d := max 1 (t j) |
| 130 | have hy : 1 < y := a.fits.delayed _ |
| 131 | have hx : v j*(1+y)^d ≤ r := native_price ha hU m n |
| 132 | have hv : 1 ≤ v j := le_max_of_le_left (le_max_left ..) |
| 133 | have hp : (1+y) ≤ (1+y)^d := by simpa using pow_le_pow_right₀ (by linarith : 1 ≤ (1+y:ℝ)) (le_max_left 1 (t j)) |
| 134 | have hz : 1+y ≤ r := (hp.trans (le_mul_of_one_le_left (by positivity) hv)).trans hx |
| 135 | have hhr := hh j r ((le_max_of_le_left (le_max_right ..)).trans ((le_mul_of_one_le_right (by positivity : 0 ≤ v j) |
| 136 | (one_le_pow₀ (by linarith : 1 ≤ 1+y))).trans hx)) |
| 137 | simp only [Real.norm_of_nonneg (Real.exp_nonneg _), one_mul] at hhr |
| 138 | have ht : y^(t j) ≤ (1+y)^d := (pow_le_pow_left₀ (by positivity) (by linarith) _).trans <| |
| 139 | pow_le_pow_right₀ (by linarith) (le_max_right ..) |
| 140 | have hq := Q.posC j |
| 141 | have he : rate j*y^(t j) ≤ Q.c j/4*r := by |
| 142 | have h1 := mul_le_mul_of_nonneg_right (div_le_iff₀ hq |>.1 (show 4*rate j/Q.c j ≤ v j from le_max_right ..)) |
| 143 | (pow_nonneg (show 0 ≤ y by positivity) (t j)) |
| 144 | nlinarith [(mul_le_mul_of_nonneg_left ((mul_le_mul_of_nonneg_left ht (show 0 ≤ v j by linarith)).trans hx) hq.le)] |
| 145 | have hal : (Fintype.card (Site c):ℝ)*Q.Γ j * a.clock.loopCap (m+1) ≤ Real.exp ((Q.c j/4)*r) := by |
| 146 | rw [site_card]; push_cast |
| 147 | calc |
| 148 | _ ≤ r^4 * Q.Γ j*(2*y) := mul_le_mul_of_nonneg_left (cap_small ..) (by have := Q.pos j; positivity) |
| 149 | _ ≤ 2*Q.Γ j*r^5 := by nlinarith [Q.pos j, mul_le_mul_of_nonneg_left (show y ≤ r by linarith) (show 0 ≤ r^4*Q.Γ j by have := Q.pos j; positivity)] |
| 150 | _ ≤ _ := (Real.le_norm_self _).trans hhr |
| 151 | apply le_trans (mul_le_mul_of_nonneg_right hal (Real.exp_nonneg _)) |
| 152 | rw [← Real.exp_add,← Real.exp_add]; apply Real.exp_monotone |
| 153 | change _ + -Q.c j*r ≤ _ + -(Q.c j/2)*r; linarith |
| 154 | end YM.Progress.Joint |