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.Rest |
| 2 | import YM.Work.B14 |
| 3 | |
| 4 | /-! |
| 5 | # Peak invoice. Same Wilson law and normalization |
| 6 | |
| 7 | Charge even if the scribe at upstream reconstruction supplies a nontrivial |
| 8 | base. All unmasked paths at true width and residual quartic AFTER cubic path |
| 9 | paid at its achieved width when necessary. Not claiming this choice suffices |
| 10 | as thermal kinetic data. |
| 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 Tree |
| 17 | open Joint Estimate Estimate.Purse Estimate.Logfee Estimate.Depot BoxChain Premium Evoke Budget Analyzers Mail Wages |
| 18 | open scoped Topology Matrix.Norms.Frobenius ContDiff BigOperators InnerProductSpace |
| 19 | attribute [local instance] Gauge.frobInner |
| 20 | namespace Peak |
| 21 | section universal |
| 22 | variable {G : Gauge} {c : Side} |
| 23 | open Residual |
| 24 | lemma sameSign (i : ℕ) {X Y : Dir G c →ℝ} (hx : ContDiffAt ℝ ω X 0) (hy : ContDiffAt ℝ ω Y 0) |
| 25 | (f : Dir G c→L[ℝ] Dir G c) {a : Fin i→ Dir G c} (he : X ∘ f=X) (hh : Y ∘ f=Y) : |
| 26 | Tensor.coeff (X-Y) i 0 (fun i => f (a i)) = Tensor.coeff (X-Y) i 0 a := by |
| 27 | unfold Tensor.coeff |
| 28 | have hT : ContDiffAt ℝ i (X-Y) 0 := (hx.sub hy).of_le le_top |
| 29 | have hf := Next.Foundations.jets_linear f hT; rw [show (X-Y) ∘ f=X-Y from funext fun j => congr_arg₂ (·-·) (congr_fun he j) (congr_fun hh j)] at hf |
| 30 | exact congr_arg ((Nat.factorial i:ℝ)⁻¹ • ·) (DFunLike.congr_fun hf.symm a) |
| 31 | lemma fresh (G : Gauge) (c : Side) : ContDiffAt ℝ ω (wilsonAt (c:=c) (G:=G)) 0 := by |
| 32 | unfold wilsonAt Wilson.energy |
| 33 | exact ContDiffAt.sum fun i _ => price_smooth (A:=fun x => faceValue (represent x) i) (Push.writes ..) |
| 34 | lemma weight {p : Clip} {σ C Λ : ℝ} {W : PathData G} (i : ℕ) (h : W.Bounds p σ C Λ) : |
| 35 | Law 0 (fun c => Tensor.coeff (wilsonAt-baseAt p W (c:=c)) i 0) := by |
| 36 | constructor |
| 37 | · intro c _ y v; exact sameSign i (fresh ..) (Residual.base_smooth h) (colors y) (by |
| 38 | funext x; simp only [Function.comp_apply, wilsonAt,rep_colors, Wilson.energy_gauge]) (Residual.base_colors h y) |
| 39 | · intro c _ y v; exact sameSign i (fresh ..) (Residual.base_smooth h) (shifts 1 y) (by |
| 40 | funext x; simp only [Function.comp_apply,wilsonAt,rep_shifts,Wilson.energy_pull]) (Residual.base_orient ..) |
| 41 | intro c d _ _ h' v |
| 42 | let L := Sheets.reuses h' (k:=1) (G:=G) |
| 43 | let P c := wilsonAt-baseAt (c:=c) p W |
| 44 | have hP c : ContDiffAt ℝ i (P c) 0 := ((fresh G c).sub (base_smooth h)).of_le le_top |
| 45 | have he := Next.Foundations.jets_linear L (hP d) |
| 46 | rw [show (P d ∘ L)=_ from Sheets.peak_lift h' p W, iteratedFDeriv_const_smul_apply (hP c)] at he |
| 47 | have hv : iteratedFDeriv ℝ i (P d) 0 (fun i => L (v i))=(Sheets.mult h':ℝ) • iteratedFDeriv ℝ i (P c) 0 v := DFunLike.congr_fun he.symm v |
| 48 | unfold Tensor.coeff |
| 49 | simp only [_root_.smul_apply,smul_eq_mul]; change (i.factorial:ℝ)⁻¹ * iteratedFDeriv ℝ i (P d) 0 (fun i => L (v i)) = _ |
| 50 | rw [hv,smul_eq_mul]; unfold P; ring |
| 51 | end universal |
| 52 | open Plaque Village |
| 53 | lemma seed (G : Gauge) (u : ℝ) (hp : 0<u) (i : ℕ) (hi : i ≤ 4) (w : Fin i) : |
| 54 | ∃ C : ℝ,0 ≤ C ∧ ∀ (c : Side), Alive w (Residual.wilsonAt (c:=c) (G:=G)) (rate u) C := by |
| 55 | let b := boom u |
| 56 | let a := allotted G b i |
| 57 | let k := Evoke.factor b |
| 58 | let g := (2*G.colorScale^2)⁻¹ |
| 59 | have hk : 0 ≤ k := zero_le_one.trans (factor_ge (booms hp).le) |
| 60 | have hg := G.colorScale_pos |
| 61 | have hh : 0 ≤ g := inv_nonneg.mpr (by positivity); have ha : 0 ≤ a := (allotted_pos ..).le |
| 62 | let K := g*((2:ℝ)^i*(a*a)) |
| 63 | have hK : 0 ≤ K := mul_nonneg hh (by positivity) |
| 64 | refine ⟨overall u * (Fintype.card PlaqAxes*K*k^i),mul_nonneg (zero_le_one.trans (Premium.cover_ge u)) (by positivity),?_⟩ |
| 65 | intro c x z |
| 66 | let X j := (x j).1; let d j := sparse (x j) (z j); let D j := k*‖z j‖; have hD j : 0 ≤ D j := mul_nonneg hk (norm_nonneg _) |
| 67 | let Q := Wages.account 1 none X (fun _ => b) D hD; let U := (Finset.univ:Finset (Fin i)); |
| 68 | have he i := coarse_enough Q (booms hp).le i (by simp [Purse.tagged,Q,Wages.account]) (x i) (z i) rfl (fun j => by |
| 69 | change Green.wt (boom u/(↑(1:ℕ):ℝ)) j _ = _; simp only [Nat.cast_one,div_one,X]) |
| 70 | let V p (j : Site c) (a : Dir G c) := G.price (faceValue (represent a) (j,p)) |
| 71 | let p y (a : Dir G c) := ∑ j : PlaqAxes,V j y a |
| 72 | have hT := travels (w:=none) X (fun _ => b) D hD 1 (fun _ => (abs_of_pos (booms hp)).le) |
| 73 | have hV (u : PlaqAxes) (j : Site c) : ContDiffAt ℝ ω (V u j) 0 := price_smooth (A:=fun x => faceValue (represent x) (j,u)) (Push.writes ..) |
| 74 | have hx₁ : Linkbill 1 Q d := by intro _ _; simpa only [d,PNat.val_ofNat, Nat.cast_one,inv_one] using (he _).1 _ |
| 75 | have hx₂ : BendBill 1 Q d := by intro _ _; simpa only [d,PNat.val_ofNat,Nat.cast_one,one_pow,inv_one] using (he _).2 _ |
| 76 | have ht : U.card ≤ i := by simp [U] |
| 77 | let r := span (rate u) (X w) X |
| 78 | have he q : Q.Jets U d (V q) 0 K := by |
| 79 | let f := plasty q (G:=G) (n:=c) |
| 80 | have ht' j := (Plaque.order q (G:=G) j).contDiffAt (x:=(0:Dir G c)) |
| 81 | have hh' (T : Finset (Fin i)) (h : T ⊆ U) : Q.Jets T d f 0 a := by |
| 82 | simpa only [PNat.val_ofNat, Nat.cast_one,one_pow, div_one] using collectBudget hx₁ hT (booms hp).le T i ((Finset.card_le_card h).trans ht) hx₂ q |
| 83 | let Φ := innerSL ℝ (E:=G.Mat) |
| 84 | rw [show V q=fun i x => g • Φ (f i x) (f i x) from funext fun i => funext fun x => (exp_price G _).trans (show g*‖f i x‖^2 = g*inner ℝ (f i x) (f i x) by rw [real_inner_self_eq_norm_sq])] |
| 85 | have hK := Jets.rate (Jets.priced Φ (fun a b => abs_real_inner_le_norm a b) ht' ht' hh' hh' i ht) g |
| 86 | (fun i => (Φ.contDiff.contDiffAt.comp _ (ht' i)).clm_apply (ht' i)); rwa [abs_of_nonneg hh] at hK |
| 87 | have hh := Jets.allotted Finset.univ V (fun i _ => hV i) (fun i _ => he i) |
| 88 | have hf : Stamp Q U 1 u r (X w) := by simpa only [PNat.val_ofNat,Nat.cast_one,div_one] using journey hp Q w X 1 hi (fun _ _ => rfl) |
| 89 | have hk := Premium.tariff (l:=1) hh (by norm_num [Q,Wages.account]) hp (by exact (span_pos (rate u) (X w) X).le) _ hf |
| 90 | rw [← univEstimate d (Residual.wilsonAt (G:=G) (c:=c)) _ (fresh ..), show Residual.wilsonAt (G:=G) (c:=c)=fun a => ∑ x,p x a from |
| 91 | funext fun a => Fintype.sum_prod_type (fun j => G.price (faceValue (represent a) j)), sum_bill Finset.univ _ _ p] |
| 92 | · apply hk.trans_eq; unfold Q D Wages.account Purse.target U; simp [Finset.prod_mul_distrib]; ring |
| 93 | exact fun i _ => ContDiffAt.sum fun j _ => hV j _ |
| 94 | section matching |
| 95 | open Residual |
| 96 | variable (G : Gauge) |
| 97 | lemma budget_seed (p : ℕ) (i : Fin p) (hi : p≤4) (u D R3 R4 : ℝ) (he : 0<u) : |
| 98 | ∃ R : ℝ,0 ≤ R ∧ ∀ (c : Side) (q : Clip) (W : PathData G) (σ C τ Λ : ℝ) (h : W.Bounds q τ C Λ), |
| 99 | Rotate.Led W 1 p (boom u) σ D R3 R4 → Spatial ((Peak.weight p h).raw c) (rate u/4) R := by |
| 100 | obtain ⟨R,hR,H⟩ := seed G u he p hi i |
| 101 | obtain ⟨K,hK,h⟩ := Wages.budget G (w:=i) hi he D |
| 102 | let x := max 1 (assistance 1 R3 R4) |
| 103 | have hx : 0 ≤ x := zero_le_one.trans (le_max_left ..) |
| 104 | refine ⟨(p.factorial:ℝ)⁻¹*(R+K*x),by positivity,?_⟩ |
| 105 | intro c q W σ C τ Λ hk hh |
| 106 | have Hx := h (c:=c) q W hk hh |
| 107 | rw [(Peak.weight p hk).raw_buys (Nat.zero_le _)] |
| 108 | exact (H c).gives (Hx.earns (mul_le_mul_of_nonneg_left (le_max_right ..) hK)) (fresh ..) (base_smooth hk) |
| 109 | (after he) (by positivity) _ |
| 110 | |
| 111 | lemma top_cost (p : ℕ) [NeZero p] (i : Fin (p+1)) (hp : 2 ≤ p) (hi : p+1 ≤ 4) |
| 112 | (u D R3 R4 : ℝ) (he : 0<u) (P : Printed p) : ∃ σ C : ℝ,0<σ ∧ 0≤C ∧ |
| 113 | ∀ (q : Clip) (W : PathData G) (τ a η Λ : ℝ) (_h : W.Bounds q η a Λ),Rotate.Led W 1 (p+1) (boom u) τ D R3 R4 → |
| 114 | ∀ (d : ℕ → Side), Tendsto (fun i => (d i).val) atTop atTop → |
| 115 | (∀ n k,k<p+1 → iteratedFDeriv ℝ k (wilsonAt (G:=G) (c:=d n)) 0=iteratedFDeriv ℝ k (baseAt q W) 0) → |
| 116 | ∃ A : rootArray G p, SumBudget (fun i => (letters P A i).budget σ) C ∧ |
| 117 | ∀ n l,l ≤ p+1 → SameJet l wilsonAt (baseAt q W (c:=d n) + impact (letters P A)) := by |
| 118 | obtain ⟨R,hR,H⟩ := budget_seed G (p+1) i hi u D R3 R4 he |
| 119 | obtain ⟨σ,C,ha,hc,L⟩ := Mail.writes G p P hp (rate u/4) (div_pos (after he) (by norm_num)) |
| 120 | refine ⟨σ,C*R,ha,mul_nonneg hc hR,?_⟩ |
| 121 | intro q W τ a η Λ h Hh d ht hl |
| 122 | have hv c := H c _ _ _ _ _ _ h Hh |
| 123 | obtain ⟨A,hA,hk⟩ := L 0 _ (Peak.weight (p+1) h) ⟨rate u/4,R,fun c _ => hv c⟩ d (fun _ => Nat.zero_le _) ht (fun n => |
| 124 | Residual.closed_peak _ h (hl n)) R fun i => hv (d i) |
| 125 | exact ⟨A,hA,fun i => banks_add (base_smooth h) (fresh ..) (hl i) (letters P A) hA ha (hk i).1 (hk i).2⟩ |
| 126 | end matching |
| 127 | |
| 128 | end Peak |
| 129 | end YM.AnalyticNext.QuarticMatch.Local |