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.FullVolume.Mark.Sight |
| 2 | /-! Insertion step is FULL Lipschitz on canonical graphs. Dimensionless contraction estimates survive even for the unit. No Θ replanning. -/ |
| 3 | set_option autoImplicit false |
| 4 | noncomputable section |
| 5 | namespace YM.MergeProof.Matric |
| 6 | open Finset Function Filter Set MeasureTheory Lattice Wilson RG Source Labels Extra.Histories Bid |
| 7 | open Planned.GuardedAtom Push Local Guard Motion PhysicalNext.Repeat Lotus |
| 8 | open scoped Topology Matrix.Norms.Frobenius BigOperators ContDiff Classical |
| 9 | variable {G:Gauge}{d:ℕ}{F:Labels.Frame G d}{B:SectionData F}{H:History G} {N p m:ℕ} {Y:Hol G} |
| 10 | set_option quotPrecheck false |
| 11 | local notation "A₀"=>H.rep N p m |
| 12 | local notation "A₁"=>H.rep N p (m+1) |
| 13 | local notation "s₀"=> H.S.side (m+1) p |
| 14 | local notation "s₁"=> H.S.side m p |
| 15 | local notation "Z"=> orbitCost F |
| 16 | local notation "μ"=>kappa H m |
| 17 | local notation "μ'"=> Real.sqrt (H.levels.clock.forcedAllowance (m+1)) |
| 18 | local notation "s"=> (H.levels.params (m+1)).columns |
| 19 | local notation "s'"=> (H.levels.params m).columns |
| 20 | variable {S:Desk G (H.S.side (m+1) p)}{E:Desk G (H.S.side m p)} |
| 21 | variable (P:Tool F H N p m){D:GaugeDoor (H.rep N p (m+1)) (H.rep N p m)}{W:Worth}{T:Heading F}{c ε v t:ℝ}{X:Set Wing} |
| 22 | variable (hx:P.Cap B Y W D T c ε v X)(h:Well (H.rep N p (m+1)) S (Real.sqrt (H.levels.clock.forcedAllowance (m+1)))) |
| 23 | variable (Q U : Gram F Y S ((H.levels.params (m+1)).columns))(ha:Afford P.plate Y (H.rep N p (m+1)) (H.rep N p m)) |
| 24 | local notation "T₁"=> P.portfolio Q.scythe |
| 25 | local notation "T₂"=> P.portfolio U.scythe |
| 26 | lemma equalityS (i:Tally F) : (T₁ i).support=(T₂ i).support:= turn_same (P.shot i.2 (Coin.uses _)) _ _ _ rfl -- edit |
| 27 | include hx h ha |
| 28 | lemma buyers (i:Tally F): let q:= Q.g (Size.axis F i.2); let r:= U.g (Size.axis F i.2) |
| 29 | let a:= breakP (P.portfolio Q.scythe i) (P.portfolio U.scythe i);let A:= ε * ‖q-r‖ |
| 30 | a.Format 0 Y A₀ ∧ F.coeffSize a.x ≤ A∧a.remBound 0 A₀ μ A:=by |
| 31 | intro q r A₁' V; have hv:= socket P hx h i.2 q r ha; let b:= breakP (P.shot i.2 (Coin.uses q)) (P.shot i.2 (Coin.uses r)) |
| 32 | have hP:A₁'= audition (P.whirl i.1) b:= (turn_br ..).symm; rw [hP] |
| 33 | obtain ⟨f,g,hf,hTz⟩:= hv.income |
| 34 | obtain ⟨he,hk,hU,-⟩:= audition_receipt i.1 (P.whirl i.1) ((by decide : 2 ≤ 4).trans (Next.Foundations.actual_side_ge H.S m p)) hx.good hv.earns hf |
| 35 | exact ⟨hk,(he.symm ▸ ((patch_cost ..).trans hv.first) : _),hU.bound hTz⟩ |
| 36 | variable (hp : roomCost H.levels W)(hk:Bank W H.levels) (hu:Well (H.rep N p m) E (Real.sqrt (H.levels.clock.forcedAllowance m))) |
| 37 | include hp hk hu |
| 38 | -- norms budget BOTH. operator norm of F.Coeff→Arena measured in F.coeffSize. |
| 39 | namespace Gram |
| 40 | def Within {n:Side}{F:Labels.Frame G d}{S:Desk G n}{r:ℝ}(Q U:Gram F Y S r)(a:ℝ): Prop:=0≤a∧∀ v, ‖Q.g v-U.g v‖ ≤ a*r*F.coeffSize v |
| 41 | local notation "Q'"=> Q.index P hx h hp hk |
| 42 | local notation "U'"=> U.index P hx h hp hk |
| 43 | local notation "R₁"=> Q.recorded P hx h hu hp hk |
| 44 | local notation "R₂"=> U.recorded P hx h hu hp hk |
| 45 | local notation "V₁"=> Q.step P hx h hu hp hk |
| 46 | local notation "V₂"=> U.step P hx h hu hp hk |
| 47 | lemma communes (hv: Q.Within U t)(x:F.Coeff) : F.coeffSize (Q.index P hx h hp hk x - U.index P hx h hp hk x) ≤ ε*(t*s)* Z * F.coeffSize x ∧ ‖R₁ x- R₂ x‖ ≤ ε*(t*s)* Z * F.coeffSize x:=by |
| 48 | let b:= ε*(t*s)* Z |
| 49 | let Y1:= Q.point P; let Y2:=U.point P; let p':= breakP (Y1 x) (Y2 x) |
| 50 | let f(i:Tally F):=breakP (T₁ i) (T₂ i); let A(i:Tally F):= ε*‖Q.g (Size.axis F i.2)-U.g (Size.axis F i.2)‖; let g(i:Tally F):=chips F x i |
| 51 | have hf(i):= buyers P hx h Q U ha i; have ht:= hx.budget.epsilon; have hs:= hv.1; have hM:s≥0:= zero_le_one.trans (H.levels.params (m+1)).columns_ge |
| 52 | have hε:∑ i:Tally F,‖g i‖ * A i ≤ b * F.coeffSize x:=by |
| 53 | have hy i: A i ≤ ε*(t*s):=(mul_le_mul_of_nonneg_left (hv.2 _) ht).trans_eq (by rw [Size.size_axis,mul_one]) |
| 54 | refine (sum_le_sum (fun i _=> mul_le_mul_of_nonneg_left (hy i) (norm_nonneg (g i)))).trans ?_ |
| 55 | rw [← Finset.sum_mul]; exact (mul_le_mul_of_nonneg_right (rip F x) (mul_nonneg ht (mul_nonneg hs hM))).trans_eq (by unfold b; ring) |
| 56 | have he : p' = Extra.Histories.pencil (code _) f (chips F) x:= (pencil_br ..).symm |
| 57 | refine ⟨?_ ,?_⟩ |
| 58 | · change F.coeffSize p'.x ≤ b*_; rw [he,pencil_x] |
| 59 | apply (Size.finite F _ _).trans ((sum_le_sum ?_).trans hε); intro i _; rw [Size.smul]; exact mul_le_mul_of_nonneg_left (hf i).2.1 (norm_nonneg _) |
| 60 | have hx':(Y1 x).support=(Y2 x).support:=by |
| 61 | funext i; exact congr_fun (equalityS P Q U (code (Tally F) i).1) (code _ i).2 |
| 62 | have hf' : Coin.uses (R₁ x- R₂ x)= capture p' P.down:=by rw [map_sub]; exact (collected _ _ _ hx' (Q.prose P hx h hp hk x).2.1 (U.prose P hx h hp hk x).2.1).symm |
| 63 | apply (Coin.wealths _).mpr; rw [hf']; rw [he] |
| 64 | obtain ⟨hz,hr⟩:= pencil_cost (code _) f (chips F) (Real.sqrt_pos.mpr (forcedPos ..)) (fun i=> ⟨(hf i).1,(hf i).2.2⟩) x; exact alongPay hu _ _ hz (rem_mono hr hε) |
| 65 | section numerical |
| 66 | omit hu ha h hp in |
| 67 | lemma bank0 : 0 ≤ barunit (H.S.block m) ∧ 4 * s * barunit (H.S.block m) ≤ 1:=by |
| 68 | let A:= puffs (H.S.block m); let S₂:= s; let W':= W.K (H.levels.clock.J (m+1)+1); have he:1≤S₂:= (H.levels.params (m+1)).columns_ge |
| 69 | have hy :1 ≤ W'^6:=one_le_pow₀ (W.prices _); have hz:S₂ ≤ (1+S₂)^2:=by nlinarith only [he] |
| 70 | have hm : 4*S₂ ≤ A:= le_trans (b:=100000*W'^6*(1+S₂)^2) (mul_le_mul (by linarith only [hy]) hz (zero_le_one.trans he) (by linarith only [hy])) (hk m) |
| 71 | have hA: 1≤A:=by linarith |
| 72 | change 0≤A⁻¹^3∧ 4*S₂*A⁻¹^3≤1; refine ⟨by positivity,?_⟩; rw [inv_pow,← div_eq_mul_inv]; exact (div_le_one₀ (by positivity)).mpr (hm.trans (by simpa only [pow_one] using (pow_le_pow_right₀ hA (show 1 ≤ 3 by omega)))) -- rw issue |
| 73 | end numerical |
| 74 | lemma revenue (hv: Q.Within U t): (Q.step P hx h hu hp hk).Within (U.step P hx h hu hp hk) (t/2):=by |
| 75 | refine ⟨div_nonneg hv.1 (by norm_num),fun x=>?_⟩; let y:= (Q').symm x; let a:=(U') y |
| 76 | have hr: x=Q' y:= ((Q').apply_symm_apply _).symm |
| 77 | let b:= ε*(t*s)*Z; have ht₁:(V₁).g x=(R₁) y:= by |
| 78 | conv_lhs=> rw [hr] |
| 79 | exact signs .. |
| 80 | have ht₂ : (V₂).g a=(R₂) y:= signs .. |
| 81 | have hx' : F.coeffSize y ≤ s* F.coeffSize x:=by rw [hr]; exact (Q.prose P hx h hp hk y|>.2.2) |
| 82 | obtain ⟨hv₀,hv₁⟩:= Q.communes P hx h U ha hp hk hu hv y |
| 83 | have hΔ : F.coeffSize (a-x) ≤ b *F.coeffSize y := (Work.G08.size_sub_rev ..).trans_le (by nth_rw 1 [hr]; exact hv₀) |
| 84 | have hs:s≥1:=(H.levels.params (m+1)).columns_ge; have hs':s'≥1:=(H.levels.params m).columns_ge |
| 85 | have hz: Z≥1:= orbitCost_one_le F; have hε:=hx.budget.epsilon; have ht:= hv.1 |
| 86 | have he: ε*s*Z≤ barunit (H.S.block m):= ((mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_left (le_add_of_nonneg_left zero_le_one) hε) (zero_le_one.trans hz))).trans hx.budget.tiny |
| 87 | have hb: b*s ≤ t/4:=by |
| 88 | unfold b; rw [show ε*(t*s)*Z*s=t*(ε*s*Z*s) from by ring] |
| 89 | refine (mul_le_mul_of_nonneg_left (mul_le_mul_of_nonneg_right he (zero_le_one.trans hs)) ht).trans ?_ |
| 90 | have h':= bank0 P hx hk|>.2; have h:barunit (H.S.block m)*s ≤ 1/4:=by linarith only [h'] |
| 91 | exact (mul_le_mul_of_nonneg_left h ht).trans_eq (by ring) |
| 92 | have hV : b*F.coeffSize y ≤ t/4*F.coeffSize x:= ((mul_le_mul_of_nonneg_left hx' (by unfold b; positivity)).trans ((mul_assoc ..).symm.le)).trans (mul_le_mul_of_nonneg_right hb (Work.G08.size_nonneg ..)) |
| 93 | have hF: ‖R₂ y - (V₂).g x‖ ≤ s'*(t/4*F.coeffSize x):=by rw [←ht₂,← map_sub]; exact ((V₂).toll _).trans (mul_le_mul_of_nonneg_left ((Work.G08.size_core ..).trans (hΔ.trans hV)) (zero_le_one.trans hs')) |
| 94 | change ‖(V₁).g x- (V₂).g x‖ ≤ _; rw [ht₁,show R₁ y- _= (R₁ y-R₂ y)+(R₂ y- (V₂).g x) by abel] |
| 95 | apply (norm_add_le ..).trans; apply (add_le_add (hv₁.trans (hV.trans (le_mul_of_one_le_left (mul_nonneg (by positivity) (Work.G08.size_nonneg ..)) hs'))) hF).trans |
| 96 | apply le_of_eq; ring |
| 97 | end Gram |
| 98 | end YM.MergeProof.Matric |