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.Branch.Covariant |
| 2 | |
| 3 | /-! |
| 4 | # Calendar issuance API |
| 5 | |
| 6 | Orders & constants chosen BEFORE block ratio. Indices j are numeric including |
| 7 | j<start, use dummy/pad values there. High order requirements increasing only |
| 8 | in smoothing index. Clients instantiate monotone sequences with their proven |
| 9 | prices, including anticipated finitely-used constants (do not substitute |
| 10 | realized post-L costs in a pre-L requirement). Existence results here work for |
| 11 | *any already chosen* constants with these scopes. Thus choose arbitrarily large |
| 12 | post-L delay after all pre-L quota and ratios. Does NOT check that the RG |
| 13 | arguments actually fit that dependency schedule. |
| 14 | -/ |
| 15 | set_option autoImplicit false |
| 16 | noncomputable section |
| 17 | namespace YM.RG.Supply |
| 18 | open Wilson Lattice Set Filter Function Finset |
| 19 | open scoped Matrix.Norms.Frobenius Topology BigOperators |
| 20 | variable {G : Gauge} |
| 21 | |
| 22 | /-- Numerical and kernel data fixed before any block ratios. `floorL` |
| 23 | permits additional arithmetic/data thresholds at the same stage, clients |
| 24 | can for example represent the two possible transitions' asks by their `max`, |
| 25 | including neighbors' finite lists and their supports. -/ |
| 26 | structure Sheet (G : Gauge) where |
| 27 | kernel : KernelChoices |
| 28 | has : ∀ P : Patch, P.Branches kernel G |
| 29 | profile : ℕ → Stage |
| 30 | first : ℕ |
| 31 | cut : 4 ≤ first |
| 32 | orders : Monotone fun i => (profile i).order |
| 33 | powers : Monotone fun i => (profile i).power |
| 34 | prices : Monotone fun i => (profile i).supportExponent |
| 35 | floorL : ℕ → ℕ |
| 36 | |
| 37 | /-- Numeric predicates at each smoothing stage (not physical step). Reserves |
| 38 | use the specified j even if two neighbors have same `profile`. -/ |
| 39 | structure Large (p : Sheet G) (j : ℕ) (L : Side) : Prop where |
| 40 | odd : Odd L.val |
| 41 | size : 3 ≤ L.val |
| 42 | need : p.floorL j ≤ L.val |
| 43 | kick (hj : p.first ≤ j) : (p.profile j).drift / Real.log L.val ≤ G.slopeConstant/4 |
| 44 | slow (hj : p.first ≤ j) : (p.profile j).drift / Real.log L.val ≤ ((j:ℝ)^2)⁻¹ |
| 45 | fits (hj : p.first ≤ j) : |
| 46 | let X := p.profile j |
| 47 | Real.log (1 + X.paths + X.width⁻¹ + X.columns + X.clip.relaxation + X.supportExponent) / |
| 48 | Real.log L.val ≤ ((j:ℝ)^2)⁻¹ |
| 49 | |
| 50 | structure Rolls (p : Sheet G) where |
| 51 | L : ℕ → Side |
| 52 | large : ∀ j, Large p j (L j) |
| 53 | grow : Monotone fun j => (L j).val |
| 54 | |
| 55 | lemma Rolls.eventually_large (p : Sheet G) (h : G.Simple) (i) : ∃ M : ℕ, |
| 56 | ∀ n : Side, M ≤ n.val → Odd n.val → Large p i n := by |
| 57 | let B := max 3 (p.floorL i) |
| 58 | have hb : 3≤B := le_max_left .. |
| 59 | have hc : p.floorL i≤B := le_max_right .. |
| 60 | by_cases hi : p.first ≤ i |
| 61 | · have hj : 0 < (i:ℝ) := by |
| 62 | have := p.cut |
| 63 | exact_mod_cast (show 0 < i by omega) |
| 64 | have ha (x : ℝ) : Tendsto (fun n : ℕ => x / Real.log (n:ℝ)) atTop (𝓝 0) := by |
| 65 | exact (tendsto_const_nhds (x := x)).div_atTop (Real.tendsto_log_atTop.comp tendsto_natCast_atTop_atTop) |
| 66 | have he : ∀ᶠ n : ℕ in atTop, B ≤ n ∧ |
| 67 | (p.profile i).drift / Real.log (n:ℝ) ≤ G.slopeConstant/4 ∧ |
| 68 | (p.profile i).drift / Real.log (n:ℝ) ≤ ((i:ℝ)^2)⁻¹ ∧ |
| 69 | Real.log (1 + (p.profile i).paths + (p.profile i).width⁻¹ + (p.profile i).columns + |
| 70 | (p.profile i).clip.relaxation+(p.profile i).supportExponent) / Real.log (n:ℝ)≤((i:ℝ)^2)⁻¹ := by |
| 71 | refine (eventually_ge_atTop B).and ?_ |
| 72 | refine ((ha _).eventually (ge_mem_nhds (div_pos (Gauge.slopeConstant_pos h) (by norm_num)))).and |
| 73 | (((ha _).eventually (ge_mem_nhds (by positivity))).and ((ha _).eventually (ge_mem_nhds (by positivity)))) |
| 74 | obtain ⟨M,H⟩ := eventually_atTop.1 he |
| 75 | exact ⟨M,fun n hl ho ↦ ⟨ho,hb.trans (H n hl).1,hc.trans (H n hl).1, fun _ => (H n hl).2.1, fun _ => (H n hl).2.2.1, |
| 76 | fun _ => (H n hl).2.2.2⟩⟩ |
| 77 | exact ⟨B, fun n hn ho => ⟨ho,hb.trans hn,hc.trans hn,fun u => False.elim (hi u),fun u => False.elim (hi u), fun u => False.elim (hi u)⟩⟩ |
| 78 | |
| 79 | theorem Rolls.exists_rolls (p : Sheet G) (h : G.Simple) : Nonempty (Rolls p) := by |
| 80 | choose C H using fun i => eventually_large p h i |
| 81 | let M := fun i => (range (i+1)).sup C |
| 82 | have hm : Monotone M := fun i j hij ↦ sup_mono (range_mono (by omega)) |
| 83 | let L := fun i => (⟨2*M i+1, by omega⟩:Side) |
| 84 | exact ⟨⟨L,fun i ↦ H i _ (by change C i ≤ 2*M i+1; have H₀ : C i≤M i := le_sup (mem_range.mpr (by omega)); omega) ⟨_,rfl⟩,fun i j hij => by change 2*M i+1 ≤ 2*M j+1; have := hm hij; omega⟩⟩ |
| 85 | |
| 86 | /-- After choosing L freeze a θ accommodating all contributing requests |
| 87 | (post-L powers). -/ |
| 88 | structure Protection {p : Sheet G} (w : Rolls p) where |
| 89 | theta : ℕ → ℝ |
| 90 | pos j : 0 < theta j |
| 91 | small j : p.first ≤ j → theta j ≤ (j:ℝ)⁻¹ |
| 92 | dec : Antitone theta |
| 93 | |
| 94 | private def TMin (f : ℕ → ℝ) : ℕ → ℝ |
| 95 | | 0 => f 0 |
| 96 | | n+1 => min (TMin f n) (f (n+1)) |
| 97 | |
| 98 | lemma Protection.exists_margin {p : Sheet G} (w : Rolls p) (α : ℕ → ℝ) (h : ∀ j, 0 < α j) : |
| 99 | ∃ P : Protection w, ∀ i, P.theta i ≤ α i := by |
| 100 | let t (j : ℕ) : ℝ := min ((j:ℝ)+1)⁻¹ (α j) |
| 101 | have ht (j : ℕ) : 0 < t j := lt_min (by positivity) (h j) |
| 102 | have hT (j : ℕ) : 0 < TMin t j ∧ TMin t j ≤ t j := by |
| 103 | induction j with |
| 104 | | zero => rw [TMin]; exact ⟨ht _,le_rfl⟩ |
| 105 | | succ j ih => rw [TMin]; exact ⟨lt_min ih.1 (ht _),min_le_right ..⟩ |
| 106 | refine ⟨⟨TMin t,fun i ↦ (hT i).1,fun j hj => ?_,antitone_nat_of_succ_le fun j => ?_⟩, fun i ↦ (hT i).2.trans (min_le_right ..)⟩ |
| 107 | · have hn : 0 < (j:ℝ) := by |
| 108 | have := p.cut |
| 109 | exact_mod_cast (show 0 < j by omega) |
| 110 | exact (hT j).2.trans ((min_le_left ..).trans (inv_anti₀ hn (by linarith))) |
| 111 | change TMin t (j+1) ≤ _; rw [TMin]; exact min_le_left .. |
| 112 | |
| 113 | /-- Deadline inputs after protection. Window requests for later weak/comparison |
| 114 | use may also be chosen after bar is fixed (never hidden inside betaEntry). -/ |
| 115 | structure Delays {p : Sheet G} {w : Rolls p} (T : Protection w) where |
| 116 | betaEntry : ℕ → ℝ |
| 117 | scaleEntry : ℕ → ℝ → ℝ -- after bar, not used on first plateau |
| 118 | /-- relative to output site count, with BOTH adjacent cover lengths -/ |
| 119 | shells : ℕ → ℕ |
| 120 | growth : ℕ → ℕ |
| 121 | |
| 122 | /-- Barrier for smallness independent of the first spacing which is one. -/ |
| 123 | structure Bar {p : Sheet G} {w : Rolls p} {T : Protection w} (W : Delays T) where |
| 124 | value : ℝ |
| 125 | good : 1 < value |
| 126 | ready : W.betaEntry p.first ≤ value |
| 127 | threshold : ∀ x : ℝ, value ≤ x → (Real.sqrt x)⁻¹ * Real.exp ((Real.log (Real.log x))^2) ≤ 1 |
| 128 | |
| 129 | /-- Any finitely-asked requirements per j already accounted into these |
| 130 | functions. Request a work stretch with THIS window o(σ) (per FIXED j; not |
| 131 | necessarily bounded over j). Enough to request k-h..k for comparison, |
| 132 | extra positional comparison scales etc by summing bounds. |
| 133 | -/ |
| 134 | structure Wait {p : Sheet G} {w : Rolls p} {T : Protection w} {W : Delays T} (Y : Bar W) where |
| 135 | readyHere : ℕ → ℝ |
| 136 | window : ℕ → ℝ → ℕ |
| 137 | sublin j : Tendsto (fun s : ℝ => (window j s:ℝ)/s) atTop (𝓝 0) |
| 138 | /-- absolute physical minimum. may be arbitrarily huge; all periods before p=0 discarded. -/ |
| 139 | minLength : ℕ |
| 140 | |
| 141 | /-- Permanent record -- includes arbitrary entrance gates beforehand. Does not |
| 142 | follow that every Θ/num requirement of the physics has been anticipated. |
| 143 | Initial m=0 is coarse level, and step `m+1`→`m` already meets these gates; |
| 144 | use also the `Bar` fields at level 0. -/ |
| 145 | structure Paid {p : Sheet G} {w : Rolls p} {T : Protection w} {W : Delays T} {Y : Bar W} |
| 146 | (B : Wait Y) (a : Levels G) : Prop where |
| 147 | kernel : a.clock.kernel = p.kernel |
| 148 | bar : a.clock.bar=Y.value |
| 149 | stage : a.clock.stage=p.profile |
| 150 | firstZero : a.clock.J 0=p.first |
| 151 | firstOne : a.clock.J 1=p.first |
| 152 | lengths : a.clock.factor=w.L |
| 153 | theta : a.clock.theta=T.theta |
| 154 | pays m : W.betaEntry (a.clock.J (m+1)) ≤ a.clock.hatBeta m |
| 155 | paysHigher m : p.first < a.clock.J (m+1) → W.scaleEntry (a.clock.J (m+1)) Y.value ≤ a.S.scale m |
| 156 | periods i : B.minLength ≤ (a.S.period i).val |
| 157 | volume m i : |
| 158 | let j := a.clock.J (m+1) |
| 159 | W.shells j * (1+a.clock.coverSize m+a.clock.coverSize (m+1))^(W.growth j) ≤ (a.S.side m i).val |
| 160 | run (j : ℕ) : p.first ≤ j → ∃ k : ℕ, |
| 161 | B.readyHere j ≤ a.S.scale k ∧ B.window j (a.S.scale k) ≤ k ∧ |
| 162 | ∀ i : ℕ, k-B.window j (a.S.scale k) ≤ i → i ≤ k+B.window j (a.S.scale k) → a.clock.J i=j |
| 163 | end YM.RG.Supply |