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.SOURCE_HISTORIES.Delays |
| 2 | import YM.Extra.SOURCE_HISTORIES.Replay |
| 3 | |
| 4 | |
| 5 | /-! |
| 6 | # Pre-L currency (and numeric thresholds for a ONE-schedule consumer) |
| 7 | |
| 8 | Plain obligations on numeric knobs. This is not RRequirements (no |
| 9 | assertion of the *analytic* estimates based on these gates nor of ability |
| 10 | to combine them with other vacuum, Ward etc gates). . We allow |
| 11 | requiring local errors in both directions ≤ L^-0.4 in the paid conventions |
| 12 | (after the local producer's additional L and coupling delays); this leaves |
| 13 | room for orientation averaging and for assembly reserve L^-0.375. All such |
| 14 | comparisons at fixed stage/weight. Issue Bank & roomCost on the purchased |
| 15 | trajectory, not anew after picking an Order. Can use still bigger L. The |
| 16 | C_j socket must be earned before L, using all needed k and support |
| 17 | allocations of the SAME instance. E.g. numerical solvability in isolation |
| 18 | of `Plans` is NOT derivation of all these estimates simultaneously. |
| 19 | -/ |
| 20 | |
| 21 | set_option autoImplicit false |
| 22 | noncomputable section |
| 23 | namespace YM.Extra.Histories.Doors |
| 24 | open Lattice Wilson RG Supply Source Function Filter Set MeasureTheory Bid Labels Motion Next.Foundations |
| 25 | open scoped Topology BigOperators Matrix.Norms.Frobenius ContDiff |
| 26 | |
| 27 | variable {G : Gauge} |
| 28 | |
| 29 | /-- Exact one optional realization of the Buys rate under L minima. -/ |
| 30 | def rate (L : Side) := (L.val:ℝ) ^ (-(2/5 : ℝ)) |
| 31 | lemma rate_pos (L : Side) : 0<rate L := by unfold rate; positivity |
| 32 | |
| 33 | lemma pre_tilt (s T : ℝ) : ∃ k : ℕ, ∀ L : Side, k ≤ L.val → |
| 34 | rate L * s ≤ 1 ∧ rate L * (1+s) * T ≤ barunit L := by |
| 35 | have he (u : ℝ) (hu : 0 < u) (C : ℝ) : ∀ᶠ n : ℕ in atTop, ((n:ℝ)^(-u)) * C ≤ 1 := by |
| 36 | have hv := ((tendsto_rpow_neg_atTop hu).comp tendsto_natCast_atTop_atTop).mul_const C |
| 37 | rw [zero_mul] at hv; exact hv.eventually (ge_mem_nhds zero_lt_one) |
| 38 | have ha : 0 < (2/5:ℝ) - 3/8 := by norm_num |
| 39 | obtain ⟨k,hk⟩ := eventually_atTop.mp ((he (2/5) (by norm_num) s).and (he (2/5-3/8) ha ((1+s)*T))) |
| 40 | refine ⟨k,fun L hL => ⟨(hk _ hL).1,?_⟩⟩ |
| 41 | let x := (L.val:ℝ) |
| 42 | have hx : 0 < x := by unfold x; positivity |
| 43 | have hp : barunit L = x ^ (-(3/8:ℝ)) := by |
| 44 | unfold barunit puffs |
| 45 | change (x^((1:ℝ)/8))⁻¹^(3:ℕ)=_ |
| 46 | rw [← Real.rpow_neg hx.le, ← Real.rpow_mul_natCast hx.le (-(1/8:ℝ)) 3]; norm_num |
| 47 | rw [hp] |
| 48 | calc |
| 49 | rate L * (1+s) * T = (x ^ (-((2/5:ℝ)-3/8)) * ((1+s)*T)) * x ^ (-(3/8:ℝ)) := by |
| 50 | rw [mul_right_comm (x ^ (-((2/5:ℝ)-3/8))),← Real.rpow_add hx,show (-((2/5:ℝ)-3/8))+ -(3/8:ℝ) = -(2/5) by ring] |
| 51 | unfold rate x; ring |
| 52 | _ ≤ 1*(x ^ (-(3/8:ℝ))) := mul_le_mul_of_nonneg_right (hk _ hL).2 (by positivity) |
| 53 | _ = _ := one_mul _ |
| 54 | |
| 55 | /-- Numerical-only Knobs on this Sheet. Can strengthen ratios, k, P, |
| 56 | or exp, but then still have to pay these exact obligations on new Sheet. -/ |
| 57 | structure Plans (P : Sheet G) (C : ℕ → ℝ) (W : Worth) : Prop where |
| 58 | origin j : 1 ≤ C j |
| 59 | grown j : j ≤ (P.profile j).order ∧ j ≤ (P.profile j).power |
| 60 | share j : price G (max (P.profile j).order (P.profile j).power) ≤ (P.profile j).columns |
| 61 | motion j d : d ≤ j → (C j+1)*orbitCost ((frames G).level d) ≤ W.K j |
| 62 | columns j : 64*(W.K (j+1))^2 ≤ (P.profile j).columns |
| 63 | |
| 64 | /-- All currency on purchased levels. -/ |
| 65 | structure Budget (K : Levels G) (C : ℕ → ℝ) (W : Worth) : Prop where |
| 66 | stage m : K.clock.J m ≤ (K.params m).order ∧ K.clock.J m ≤ (K.params m).power |
| 67 | sectionBudget m : price G (max (K.params m).order (K.params m).power) ≤ (K.params m).columns |
| 68 | sequences m d : d ≤ K.clock.J m → Latch G d K m |
| 69 | room : roomCost K W |
| 70 | bank : Bank W K |
| 71 | fits (H : History G) : H.levels=K → ∀ m d, d ≤ K.clock.J m → |
| 72 | Buys H ((frames G).level d) W m (C (K.clock.J (m+1))) (rate (K.S.block m)) |
| 73 | |
| 74 | /-- Both floors issued against the anticipated profile/neighbor costs, |
| 75 | independent of actual L/periods. -/ |
| 76 | theorem afford (P : Sheet G) (C : ℕ → ℝ) (W : Worth) (h : Plans P C W) : |
| 77 | ∃ n : ℕ → ℕ, ∃ b : ℕ → ℝ, ∀ v : ℕ → ℕ, n ≤ v → ∀ D : Rolls { P with floorL := v }, ∀ M : Levels G, |
| 78 | M.clock.factor=D.L → M.clock.stage=P.profile → (∀ m, b (M.clock.J (m+1)) ≤ M.clock.hatBeta m) → |
| 79 | Budget M C W := by |
| 80 | obtain ⟨k,hk⟩ := Bid.buffer W P h.columns |
| 81 | obtain ⟨b,hb⟩ := entrances P |
| 82 | choose u hu using fun j d : ℕ => pre_tilt (P.profile j).columns (orbitCost ((frames G).level d)) |
| 83 | let N (j) := max (k j) ((Finset.range (j+1)).sup (u j)) |
| 84 | refine ⟨N,b, fun v hv D K hf hs he => ?_⟩ |
| 85 | obtain ⟨hB,hC⟩ := hk v (fun j => le_trans (le_max_left ..) (hv j)) D K hf hs |
| 86 | have hd (m) : K.params m=P.profile (K.clock.J m) := by unfold Levels.params Calendar.params; rw [hs] |
| 87 | refine ⟨fun m => (hd m).symm ▸ h.grown _,fun m => (hd m).symm ▸ h.share _,fun m d hg => hb K hs he d m hg,hC,hB,?_⟩ |
| 88 | rintro H rfl m d hg |
| 89 | let j := H.levels.clock.J (m+1) |
| 90 | let L := H.S.block m |
| 91 | have hj : d≤j := hg.trans (H.levels.fits.mono m.le_succ) |
| 92 | have hz : u j d ≤ (D.L j).val := (show u j d ≤ N j from le_trans |
| 93 | (Finset.le_sup (Finset.mem_range.mpr (Nat.lt_succ_of_le hj))) (le_max_right ..)).trans |
| 94 | ((hv j).trans (D.large j).need) |
| 95 | have hL : L=D.L j := (H.levels.fits.sameFactor m).symm.trans (congr_fun hf j) |
| 96 | have hu := hu j d L (hL.symm ▸ hz) |
| 97 | constructor |
| 98 | · exact h.origin _ |
| 99 | · exact (rate_pos _).le |
| 100 | · rw [hd]; exact hu.2 |
| 101 | rw [hd]; exact (mul_le_mul_of_nonneg_right (add_le_add_right hu.1 _) (zero_le_one.trans (orbitCost_one_le _))).trans |
| 102 | (h.motion j d hj) |
| 103 | |
| 104 | /-- Not needed as an input, just tests the `Plans` NUMERIC scope. When |
| 105 | allocating actual plans do such maxima before L and don't assert other |
| 106 | contexts still hold after profile changes. Keep exact grown profiles here if |
| 107 | already chosen, anticipated costs `C` must still suffice. -/ |
| 108 | theorem alone (P : Sheet G) (C : ℕ → ℝ) (h : ∀ j, 1 ≤ C j) |
| 109 | (ht : ∀ j, j ≤ (P.profile j).order ∧ j ≤ (P.profile j).power) : |
| 110 | ∃ u : ℕ → Stage, ∃ Q : Sheet G, Q.kernel=P.kernel ∧ Q.floorL=P.floorL ∧ Q.first=P.first ∧ |
| 111 | Q.profile=u ∧ (∀ j, (P.profile j).columns ≤ (u j).columns ∧ u j = {P.profile j with |
| 112 | columns := (u j).columns,columns_ge := (u j).columns_ge}) ∧ ∃ W, Plans Q C W := by |
| 113 | let g j d := (C j+1)*orbitCost ((frames G).level d) |
| 114 | have hx j d : 0≤g j d := mul_nonneg (by linarith only [h j]) (zero_le_one.trans (orbitCost_one_le _)) |
| 115 | let v j := ∑ d ∈ Finset.range (j+1),g j d |
| 116 | have he j : 0 ≤ v j := Finset.sum_nonneg fun d _ => hx j d |
| 117 | let W : Worth := { |
| 118 | K := fun k => 1+∑ j∈Finset.range (k+1),v j |
| 119 | prices := fun k => le_add_of_nonneg_right (Finset.sum_nonneg fun j _ => he j) |
| 120 | growth := monotone_nat_of_le_succ fun k => by |
| 121 | change 1 + ∑ j∈Finset.range (k+1),v j ≤ 1 + ∑ j∈Finset.range (k+1+1),v j |
| 122 | rw [Finset.sum_range_succ _ (k+1)]; linarith only [he (k+1)] } |
| 123 | let u j : Stage := { |
| 124 | P.profile j with |
| 125 | columns := max (P.profile j).columns |
| 126 | (max (price G (max (P.profile j).order (P.profile j).power)) (64*(W.K (j+1))^2)) |
| 127 | columns_ge := le_trans (P.profile j).columns_ge (le_max_left ..) } |
| 128 | let Q : Sheet G := {P with profile := u} |
| 129 | refine ⟨u,Q,rfl,rfl,rfl,rfl,fun j => ⟨le_max_left ..,rfl⟩,W,⟨h,ht,fun j => |
| 130 | (le_max_left ..).trans (le_max_right ..), fun j d hi => ?_,fun j => (le_max_right ..).trans (le_max_right ..)⟩⟩ |
| 131 | have hh : g j d ≤ v j := Finset.single_le_sum (fun i _ => hx j i) (Finset.mem_range.mpr (Nat.lt_succ_of_le hi)) |
| 132 | have hu : v j ≤ ∑ i∈Finset.range (j+1),v i := Finset.single_le_sum (fun i _ => he i) (by simp) |
| 133 | exact hh.trans (hu.trans (le_add_of_nonneg_left zero_le_one)) |
| 134 | |
| 135 | end YM.Extra.Histories.Doors |