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.AnalyticNext.QUARTIC_MATCH.Local.Centerline |
| 2 | import YM.AnalyticNext.QUARTIC_MATCH.Local.Input |
| 3 | import YM.AnalyticNext.QUARTIC_MATCH.Local.Limits |
| 4 | |
| 5 | /-! |
| 6 | # Budget of directions at center and beyond |
| 7 | |
| 8 | Only needs the given tower and purchases. Use at the *same* parameters for |
| 9 | acceleration. External labels include direction anchors even antipodal and |
| 10 | repeated links. Constants not seeding R4 from a weakened norm embedding. |
| 11 | -/ |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | namespace YM.AnalyticNext.QuarticMatch.Local |
| 15 | open Filter Function Lattice Laurent Matrix Hessian Analysis RG Precision Exterior Bid Wilson Branch Bloch |
| 16 | open Progress.StationaryScenes Work.F03 YM.Next.Free Work.F08 Pre.Centered |
| 17 | open Joint Estimate Estimate.Purse Estimate.Logfee Estimate.Depot BoxChain Premium Evoke Budget |
| 18 | open scoped Topology Matrix.Norms.Frobenius ContDiff BigOperators InnerProductSpace |
| 19 | namespace Wages |
| 20 | variable (G : Gauge) |
| 21 | open Green (wt) |
| 22 | lemma pure_path (k m j : ℕ) (hm : k ≤ m) (hk : k ≤ 4) (u D κ η C : ℝ) (hp : 0<u) (he : boom u ≤ η) (hκ : 0<κ) : |
| 23 | ∃ R : ℝ,0 ≤ R ∧ ∀ (c f : Side) (S : StepData c f) (p : Clip) (W : PathData G) (a : S.Choices) (σ τ K Λ R3 R4 : ℝ), |
| 24 | S.patch.J=j → S.kernel.penalty=κ → S.patch.Branches S.kernel G → W.Bounds p τ K Λ → Rotate.Led W S.patch.L m (boom u) σ D R3 R4 → |
| 25 | ∀ U : Cross S.ratio.count (TypeFace 1) (TypeFace 1),Evoke.motion S U η C → |
| 26 | ∀ (x : Fin k→Cell (Per c)) (z : Fin k→G.Color) (i : Fin k), |
| 27 | span (rate u) (x i).1 (fun k => (x k).1)* |iteratedFDeriv ℝ k (cash S a p W) 0 (fun k => external (installed S.ratio U) (x k) (z k))| ≤ |
| 28 | R*assistance S.patch.L R3 R4*∏ i, ‖z i‖ := by |
| 29 | obtain ⟨R,hR,H⟩ := awards G j m (boom u) u D κ (booms hp) hp hκ |
| 30 | have hv := zero_le_one.trans (costS η C) |
| 31 | refine ⟨R*smoothC η C^k,mul_nonneg hR (pow_nonneg hv _),?_⟩ |
| 32 | intro c f S p W a σ τ K Λ R3 R4 hj hv' hB hW hl A hA x z i |
| 33 | let l := S.ratio.count |
| 34 | let V := cash S a p W |
| 35 | let b (k) := external (installed S.ratio A) (x k) (z k) |
| 36 | let Z (i) := S.ratio.embed (x i).1; let X i := (x i).1 |
| 37 | let d (k) := smoothC η C*‖z k‖ |
| 38 | have hd (k) : 0≤d k := mul_nonneg hv (norm_nonneg _) |
| 39 | let P := Wages.account l none Z (fun _ => boom u) d hd |
| 40 | let m' := span (rate u) (X i) X |
| 41 | have he' := travels none Z (fun _ => boom u) d hd l (η:=boom u) fun _ => (abs_of_pos (booms hp)).le |
| 42 | have hQ : Stamp P Finset.univ S.patch.L u m' (Z i) := by |
| 43 | have h := journey hp P i Z l hk (fun _ _ => rfl) |
| 44 | rw [show span (rate u/l.val) (Z i) Z=m' from span_coarse S _ _ _] at h; exact h |
| 45 | have hG : ∀ i,Presents S P i (b i) := fun i => offers S (booms hp) he A hA P (x i) (z i) i (by simp [P,Wages.account]) rfl (fun _ => rfl) |
| 46 | have hx := H _ _ S p W a σ _ _ _ _ _ hj hv' hB hW hl _ P Finset.univ b (by simpa using hm) rfl he' hG (X i) m' (span_pos ..).le hQ |
| 47 | have hV : ContDiffAt ℝ ω V 0 := by |
| 48 | -- directly via charged |
| 49 | rw [show V=(fun z => mainTerm p W (represent z.2.1)+S.kernel.penalty*∑ y : Site c,∑ i, coins S a y i z) from funext (Budget.charged S a p W)] |
| 50 | apply ContDiffAt.add |
| 51 | · let f := fun x : Dir G f => mainTerm p W (represent x); have hf : ContDiffAt ℝ ω f 0 := Work.F02.mainTerm_contDiffAt hW (A:=represent) (fun i => (represent_smooth ..).contDiffAt) |
| 52 | exact hf.comp (f:=fun z : JointSpace G c _ => z.2.1) (0:JointSpace G c _) (by fun_prop) |
| 53 | exact contDiffAt_const.mul (ContDiffAt.sum fun i _ => ContDiffAt.sum fun j _ => coin_smooth S a hB i j) |
| 54 | rw [univEstimate b _ _ hV] at hx |
| 55 | exact hx.trans_eq (by unfold target P Wages.account d; simp only [Finset.prod_mul_distrib, Finset.prod_const, Finset.card_univ,Fintype.card_fin]; ring) |
| 56 | |
| 57 | section movement |
| 58 | open Tracks |
| 59 | variable {u D κ η C : ℝ} |
| 60 | |
| 61 | /-- Charge the rough leg also when sending from another family of external |
| 62 | positions. Apply twice, with particular M to bill a spanning tree. -/ |
| 63 | theorem bending (j m : ℕ) (hm : 3 ≤ m) (hp : 0 < u) (he : boom u ≤ η) (hκ : 0<κ) : ∀ D : ℝ,∃ R : ℝ,0 ≤ R ∧ |
| 64 | ∀ (c f : Side) (S : StepData c f) (p : Clip) (W : PathData G) (a : S.Choices) (σ τ K Λ R3 R4 : ℝ), |
| 65 | S.patch.J=j → S.kernel.penalty=κ → S.patch.Branches S.kernel G → W.Bounds p τ K Λ → Rotate.Led W S.patch.L m (boom u) σ D R3 R4 → |
| 66 | ∀ U : Cross S.ratio.count (TypeFace 1) (TypeFace 1),Evoke.motion S U η C → ∀ (x y : Cell (Per c)) (v w : G.Color), |
| 67 | let r := leg (cash S a p W) 0 (external (installed S.ratio U) x v) (external (installed S.ratio U) y w) |
| 68 | ∀ (b b' : Site c) (t M : ℝ) (z : Vertical G c f), let e := S.ratio; |t|≤ boom u → 0 ≤ M → |
| 69 | (∀ i, M*wt (u/e.count.val) i (e.embed b') ≤ wt (boom u/e.count.val) i (e.embed x.1)*wt (boom u/e.count.val) i (e.embed y.1) * |
| 70 | wt (-t/e.count.val) i (e.embed b)) → |
| 71 | M* |r (polar S t (e.embed b) z)| ≤ R*assistance S.patch.L R3 R4*‖v‖*‖w‖ * shares S z := by |
| 72 | intro D; obtain ⟨R,hR,H⟩ := awards G j m (boom u) u D κ (booms hp) hp hκ |
| 73 | let K := roughC (boom u) |
| 74 | let Q := smoothC η C; have hQ : 0 ≤ Q := zero_le_one.trans (costS ..); have hK : 0≤K := zero_le_one.trans (rough_ge _) |
| 75 | refine ⟨R*Q*Q*K,by positivity,?_⟩ |
| 76 | intro c f S p W a σ τ K' Λ R3 R4 hs hk hB hP hL U hU x y v w r b b' t M z e ht hy hx |
| 77 | let Z := ((0:Dir G c), polar S t (e.embed b) z) |
| 78 | let F := cash S a p W |
| 79 | let A i j := external (installed S.ratio U) i j (G:=G) |
| 80 | let T := ![A x v,A y w,Z] |
| 81 | let q := shares S z |
| 82 | let c := ![e.embed x.1,e.embed y.1,e.embed b] |
| 83 | let f₁ := ![boom u,boom u,-t] |
| 84 | let d := ![Q*‖v‖,Q*‖w‖,K*q] |
| 85 | have hd i : 0 ≤ d i := by |
| 86 | fin_cases i |
| 87 | · exact mul_nonneg hQ (norm_nonneg _) |
| 88 | · exact mul_nonneg hQ (norm_nonneg _) |
| 89 | · exact mul_nonneg hK (shares_nonneg ..) |
| 90 | let P := Wages.account S.ratio.count (some (2:Fin 3)) c f₁ d hd |
| 91 | have hg : ∀ i,Presents S P i (T i) := by |
| 92 | intro i; fin_cases i |
| 93 | · exact offers S (booms hp) he U hU P x v 0 (by intro H; exact (by decide : (some (2:Fin 3))≠some 0) H) rfl (fun _ => rfl) |
| 94 | · exact offers S (booms hp) he U hU P y w 1 (by intro H; exact (by decide : (some (2:Fin 3))≠some 1) H) rfl (fun _ => rfl) |
| 95 | exact contributes S (booms hp) ht P z (e.embed b) 2 rfl rfl rfl (fun _ => rfl) |
| 96 | have hχ : tollRate P S.patch.L (boom u) := by |
| 97 | apply (show tollRate P S.ratio.count (boom u) from travels _ _ f₁ d hd S.ratio.count fun i => ?_) |
| 98 | fin_cases i |
| 99 | · exact (abs_of_pos (booms hp)).le |
| 100 | · exact (abs_of_pos (booms hp)).le |
| 101 | exact (abs_neg t).trans_le ht |
| 102 | have hv : Stamp P Finset.univ S.patch.L u M (S.ratio.embed b') := by |
| 103 | intro i; simp only [price,Fin.prod_univ_succ]; |
| 104 | convert! hx i using 1; dsimp [P,Wages.account,d,e,c,f₁]; ring |
| 105 | have h := H _ _ S p W a σ _ _ _ _ _ hs hk hB hP hL _ P Finset.univ T (by simpa using hm) rfl hχ hg b' M hy hv |
| 106 | have hF : ContDiffAt ℝ ω F 0 := by |
| 107 | rw [show F=(fun z => mainTerm p W (represent z.2.1)+S.kernel.penalty*∑ y,∑ i, coins S a y i z) from funext (Budget.charged S a p W)] |
| 108 | apply ContDiffAt.add |
| 109 | · have hf : ContDiffAt ℝ ω (fun x : Dir G f => mainTerm p W (represent x)) 0 := Work.F02.mainTerm_contDiffAt hP (A:=represent) (fun i => (represent_smooth ..).contDiffAt) |
| 110 | exact hf.comp (f:=fun z : JointSpace G _ f => z.2.1) (0:JointSpace G _ f) (by fun_prop) |
| 111 | exact contDiffAt_const.mul (ContDiffAt.sum fun i _ => ContDiffAt.sum fun j _ => coin_smooth S a hB i j) |
| 112 | have HH : bill Finset.univ T F 0=r Z.2 := (univEstimate T F _ hF).trans (D3_jet F 0 (A x v) (A y w) Z) |
| 113 | change M* |r Z.2| ≤ R*Q*Q*K*_ * ‖v‖*‖w‖ * q; rw [← HH]; exact h.trans_eq (by |
| 114 | change _*(∏ i,d i)=_; simp only [Fin.prod_univ_succ,d]; dsimp; ring) |
| 115 | end movement |
| 116 | end Wages |
| 117 | end YM.AnalyticNext.QuarticMatch.Local |