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.Kinetics |
| 2 | |
| 3 | /-! |
| 4 | # Separable higher classical / quantum bills at a priced jump |
| 5 | |
| 6 | Use the classical part BEFORE the loop-estimate call. Different preferred |
| 7 | trees or tags for tests in those invoices are fine here; comparison is on the |
| 8 | actual real germs. No exchange of different torus-wide paths or of |
| 9 | independently calibrated families. Exact uniform analytic estimates on the |
| 10 | emitted arrays remain to be proved. Convenience supplier *shape* for |
| 11 | Invoices, not separate existence of either branch. . |
| 12 | -/ |
| 13 | set_option autoImplicit false |
| 14 | noncomputable section |
| 15 | namespace YM.Progress.Joint |
| 16 | open Filter Function Lattice RG RG.Supply Wilson Precision Exterior Tree Bid Next.Scheduling |
| 17 | open scoped Topology ContDiff BigOperators Matrix.Norms.Frobenius |
| 18 | variable {G : Gauge} |
| 19 | |
| 20 | def erase (R : PathData G) : PathData G := { R with loop := (silence G).loop } |
| 21 | def addLoop (R V : PathData G) : PathData G := { R with loop := V.loop } |
| 22 | |
| 23 | /-- Only the curvature corrections to classical terms (no loop |
| 24 | normalization or support assumptions implicit). -/ |
| 25 | structure ClassicalCosts (W : PathData G) (σ C : ℝ) : Prop where |
| 26 | three : SumBudget (fun i ↦ (W.cubic i).budget σ) C |
| 27 | four : SumBudget (fun i ↦ (W.quartic i).budget σ) C |
| 28 | invariant (i : ℕ) : (W.cubic i).Invariant ∧ (W.quartic i).Invariant |
| 29 | |
| 30 | structure LoopCosts (W : PathData G) (σ Λ : ℝ) : Prop where |
| 31 | two : SumBudget (fun i ↦ (W.loop i).budget σ) Λ |
| 32 | invariant (i : ℕ) : (W.loop i).Invariant |
| 33 | jets : W.loop_jets |
| 34 | |
| 35 | lemma ClassicalCosts.add_loop {W V : PathData G} {σ C Λ : ℝ} (h : ClassicalCosts W σ C) (H : LoopCosts V σ Λ) : |
| 36 | Charges (addLoop W V) σ C Λ := ⟨H.two,h.three,h.four,fun i => ⟨H.invariant i,h.invariant i⟩,H.jets⟩ |
| 37 | |
| 38 | lemma ClassicalCosts.erased {W : PathData G} {σ C Λ : ℝ} (h : ClassicalCosts W σ C) (he : 0≤Λ) : Charges (erase W) σ C Λ := by |
| 39 | have ht := muted (G:=G) zero_le_one he σ |
| 40 | exact h.add_loop ⟨ht.two,fun i => (ht.invariant i).1,ht.jets⟩ |
| 41 | |
| 42 | variable {K : MapPrices} {s : Survey G} {q : Quote} {v : ℕ → ℕ} {D : Rolls (s.paper q v)} |
| 43 | {T : Protection D} {V : Delays T} {Y : Bar V} {I : Wait Y} {a : Levels G} {H : Horizon a} |
| 44 | {O : ChartRatio G} {B : Beam K D} {P : ℕ → ℕ → Postage} {e : ℕ → ℕ → Exchange} |
| 45 | |
| 46 | def callFee (q : Quote) (a : Levels G) (m : ℕ) := |
| 47 | let b : ℝ := (a.S.block m).val |
| 48 | classicalFee b (q.classicalCost.classic (a.clock.J (m+1)) (a.clock.J m)) (a.params (m+1)).paths |
| 49 | def loopFee (q : Quote) (a : Levels G) (m : ℕ) := |
| 50 | let b : ℝ := (a.S.block m).val |
| 51 | let r := q.finish.loop (a.clock.J (m+1)) (a.clock.J m) |
| 52 | r*b^ (4:ℕ)+(r/b^ (2:ℕ))*a.clock.loopCap (m+1) |
| 53 | |
| 54 | def MainTest (a : Levels G) (m : ℕ) (R T : PathData G) (ρ : Curves a m) := |
| 55 | ∀ n, let S := a.clock.op m n; let p := (a.params (m+1)).clip; let q := (a.params m).clip |
| 56 | ∃ (U : Forest S.ratio) (t : S.Choices), Higher (fun x => tested U t p R x (ρ n U x)) (fun x => mainTerm q T (represent x)) |
| 57 | |
| 58 | def MainResult (a : Levels G) (m : ℕ) (R T : PathData G) (ρ : Curves a m) := ∀ n (U : Forest (a.clock.op m n).ratio), |
| 59 | ClassicalMatch U (a.params (m+1)).clip (a.params m).clip R T (ρ n U) |
| 60 | |
| 61 | def LoopTest (a : Levels G) (m : ℕ) (O : ChartRatio G) (P : Postage) (R T : PathData G) (ρ : Curves a m) (α : ℝ) := |
| 62 | let p := (a.params (m+1)).clip; let q := (a.params m).clip |
| 63 | ∀ n, let S := a.clock.op m n; let c := a.S.side m n |
| 64 | ∃ (U : Forest S.ratio) (k : S.Choices), |
| 65 | ∀ (i j : Site c) (σ τ : TypeFace 1 → G.ColorIndex → ℂ), (∀ x y, ‖σ x y‖ ≤ 1) → (∀ x y, ‖τ x y‖ ≤ 1) → |
| 66 | let X := ![wave i σ,wave j τ]; |
| 67 | |iteratedFDeriv ℝ 2 (thermal U k p R (ρ n U) O) 0 X - iteratedFDeriv ℝ 2 (draft α T q) 0 X| ≤ |
| 68 | (Fintype.card (Site c):ℝ)*P.H*a.clock.loopCap (m+1)*Real.exp (-P.rate*c.val) |
| 69 | |
| 70 | /-- L for iteration, L₀ auxiliary conditions carried into loop branch (at |
| 71 | fixed zero intermediate loop, with cubic and quartic arrays now determined). |
| 72 | Tests need equality of cubic, quartic before extracting the loop jet. -/ |
| 73 | structure MainInvoices {a : Levels G} (H : Horizon a) (B : Beam K D) (L L₀ : Restriction G) : Prop where |
| 74 | top (N : ℕ) : ∃ W : PathData G, |
| 75 | let R := scribe (H.H N N) (erase W); let j := a.clock.J N |
| 76 | L N N R ∧ ClassicalCosts W (q.widths.launch j) (q.classicalCost.beginCost j) ∧ |
| 77 | ∀ n : ℕ, Higher (fun x => mainTerm (a.params N).clip R (represent x)) |
| 78 | (fun x : Dir G (a.S.side N n) => Wilson.energy (represent x)) |
| 79 | jump (N m : ℕ) : m<N → ∀ R : PathData G, OnPage H L N (m+1) R → |
| 80 | let j := a.clock.J (m+1); let i := a.clock.J m |
| 81 | ∀ ρ : Curves a m,WarmAt H N m (B.η j) R ρ → ∃ W : PathData G, |
| 82 | let T := scribe (H.H N m) (erase W) |
| 83 | L₀ N m T ∧ ClassicalCosts W (q.widths.emits j i) (callFee q a m) ∧ MainTest a m R T ρ |
| 84 | |
| 85 | structure LoopInvoices {a : Levels G} (H : Horizon a) (B : Beam K D) (P : ℕ → ℕ → Postage) (O : ChartRatio G) (L L₀ : Restriction G) : Prop where |
| 86 | wave (N m : ℕ) : m<N → ∀ R T : PathData G, OnPage H L N (m+1) R → OnPage H L₀ N m T → |
| 87 | let j := a.clock.J (m+1); let i := a.clock.J m; let b := (a.S.block m).val |
| 88 | T=erase T → ClassicalCosts T (q.widths.emits j i) (callFee q a m) → |
| 89 | ∀ ρ : Curves a m,WarmAt H N m (B.η j) R ρ → MainResult a m R T ρ → ∃ (α : ℝ) (W : PathData G), |
| 90 | L N m (addLoop T W) ∧ |α + G.slopeConstant*Real.log b| ≤ q.finish.number j i ∧ |
| 91 | LoopCosts W (q.widths.emits j i) (loopFee q a m) ∧ LoopTest a m O (P j i) R (addLoop T W) ρ α |
| 92 | |
| 93 | lemma main_result (ha : Paid I a) (hv : Regime B e P V) (hh : H.Suffices K) (hw : Swears H) |
| 94 | {N m : ℕ} {R T : PathData G} {L L₀} {ρ} (hm : m<N) (hr : OnPage H L N (m+1) R) (ht : OnPage H L₀ N m T) |
| 95 | (hc : WarmAt H N m (B.η (a.clock.J (m+1))) R ρ) (hTest : MainTest a m R T ρ) : MainResult a m R T ρ := by |
| 96 | intro n U k hk t |
| 97 | obtain ⟨U',t',he⟩ := hTest n |
| 98 | have hs := Deployment.step_larger ha hv m n |
| 99 | have hq := B.custody (a.clock.J (m+1)) |
| 100 | obtain ⟨g,h,h',hg⟩ := hc n U |
| 101 | obtain ⟨g',H',-,_⟩ := hc n U' |
| 102 | have hy := trial_agrees hs hr.2.2 s.B.chartRatio h H' hq g g' t t' |
| 103 | obtain ⟨-,hp⟩ := Work.F03.answer G _ _ _ hs U (H.H N (m+1)) _ _ _ _ _ _ _ (hh.all N (m+1) hm _) hr.2.2 |
| 104 | hr.linked (hw N (m+1) _ hm) (Work.F02.answer _ _ _ _ _ _ hr.2.2) |
| 105 | have hj := tested_second _ h hp _ hg (hh.all N m hm.le _) ht.2.2 ht.linked (hw N m _ hm.le) t |
| 106 | by_cases hl : k≤2 |
| 107 | · exact hj k hl |
| 108 | exact ⟨(hj 0 (by omega)).1,(hj 0 (by omega)).2.1, (hy.1 k).trans (he k (by omega) hk)⟩ |
| 109 | |
| 110 | lemma supply_erased (ha : Paid I a) (hp : Designing K q) (g : Prepaid s K q e v) (hv : Regime B e P V) |
| 111 | (hh : H.Suffices K) {N m} (hm : m<N) {W : PathData G} |
| 112 | (hc : ClassicalCosts W (q.widths.emits (a.clock.J (m+1)) (a.clock.J m)) (callFee q a m)) : |
| 113 | FitsAt a m (scribe (H.H N m) (erase W)) := by |
| 114 | let T := scribe (H.H N m) (erase W) |
| 115 | let j := a.clock.J (m+1); let i := a.clock.J m |
| 116 | have hq := Deployment.adj a m |
| 117 | have ht := (a.params (m+1)).paths_pos |
| 118 | have hw := q.classicalCost.pos_ij j i |
| 119 | have hFee : q.classicalCost.classic j i ≤ callFee q a m := by |
| 120 | unfold callFee classicalFee |
| 121 | apply le_mul_of_one_le_right (by linarith) |
| 122 | rw [add_assoc,add_assoc]; exact le_add_of_nonneg_right (by positivity) |
| 123 | have hΛ : 0 ≤ loopFee q a m := by |
| 124 | have hp := q.finish.loop_pos j i |
| 125 | change 0 ≤ q.finish.loop j i*(_ : ℝ)^ (4:ℕ)+(q.finish.loop j i/_)*(a.clock.loopCap _) |
| 126 | unfold Calendar.loopCap Calendar.monitor; positivity |
| 127 | exact Deployment.nextPath ha g hv m T (charged _ _ (q.widths.rate j i) (hh.rows N m hm.le) (hp.emits _ _ hq).1 |
| 128 | (hp.emits _ _ hq).2 (hh.all N m hm.le 1) ((hp.classic _ _ hq).trans hFee) (hc.erased hΛ)) |
| 129 | |
| 130 | /-- Combine branch invoices without any pre-assumption that one usable tree |
| 131 | exists for BOTH, or changing the rows after they matched on Main. |
| 132 | Current results only support this implication, NOT discharging these input |
| 133 | ports or finding their costs in usable scheduling order. -/ |
| 134 | theorem Invoices.split (ha : Paid I a) (g : Prepaid s K q e v) (hp : Designing K q) (hv : Regime B e P V) |
| 135 | (hh : H.Suffices K) (hw : Swears H) {L L₀ : Restriction G} (h1 : MainInvoices H B L L₀) (h2 : LoopInvoices H B P O L L₀) : |
| 136 | Invoices H B P O L := by |
| 137 | constructor |
| 138 | · intro N; obtain ⟨W,hL,hc,hj⟩ := h1.top N |
| 139 | exact ⟨erase W,hL,hc.erased le_rfl,fun _ => rfl,hj⟩ |
| 140 | intro N m hm R hr j i b ρ hρ |
| 141 | obtain ⟨W,hX,Hq,hF⟩ := h1.jump N m hm R hr ρ hρ |
| 142 | let T := scribe (H.H N m) (erase W) |
| 143 | have hT : OnPage H L₀ N m T := ⟨rfl,hX,supply_erased ha hp g hv hh hm Hq⟩ |
| 144 | have he := main_result ha hv hh hw hm hr hT hρ hF |
| 145 | have hc : ClassicalCosts T (q.widths.emits j i) (callFee q a m) := ⟨Hq.three,Hq.four,Hq.invariant⟩ |
| 146 | obtain ⟨α,A,hL,hα,hA,hG⟩ := h2.wave N m hm R T hr hT rfl hc ρ hρ he |
| 147 | refine ⟨α,addLoop W A,hL,hα,Hq.add_loop hA,fun n => ?_⟩ |
| 148 | obtain ⟨U,k,hU⟩ := hG n |
| 149 | exact ⟨U,k,fun x _ hx => (he n U x hx k).2.2,hU⟩ |
| 150 | end YM.Progress.Joint |