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.Estimate.Visit |
| 2 | import YM.AnalyticNext.QUARTIC_MATCH.Pre.Center |
| 3 | import YM.Next.FREE_KERNELS.Amend |
| 4 | |
| 5 | /-! |
| 6 | # At the centered minimizer. Mixed jets via the mean-complement |
| 7 | |
| 8 | No bare assumption on vertex-price directions; propagate to every h derivative |
| 9 | needed here. No Jacobian estimate or away-from-station curvature prices. |
| 10 | |
| 11 | Method: a frame equal up to common left gauge to the one *actually used* |
| 12 | in the prediction on the minimizing branch. Use the matrix centroid choice, |
| 13 | so the weighted mass has constant Lie projection. Near zero each envelope |
| 14 | entry is the focus of a cloud based on the access paths and the frame values |
| 15 | (`splices`). At order >0 at flat, the potentially bad term in differentiating |
| 16 | `tape` is just the *unweighted mean* of frame derivatives of that same order; |
| 17 | show we can already price the difference (by lower-order costs and counting |
| 18 | path estimates). In `Volume`: apply the focus derivative (at zero fields) |
| 19 | which is exactly tangential projection. Thus all but constant Lie pieces of |
| 20 | those frame jets are paid for. Recover those pieces too by the weighted |
| 21 | mass condition (the weights themselves are bounded above by C_J times the |
| 22 | unweighted averaging weights, crucial for the mixed l²-l¹ cost here). |
| 23 | -/ |
| 24 | set_option autoImplicit false |
| 25 | noncomputable section |
| 26 | namespace YM.AnalyticNext.QuarticMatch.Estimate |
| 27 | open Filter Function Lattice Laurent Matrix Hessian Analysis RG Precision Exterior Bid Wilson Branch Bloch |
| 28 | open Progress.StationaryScenes Work.F03 YM.Next.Free Work.F08 Pre.Knot |
| 29 | open scoped Topology Matrix.Norms.Frobenius ContDiff BigOperators InnerProductSpace |
| 30 | attribute [local instance] Gauge.frobInner |
| 31 | namespace Yard |
| 32 | open Purse Logfee |
| 33 | variable {G : Gauge} {c f : Side} (S : StepData c f) {ι α : Type} |
| 34 | local notation "L" => S.patch.L |
| 35 | local notation "R" => S.patch.radius |
| 36 | local notation "l" => S.patch.L.val |
| 37 | local notation "Y" => S.patch.Points |
| 38 | local notation "X" => Dir G f |
| 39 | local notation "E" => G.Mat |
| 40 | |
| 41 | section average |
| 42 | variable {β Z V : Type} [NormedAddCommGroup Z] [NormedSpace ℝ Z] [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 43 | [Fintype α] [Fintype β] [Nonempty β] [Nonempty α] |
| 44 | omit [Nonempty α] in |
| 45 | lemma smoother (x : α→Z→V) (y : Z) (h : ∀ i,ContDiffAt ℝ ω (x i) y) : |
| 46 | ContDiffAt ℝ ω (fun w => avg fun i => x i w) y := (ContDiffAt.sum fun i _ => h i).const_smul _ |
| 47 | omit [Nonempty α] in |
| 48 | lemma funds (x : α→Z→V) (y : Z) (h : ∀ i,ContDiffAt ℝ ω (x i) y) (T : Finset ι) (d) : |
| 49 | bill T d (fun w => avg fun i => x i w) y= avg fun i => bill T d (x i) y := by |
| 50 | unfold avg |
| 51 | change bill T d ((Fintype.card α:ℝ)⁻¹ • (fun w => ∑ i, x i w)) y=_ |
| 52 | rw [smul_price _ _ (ContDiffAt.sum fun i _ => h i),sum_bill ..]; exact fun i _ => h i |
| 53 | omit [Nonempty α] [Nonempty β] in |
| 54 | lemma poolGeneral (x : α×β→Z) : avg x = avg fun i : α => avg fun j : β => x (i,j) := by |
| 55 | unfold avg; rw [Fintype.card_prod,Fintype.sum_prod_type, ← Finset.smul_sum,smul_smul] |
| 56 | rw [Nat.cast_mul,_root_.mul_inv_rev,mul_comm] |
| 57 | end average |
| 58 | variable [DecidableEq ι] |
| 59 | |
| 60 | def envelope (a : S.SitesChoice) (i : Site c) (j : Y) (x : X) := matter S a x i j |
| 61 | |
| 62 | def load (a : S.SitesChoice) (i : Site c) (j : cargo S) (x : X) := envelope S a i j.2.1 x * star (line S i j x) |
| 63 | |
| 64 | def tape (a : S.SitesChoice) (i : Site c) (j : Y) (x : X) := avg fun k : Y × Lattice.Order => load S a i (j,k) x |
| 65 | |
| 66 | def penny (G : Gauge) (v : G.Mat) := G.mat (G.focus v) |
| 67 | lemma compares (a : S.SitesChoice) (i : Site c) (j : Y) (x : X) : tape S a i j x=Push.cloud S i (x,matter S a x i) j := by |
| 68 | unfold tape; rw [poolGeneral]; unfold Push.cloud load Push.product; simp_rw [travel_at]; rfl |
| 69 | variable (h : S.patch.Branches S.kernel G) (a : S.SitesChoice) |
| 70 | include h |
| 71 | lemma honest (i j) : ContDiffAt ℝ ω (envelope S a i j (G:=G)) 0 := Pre.Knot.germ S h a i j |
| 72 | lemma anchored (i j) : envelope S a i j (0:X)=1 := point_id S h a i j |
| 73 | lemma loaded (i j) : ContDiffAt ℝ ω (load S a i j (G:=G)) 0 := (honest S h a i j.2.1).mul |
| 74 | ((show E ≃L[ℝ] E from starL ℝ).contDiff.contDiffAt.comp _ ((line_jet ..).contDiffAt)) |
| 75 | lemma stamped (i j) : ContDiffAt ℝ ω (tape S a i j (G:=G)) 0 := smoother _ _ fun _ => loaded S h a .. |
| 76 | lemma swept (i j) : tape S a i j (0:X)=1 := by simp_rw [tape,load, anchored S h,line,transport, Push.stroll_zero,G.mat_one,star_one,mul_one,avg_const] |
| 77 | lemma splices (i j) : envelope S a i j =ᶠ[𝓝 (0:X)] penny G ∘ tape S a i j := |
| 78 | (rays S h a i j).mono fun x hx => hx.trans (by rw [Function.comp_apply,compares]; rfl) |
| 79 | omit [DecidableEq ι] in |
| 80 | lemma on_duty (i j) (T : Finset ι) (d) : bill T d (tape S a i j) (0:X) = |
| 81 | avg fun k => bill T d (load S a i (j,k)) (0:X) := funds _ _ (fun _ => loaded S h a ..) T d |
| 82 | variable {η : ℝ} (he : 0 < η) (P : Purse ι (Site f)) (v : ι→Dir G f) |
| 83 | (ht : tollRate P S.patch.L η) (hc : P.cap=(S.patch.L.val:ℝ)^2) (hL : Linkbill S.patch.L P v) |
| 84 | local notation "T" => cap S P |
| 85 | |
| 86 | def sea (i m : ℕ) (G : Gauge) (η C : ℝ) := (2:ℝ)^m*(C*((2:ℝ)^4 * walkCash G i m η)) |
| 87 | omit h in |
| 88 | lemma sea_pos (i m : ℕ) (G : Gauge) (η : ℝ) {C : ℝ} (hc : 0 ≤ C) : 0 ≤ sea i m G η C := by |
| 89 | have h := cash_pos G i m η; unfold sea; positivity |
| 90 | |
| 91 | omit [DecidableEq ι] h in |
| 92 | lemma prosperous (S' : Finset ι) {C} (hh : (cap S P).Many S' v (envelope S a) 0 C) : |
| 93 | (cap S P).Many S' v (fun i j => envelope S a i (j : cargo S).2.1) 0 C := by |
| 94 | let e : cargo S ≃ (Y×Lattice.Order)×Y := Equiv.prodComm .. |
| 95 | exact (Spend.reshapes e (hh.reuses (γ:=Lattice.Order) |>.reuses (γ:=Y))) |
| 96 | omit h in |
| 97 | lemma bid (S' : Finset ι) (m : ℕ) (hs : S'.card ≤ m) (he : 0 < η) (ht : tollRate P L η) |
| 98 | (hc : P.cap=(l:ℝ)^2) (hL : Linkbill L P v) : |
| 99 | (cap S P).Many S' v (fun i j => fun x => star (line S i j x)) 0 ((2:ℝ)^4*walkCash G S.patch.J m η) := |
| 100 | Many.edit (couple S ht he hc v hL 0 (by simp) m S' hs) (fun i j => (line_jet ..).contDiffAt) |
| 101 | ((show E≃L[ℝ] E from starL ℝ).toContinuousLinearMap) (fun y => (norm_star y).le) |
| 102 | include he ht hc hL |
| 103 | lemma tote (S' : Finset ι) (m : ℕ) (hs : S'.card ≤ m) {C} (hh : ∀ U⊆S',(cap S P).Many U v (envelope S a) 0 C) : |
| 104 | (cap S P).Many S' v (tape S a) 0 (sea S.patch.J m G η C) := by |
| 105 | let φ := ContinuousLinearMap.mul ℝ E |
| 106 | have hg : (cap S P).Many S' v (load S a) 0 ((2:ℝ)^m * (C*((2:ℝ)^4*walkCash G S.patch.J m η))) := |
| 107 | Many.priced φ (fun x y => norm_mul_le x y) (fun i (j : cargo S) => honest S h a i j.2.1) |
| 108 | (fun i j => (show ContDiffAt ℝ ω (fun x => star (line S i j x)) (0:X) from ((show E≃L[ℝ] E from starL ℝ).contDiff.contDiffAt.comp _ |
| 109 | ((line_jet (G:=G) S i j).contDiffAt)))) (fun i hi => prosperous S a P v i (hh i hi)) |
| 110 | (fun i hi => bid S P v i m ((Finset.card_le_card hi).trans hs) he ht hc hL) m hs |
| 111 | refine (Spend.pooled (γ:=Y × Lattice.Order) hg).change fun i j => ?_ |
| 112 | change ‖bill S' v (tape S a i j) (0:X)‖ ≤ _; rw [on_duty S h a] |
| 113 | |
| 114 | lemma compensate (S' : Finset ι) {m : ℕ} (hs : S'.card=m+1) {C : ℝ} (hp : 0 ≤ C) |
| 115 | (hv : ∀ U⊆S',U.card ≤ m → (cap S P).Many U v (envelope S a) 0 C) : |
| 116 | (cap S P).Spend S' (fun i j => bill S' v (tape S a i j) 0 - avg fun k : Y => bill S' v (envelope S a i k) 0) |
| 117 | (sea S.patch.J (m+1) G η C) := by |
| 118 | let F (i : Site c) (u : cargo S) := envelope S a i u.2.1 (G:=G) |
| 119 | let W (i : Site c) (u : cargo S) (v : X) := star (line S i u v) |
| 120 | let φ := ContinuousLinearMap.mul ℝ E |
| 121 | let z (B : Finset ι) i j := φ (bill B v (F i j) 0) (bill (S'\B) v (W i j) 0) |
| 122 | let D := (2:ℝ)^4*walkCash G S.patch.J (m+1) η |
| 123 | let U := S'.powerset.erase S' |
| 124 | have hb (B : Finset ι) (hB : B∈U) : (cap S P).Spend S' (z B) (C*D) := by |
| 125 | obtain ⟨hh,hA⟩ := Finset.mem_erase.mp hB; have h' := Finset.mem_powerset.mp hA |
| 126 | have hx := Finset.card_lt_card (Finset.ssubset_iff_subset_ne.mpr ⟨h',hh⟩) |
| 127 | have h1 := prosperous S a P v B (hv B h' (by omega)) |
| 128 | have h2 := bid S P v (S'\B) (m+1) ((Finset.card_le_card Finset.sdiff_subset).trans_eq hs) he ht hc hL |
| 129 | have H := h1.times (u:=z B) h2 Finset.disjoint_sdiff (fun _ _ => norm_mul_le ..) |
| 130 | rwa [Finset.union_sdiff_of_subset h'] at H |
| 131 | have hh (i : Site c) (k : cargo S) : bill S' v (load S a i k) 0=(∑ B∈U,z B) i k+bill S' v (F i k) 0 := by |
| 132 | have ht i j : ContDiffAt ℝ ω (W i j) 0 := (show E ≃L[ℝ] E from starL ℝ).contDiff.contDiffAt.comp _ ((line_jet (G:=G) S i j).contDiffAt) |
| 133 | have he' := account φ S' v (F i k) (W i k) 0 (honest S h a i _) (ht i k) |
| 134 | change _ = ∑ B∈S'.powerset,z B i k at he' |
| 135 | change bill S' v (fun x => φ (F i k x) (W i k x)) 0=_ |
| 136 | have Ht : z S' i k=bill S' v (F i k) 0 := by |
| 137 | unfold z; rw [Finset.sdiff_self,blank,show W i k 0=1 by unfold W line transport; rw [Push.stroll_zero,G.mat_one,star_one]]; exact mul_one _ |
| 138 | rw [he', ← Finset.sum_erase_add _ _ (show S'∈ S'.powerset from by simp),Ht]; simp only [Finset.sum_apply]; rfl |
| 139 | apply Spend.change ((Spend.pooled (γ:=Y × Lattice.Order) (Spend.finite U hb)).mono ?_); swap |
| 140 | · rw [Finset.sum_const,nsmul_eq_mul,sea] |
| 141 | exact mul_le_mul_of_nonneg_right |
| 142 | (show (U.card:ℝ) ≤ (2:ℝ)^(m+1) by exact_mod_cast (show U.card ≤ 2^(m+1) by |
| 143 | apply (Finset.card_le_card (Finset.erase_subset ..)).trans_eq; rw [Finset.card_powerset, hs])) (mul_nonneg hp (mul_nonneg (by positivity) (cash_pos ..).le)) |
| 144 | intro i j |
| 145 | rw [on_duty S h a, show (avg fun k : Y × Lattice.Order => bill S' v (load S a i (j,k)) 0)=_ from congr_arg avg (funext fun k => hh i (j,k)), avg_add] |
| 146 | let g (k : Y) := bill S' v (envelope S a i k) 0 |
| 147 | have hp : avg (fun k : Y × Lattice.Order => g k.1)=avg g := by rw [poolGeneral]; simp |
| 148 | rw [show (avg fun k : Y × Lattice.Order => bill S' v (F i (j,k)) 0)=avg g from hp] |
| 149 | simp only [g,add_sub_cancel_right]; rfl |
| 150 | end Yard |
| 151 | end YM.AnalyticNext.QuarticMatch.Estimate |