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.MULTISOURCE_BOUNDS.Scheme |
| 2 | import YM.Work.A05.Window |
| 3 | import YM.Work.B09.Shell |
| 4 | |
| 5 | /-! |
| 6 | # An optional quantitative proof of Raw on a component/overlap trajectory |
| 7 | |
| 8 | Prices derived by `System.price`, subject to actual vertex hypotheses of |
| 9 | Scheme + Forward and suitable Scope inflation. Kernel identities, choices |
| 10 | of integrated alphabets, valuation/suppression and the first-system |
| 11 | per-component integration estimate are NOT established from the gauge |
| 12 | setup. See Scheme comments. No recalibration across offers. |
| 13 | -/ |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.Extra.Multi.System |
| 17 | open Function Filter Lattice RG Source Wilson Overlay Marker Labels MeasureTheory Finset LogTerms Germs Merger Repeated |
| 18 | open scoped Topology BigOperators Matrix.Norms.Frobenius Classical ContDiff |
| 19 | |
| 20 | variable {G : Gauge} {C : Family G} {V : Type} [DecidableEq V] [Fintype V] {R : Census V} {N p m : ℕ} |
| 21 | {D : V→ℕ} {s : Scope} {loss : Tariff} {d : ℕ→ℕ} {ζ : ℕ→ℝ} |
| 22 | {A : Bands R (C.path.rep N p m)} {A' : Bands R (C.path.rep N p (m+1))} |
| 23 | |
| 24 | omit [Fintype V] [DecidableEq V] in |
| 25 | private lemma unmarkedPool {Z : Layer G V (C.side m p)} {w : V → ℝ} {e : Z.Id → ℝ} {M : ℕ} {a b γ} |
| 26 | (h : Ac.Hit Z.supp M e a b) (he : ∀ i,0 ≤ e i) (hy : b ≤ γ) (hh : 0 ≤ γ) (ht : ∀ i,Z.names i=∅) : |
| 27 | Pool Z.names Z.supp M a (Z.weighted w e) γ γ := by |
| 28 | rw [show Z.weighted w e = e by ext i; simp [Layer.weighted,duty,ht]] |
| 29 | exact ((Pool.vac h he hh ht).mono he (fun _ => le_rfl) le_rfl le_rfl hy) |
| 30 | |
| 31 | private lemma sourcePool {β : Type} {names : β → Finset V} {X : β → Support (C.side m p)} |
| 32 | {e : Pieces → ℝ} {g : β → ℝ} {w : V → ℝ} |
| 33 | (H : Prepared s (extra loss) C.localSection C.path.levels) |
| 34 | (hc : Certified s loss d ζ C.params C.labels C.path.levels) |
| 35 | (hξ : 7 ≤ s.inflate (year C (m+1))) (hμ : Occupancy A.origins (s.markers (year C m))) |
| 36 | (hw : ∀ v,0 ≤ w v) (he : ∀ i,0 ≤ e i) (hg : ∀ i,0 ≤ g i) |
| 37 | (hroot : Rooted (bids A') (blocks A') (point C (m+1)).B (point C (m+1)).supportExponent |
| 38 | (fun i => duty w (bids A' i)*e i) 1) |
| 39 | (hfork : Fork (bids A') (blocks A') names X A.origins (C.path.levels.clock.op m p).ratio (s.expand (year C (m+1))) |
| 40 | (point C m).B (point C (m+1)).B (d (year C (m+1))) e g (quote C m loss)) : |
| 41 | Pool names X (point C m).B ((point C m).supportExponent+6) (fun i => duty (fun v => w v / quote C m (extra loss)) |
| 42 | (names i)*g i) (tollCap s C m/2) (tollCap s C m/2) := by |
| 43 | let P := point C m; let Q := point C (m+1) |
| 44 | let t := extra loss; let j := year C (m+1); let r := s.expand j |
| 45 | let a := P.supportExponent+6 |
| 46 | have ha : 0≤a+1 := by dsimp only [a]; linarith [P.exponent_pos] |
| 47 | let fee := quote C m loss |
| 48 | let b := quote C m t |
| 49 | let S := pad (a+1) Q.supportExponent r (d j) * fee / b |
| 50 | let μ := s.markers (year C m) |
| 51 | let Δ := tollCap s C m/2 |
| 52 | have hfee : 1 ≤ fee := quote_ge .. |
| 53 | have hb : 1 ≤ b := quote_ge .. |
| 54 | have hT : 1 ≤ pad (a+1) Q.supportExponent r (d j) := pad_ge ha |
| 55 | have hS : 0 ≤ S := by unfold S; positivity |
| 56 | have hA : 20*(a+1)*tilePrice r ≤ (C.S.block m).val*Q.supportExponent := by |
| 57 | refine le_trans ?_ (s.shape (H.shapes m)); change 20*_*_ ≤ 20*(Q.supportExponent + _)*_ |
| 58 | have ht : P.supportExponent ≤ Q.supportExponent := C.path.levels.fits.deepExp (Nat.le_succ _) |
| 59 | gcongr 20*?_*_; change a+1 ≤ Q.supportExponent + s.inflate j; unfold a j; linarith |
| 60 | have hM : Q.B ≤ 2*P.B := by |
| 61 | have ht : Q.B^2 ≤ 2*P.B^2 := H.tabs.grows _; by_contra! hh; nlinarith only [hh,ht] |
| 62 | have hr := hfork.rethread (τ:=b) (zero_le_one.trans hfee) hg P.B_pos hM ha Q.exponent_pos hA hw hb he hroot |
| 63 | rw [mul_one] at hr |
| 64 | have Hc : (1+μ*siteFactor P.B)*S ≤ Δ := by |
| 65 | unfold S; rw [← mul_div_assoc,← mul_assoc,show a+1=P.supportExponent+7 by unfold a; ring]; change ticket (C.path.levels.params m) (C.path.levels.params (m+1)) r _ _ (d j) * _ / _ ≤ _ |
| 66 | exact (hc.cost m).1 |
| 67 | have hc' : 0 ≤ (μ:ℝ)*siteFactor P.B := by unfold siteFactor; positivity |
| 68 | let z i := duty (fun v => w v/b) (names i)*g i |
| 69 | have hz i : 0 ≤ z i := mul_nonneg (prod_nonneg fun v _ => div_nonneg (hw _) (zero_le_one.trans hb)) (hg i) |
| 70 | have he' := root_hit hμ hz hS (fun i (hi : 0<z i) => ?_) hr |
| 71 | refine ⟨hz,fun x => Budget.mono (he' x) ((he' x).1) (fun _ => le_rfl) (by change μ*siteFactor P.B*S ≤ Δ; linarith), hr.mono hz (fun _ => le_rfl) (by change a ≤ a+1; linarith) (by change S ≤ Δ; nlinarith)⟩ |
| 72 | obtain ⟨_,h,_⟩ := hfork.bill |
| 73 | obtain ⟨_,v,hv,hv',_⟩ := h i (by contrapose! hi; unfold z; rw [le_antisymm hi (hg i),mul_zero]) |
| 74 | exact ⟨v,hv,hv'⟩ |
| 75 | |
| 76 | /-- Conditional one-step consumer advancing RMixed. `hξ` concerns exactly |
| 77 | the pre-L choices: reserve the seven extra projected exponents (budget proof |
| 78 | in `Scope.shape`, shrinking under this projection, no within-plateau loan of |
| 79 | an exponent at every level). Still requires every *primitive* field and |
| 80 | vertex estimate of Forward, not just an exact formal propagation. |
| 81 | -/ |
| 82 | theorem Forward.step {F : Scheme C D A} (h : Forward F A' s loss d ζ) (hC : C.Makes) |
| 83 | (hm : m < N) (HA : A.Active) (hD : ∀ v,C.ref (D v) ≤ m) |
| 84 | (H : Prepared s (extra loss) C.localSection C.path.levels) |
| 85 | (hc : Certified s loss d ζ C.params C.labels C.path.levels) |
| 86 | (hξ : 7 ≤ s.inflate (year C (m+1))) (hμ : Occupancy A.origins (s.markers (year C m))) : |
| 87 | Raw C A A' D (extra loss) := by |
| 88 | intro w hw he |
| 89 | obtain ⟨e,he,hroot⟩ := inbox A' (divisor_pos C (m+1)) (fun v => (hw v).le) he |
| 90 | rw [(hC.wilson.represents N p (m+1) hm).vac] at hroot |
| 91 | obtain ⟨a,b,t,g,k,ha,hb,ht,hk,hfork,hvac,hreset,hg,hR,hK⟩ := h.costs e he |
| 92 | let P := point C m |
| 93 | let ξ := P.supportExponent |
| 94 | let u v := w v / quote C m (extra loss) |
| 95 | let ε := tollCap s C m |
| 96 | have hu v : 0 ≤ u v := div_nonneg (hw _).le (zero_le_one.trans (quote_ge ..)) |
| 97 | have hε : 0 < ε := inv_pos.mpr bank_pos |
| 98 | have hξ' : 0 < ξ := P.exponent_pos |
| 99 | have hz i : 0 ≤ duty w (bids A' i)*e i := mul_nonneg (prod_nonneg fun v _ => (hw v).le) (he.pos i) |
| 100 | have hA := sourcePool H hc hξ hμ (fun v => (hw v).le) he.pos ha (hroot.mono hz (fun _ => le_rfl) le_rfl (pow_le_one₀ |
| 101 | (gHat_pos ..).le (gHat_le_one ..))) hfork |
| 102 | have hB := unmarkedPool (w:=u) hvac hb (hc.cost m).2 (by positivity : 0 ≤ ε/2) F.no_marks |
| 103 | let X := F.marks.combine F.vac |
| 104 | let weight := Sum.elim a b |
| 105 | have hX : Pool X.names X.supp P.B (ξ+6) (X.weighted u weight) ε ε := by |
| 106 | rw [show ε=ε/2+ε/2 by ring]; unfold X weight; rw [Layer.combine_weighted]; exact hA.join hB |
| 107 | let j := Layer.logPrice P |
| 108 | let R := overheadAt C.params C.labels (C.path.levels.params m) (year C m) (s.markers (year C m)) P.B |
| 109 | let M := ((P.B+P.B+1:ℕ):ℝ)^4 |
| 110 | let pmax := j*R*ε |
| 111 | have hj : 1≤j := logBudget_one (S:=(C.path.levels.params m)) |
| 112 | have hR' : 1≤R := overheadAt_one |
| 113 | have hM : 1≤M := one_le_pow₀ (by exact_mod_cast (show 1 ≤ P.B + P.B + 1 by omega)) |
| 114 | have hP : 0≤pmax := by unfold pmax; positivity |
| 115 | have hJ : 0 ≤ j := zero_le_one.trans hj |
| 116 | have hζ : j*ε ≤ pmax := by unfold pmax; gcongr; exact le_mul_of_one_le_right hJ hR' |
| 117 | have hε' : ε ≤ pmax := (le_mul_of_one_le_left hε.le hj).trans hζ |
| 118 | have heq : ε = (256*M*j*R)⁻¹ := rfl |
| 119 | have small : 256*M*pmax ≤ 1 := by dsimp only [pmax]; rw [heq]; apply le_of_eq; field_simp |
| 120 | have hpass (x : ℝ) (h : x ≤ 32*pmax) : 8*((P.B+P.B+1:ℕ):ℝ)^4*x ≤ 1 := by change 8*M*x ≤ _; nlinarith only [small, mul_le_mul_of_nonneg_left h (zero_le_one.trans hM)] |
| 121 | have hfinish : 64*pmax ≤ 1 := by nlinarith |
| 122 | have issue {ι : Type} (names : ι→Finset V) (Y : ι→Support (C.side m p)) (c : ι → ℝ) (hc : ∀ i,0≤c i) |
| 123 | (hh : Display X.names X.supp names Y weight c 1) : |
| 124 | Pool names Y P.B (ξ+5) (fun i => duty u (names i)*c i) (2*ε) (2*ε) := by |
| 125 | have h := (show Pool X.names X.supp P.B ((ξ+5)+1) (X.weighted u weight) ε ε from (by rw [show ξ+5+1=ξ+6 by ring]; exact hX)).resold |
| 126 | hh hu hc (by linarith : 0≤ξ+5) hε.le (hpass _ (by linarith)) hε.le zero_le_one |
| 127 | rwa [one_mul] at h |
| 128 | have I₁ := issue _ _ g (fun i => (hg i).2.2.1) hR |
| 129 | have I₂ := issue _ _ k (fun i => (hk i).1) hK |
| 130 | obtain ⟨f,hf,hG,hN⟩ := F.reg.logs P u (a:=ξ+3) (b:=2*ε) g hu (by linarith) (by positivity) (hpass (2*ε) (by linarith)) (by positivity) hg |
| 131 | (by rw [show ξ+3+2 = ξ+5 by ring]; exact I₁) |
| 132 | let exp := F.reg.log |
| 133 | have hG : Pool exp.names exp.supp P.B (ξ+3) (exp.weighted u f) (4*j*ε) (4*j*ε) := by |
| 134 | rw [show 4*j*ε=j*(2*(2*ε)) by ring]; exact hG |
| 135 | obtain ⟨f',hf',hP'⟩ := F.cut.invoice hC hD hμ (fun v => ((H.here m).atlas (D v) (admitted _ _ hC (hD v))).1) f u hu (by positivity) hf hG.root |
| 136 | have hP' := hP'.mono hP'.positive (fun _ => le_rfl) le_rfl (show R*(4*j*ε) ≤ 4*pmax by unfold pmax; linarith) (show R*(4*j*ε) ≤ 4*pmax by unfold pmax; linarith) |
| 137 | let Y := (F.reg.negative P).combine F.reset |
| 138 | let v := Sum.elim f t |
| 139 | have hRenew := unmarkedPool (w:=u) hreset (fun i => (ht i).1) ((hc.cost m).2.trans (by linarith : ε/2 ≤ ε)) hε.le F.no_renew |
| 140 | have hY : Pool Y.names Y.supp P.B (ξ+2+1) (Y.weighted u v) (5*pmax) (5*pmax) := by |
| 141 | have he : Pool Y.names Y.supp P.B (ξ+3) (Y.weighted u v) _ _ := (Layer.combine_weighted ..) ▸ hG.join hRenew |
| 142 | exact he.mono he.positive (fun _ => le_rfl) (by linarith) (by linarith) (by linarith) |
| 143 | obtain ⟨L,hL,hpool⟩ := F.restore.estimate _ _ _ u hu (b:=2*pmax) (b':=5*pmax) (γ:=2*pmax) (γ':=5*pmax) (by linarith : 0 ≤ ξ+2) |
| 144 | (show 0 ≤ 2*pmax+5*pmax by positivity) (by positivity) (hpass _ (by linarith)) (divisor_pos C m).le (divisor_le ..) hk |
| 145 | (show Y.Covers v 1 from Sum.rec hN ht) (I₂.mono I₂.positive (fun _ => le_rfl) (by linarith) (by gcongr) (by gcongr)) hY |
| 146 | obtain ⟨k',hk',hfinal⟩ := F.finish.estimate _ _ _ u hu (b:=2*(2*pmax+5*pmax)) (γ:=2*(2*pmax+5*pmax)) (b':=4*pmax) (γ':=4*pmax) (by linarith : 0 ≤ ξ+1) (by positivity) (by positivity) (hpass _ (by linarith)) |
| 147 | (divisor_pos C m).le (divisor_le ..) hL hf' (by rw [show ξ+1+1=ξ+2 by ring]; exact hpool) (by rw [show ξ+1+1=ξ+2 by ring]; exact hP') |
| 148 | have hq : 1 ≤ quote C m (extra loss) := quote_ge .. |
| 149 | refine F.raw_cost hC hm.le HA w (fun v => (hw v).le) f k' (fun i => ⟨(hf i).1,(hf i).2.2⟩) hk' |
| 150 | (hG.root.mono hG.positive (fun _ => le_rfl) (by change ξ+1 ≤ ξ+3; linarith) (by linarith only [hζ,hfinish,hq,hP])) |
| 151 | (hfinal.root.mono hfinal.positive (fun _ => le_rfl) le_rfl (by linarith only [hfinish,hP,hq])) |
| 152 | |
| 153 | end YM.Extra.Multi.System |