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.Germs |
| 2 | import YM.Progress.JOINT_CALENDAR.Rows |
| 3 | |
| 4 | /-! |
| 5 | # Deploying the scheduling receipts before the nonlinear RLoops calculations |
| 6 | |
| 7 | On ONE actual jointly priced horizon. |
| 8 | |
| 9 | Induction |
| 10 | usable with finitely priced width-compatible estimates on the higher pieces |
| 11 | . |
| 12 | |
| 13 | These pieces are not consequences of the RG |
| 14 | work packages currently imported. |
| 15 | |
| 16 | We do not certify feasibility of finding |
| 17 | all these estimates together at the quantifier positions of `joint_budget`. |
| 18 | |
| 19 | All lower jets, root rows and analytic/rate handoffs discharged here; avoid |
| 20 | assuming `Directed`, a rollout of a `Planned` family etc at this point. |
| 21 | -/ |
| 22 | set_option autoImplicit false |
| 23 | noncomputable section |
| 24 | namespace YM.Progress.Joint |
| 25 | open Filter Function Lattice RG RG.Supply Wilson Precision Exterior Tree Bid Next.Scheduling |
| 26 | open scoped Topology ContDiff BigOperators Matrix.Norms.Frobenius |
| 27 | variable {G : Gauge} |
| 28 | |
| 29 | abbrev Curves (a : Levels G) (m : ℕ) := ∀ n : ℕ, (U : Forest (a.clock.op m n).ratio) → |
| 30 | (Dir G (a.S.side m n) → AxisChart G U) |
| 31 | |
| 32 | def WarmAt {a : Levels G} (H : Horizon a) (N m : ℕ) (η : ℝ) (R : PathData G) (ρ : Curves a m) := |
| 33 | let p := (a.params (m+1)).clip |
| 34 | ∀ (n : ℕ) (U : Forest (a.clock.op m n).ratio), PriceGap U p R η ∧ Critical U p R (ρ n U) ∧ |
| 35 | Guessed U (Bloch.installed (a.clock.op m n).ratio (H.towers N m).A0) (ρ n U) ∧ HeatG U p R (ρ n U) (H.H N m) |
| 36 | |
| 37 | def Higher {n : Side} (F F' : Dir G n → ℝ) := ∀ t : ℕ,3≤t → t≤4 → iteratedFDeriv ℝ t F 0=iteratedFDeriv ℝ t F' 0 |
| 38 | |
| 39 | /-- Single period invoice at possibly one usable tree/tag. All quantitative |
| 40 | bounds still true finite-volume comparisons, with COMMON infinite kernels |
| 41 | and correction arrays. No equal-direction/strictly off-harmonic premise. -/ |
| 42 | def Differences (a : Levels G) (m n : ℕ) (O : ChartRatio G) (P : Postage) (R T : PathData G) (ρ : Curves a m) (α : ℝ) := |
| 43 | let S := a.clock.op m n; let p := (a.params (m+1)).clip; let q := (a.params m).clip; let c := a.S.side m n |
| 44 | ∃ (U : Forest S.ratio) (k : S.Choices), Higher (fun x => tested U k p R x (ρ n U x)) (fun x => mainTerm q T (represent x)) ∧ |
| 45 | ∀ (i j : Site c) (σ τ : TypeFace 1 → G.ColorIndex → ℂ), (∀ x y, ‖σ x y‖ ≤ 1) → (∀ x y, ‖τ x y‖ ≤ 1) → |
| 46 | let X := ![wave i σ,wave j τ]; |
| 47 | |iteratedFDeriv ℝ 2 (thermal U k p R (ρ n U) O) 0 X - iteratedFDeriv ℝ 2 (draft α T q) 0 X| ≤ |
| 48 | (Fintype.card (Site c):ℝ)*P.H*a.clock.loopCap (m+1)*Real.exp (-P.rate*c.val) |
| 49 | |
| 50 | abbrev Restriction (G : Gauge) := ℕ → ℕ → PathData G → Prop |
| 51 | |
| 52 | def FitsAt (a : Levels G) (m : ℕ) (R : PathData G) := |
| 53 | let p := a.params m; R.Bounds p.clip p.width p.paths (a.clock.loopCap m) |
| 54 | |
| 55 | def OnPage {a : Levels G} (H : Horizon a) (L : Restriction G) (N m : ℕ) (R : PathData G) := |
| 56 | R = scribe (H.H N m) R ∧ L N m R ∧ FitsAt a m R |
| 57 | |
| 58 | variable {K : MapPrices} {s : Survey G} {q : Quote} {v : ℕ → ℕ} {D : Rolls (s.paper q v)} |
| 59 | {T : Protection D} {V : Delays T} {Y : Bar V} {I : Wait Y} {a : Levels G} {H : Horizon a} |
| 60 | {L : Restriction G} {O : ChartRatio G} {B : Beam K D} {P : ℕ → ℕ → Postage} {e : ℕ → ℕ → Exchange} |
| 61 | |
| 62 | /-- NOT proved. At top and at the **single-step** scale respectively, before |
| 63 | composing into sequences. Eta taken at exact pre-all-histories post-L Beam. |
| 64 | No need for `Built` to realize arbitrary Width/E choices *from* these clauses, |
| 65 | or for caller to anticipate heights using post-volume constants. But needs |
| 66 | actual corrections at the scheduled prices: common α and cover arrays across |
| 67 | periods, witness restrictions retained, expandable at `emits` widths incl |
| 68 | when j repeats, etc. `W` output has an UNUSED row field (overwritten). |
| 69 | Startup invoice independent of step solutions. -/ |
| 70 | structure Invoices {a : Levels G} (H : Horizon a) (B : Beam K D) (P : ℕ → ℕ → Postage) |
| 71 | (O : ChartRatio G) (L : Restriction G) : Prop where |
| 72 | top (N : ℕ) : ∃ W : PathData G, |
| 73 | let R := scribe (H.H N N) W; let j := a.clock.J N |
| 74 | L N N R ∧ Charges W (q.widths.launch j) (q.classicalCost.beginCost j) 0 ∧ (∀ b,(W.loop b).coeff=0) ∧ |
| 75 | ∀ n : ℕ, Higher (fun x => mainTerm (a.params N).clip R (represent x)) |
| 76 | (fun x : Dir G (a.S.side N n) => Wilson.energy (represent x)) |
| 77 | descend (N m : ℕ) : m<N → ∀ R : PathData G, OnPage H L N (m+1) R → |
| 78 | let j := a.clock.J (m+1); let i := a.clock.J m; let b := (a.S.block m).val |
| 79 | ∀ ρ : Curves a m,WarmAt H N m ((B.price P).η j) R ρ → ∃ (α : ℝ) (W : PathData G), |
| 80 | L N m (scribe (H.H N m) W) ∧ |α + G.slopeConstant*Real.log b| ≤ q.finish.number j i ∧ |
| 81 | Charges W (q.widths.emits j i) (classicalFee b (q.classicalCost.classic j i) (a.params (m+1)).paths) |
| 82 | (q.finish.loop j i*(b:ℝ)^ (4:ℕ)+(q.finish.loop j i/(b:ℝ)^ (2:ℕ))*a.clock.loopCap (m+1)) ∧ |
| 83 | ∀ n : ℕ,Differences a m n O (P j i) R (scribe (H.H N m) W) ρ α |
| 84 | |
| 85 | -- Pieces of Kin.Planned in a convenient sequence form. |
| 86 | def AtPeak (a : Levels G) (N : ℕ) (R : PathData G) := (∀ b,(R.loop b).coeff=0) ∧ ∀ (n i : ℕ), i ≤ 4 → |
| 87 | SameJet i (fun x => mainTerm (a.params N).clip R (represent (x:Dir G (a.S.side N n)))) (fun x => Wilson.energy (represent x)) |
| 88 | |
| 89 | structure Jump {a : Levels G} (H : Horizon a) {p' : Sheet G} {D' : Rolls p'} (Q : PostCost D') (O : ChartRatio G) |
| 90 | (N m : ℕ) (R T : PathData G) (α : ℝ) (ρ : Curves a m) : Prop where |
| 91 | hot : WarmAt H N m (Q.η (a.clock.J (m+1))) R ρ |
| 92 | kinetic : |α + G.slopeConstant*Real.log (a.S.block m).val| + 1 ≤ (a.params (m+1)).drift |
| 93 | laws (n : ℕ) : let j := a.clock.J (m+1); let p := (a.params (m+1)).clip; let q := (a.params m).clip |
| 94 | ∀ U : Forest (a.clock.op m n).ratio, ClassicalMatch U p q R T (ρ n U) ∧ |
| 95 | FiniteBound U R T p q α O (ρ n U) (Q.Γ j) (Q.c j) (a.clock.loopCap (m+1)) |
| 96 | |
| 97 | lemma OnPage.linked {N m} {R : PathData G} (h : OnPage H L N m R) : Attached (H.H N m) R := |
| 98 | h.1.symm ▸ scribe_attached (H.H N m) R |
| 99 | |
| 100 | abbrev Swears {a : Levels G} (H : Horizon a) := ∀ N m n,m≤N → Sworn (H.H N m) n G |
| 101 | |
| 102 | variable (ha : Paid I a) (g : Prepaid s K q e v) (hp : Designing K q) (hv : Regime B e P V) (hh : H.Suffices K) |
| 103 | (hw : Swears H) (hO : LocalRatio O) (hi : Invoices H B P O L) |
| 104 | include ha hp hh hw hi |
| 105 | |
| 106 | lemma earn_top (N : ℕ) : ∃ R,OnPage H L N N R ∧ AtPeak a N R := by |
| 107 | let j := a.clock.J N |
| 108 | obtain ⟨W,hL,hc,hZ,hb⟩ := hi.top N |
| 109 | let R := scribe (H.H N N) W |
| 110 | have hA : FitsAt a N R := Deployment.topPath ha N R (charged _ _ (q.widths.top_rate j) |
| 111 | (hh.rows N N le_rfl) (hp.launch j).1 (hp.launch j).2 (hh.all N N le_rfl 1) (hp.beginCost j) hc) |
| 112 | refine ⟨R, ⟨rfl,hL,hA⟩,hZ,fun n i hi' => ?_⟩ |
| 113 | have he := top_second (H.H N N) R (hh.all N N le_rfl (a.S.side N n)) (hh.top N _) hA (hw _ _ _ le_rfl) (scribe_attached ..) |
| 114 | by_cases h : i≤2 |
| 115 | · exact he i h |
| 116 | obtain ⟨h1,h2,-⟩ := he 0 (by omega) |
| 117 | exact ⟨h1,h2,hb n i (by omega) hi'⟩ |
| 118 | |
| 119 | include hv |
| 120 | omit hi hp in |
| 121 | lemma earn_station {N m : ℕ} (hm : m<N) {R : PathData G} (h : OnPage H L N (m+1) R) : |
| 122 | ∃ ρ : Curves a m, WarmAt H N m ((B.price P).η (a.clock.J (m+1))) R ρ := by |
| 123 | have he := fun n => Deployment.scene ha hv m n N hm H hh R h.2.2 h.linked (hw _ _ _ hm) |
| 124 | choose r hr using fun n U => (he n U).2 |
| 125 | exact ⟨r, fun n U => ⟨(he n U).1,hr n U⟩⟩ |
| 126 | |
| 127 | include g hO |
| 128 | omit hi hp g in |
| 129 | lemma earn_period {N m : ℕ} (hm : m<N) (n : ℕ) {R T' : PathData G} {α : ℝ} {ρ : Curves a m} |
| 130 | (hR : OnPage H L N (m+1) R) (hT : OnPage H L N m T') (hc : WarmAt H N m ((B.price P).η (a.clock.J (m+1))) R ρ) |
| 131 | (hd : Differences a m n O (P (a.clock.J (m+1)) (a.clock.J m)) R T' ρ α) : |
| 132 | let S := a.clock.op m n; let j := a.clock.J (m+1); let p := (a.params (m+1)).clip; let q := (a.params m).clip |
| 133 | ∀ U : Forest S.ratio, ClassicalMatch U p q R T' (ρ n U) ∧ |
| 134 | FiniteBound U R T' p q α O (ρ n U) ((B.price P).Γ j) ((B.price P).c j) (a.clock.loopCap (m+1)) := by |
| 135 | intro S j p q' U |
| 136 | obtain ⟨U₀,t,hj,hF⟩ := hd |
| 137 | obtain ⟨h1,h2,h3,h4⟩ := hc n U |
| 138 | obtain ⟨h1',h2',h3',h4'⟩ := hc n U₀ |
| 139 | have hQ := (B.price P).price j |
| 140 | have hl := Deployment.step_larger ha hv m n |
| 141 | have he := fun i : S.Choices => trial_agrees hl hR.2.2 hO h2 h2' hQ h1 h1' i t |
| 142 | obtain ⟨-,hU⟩ := Work.F03.answer G _ _ S hl U (H.H N (m+1)) p R _ _ _ _ _ (hh.all N (m+1) hm _) |
| 143 | hR.2.2 hR.linked (hw N (m+1) _ hm) (Work.F02.answer _ _ _ _ _ _ hR.2.2) |
| 144 | have hM := tested_second (H.H N (m+1)) h2 hU (H.H N m) h4 (hh.all N m hm.le _) |
| 145 | hT.2.2 hT.linked (hw N m _ hm.le) |
| 146 | constructor |
| 147 | · intro k hk u |
| 148 | by_cases h : k≤2 |
| 149 | · exact hM u k h |
| 150 | obtain ⟨ha,hb,-⟩ := hM u 0 (by omega) |
| 151 | exact ⟨ha,hb, ((he u).1 k).trans (hj k (by omega) hk)⟩ |
| 152 | refine ⟨Work.F05.hessian_pos hQ h1 h2, fun u => thermal_born u hR.2.2 h2 hQ h1 hO, draft_born hT.2.2 α, fun u i k σ τ hσ hτ => ?_⟩ |
| 153 | intro W |
| 154 | rw [(he u).2] |
| 155 | apply (hF i k σ τ hσ hτ).trans |
| 156 | obtain ⟨hΓ,hr,-⟩ := B.leg P (Deployment.adj a m) |
| 157 | have hx := (B.price P).pos j |
| 158 | have hg : 0≤ a.clock.loopCap (m+1) := by unfold Calendar.loopCap Calendar.monitor; positivity |
| 159 | gcongr |
| 160 | |
| 161 | lemma earn_jump {N m : ℕ} (hm : m<N) {R : PathData G} (hR : OnPage H L N (m+1) R) : |
| 162 | ∃ (Q : PathData G) (α : ℝ) (ρ : Curves a m), OnPage H L N m Q ∧ Jump H (B.price P) O N m R Q α ρ := by |
| 163 | obtain ⟨ρ,hc⟩ := earn_station ha hv hh hw hm hR |
| 164 | obtain ⟨α,W,hL,hα,hC,hn⟩ := hi.descend N m hm R hR ρ hc |
| 165 | let Q := scribe (H.H N m) W |
| 166 | have hadj := Deployment.adj a m |
| 167 | obtain ⟨he,h₁⟩ := hp.emits _ _ hadj |
| 168 | have hC' := q.classicalCost.pos_ij (a.clock.J (m+1)) (a.clock.J m) |
| 169 | have hT : OnPage H L N m Q := ⟨rfl,hL, Deployment.nextPath ha g hv m Q (charged _ _ (q.widths.rate ..) (hh.rows N m hm.le) |
| 170 | he h₁ (hh.all N m hm.le 1) (by |
| 171 | refine (hp.classic _ _ hadj).trans ?_ |
| 172 | unfold classicalFee |
| 173 | have hP := (a.params (m+1)).paths_pos |
| 174 | apply le_mul_of_one_le_right (by linarith) |
| 175 | rw [add_assoc,add_assoc] |
| 176 | exact le_add_of_nonneg_right (by positivity)) hC)⟩ |
| 177 | have hd := add_le_add_left hα 1 |
| 178 | refine ⟨Q,α,ρ,hT,hc, ?_, fun n => earn_period ha hv hh hw hO hm n hR hT hc (hn n)⟩ |
| 179 | rw [Deployment.params ha] |
| 180 | exact hd.trans (s.drift q _ _ hadj) |
| 181 | |
| 182 | lemma sweep {m N : ℕ} (hm : m≤N) : |
| 183 | ∃ (R : ℕ → PathData G) (α : ℕ → ℝ) (ρ : ∀ m : ℕ, Curves a m), AtPeak a N (R N) ∧ |
| 184 | (∀ i, m ≤ i → i≤N → OnPage H L N i (R i)) ∧ |
| 185 | ∀ i,m ≤ i → i<N → Jump H (B.price P) O N i (R (i+1)) (R i) (α i) (ρ i) := by |
| 186 | induction hm using Nat.decreasingInduction with |
| 187 | | self => |
| 188 | obtain ⟨R,hR,hr⟩ := earn_top ha hp hh hw hi N |
| 189 | exact ⟨fun _ => R,0,fun _ _ _ => 0,hr,fun i h h' => (le_antisymm h' h).symm ▸ hR,fun _ h h' => (h'.not_ge h).elim⟩ |
| 190 | | of_succ m hm ih => |
| 191 | obtain ⟨R,α,ρ,hr,hR,h⟩ := ih |
| 192 | obtain ⟨Q,α',ρ',hQ,hq⟩ := earn_jump ha g hp hv hh hw hO hi hm (hR _ le_rfl hm) |
| 193 | refine ⟨update R m Q,update α m α', update ρ m ρ', ?_,fun i hu hy => ?_,fun i hx ht => ?_⟩ |
| 194 | · simpa only [update_of_ne hm.ne'] using hr |
| 195 | · rcases eq_or_lt_of_le hu with hu|hu |
| 196 | · subst i; simpa using hQ |
| 197 | simpa only [update_of_ne hu.ne'] using hR i hu hy |
| 198 | · have hz : i+1 ≠ m := by omega |
| 199 | rcases eq_or_lt_of_le hx with hx|hx |
| 200 | · subst i; simpa only [update_self,update_of_ne hz] using hq |
| 201 | simpa only [update_of_ne hz,update_of_ne hx.ne'] using h i hx ht |
| 202 | |
| 203 | /-- Priced full Kin from `Invoices` at an actual call position. Same kinetic |
| 204 | witness usable at EVERY further operation. Does not include an E/K step or |
| 205 | select the trajectory in β, nor assert prices of those follow from Kin. -/ |
| 206 | theorem planning_support : ∃ M : Kin H O, M.Planned (B.price P) ∧ |
| 207 | (∀ N m,m ≤ N → OnPage H L N m (M.path N m)) ∧ |
| 208 | ∀ N m,m < N → WarmAt H N m (B.η (a.clock.J (m+1))) (M.path N (m+1)) (M.stationary N m) := by |
| 209 | choose R α ρ hA hL h using fun N : ℕ => sweep ha g hp hv hh hw hO hi (Nat.zero_le N) |
| 210 | exact ⟨⟨α,R,ρ⟩, ⟨ha.stage.symm,ha.lengths.symm,fun N m hm => (hL N m (Nat.zero_le _) hm).linked, |
| 211 | fun N m hm => (hL N m (Nat.zero_le _) hm).2.2, fun N => (hA N).2,fun N => (hA N).1, |
| 212 | fun N m p hm U => ((h N m (Nat.zero_le _) hm).hot p U).1, fun N m p hm U => |
| 213 | ⟨((h N m (Nat.zero_le _) hm).hot p U).2.1, ((h N m (Nat.zero_le _) hm).hot p U).2.2.1⟩, |
| 214 | fun N m p hm U => ((h N m (Nat.zero_le _) hm).laws p U).1,fun N m hm => (h N m (Nat.zero_le _) hm).kinetic, |
| 215 | fun N m p hm U => ((h N m (Nat.zero_le _) hm).laws p U).2⟩, |
| 216 | fun N m => hL N m (Nat.zero_le _),fun N m hm => (h N m (Nat.zero_le _) hm).hot⟩ |
| 217 | |
| 218 | theorem planning : ∃ M : Kin H O, M.Planned (B.price P) ∧ ∀ N m,m ≤ N → L N m (M.path N m) := by |
| 219 | obtain ⟨M,hM,hm,-⟩ := planning_support ha g hp hv hh hw hO hi |
| 220 | exact ⟨M,hM,fun i j h => (hm i j h).2.1⟩ |
| 221 | end YM.Progress.Joint |