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.AnalyticBridge.COUPLING_SHAPE_ESTIMATE.Bind |
| 2 | import YM.Work.H02 |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | /-! # Post-noise/pre-reset coefficient economics. |
| 8 | Tilt κ for the merger not used anywhere in the input `KBound` by retuning the |
| 9 | K values. Includes the `Valid` receipt on the FINAL alphabet with exact |
| 10 | label moves through the same numbers. This file does not require anything |
| 11 | like ∆ coinciding with any tested ratio. Cost at the realized budget, |
| 12 | pre/post scheduling obligations remain separate. |
| 13 | -/ |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.AnalyticBridge.CouplingShape |
| 17 | open Function Filter Lattice RG Wilson Ovens Ovens.Pipes Next.Scheduling Push.AbsoluteSums |
| 18 | open scoped Topology BigOperators Matrix.Norms.Frobenius Classical ContDiff |
| 19 | variable {G : Gauge} {n : Side} |
| 20 | |
| 21 | structure Earnings (b : BudgetPoint) (R : Activities G n) (H₀ w : ℝ) : Prop where |
| 22 | core : Profiled R (boost b) H₀ |
| 23 | branches : R.ForcedFamily b |
| 24 | swamp : R.KBound (boost b) w |
| 25 | |
| 26 | variable {P : PathData G} {p : Clip} {b : BudgetPoint} {α ε σ C Λ H₀ w : ℝ} {R : Activities G n} |
| 27 | |
| 28 | -- anchor receipts from the SAME width. Raw durations explicit; especially |
| 29 | -- clip in every failed-flag term. schedule buys inequalities on these numbers |
| 30 | private lemma sealed_add {ι : Type} {x : ι→RegularAddress n} {f g : ι→ℝ} {a d : ℝ} (h : Sealed b x f a) (he : Sealed b x g d) : |
| 31 | Sealed b x (fun i=> f i+g i) (a+d) := by |
| 32 | intro y; convert budget_plus (h y) (he y) using 2 |
| 33 | next i => split_ifs <;> simp [BudgetPoint.mass,mul_add] |
| 34 | private lemma sealed_scale {ι : Type} {x : ι→RegularAddress n} {f : ι→ℝ} {a d : ℝ} (hd : 0 ≤ d) (h : Sealed b x f a) : |
| 35 | Sealed b x (fun i=> d*f i) (d*a) := by |
| 36 | intro y; convert budget_scale hd (h y) using 2 |
| 37 | next i => split_ifs <;> simp [BudgetPoint.mass,mul_left_comm] |
| 38 | |
| 39 | lemma shallow {f : Config G n → ℝ} {b : BudgetPoint} {X : Support n} (h : (boost b).Regular X f) : b.Regular X f := |
| 40 | ⟨h.sites,h.borel,h.symmetry,h.smooth,h.hasDerivs⟩ |
| 41 | |
| 42 | /-- Earnings pre-L sensitive to amplification of HRGv. -/ |
| 43 | def grantE (G : Gauge) (p : Clip) (B : BudgetPoint) (H₀ σ C α ε : ℝ) := let b:=boost B |
| 44 | (Real.exp b.supportExponent*paysLive G b)*H₀ + |
| 45 | (|ε| * (stapleY G p b σ C+stapleT G p b C) + |
| 46 | (|α+ε| *Post.full G 3 b σ C + |α+ε| * Post.full G 4 b σ C)) |
| 47 | |
| 48 | def grantLog (G : Gauge) (p : Clip) (B : BudgetPoint) (H₀ σ C α ε : ℝ) := let b:=boost B |
| 49 | (Real.exp b.supportExponent*paysAttach G b)*H₀ + |
| 50 | (|α+ε| *(stapleC p b C+stapleY G p b σ C)+|ε| *(2*stapleT G p b C)) |
| 51 | |
| 52 | /-- local shape-packet output and normal bills before multiplier-merging. -/ |
| 53 | lemma taps (hD : P.Bounds p σ C Λ) (hg : Grace p (boost b) σ) (hv : Selector p b) |
| 54 | (hs : G.Simple) (hn : 10 < n.val) (hr : Earnings b R H₀ w) (α ε : ℝ) : |
| 55 | let d:=ink P p b R α ε; let X:=ward P b R |
| 56 | X.Digests d b (grantE G p b H₀ σ C α ε) w ∧ |
| 57 | ∃ c, Sealed (boost b) X.reg c (grantLog G p b H₀ σ C α ε) ∧ ∀ i,0 ≤ c i ∧ ∀ U,‖d.logarithm i U‖ ≤ c i := by |
| 58 | intro d X |
| 59 | let B:=boost b |
| 60 | let V := corners P b R; let F:= arrange P p R α ε; let L:=hooks P p b R α ε; let J:=wheel n |
| 61 | let gE := grantE G p b H₀ σ C α ε; let gL:=grantLog G p b H₀ σ C α ε |
| 62 | obtain ⟨c,hc,hC⟩:= hr.core.bound |
| 63 | have ht (i) := hints R B hs (by omega) i (hr.core.smooth i) (hc i) |
| 64 | have ht₁ i := (hD.invariant i).2.1; have ht₂ i := (hD.invariant i).2.2 |
| 65 | let β (k : ℕ) {n} (F : ℕ→Atom G k) (i : Post n) := |-(α+ε)| *Post.hairpin F B i.token |
| 66 | let money : Scroll n→ℝ := sorting (fun i=>paysLive G B*c i) (fun i=>skeletonCharge P p B ε i.token) |
| 67 | (β 3 P.cubic) (β 4 P.quartic) |
| 68 | let salary : Scroll n → ℝ := sorting (fun i=>paysAttach G B*c i) (fun i=>coverCharge P p B α ε i.token) (fun _=>0) (fun _=>0) |
| 69 | have he (i) : B.Regular (V i).support (F i) ∧ B.supBounds (V i).site (V i).support (F i) (money i) ∧ |
| 70 | F i 1=0 ∧ (Nonwrapping (V i).support (V i).site → ∀ A C, IsAffineDirection (V i).site A → IsAffineDirection (V i).site C → |
| 71 | logHessian (F i) A C=0) := by |
| 72 | rcases i with i|(j|i|i) |
| 73 | · exact ⟨(ht i).1,(ht i).2.1,(ht i).2.2.1,(ht i).2.2.2.1⟩ |
| 74 | · exact anchorsPay P p B hs (by omega) ε j |
| 75 | · obtain ⟨h₁,h₂⟩:= Post.active P.cubic B ht₁ i; obtain ⟨h₃,h₄⟩ := Post.wont (k:=0) B P.cubic hs ht₁ i |
| 76 | refine ⟨reg_scale _ h₁,sup_scale _ h₂,?_,fun _ A C _ _ => ?_⟩ |
| 77 | · change -(α+ε) • Post.fee P.cubic i (1:Config G n)=0; rw [h₃,smul_zero] |
| 78 | rw [log_eq_H]; change H (_ • _) A C=0 |
| 79 | rw [scalar_jet h₁,← log_eq_H, h₄, mul_zero] |
| 80 | obtain ⟨h₁,h₂⟩:= Post.active P.quartic B ht₂ i; obtain ⟨h₃,h₄⟩ := Post.wont (k:=1) B P.quartic hs ht₂ i |
| 81 | refine ⟨reg_scale _ h₁,sup_scale _ h₂,?_,fun _ A C _ _ => ?_⟩ |
| 82 | · change -(α+ε) • Post.fee P.quartic i (1:Config G n)=0; rw [h₃,smul_zero] |
| 83 | rw [log_eq_H]; change H (_ • _) A C=0 |
| 84 | rw [scalar_jet h₁,← log_eq_H, h₄, mul_zero] |
| 85 | have hm : Sealed B V money gE := by |
| 86 | intro x |
| 87 | have hh (k : ℕ) (F : ℕ→Atom G k) (h : SumBudget (fun i=> (F i).budget σ) C) : |
| 88 | Sealed B (n:=n) (Post.park F) (β k F) (|α+ε| *Post.full G k B σ C) := by |
| 89 | have h := sealed_scale (abs_nonneg (-(α+ε))) (Post.earned (n:=n) hD.width hg.2 h) |
| 90 | simpa only [β, abs_neg] using! h |
| 91 | apply countTypes (h:= boost_stamp R B _ (paysLive_pos ..|>.le) hC (fun i=>(hc i).1) x) |
| 92 | apply countTypes (h:= sealed_scale (abs_nonneg ε) (sealed_add (shelfY (n:=n) hD hg) (shelfT hD hg)) x) |
| 93 | exact countTypes (hh 3 _ hD.three x) (hh 4 _ hD.four x) |
| 94 | have h₁ (i : Scroll n) : ∀ U, L i U≠0 → ¬Healthy b.threshold (V i).support U := by |
| 95 | rintro U hu hw; apply hu; rcases i with i|(j|i|i) |
| 96 | · exact for_cover R b i U hw |
| 97 | · exact refund_visits P p b hv U j hw α ε |
| 98 | · rfl |
| 99 | rfl |
| 100 | have h₂ (i : Scroll n) : GaugeInvariant (L i) ∧ Measurable (L i) ∧ UsesFinal b.threshold (V i).support (L i) ∧ |
| 101 | ∀ U : Config G n, ‖L i U‖ ≤ salary i := by |
| 102 | rcases i with i|(j|i|i) |
| 103 | · exact (ht i).2.2.2.2 |
| 104 | · obtain ⟨h₁,h₂,h₃⟩:=respects P p b hv α ε j |
| 105 | exact ⟨h₁,h₂,h₃,fun U => refund_cost P p B α ε j U⟩ |
| 106 | · exact ⟨fun _ _=>rfl,measurable_const,fun _ _ _ _=>rfl,fun _=>norm_zero.le⟩ |
| 107 | exact ⟨fun _ _=>rfl,measurable_const,fun _ _ _ _=>rfl,fun _=>norm_zero.le⟩ |
| 108 | have hP (i) : 0 ≤ salary i := (norm_nonneg _).trans ((h₂ i).2.2.2 1) |
| 109 | have hl : Sealed B X.reg (salary ∘ J) gL := by |
| 110 | intro x |
| 111 | apply budget_pull J J.injective (w:=fun i=> if (V i).site=x then B.mass (V i).support (salary i) else 0) |
| 112 | apply countTypes (h:= boost_stamp R B _ (paysAttach_pos ..|>.le) hC (fun i=>(hc i).1) x) |
| 113 | let Q := sealed_add (sealed_scale (abs_nonneg (α+ε)) (sealed_add (shelfClip (n:=n) hD hg) (shelfY hD hg))) |
| 114 | (sealed_scale (abs_nonneg ε) (sealed_scale (by norm_num : (0:ℝ) ≤ 2) (shelfT hD hg))) |
| 115 | let a := |α+ε| *(stapleC p B C+stapleY G p B σ C)+|ε| *(2*stapleT G p B C) |
| 116 | refine budget_loosen (countTypes (a:=a) (b:=(0:ℝ)+(0:ℝ)) (?_) (countTypes ?_ ?_)) (by simp [B,a]) |
| 117 | · exact Q x |
| 118 | all_goals change SumBudget (fun i : Post n=> if (V _).site=x then B.mass _ 0 else 0) 0; simp [BudgetPoint.mass,SumBudget] |
| 119 | refine ⟨?_,_,hl,fun i=>⟨hP _,(h₂ (J i)).2.2.2⟩⟩ |
| 120 | have hM s z := noted_spin P p b R hn hs α ε hr.core s z |
| 121 | refine ⟨⟨⟨fun i=>shallow (he (J i)).1,fun i=>(he (J i)).2.2.1,fun i=>(he (J i)).2.2.2⟩,?_,fun s z => (hM s z).1,?_,?_⟩, |
| 122 | fun i=>h₁ (J i),⟨_, (totalBooked (fun i=>hP (J i)) hl).2.1, fun i => (h₂ (J i)).2.2.2⟩, fun i=>(h₂ (J i)).1, |
| 123 | fun i=>(h₂ (J i)).2.2.1,fun i=>(h₂ (J i)).2.1,fun s z=> (hM s z).2⟩ |
| 124 | · obtain ⟨a,c,u,v,g,h,m⟩:=hr.branches; exact ⟨a,c,u,v,g,h,m⟩ |
| 125 | · refine ⟨money ∘ J,fun i=>(he (J i)).2.1,fun x => budget_pull J J.injective |
| 126 | (budget_mono (hm x) (g:=fun i=> if (V i).site=x then b.mass (V i).support (money i) else 0) ?_ ?_)⟩ |
| 127 | · intro i; split |
| 128 | · exact mul_nonneg (Real.exp_pos _).le (he i).2.1.1 |
| 129 | rfl |
| 130 | intro i; split_ifs |
| 131 | · exact tighter _ (he i).2.1.1 |
| 132 | rfl |
| 133 | obtain ⟨a,hA,ha⟩:=hr.swamp; refine ⟨a,hA,fun x => budget_mono (ha x) (g:=fun i=> if x∈(R.forced i).support then b.mass (R.forced i).support (a i) else 0) ?_ ?_⟩ |
| 134 | · intro i; split |
| 135 | · exact mul_nonneg (Real.exp_pos _).le (hA i).1 |
| 136 | rfl |
| 137 | intro i; split_ifs |
| 138 | · exact tighter _ (hA i).1 |
| 139 | rfl |
| 140 | |
| 141 | /-- Post-L/station reserve. Don't manufacture output energies from the |
| 142 | *final* gas on the LHS of this test. -/ |
| 143 | structure Reserve (p : Clip) (b : BudgetPoint) (G : Gauge) (H₀ σ C w α ε κ γ : ℝ) : Prop where |
| 144 | radius : 0≤γ |
| 145 | till : 0≤κ |
| 146 | capacity : ((b.B+b.B+1)^4:ℕ)*γ≤1 |
| 147 | localLog : grantLog G p b H₀ σ C α ε ≤ 1 |
| 148 | yieldBudget : Real.exp κ*w+2*(fare b*grantLog G p b H₀ σ C α ε)≤γ |
| 149 | |
| 150 | variable {κ γ : ℝ} |
| 151 | |
| 152 | lemma flowing (hD : P.Bounds p σ C Λ) (hg : Grace p (boost b) σ) (hv : Selector p b) |
| 153 | (hs : G.Simple) (hn : 10 < n.val) (hr : Earnings b R H₀ w) |
| 154 | (he : Reserve p b G H₀ σ C w α ε κ γ) : (ward P b R).Buys (ink P p b R α ε) b κ γ := by |
| 155 | let X:=ward P b R; let d:=ink P p b R α ε |
| 156 | obtain ⟨_,c,hc,h⟩:= taps hD hg hv hs hn hr α ε |
| 157 | obtain ⟨k,hk,hK⟩:=hr.swamp |
| 158 | let f : Ovens.Label → ℝ := Sum.elim (fun l=>Real.exp κ * k l) (fun l=> 2*c l) |
| 159 | refine ⟨⟨he.radius,he.till,?_⟩,f,?_,?_,?_⟩ |
| 160 | · exact_mod_cast he.capacity |
| 161 | · rintro (l | l) |
| 162 | · exact mul_nonneg (Real.exp_pos _).le (hk l).1 |
| 163 | exact mul_nonneg zero_le_two (h l).1 |
| 164 | · rintro (l | l) U |
| 165 | · change |R.K l U| ≤ Real.exp (-κ)*(Real.exp κ*k l) |
| 166 | rw [← mul_assoc, ←Real.exp_add, neg_add_cancel,Real.exp_zero,one_mul]; exact (hk l).2 _ |
| 167 | change |Real.exp (d.logarithm l U) - 1| ≤ 1*(2*c l); rw [one_mul] |
| 168 | have hl : |d.logarithm l U| ≤ c l := (h l).2 _ |
| 169 | apply le_trans (Real.abs_exp_sub_one_le (hl.trans ?_)) (mul_le_mul_of_nonneg_left hl zero_le_two) |
| 170 | have hq := budget_single (hc (X.reg l).site) l |
| 171 | rw [if_pos rfl] at hq; exact ((boost b).loMass _ _ (h l).1).trans (hq.trans he.localLog) |
| 172 | intro x |
| 173 | have hq := budget_scale (by norm_num : (0:ℝ) ≤ 2) (turnToHit (fun i=> (h i).1) hc x) |
| 174 | refine budget_loosen (countTypes (a:=Real.exp κ*w) (b:=2*(fare b*grantLog G p b H₀ σ C α ε)) ?_ ?_) he.yieldBudget |
| 175 | · let y (i : ℕ) := coverNumber b.B (R.forced i).support |
| 176 | apply budget_mono (budget_scale (Real.exp_pos κ).le (hK x)) ?_ ?_ |
| 177 | · intro i; dsimp only [Function.comp_apply]; split <;> first | exact le_rfl | exact mul_nonneg (mul_nonneg (Real.exp_pos _).le (hk _).1) (Real.exp_pos _).le |
| 178 | intro i; change (if x∈(R.forced i).support then Real.exp κ*k i*Real.exp ((b.supportExponent+1)*y i) else 0) ≤ _ |
| 179 | split_ifs <;> try simp |
| 180 | change _≤Real.exp κ*(Real.exp ((b.supportExponent+2)*y i)*_); rw [mul_assoc, mul_comm (Real.exp ((b.supportExponent+2)*_))] |
| 181 | have ht:= (hk i).1; gcongr; linarith |
| 182 | change SumBudget (fun i=> if x∈ (X.reg i).support then 2*c i*Real.exp ((b.supportExponent+1)*coverNumber b.B (X.reg i).support) else 0) _ |
| 183 | convert hq using 2 |
| 184 | next i => split_ifs <;> simp only [X,mul_zero,mul_assoc] |
| 185 | |
| 186 | lemma valid_output (hD : P.Bounds p σ C Λ) (hg : Grace p (boost b) σ) (hv : Selector p b) |
| 187 | (hs : G.Simple) (hn : 10 < n.val) (hr : Earnings b R H₀ w) |
| 188 | (he : Reserve p b G H₀ σ C w α ε κ γ) : (written P p b R α ε).Valid b (grantE G p b H₀ σ C α ε) (Bid.quote κ γ) := by |
| 189 | have hh := flowing hD hg hv hs hn hr he |
| 190 | have hp := (taps hD hg hv hs hn hr α ε).1 |
| 191 | let e:=pelletKey (ward P b R) |
| 192 | obtain ⟨hx,hm⟩:= Work.H03.answer _ _ _ _ e _ _ _ hp |
| 193 | exact ⟨⟨hp.stamp.regular.smooth,hp.stamp.regular.at_flat,hp.stamp.regular.vanish⟩,hx,hm,hp.stamp.boundE, |
| 194 | Work.H02.answer _ _ _ _ e _ _ _ _ _ _ le_rfl hp hh⟩ |
| 195 | end YM.AnalyticBridge.CouplingShape |