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.Junction |
| 2 | |
| 3 | /-! # Pre-L centered frame prices. Respect w and objective. -/ |
| 4 | set_option autoImplicit false |
| 5 | noncomputable section |
| 6 | namespace YM.AnalyticNext.QuarticMatch.Estimate |
| 7 | open Filter Function Lattice Laurent Matrix Hessian Analysis RG Precision Exterior Bid Wilson Branch Bloch |
| 8 | open Progress.StationaryScenes Work.F03 YM.Next.Free Work.F08 Pre.Knot |
| 9 | open scoped Topology Matrix.Norms.Frobenius ContDiff BigOperators InnerProductSpace |
| 10 | attribute [local instance] Gauge.frobInner |
| 11 | namespace Yard |
| 12 | open Purse Logfee |
| 13 | variable {G : Gauge} {c f : Side} (S : StepData c f) {ι : Type} [DecidableEq ι] |
| 14 | local notation "Y" => S.patch.Points |
| 15 | local notation "X" => Dir G f |
| 16 | local notation "E" => G.Mat |
| 17 | |
| 18 | section amount |
| 19 | variable {A B γ : Type*} [Fintype γ] [NormedAddCommGroup A] [NormedSpace ℝ A] [NormedAddCommGroup B] [NormedSpace ℝ B] |
| 20 | omit [DecidableEq ι] in |
| 21 | lemma funds_more (a : γ→ A→B) {x} (h : ∀ i,ContDiffAt ℝ ω (a i) x) (T : Finset ι) (d) (w : γ→ℝ) : |
| 22 | bill T d (fun y => ∑ i,w i • a i y) x=∑ i,w i • bill T d (a i) x := by |
| 23 | change bill T d (fun y => ∑ i,(w i • a i) y) x=_ |
| 24 | rw [sum_bill Finset.univ T d (fun i => w i • a i) x (fun i _ => (h i).const_smul (w i))]; simp_rw [smul_price T d (h _)] |
| 25 | end amount |
| 26 | omit [DecidableEq ι] in |
| 27 | lemma starWeighted (h : S.patch.Branches S.kernel G) (a : S.SitesChoice) (t : Finset ι) (v : ι→X) (i : Site c) (ht : t.Nonempty) : |
| 28 | ∑ j : Y, S.patch.weight j • G.lie.starProjection (bill t v (envelope S a i j) 0)=0 := by |
| 29 | let L := G.lie.starProjection |
| 30 | have he : (fun x => L (∑ j,S.patch.weight j • envelope S a i j x)) =ᶠ[𝓝 (0:X)] fun _ => L 1 := mass S h a i |
| 31 | have hh (j) := honest S h a i j |
| 32 | let f (x : X) := ∑ j, S.patch.weight j • envelope S a i j x |
| 33 | have hy : ContDiffAt ℝ ω f 0 := ContDiffAt.sum fun j _ => (hh j).const_smul _ |
| 34 | calc |
| 35 | _ = L (∑ j : Y, S.patch.weight j • bill t v (envelope S a i j) 0) := by simp only [L,map_sum,map_smul] |
| 36 | _ = L (bill t v f 0) := by rw [show bill t v f 0=_ from funds_more _ hh t v S.patch.weight] |
| 37 | _ = _ := (left_price t v L hy).symm.trans ((Estimate.germ he).trans (mute ht v 0 _)) |
| 38 | |
| 39 | lemma heaps (G : Gauge) (n j : ℕ) (η : ℝ) (hp : 0<η) : ∃ C : ℝ,0 ≤ C ∧ |
| 40 | ∀ (ι : Type) [DecidableEq ι] (c f : Side) (S : StepData c f) (a : S.SitesChoice),S.patch.J=j → |
| 41 | S.patch.Branches S.kernel G → ∀ (P : Purse ι (Site f)) (v : ι→Dir G f), tollRate P S.patch.L η → |
| 42 | P.cap=(S.patch.L.val:ℝ)^2 → Linkbill S.patch.L P v → ∀ t : Finset ι,t.card ≤ n → |
| 43 | (cap S P).Many t v (envelope S a) 0 C := by |
| 44 | induction n with |
| 45 | | zero => |
| 46 | refine ⟨‖(1:G.Mat)‖,norm_nonneg _,?_⟩ |
| 47 | intro ι _ c f S a _ hb P v _ _ _ t ht |
| 48 | rw [Nat.le_zero,Finset.card_eq_zero] at ht; subst t; unfold Many; simp_rw [blank,anchored S hb a] |
| 49 | exact Spend.blank (norm_nonneg _) (fun i j => le_rfl) |
| 50 | | succ n ih => |
| 51 | have hd : ContDiffAt ℝ ω (penny G) (1:G.Mat) := G.focus_diff |
| 52 | obtain ⟨C,hC,he⟩ := ih |
| 53 | let D := sea j n G η C |
| 54 | let r := sea j (n+1) G η C |
| 55 | obtain ⟨E',hE,H⟩ := leftover (penny G) (1:G.Mat) hd n D (sea_pos j n G η hC) |
| 56 | let K := r+E' |
| 57 | refine ⟨max C (K+pScale j*K),le_trans hC (le_max_left ..),?_⟩ |
| 58 | intro ι _ c f S a hv hh P v hl hp' hL z hz |
| 59 | rcases Nat.eq_or_lt_of_le hz with hs|hs |
| 60 | · let b := tape S a (G:=G) |
| 61 | let q := n+1 |
| 62 | have hG (x k) : ContDiffAt ℝ ω (b x k) 0 := stamped S hh a x k |
| 63 | have Hh (U : Finset ι) (hu : U.card ≤ n) := he ι c f S a hv hh P v hl hp' hL U hu |
| 64 | have hg s (_ : s⊆z) (hs : s.card ≤ n) : (cap S P).Many s v b 0 D := by |
| 65 | unfold D; rw [← hv]; exact tote S hh a hp P v hl hp' hL s n hs (fun T ht => Hh _ ((Finset.card_le_card ht).trans hs)) |
| 66 | let Q := cap S P |
| 67 | let R : Site c → S.patch.Points→G.Mat := fun x k => bill z v (envelope S a x k) 0 |
| 68 | let G' x k := bill z v (b x k) 0 |
| 69 | let A (x : Site c) := avg (R x); let L := G.lie.starProjection |
| 70 | let Y' : Site c→S.patch.Points→G.Mat := fun x y => R x y - L (A x) |
| 71 | have hQ : Q.Spend z (fun x y => G' x y-A x) r := by |
| 72 | unfold r; rw [← hv]; exact compensate S hh a hp P v hl hp' hL z hs hC (fun U _ => Hh U) |
| 73 | have Hq := H ι _ _ _ b _ _ Q z hs hG (swept S hh a) hg |
| 74 | have hy : Q.Spend z Y' K := by |
| 75 | have hc := hQ.change (g:=fun x y => L (G' x y - A x)) (fun x y => G.lie.norm_starProjection_apply_le ..) |
| 76 | refine (hc.plus Hq).change fun x y => ?_ |
| 77 | simp only [Pi.add_apply] |
| 78 | have he' : R x y=bill z v (penny G ∘ b x y) 0 := Estimate.germ (splices S hh a x y) |
| 79 | have He : bill z v (penny G ∘ b x y) 0 - fderiv ℝ (penny G) 1 (bill z v (b x y) 0)=R x y - L (G' x y) := |
| 80 | congr_arg₂ (·-·) he'.symm (DFunLike.congr_fun G.focus_deriv.hasFDerivAt.fderiv (G' x y)) |
| 81 | apply le_of_eq; refine Eq.symm ( (congr_arg (‖·‖) ((congr_arg (L (G' x y-A x)+·) He))).trans ?_) |
| 82 | rw [map_sub]; unfold Y' |
| 83 | rw [show L (G' x y)-L (A x)+(R x y-L (G' x y))=R x y-L (A x) by abel] |
| 84 | have ha' := (hy.change (g:=fun x j => L (Y' x j)) fun i j => G.lie.norm_starProjection_apply_le _).heavy |
| 85 | S.patch.weight S.patch.weight_sum S.patch.weight_nonneg (pScale_ge j) (hv ▸ earn S) |
| 86 | have hz y : L (A y) = -(∑ x,S.patch.weight x • L (Y' y x)) := by |
| 87 | have hp : L (L (A y))=L (A y) := G.lie.starProjection_eq_self_iff.mpr (G.lie.starProjection_apply_mem _) |
| 88 | have hT : ∑ x,S.patch.weight x • L (R y x)=0 := starWeighted S hh a z v y (Finset.card_pos.mp (by omega)) |
| 89 | simp_rw [Y', map_sub,hp,smul_sub,Finset.sum_sub_distrib,hT,← Finset.sum_smul,S.patch.weight_sum,one_smul, zero_sub,neg_neg] |
| 90 | have ht := energize (β:=S.patch.Points) ha'.neg |
| 91 | apply ((hy.plus ht).mono (le_max_right ..)).change |
| 92 | intro x y |
| 93 | rw [show (Y'+_) x y=Y' x y+L (A x) from congr_arg (Y' x y + ·) (hz x).symm] |
| 94 | unfold Y'; rw [sub_add_cancel] |
| 95 | exact (he ι c f S a hv hh P v hl hp' hL z (by omega)).mono (le_max_left ..) |
| 96 | end Yard |
| 97 | end YM.AnalyticNext.QuarticMatch.Estimate |