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.STATIONARY.Loops.Curvature |
| 2 | import YM.Work.A01.Mirror |
| 3 | |
| 4 | set_option autoImplicit false |
| 5 | /-! |
| 6 | # Working price of a coherent transition. Binds F producer on this |
| 7 | ∃ N,m. `HorizCalc` type internal WP for pricing on auxiliary integral. |
| 8 | Unlike RankCue the `PoleTest` at ONE fine lattice is unblocked. The |
| 9 | absolute real annulus calculation must supply it, not assumed produced. |
| 10 | -/ |
| 11 | noncomputable section |
| 12 | namespace YM.Stationary |
| 13 | open Function Filter Lattice RG Exterior Precision Wilson Bloch Laurent Matrix Finset Tree Asymptotics Audience |
| 14 | open scoped Topology ContDiff BigOperators |
| 15 | variable {G : Gauge} {P : Patch} {K : KernelChoices} {σ w C D A E τ η ε Ω : ℝ} {p : Clip} {R : PathData G} {n m : ℕ→Side} |
| 16 | |
| 17 | -- WP for ANNULUS producer. Scope includes precision on p before post-cost |
| 18 | -- but *qualitative* ν etc. Widths never used in any schedule demand. |
| 19 | -- unrestricted loops norm (kin ignores them). |
| 20 | def HorizCalc (G : Gauge) (σ ε C Z τ A : ℝ) := ∃ L_min : ℕ, ∃ D : ℝ, 0≤D ∧ ∀ L : Side,L_min ≤ L.val → Odd L.val → |
| 21 | ∀ (m : ℕ→Side), Tendsto (fun i => (m i).val) atTop atTop → ∀ (B : Bed) (p : Clip) (R : PathData G) Λ, R.Bounds p τ A Λ → Attached B R → B.metric.strip σ C → p.direct ≤ Z → (∀ n,Floor B p n ε C) → (∀ i,Bid.Sworn B (m i) G) → |
| 22 | ∃ Y : Picture G 1, ∃ v E : ℝ, ∃ e : ℕ → ℝ, Tendsto e atTop (𝓝 0) ∧ (∀ i j, Firm v E (Y i j)) ∧ (∀ i, Recorded Y (PoleTest p R (inch L) (n:=m i)) (cents (m i)*e i)) ∧ ∀ i, |
| 23 | |alphaPay i Y + G.slopeConstant*Real.log L.val| ≤ D |
| 24 | |
| 25 | def Hull (B : Bed) (ε σ M : ℝ) (p : Clip) (m : ℕ→Side) (G : Gauge) : Prop := B.metric.strip σ M ∧ B.roots.strip σ M ∧ (∀ n, Floor B p n ε M) ∧ (∀ i,Bid.Sworn B (m i) G) |
| 26 | structure Scud (X : Armada m n P K) (G : Gauge) (p q : Clip) (R : PathData G) (F : ∀ i,Forest (X.boot i).ratio) (z : ∀ i, fieldDir G (m i) 1→AxisChart G (F i)) |
| 27 | (w τ D A E ε Λ δ A' ε' : ℝ) (B T : Bed) (Z : Towers P.L) (η : ℝ) : Prop where |
| 28 | ample (i : ℕ) : Bid.Larger (X.boot i) (G:=G) |
| 29 | hill1 : Hull B ε w D p n G |
| 30 | hill2 : Hull T ε' δ A' q m G |
| 31 | attached : Attached B R |
| 32 | funded : R.Bounds p τ A Λ |
| 33 | legs : Headers (P:=P) Z.A0 2 w E |
| 34 | trial i : Towers.Diagonal (X.boot i) B T Z |
| 35 | wind i : PriceGap (F i) p R η |
| 36 | critical i : Critical (F i) p R (z i) |
| 37 | educated i : Guessed (F i) (installed (X.boot i).ratio Z.A0) (z i) |
| 38 | heat i : Bid.HeatG (F i) p R (z i) T |
| 39 | |
| 40 | section atlength |
| 41 | -- progress conditions for growth of L. Given arbitrary post floors for other WP. |
| 42 | lemma age_control (F A χ δ C K D T U w : ℝ) (hx : 0≤C) (hk : 0≤K) (hd : 0≤D) (ht : 0<F) (hA : 0< A) (hχ : 0<χ) (hδ : 0<δ) : |
| 43 | ∃ L₀ : ℕ, ∀ L : Side, L₀≤L.val → inch L*w≤F ∧ inch L*w ≤ A ∧ inch L*w ≤ χ ∧ inch L*w≤δ ∧ inch L * T≤1 ∧ inch L * U ≤ 1 ∧ inch L^2*C*K*D ≤ 1/4 := by |
| 44 | let f := fun i : ℕ => (i:ℝ)⁻¹ |
| 45 | have he : Tendsto f atTop (𝓝 0) := tendsto_inv_atTop_zero.comp tendsto_natCast_atTop_atTop |
| 46 | have hv u (h : 0<u) (x) : ∀ᶠ i in atTop, f i*x≤u := (show Tendsto (fun i=> f i*x) atTop (𝓝 0) by simpa using he.mul_const x).eventually (ge_mem_nhds h) |
| 47 | have hp : Tendsto (fun i=> f i^2*C*K*D) atTop (𝓝 0) := by simpa using (((he.pow 2).mul_const C).mul_const K).mul_const D |
| 48 | obtain ⟨n,H⟩ := eventually_atTop.1 ((hv F ht w).and ((hv _ hA w).and ((hv _ hχ w).and ((hv _ hδ w).and ((hv _ zero_lt_one T).and ((hv _ zero_lt_one U).and (hp.eventually (ge_mem_nhds (by norm_num : (0:ℝ)<1/4)))))))) ) |
| 49 | exact ⟨n,fun L h=> H L.val h⟩ |
| 50 | lemma cruise_event {Q : Towers P.L} (h : Headers (P:=P) Q.A0 2 σ C) {E} (he : E≤σ) (hp : 0<σ) (hv : 0≤ C) : Cruise (moonlit G P Q.A0) 1 E C := by |
| 51 | obtain ⟨hx,hC,H⟩ := (h.cruise G hp hv).less he; exact ⟨hx,hC,fun i hi=>H i (hi.trans (by decide))⟩ |
| 52 | end atlength |
| 53 | end YM.Stationary |
| 54 | end |
| 55 | |
| 56 | /-! |
| 57 | # Master transition issuer. Output shape width and paths AFTER preclaims, |
| 58 | BEFORE consuming input width/routes. Post correlation prices precede cutoff. |
| 59 | `Λ/2≤Λ'` ensures nonvanishing feedback aperture can open budget. |
| 60 | |
| 61 | Producer has to get HorizCalc in the quantum annulus. Cast Φ uses |
| 62 | Raw E independently from fan path width clip. -/ |
| 63 | noncomputable section |
| 64 | namespace YM.Stationary |
| 65 | open Function Filter Lattice RG Exterior Precision Wilson Bloch Laurent Matrix Finset Tree Asymptotics Audience |
| 66 | open scoped Topology ContDiff BigOperators |
| 67 | variable {G : Gauge} {P : Patch} {K : KernelChoices} {σ η θ γ A A' ℓ V K' : ℝ} {m n : ℕ → Side} |
| 68 | |
| 69 | lemma driving_abs (x y d : ℝ) (he : |x+y|+1 ≤ d) : |x| ≤ d+|y| := calc |
| 70 | |x| = |(x+y)-y| := by rw [add_sub_cancel_right] |
| 71 | _ ≤ |x+y|+|y| := abs_sub _ _ |
| 72 | _ ≤ _ := by linarith |
| 73 | |
| 74 | lemma cap_invoice (d : ℝ) (x y : ℝ) {Λ' Λ C B : ℝ} (hd : 0 ≤ γ) (hx : 0 ≤ V) (hΛ : 0 ≤ Λ) (h : Λ/2 ≤ Λ') |
| 75 | (hp : 2*((C+(d+|y|)*V)*γ) ≤ Λ') (he : |x+y|+1≤d) (hw : B*γ≤1/4) : (C+|x| *V+B*Λ)*γ ≤ Λ' := by |
| 76 | have hY := driving_abs _ _ _ he |
| 77 | calc |
| 78 | _ = (C+|x| *V)*γ+(B*γ*Λ) := by ring |
| 79 | _ ≤ Λ'/2 + Λ'/2 := add_le_add ((mul_le_mul_of_nonneg_right (add_le_add_right (mul_le_mul_of_nonneg_right hY hx) _) hd).trans (by linarith)) (by nlinarith only [hw,h,hΛ]) |
| 80 | _ = _ := by ring |
| 81 | |
| 82 | lemma winter_exp (Λ Γ R w s k : ℝ) (hx : 1≤ Λ) (hv : |w*R| ≤ Γ) (a : Side) (hr : s ≤ k) : w*(R*Real.exp (-k*a.val)) ≤ Γ*Λ*Real.exp (-s*a.val) := by |
| 83 | rw [← mul_assoc]; have hg : 0≤Γ := (abs_nonneg _).trans hv |
| 84 | apply mul_le_mul ((le_abs_self _).trans (hv.trans (le_mul_of_one_le_right hg hx))) (Real.exp_monotone (by gcongr)) (Real.exp_pos _).le (by positivity) |
| 85 | |
| 86 | def Transition (G : Gauge) (K : KernelChoices) (J : ℕ) (ε w D Z δ C Z' A τ κ d s γ : ℝ) (u : ℕ) (β Λ₀ : Side → ℝ) := ∀ (m n : ℕ→Side) (P : Patch) (X : Armada m n P K) |
| 87 | (p q : Clip) (R : PathData G) (F : ∀ i,Forest (X.boot i).ratio) (g : ∀ i, fieldDir G (m i) 1 → AxisChart G (F i)) |
| 88 | (B T : Bed) (V : Towers P.L) (Λ eps η : ℝ) (L : ChartRatio G), P.J=J → u ≤ P.L.val → Tendsto (fun i=>(m i).val) atTop atTop → p.direct ≤ Z → q.direct ≤ Z' → Scud X G p q R F g w τ D A D ε Λ δ C eps B T V η → 1≤Λ → 0<η → LocalRatio L → |
| 89 | ∃ Y : PathData G,∃ α : ℝ,Y.row=rowPath T ∧ Attached T Y ∧ (∀ η' A' Λ', 0<η' → η'≤s → κ≤A' → Λ₀ P.L ≤ Λ' → Λ/2 ≤ Λ' → Y.Bounds q η' A' Λ') ∧ |
| 90 | |α+G.slopeConstant * Real.log P.L.val|+1 ≤ d ∧ (∀ i, ClassicalMatch (F i) p q R Y (g i)) ∧ ∀ Θ c', β P.L ≤ Θ → c'≤γ → ∀ i, FiniteBound (F i) R Y p q α L (g i) Θ c' 1 |
| 91 | |
| 92 | set_option maxHeartbeats 2000000 in |
| 93 | theorem transition_cap (G : Gauge) (i : G.ColorIndex) (hS : G.Simple) (r : KernelChoices) (J : ℕ) (ε w D Z δ C Z' : ℝ) (he : 0<ε) (hw : 0<w) (hd : 0≤D) (hz : 0≤Z) |
| 94 | (hδ : 0<δ) (hC : 0≤C) (hZ : 0≤Z') : ∃ κ s : ℝ,0 ≤ κ ∧ 0<s ∧ ∀ τ A,0<τ → 0≤A → HorizCalc G w ε D Z τ A → |
| 95 | ∃ d γ : ℝ, ∃ u : ℕ, ∃ β Λ₀ : Side→ℝ, 0≤d ∧ 0<γ ∧ Transition G r J ε w D Z δ C Z' A τ κ d s γ u β Λ₀ := by |
| 96 | -- width depends on pregrants only. clip constants funded BEFORE A. |
| 97 | let F := cabinTicket G D |
| 98 | have hF : 0≤F := le_trans (Real.exp_pos _).le (cabin_paid G hd) |
| 99 | obtain ⟨w₀,b,Y,E,hb,hw₀,ht,hV,hY,hE,ha,H⟩ := honored G r J (min w δ) ε D F he (lt_min hw hδ) hd hF |
| 100 | have hr := hb.trans_le hw₀ |
| 101 | have hx : w₀ ≤ 1 := by linarith |
| 102 | have hb' : b≤1 := hw₀.trans hx |
| 103 | obtain ⟨a,c,ha₀,hc,U⟩ := setWest G w b D Z D ε hw hb hb' hz hd J r |
| 104 | let t := min (min (surfHeight 2 b) (surfHeight 3 b)) (min (surfHeight 1 w₀) (b/2/2)) |
| 105 | have hL : 0<t := lt_min (lt_min (surf_gradient hb _) (surf_gradient hb _)) (lt_min (surf_gradient hr _) (by positivity)) |
| 106 | have hl : t≤ min (surfHeight 2 b) (surfHeight 3 b) := min_le_left .. |
| 107 | have hL' : t ≤ min (surfHeight 1 w₀) (b/2/2) := min_le_right .. |
| 108 | let M := 1 + (a+1)/6+((c+1)+3*((a+1)*(E*(a+1))))/24 |
| 109 | have ht1 : 0≤ (c+1)+3*((a+1)*(E*(a+1))) := by positivity |
| 110 | have hM : 1≤M := by unfold M; linarith |
| 111 | obtain ⟨s,k,l,hs,h,he',hv',I⟩ := color_pipe G hS t δ C Z' hL hδ hZ |
| 112 | refine ⟨max (M*k) (rowPrice δ C),s,le_trans (mul_nonneg (zero_le_one.trans hM) he') (le_max_left ..),hs,fun τ A hτ hA HQ => ?_⟩ |
| 113 | obtain ⟨L,N,hN,Rq⟩ := HQ |
| 114 | obtain ⟨t₀,S₀,T₀,hT,h₂,h₃,G₀⟩ := U τ A hτ hA |
| 115 | obtain ⟨t',K,h₄,h₅,H₂⟩ := tideMark G w D ε Z τ A hw hd hz hτ hA |
| 116 | obtain ⟨tL,C₀,hl',hc₀,G₁⟩ := bequest G w₀ D τ hr hd hτ |
| 117 | let Ξ := feeHead (fun n=> roundBay G (n+1) (Shirley n) K w₀ ((ruffle D)^(n+2))) |
| 118 | let d := |biteCost (b/2) (reserveCost G E (mealCap G J F Y Ξ r.penalty) (barkPay G J F Y r.penalty))|+N+1 |
| 119 | let P (u : Side) := (u.val:ℝ)^4 * feast G J F Y Ξ r.penalty E |
| 120 | let β (u : Side) := |waveBank G * royalty (b/2) (P u)| |
| 121 | let B := bedCharge (min t δ) C |
| 122 | let Λ₀ (u : Side) := 2*((P u+(d+|G.slopeConstant*Real.log u.val|)*B)*l) |
| 123 | obtain ⟨W,hW⟩ := age_control t₀ t' tL w C₀ l 1 S₀ T₀ w₀ hc₀ hv' zero_le_one hT h₄ hl' hw |
| 124 | refine ⟨d,b/2/4,max L W,β,Λ₀,by unfold d; positivity,by positivity,fun m n X M' p q R FF ρ T T' V Λ ε' η LQ hj hu hy hp hq Fd hEn hη hΦ => ?_⟩ |
| 125 | have hg : X.Branches r G := (Fd.ample 0).1 |
| 126 | obtain ⟨ht0,hj₀,hK₀,hK',hJ,hj',hΛ'⟩ := hW X.L ((le_max_right ..).trans hu) |
| 127 | have h₀ := Fd.hill1; have h₁ := Fd.hill2 |
| 128 | have Hg := tendsto_atTop_mono (fun i=> (show (m i).val ≤ (n i).val from by rw [M'.binds]; exact Nat.le_mul_of_pos_right _ X.L.pos)) hy |
| 129 | let tQ (i : ℕ) : (M'.boot i).Choices := Classical.arbitrary _ |
| 130 | let dM (i) := installed (M'.boot i).ratio V.A0 |
| 131 | let Φ := moonlit G X V.A0 |
| 132 | have HH : 0≤ Λ := zero_le_one.trans hEn |
| 133 | have hcP : T.metric.strip (inch X.L*w₀) D := fun i j=> (h₀.1 i j).mono hK' le_rfl |
| 134 | have hxW : w₀ ≤ w := ht.trans (min_le_left ..) |
| 135 | have hx' : Cruise Φ 2 w₀ D := (Fd.legs.cruise G hw hd).less hxW |
| 136 | have hv i : Premise (M'.boot i) (dM i) Φ := launchBridge _ G (V.A0.rights w _ (Fd.legs [] (by decide)) hw.le) |
| 137 | obtain ⟨V',Ha,Ht⟩ := H₂ n Hg p R T Λ hp Fd.funded Fd.attached (fun i=> h₀.2.2.1 _) h₀.2.2.2 h₀.1 |
| 138 | let M'' := arriving Φ |
| 139 | let Y' := RippleF V' Φ |
| 140 | let Q : PostCard R p X r M'' Y' m n:= garden M' tQ dM hv Fd.funded (fruit_mono Ha hj₀ le_rfl) Ht hr |
| 141 | let Q' : TicketPost Q η T T' := ⟨FF,ρ,dM,fun _=>rfl, fun i=>(Fd.trial i).trial, Fd.critical, Fd.wind, Fd.educated⟩ |
| 142 | have Hᵥ := cruise_event (G:=G) (Q:=V) (P:=X) Fd.legs hxW hw hd |
| 143 | have HL : Spotlight X M'' w₀ F := hx'.stars hx |
| 144 | have HD : Keels Y' w₀ Ξ := cooking Hᵥ hx hr h₅ (fruit_mono Ha hj₀ le_rfl) |
| 145 | have Hv := H X hj hg p R m n (Loc G 1) M'' Y' T Q hy τ A Λ Ξ D Fd.funded Fd.attached hcP h₀.2.2.1 h₀.2.2.2 HL HD |
| 146 | obtain ⟨Q₂,Q₃,hc2,hc3,h4,h5,h6⟩ := G₀ m n Hg p R T Λ hp Fd.funded Fd.attached h₀.1 (fun i=> h₀.2.2.1 _) h₀.2.2.2 X hj hg ((mul_le_mul_of_nonneg_left hw₀ (inch_pos _).le).trans ht0) M' tQ Φ (hx'.less hw₀) |
| 147 | let F0 := fun i => victory (FF i) (tQ i) p R (ρ i) |
| 148 | have Hx := (medals_right hg hr HL (ha _) Y' HD).covered.tab.skinny hw₀ |
| 149 | obtain ⟨hx2,hx3⟩ := exchangeYield Q' hg Fd.funded hη hb (celestial_flag (hx'.less hw₀).1) hv hc2 hc3 (h4.thin le_rfl (add_le_add_right hJ a)) (h5.thin le_rfl (add_le_add_right hj' c)) Hx Hv hE h6 |
| 150 | obtain ⟨Y₀,g0,hξ⟩ := G₁ m n hy X r hg p T T' R M'' Y' Q η δ ε C A Λ D Q' Φ Fd.funded HH hx' hv h₁.1 hδ hcP h₀.2.2.1 he hK₀ |
| 151 | obtain ⟨X1,X2,K1,K2,HΔ⟩ := quoting Q' hη hb hw₀ hV hδ hg hS h₁.1 hy Fd.funded HL (ha _) HD Hv hE i |
| 152 | rw [hj] at K1 K2 HΔ X1 X2 |
| 153 | obtain ⟨Yπ,ν,Eπ,e,Hπ,hπ,YH,YZ⟩ := Rq X.L ((le_max_left ..).trans hu) X.odd_side n Hg T p R Λ Fd.funded Fd.attached h₀.1 hp h₀.2.2.1 h₀.2.2.2 |
| 154 | -- pad common M. Verify real support Q' |
| 155 | have hK1 : T.metric.strip (inch X.L*w₀) (max D C) := fun i j=> (hcP i j).mono le_rfl (le_max_left ..) |
| 156 | have hK2 : T'.metric.strip w₀ (max D C) := fun i j=> (h₁.1 i j).mono (ht.trans (min_le_right ..)) (le_max_right ..) |
| 157 | rw [pole_reduced Q' hS hx'.1 hr Fd.funded hK2 hK1 X2 h₀.2.2.1 he h₀.2.2.2 Fd.attached hv (half_pos hb) hy i hπ Hπ YH] at HΔ |
| 158 | let a0 := profitable (medalCue M'' r.penalty Y'); let α := alphaPay i a0; let F := G.slopeConstant*Real.log X.L.val |
| 159 | have hz : |α+F|+1 ≤ d := by |
| 160 | have he := le_trans HΔ (le_abs_self _) |
| 161 | change |α-alphaPay i Yπ| ≤ _ at he |
| 162 | apply add_le_add_left _ 1 |
| 163 | calc |
| 164 | |α+F|= |(α-alphaPay i Yπ)+(alphaPay i Yπ+F)| := by rw [← add_assoc,sub_add_cancel] |
| 165 | _ ≤ _ := (abs_add_le ..).trans (add_le_add he (YZ i)) |
| 166 | let S i := M'.boot i |
| 167 | let E' := iceBank G |
| 168 | let f := fun i=> royalty (b/2) (P X.L)*Real.exp (-(b/2/4)*(m i).val) |
| 169 | let R₀ := (inch X.L^2*(Λ*C₀)) |
| 170 | have hkE : 0 ≤ P X.L := (K1 ![i,i] ![coord 0,coord 0]).budget_nonneg |
| 171 | have hkR : 0 ≤ royalty (b/2) (P X.L) := by unfold royalty; positivity |
| 172 | have hD : 0≤ B := bedCharge_nonneg hC |
| 173 | obtain ⟨R',H1,H',hk',hPx,hP⟩ := I m n hy S FF tQ Fd.ample p q T T' R ρ LQ (inch X.L) τ A Λ η ε D ε' C hq hΦ (inch_pos _) hη Fd.funded Fd.attached |
| 174 | (fun i=> ⟨Fd.wind i,Fd.critical i,Fd.heat i⟩) (fun i=> ⟨h₀.2.2.1 _, h₀.2.2.2 i⟩) h₁.2.2.1 h₁.2.2.2 h₁.1 h₁.2.1 Y₀ a0 M (P X.L) R₀ f i (mesh_tend _ hy (by positivity)) (fun i => by unfold f; positivity) hM |
| 175 | (hx2.mono hL (hl.trans (min_le_left ..)) (by unfold M; linarith)) |
| 176 | (hx3.mono hL (hl.trans (min_le_right ..)) (by unfold M; linarith)) |
| 177 | (fun i j=> ⟨(K1 i j).mono hL (hL'.trans (min_le_right ..)) le_rfl, ((hξ i j).1).mono hL (hL'.trans (min_le_left ..)) le_rfl,(hξ i j).2⟩) (fun j=> ⟨K2 j,g0 j⟩) |
| 178 | refine ⟨R',α,H1,H',fun x A' Λ' hx hy hb he ht=> hk' x _ _ hx hy ((le_max_right ..).trans hb) ((le_max_left ..).trans hb) ?_, hz,hPx,fun y c u H i=> hP i y c 1 ?_⟩ |
| 179 | · have hu : R₀=inch X.L^2*C₀*Λ := by unfold R₀; ring |
| 180 | have ht : inch X.L^2*C₀*l≤1/4 := by rwa [mul_one] at hΛ' |
| 181 | rw [hu]; apply cap_invoice d α F hv' hD HH ‹Λ/2≤Λ'› he hz ht |
| 182 | exact winter_exp 1 y (royalty (b/2) (P X.L)) (waveBank G) c (b/2/4) le_rfl u _ H |
| 183 | end YM.Stationary |
| 184 | end |