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.FLUCTUATIONS.Grants |
| 2 | import YM.Push.PRICE_COMPILER.Basic |
| 3 | import YM.Work.A15 |
| 4 | import YM.Work.B17 |
| 5 | |
| 6 | /-! |
| 7 | # Using the Grants without inspecting a candidate Schedule |
| 8 | |
| 9 | Strengthen the existing `pricing_order` usage pattern for the multi-requirement |
| 10 | price compiler. All adjacencies include within-one-stage calls. The *transition* |
| 11 | sizes w will be chosen AFTER-L but BEFORE choosing θ, since more uses may need |
| 12 | to price powers involving w before θ. β prices depend on the **actual** w; |
| 13 | can't automatically reuse for larger w. They and the scale entry can be raised |
| 14 | independently after choosing w. Here w is the pressure price parameter (`W₀` |
| 15 | in E), NOT a gas weight. |
| 16 | -/ |
| 17 | |
| 18 | set_option autoImplicit false |
| 19 | noncomputable section |
| 20 | namespace YM.Push.PriceCompiler |
| 21 | open Filter Function Lattice RG Wilson RG.Supply Pressure Pressure.Teller Pressure.Testing |
| 22 | open Precision Input Tree |
| 23 | open scoped Topology Matrix.Norms.Frobenius BigOperators |
| 24 | |
| 25 | variable {G : Gauge} |
| 26 | |
| 27 | /-- Demand for a length. Does not need the history. Arguments `(finer,coarser)`. -/ |
| 28 | def PressureGate (p : Sheet G) (K : MapPrices) (j i : ℕ) (L : Side) := ∀ᶠ w : ℝ in atTop, |
| 29 | ∃ μ : ℝ, 0 < μ ∧ cash (Testing.query p K j i) L w μ |
| 30 | |
| 31 | /-- Use `FLUCTUATIONS` actual Grants. Given p profile and K this pre-L piece |
| 32 | requires just a lower threshold on lengths L(j). Changing `floorL` doesn't |
| 33 | change the demand. The predicate for a single length itself does *not* |
| 34 | assert monotonicity in length. -/ |
| 35 | theorem pressureFloors (p : Sheet G) (K : MapPrices) : |
| 36 | ∃ f : ℕ → ℕ, Monotone f ∧ p.floorL ≤ f ∧ ∀ j L, f j ≤ L.val → |
| 37 | ∀ i, StepStages j i → PressureGate p K j i L := by |
| 38 | choose b hb using fun j i => (Next.Fluctuations.grants (Testing.query p K j i)).precedes |
| 39 | let u (j : ℕ) := max (p.floorL j) (fromMax b j) |
| 40 | refine ⟨prefixHi u, prefixHi_mono _, fun _ => (le_max_left ..).trans (le_prefixHi u le_rfl), |
| 41 | fun j L hl i he => hb j i L ?_⟩ |
| 42 | exact le_trans ((le_fromMax b he).trans (le_max_right ..)) ((le_prefixHi u le_rfl).trans hl) |
| 43 | |
| 44 | section |
| 45 | variable {p : Sheet G} {D : Rolls p} {K : MapPrices} |
| 46 | |
| 47 | structure Charges (K : MapPrices) (D : Rolls p) (w : ℕ → ℕ → ℝ) (entry rate : ℕ → ℝ) : Prop where |
| 48 | fee j i : 0 < w j i |
| 49 | ent : Monotone entry |
| 50 | start j : 1 ≤ entry j |
| 51 | pos j : 0 < rate j |
| 52 | rates : Antitone rate |
| 53 | earn j i (h : StepStages j i) x (hp : entry j ≤ x) : Teller.live (Testing.query p K j i) (D.L j) (w j i) |
| 54 | (fun S T _ A y U k V => rate j*(fiery G y (D.L j))^2 * A.shares ≤ A.assessed T y U (S.prediction U k) V) x |
| 55 | |
| 56 | /-- Price ORDER statement *usable before choosing protection*. At a D after |
| 57 | L, buy the ability to charge W as large as desired (and all constraints per |
| 58 | transition simultaneously), from the grant already bought. Then for the w |
| 59 | actually chosen get μ and entry floors, independent of Theta or Delays. -/ |
| 60 | theorem charges (h : ∀ j i, StepStages j i → PressureGate p K j i (D.L j)) : |
| 61 | ∃ k : ℕ → ℝ, Monotone k ∧ (∀ j, 1 ≤ k j) ∧ ∀ w : ℕ → ℕ → ℝ, (∀ j i, k j ≤ w j i) → |
| 62 | ∃ F μ : ℕ → ℝ, Charges K D w F μ := by |
| 63 | obtain ⟨k,hk,h₁,hK⟩ := collect_upper (fun _ => (1:ℝ)) |
| 64 | (fun j w => ∀ i, StepStages j i → ∃ μ : ℝ, 0 < μ ∧ cash (Testing.query p K j i) (D.L j) w μ) |
| 65 | (fun j => eventually_transitions j atTop _ (h j)) |
| 66 | refine ⟨k,hk,h₁,fun w hw => ?_⟩ |
| 67 | have he j i : ∃ μ : ℝ, 0 < μ ∧ (StepStages j i → cash (Testing.query p K j i) (D.L j) (w j i) μ) := by |
| 68 | by_cases ha : StepStages j i |
| 69 | · obtain ⟨x,hx,hq⟩ := hK j _ (hw j i) i ha; exact ⟨x,hx,fun _ => hq⟩ |
| 70 | exact ⟨1,zero_lt_one,fun u => False.elim (ha u)⟩ |
| 71 | choose u hu hU using he |
| 72 | let μ := rateLo (fromMin u) |
| 73 | have hp j : ∀ᶠ x in atTop, ∀ i, StepStages j i → Teller.live (Testing.query p K j i) (D.L j) (w j i) |
| 74 | (fun S T _ A y U k V => μ j*(fiery G y (D.L j))^2 * A.shares ≤ A.assessed T y U (S.prediction U k) V) x := by |
| 75 | apply eventually_transitions |
| 76 | intro i ht |
| 77 | have hg := (hU j i ht).late |
| 78 | have hm : μ j ≤ u j i := (rateLo_le _ j).trans (fromMin_le u ht) |
| 79 | filter_upwards [hg] with x hx c f S hl hs T hb F A Q k V ha he |
| 80 | exact (mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right hm (sq_nonneg _)) (Nat.cast_nonneg _)).trans |
| 81 | (hx c f S hl hs T hb F A Q k V ha he) |
| 82 | obtain ⟨F,hF,hf,H⟩ := collect_upper (fun _ => (1:ℝ)) _ hp |
| 83 | exact ⟨F,μ,fun j i => lt_of_lt_of_le zero_lt_one ((h₁ j).trans (hw j i)),hF,hf, |
| 84 | rateLo_pos fun j => lt_min (hu j j) (hu j (j-1)), rateLo_anti _, fun j i h x he => H j x he i h⟩ |
| 85 | |
| 86 | /-- In particular, nonempty choice even with extra w-asks per pair. |
| 87 | Can (but needn't) make w a monotone-staged price on real edges. Allow |
| 88 | non-edges arbitrary high w-asks too. -/ |
| 89 | theorem charges_extra (h : ∀ j i, StepStages j i → PressureGate p K j i (D.L j)) (x : ℕ → ℕ → ℝ) : |
| 90 | ∃ w e μ f, Charges K D w e μ ∧ x ≤ w ∧ Monotone f ∧ ∀ j i, StepStages j i → w j i = f j := by |
| 91 | obtain ⟨k,-,-,H⟩ := charges h |
| 92 | let v (j) := max (k j) (fromMax x j) |
| 93 | let w (j i) := max (prefixHi v j) (x j i) |
| 94 | obtain ⟨e,μ,hW⟩ := H w fun _ _ => |
| 95 | (le_max_left ..).trans ((le_prefixHi v le_rfl).trans (le_max_left ..)) |
| 96 | exact ⟨w,e,μ,prefixHi v,hW,fun _ _ => le_max_right ..,prefixHi_mono _,fun j i ha => |
| 97 | max_eq_left (((le_fromMax x ha).trans (le_max_right ..)).trans (le_prefixHi v le_rfl))⟩ |
| 98 | |
| 99 | variable {w : ℕ → ℕ → ℝ} {F μ : ℕ → ℝ} (h : Charges K D w F μ) |
| 100 | include h |
| 101 | |
| 102 | |
| 103 | |
| 104 | /-- Spend it for any eligible Tube on **this** schedule. Premises include |
| 105 | Funds, especially the kernel & path estimates (and Plot/Slice still required |
| 106 | in the conclusion). No assuming a Directed object just to charge this price. -/ |
| 107 | theorem Charges.ticket {T : Protection D} {W : Delays T} (he : F ≤ W.betaEntry) |
| 108 | {Y : Bar W} {I : Wait Y} {a : Levels G} (ha : Paid I a) (m P : ℕ) (R : Tube G (a.clock.op m P)) |
| 109 | (hx : Teller.Funds (Testing.query p K (a.clock.J (m+1)) (a.clock.J m)) _ R) : |
| 110 | let j := a.clock.J (m+1); let S := a.clock.op m P |
| 111 | ∀ (A : Stores S) (U : Config G _) (k : S.Choices) (V : Config G _) (X : Forest S.ratio), |
| 112 | Stores.SliceSet S X U → Stores.Plot A U k V (a.clock.hatBeta m) (w j (a.clock.J m)) → |
| 113 | μ j * (a.clock.threshold (m+1))^2 * A.shares ≤ A.assessed R (a.clock.hatBeta m) U (S.prediction U k) V := by |
| 114 | intro j S A U k V X hs hg |
| 115 | have hl : S.patch.L = D.L j := block_eq ha m |
| 116 | have hc : 100*(1+radiusB (a.clock.hatBeta m)) ≤ (a.S.side m P).val := by |
| 117 | rw [add_comm 1]; exact a.fits.sizeT m P |
| 118 | have hp := h.earn j (a.clock.J m) (step_paid a m) (a.clock.hatBeta m) ((he j).trans (ha.pays m)) |
| 119 | _ _ S hl hc R hx X A U k V hs hg |
| 120 | change μ j * (temp (a.clock.hatBeta (m+1)))^2 * A.shares ≤ _ |
| 121 | rw [beta_eq ha] |
| 122 | exact hp |
| 123 | end |
| 124 | end YM.Push.PriceCompiler |