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.Office |
| 2 | import YM.AnalyticNext.QUARTIC_MATCH.Estimate.Payments |
| 3 | import YM.AnalyticNext.QUARTIC_MATCH.Pre.Staged |
| 4 | import YM.Next.FOUNDATIONS.LinkBounds |
| 5 | |
| 6 | |
| 7 | /-! |
| 8 | # Per-site coarse bond estimates, centered prescription |
| 9 | -/ |
| 10 | set_option autoImplicit false |
| 11 | noncomputable section |
| 12 | namespace YM.AnalyticNext.QuarticMatch.Estimate |
| 13 | open Filter Function Lattice Laurent Matrix Hessian Analysis RG Precision Exterior Bid Wilson Branch Bloch |
| 14 | open Progress.StationaryScenes Work.F03 YM.Next.Free Work.F08 Pre.Knot Pre.Centered |
| 15 | open Joint Purse Logfee Village |
| 16 | open scoped Topology Matrix.Norms.Frobenius ContDiff BigOperators InnerProductSpace |
| 17 | attribute [local instance] Gauge.frobInner |
| 18 | namespace Depot |
| 19 | variable {G : Gauge} {c f : Side} (S : StepData c f) {ι : Type} [DecidableEq ι] |
| 20 | local notation "X" => JointSpace G c f |
| 21 | local notation "L" => S.patch.L |
| 22 | local notation "E" => G.Mat |
| 23 | |
| 24 | omit [DecidableEq ι] in |
| 25 | /-- Transform ONLY affine arguments into ordinary log jets. -/ |
| 26 | lemma lin_rate {E' F' G' : Type*} [NormedAddCommGroup E'] [NormedAddCommGroup F'] |
| 27 | [NormedAddCommGroup G'] [NormedSpace ℝ E'] [NormedSpace ℝ F'] [NormedSpace ℝ G'] |
| 28 | (k : E'→L[ℝ] F') (f : F'→G') (d : ι→ E') (h : ContDiffAt ℝ ω f 0) (T : Finset ι) : |
| 29 | bill T d (f ∘ k) 0=bill T (k ∘ d) f 0 := by |
| 30 | unfold bill; rw [Next.Foundations.jets_linear k (h.of_le le_top)]; rfl |
| 31 | |
| 32 | lemma simple {X' Z : Type} [NormedAddCommGroup X'] [NormedAddCommGroup Z] [NormedSpace ℝ X'] [NormedSpace ℝ Z] |
| 33 | (S : Finset ι) (d : ι→X') (L' : X'→L[ℝ] Z) (h : S.card ≠ 1) : bill S d L' 0 = 0 := by |
| 34 | rcases Finset.eq_empty_or_nonempty S with H|H |
| 35 | · rw [H,blank,L'.map_zero] |
| 36 | induction S using Finset.induction_on with |
| 37 | | empty => simp_all |
| 38 | | insert i S hi ih => |
| 39 | rw [adjoin_budget hi _ _ L'.contDiff.contDiffAt,show Analysis.D (d i) L'=(fun _ => L' (d i)) from funext fun x => by rw [Analysis.D,L'.fderiv]] |
| 40 | apply mute; rw [Finset.card_insert_of_notMem hi] at h; exact Finset.card_pos.mp (by omega) |
| 41 | |
| 42 | lemma linearPay {X' Z : Type} [NormedAddCommGroup X'] [NormedAddCommGroup Z] [NormedSpace ℝ X'] [NormedSpace ℝ Z] |
| 43 | (S : Finset ι) (d : ι→X') (P : Purse ι (Site c)) (L' : Site c→ X'→L[ℝ] Z) |
| 44 | (ht : ∀ k, P.Pays {k} (fun i => L' i (d k)) 1) : P.Jets S d (fun i => L' i) 0 1 := by |
| 45 | unfold Jets; by_cases h : S.card=1 |
| 46 | · obtain ⟨i,rfl⟩ := Finset.card_eq_one.mp h |
| 47 | simp_rw [alone d _ 0 ((L' _).contDiff.contDiffAt), Analysis.D, (L' _).fderiv]; exact ht i |
| 48 | simp_rw [simple _ _ _ h]; exact Pays.zero zero_le_one |
| 49 | |
| 50 | def Income (S : StepData c f) (P : Purse ι (Site f)) (d : ι→JointSpace G c f) : Prop := |
| 51 | Linkbill S.patch.L P (fun i => (d i).2.1) ∧ Linkbill 1 (Yard.cap S P) (fun i => (d i).1) ∧ |
| 52 | ∀ i, (Yard.cap S P).Pays {i} ((d i).2.2) 1 |
| 53 | |
| 54 | def coins (a : S.Choices) (x : Site c) (i : Axis) (z : X) := G.price (discrepancy S a z (x,i)) |
| 55 | lemma coin_smooth (a : S.Choices) (h : S.patch.Branches S.kernel G) (i j) : |
| 56 | ContDiffAt ℝ ω (coins S a i j (G:=G)) 0 := Work.F03.price_smooth (A:=fun z => discrepancy S a z (i,j)) (priced S a h (i,j)) |
| 57 | |
| 58 | set_option maxHeartbeats 500000 in |
| 59 | theorem pays (G : Gauge) (n j : ℕ) (η : ℝ) (hp : 0<η) : ∃ C : ℝ,0≤C ∧ |
| 60 | ∀ (ι : Type) [DecidableEq ι] (c f : Side) (S : StepData c f) (a : S.Choices),S.patch.J=j → |
| 61 | S.patch.Branches S.kernel G → ∀ (P : Purse ι (Site f)) (v : ι→JointSpace G c f), tollRate P S.patch.L η → |
| 62 | P.cap=(S.patch.L.val:ℝ)^2 → Income S P v → ∀ s : Finset ι,s.card ≤ n → |
| 63 | ∀ i, (Yard.cap S P).Jets s v (fun x => coins S a x i) 0 C := by |
| 64 | obtain ⟨C,hC,H⟩ := Yard.hires G n j η hp |
| 65 | let U (x : G.Color) := G.mat (G.lieExp x) |
| 66 | obtain ⟨D',hD,D⟩ := Purse.ordered U (0:G.Color) G.exp_jet.contDiffAt n 1 |
| 67 | let K := (2:ℝ)^n * (D' * ((2:ℝ)^n * (((2:ℝ)^n*(D'*C))*(Real.exp η^n*D')))) |
| 68 | have hK : 0 ≤ K := by unfold K; positivity |
| 69 | let q (x : G.Mat) := (2*G.colorScale^2)⁻¹ * ‖x-1‖^2 |
| 70 | have hq : ContDiffAt ℝ ω q 1 := contDiffAt_const.mul ((contDiff_norm_sq ℝ).contDiffAt.comp _ (contDiffAt_id.sub contDiffAt_const)) |
| 71 | obtain ⟨E',hE,Hq⟩ := Purse.ordered q 1 hq n K |
| 72 | refine ⟨E',hE,?_⟩ |
| 73 | intro ι _ c f S a he h P v ht hv hL s hs i |
| 74 | let c' := JointSpace G c f; let Z := Yard.cap S P |
| 75 | let B y (x : c') := G.mat (discrepancy S a x (y,i)) |
| 76 | have hβ (y) : ContDiffAt ℝ ω (B y) 0 := priced S a h _ |
| 77 | have hU' (y : Site c) : B y 0=1 := by unfold B; rw [born S a h]; exact G.mat_one |
| 78 | let A (p : Site c) := (ContinuousLinearMap.proj (R:=ℝ) (φ:=fun _ : Body 1 c => G.Color) (p,coord i)) ∘L ContinuousLinearMap.fst ℝ (Dir G c) (Vertical G c f) |
| 79 | let Z' (p : Site c) : c' →L[ℝ] G.Color := |
| 80 | (ContinuousLinearMap.proj (R:=ℝ) (φ:=fun _ : Site c=>G.Color) p ∘L |
| 81 | ContinuousLinearMap.snd ℝ (Dir G f) (LieSpin G c)) ∘L |
| 82 | ContinuousLinearMap.snd ℝ (Dir G c) (Vertical G c f) |
| 83 | have hl {T : Finset ι} (hh : T.card ≤ n) (f : Site c→ c' →L[ℝ] G.Color) (h : ∀ k, Z.Pays {k} (fun i => f i (v k)) 1) : |
| 84 | Z.Jets T v (fun y => U ∘ f y) 0 D' := alonePay (z:=fun y => _) (D _ _ Unit _ (fun y _ => f y) _ _ _ T hh |
| 85 | (fun i _ => (f i).contDiff.contDiffAt) (fun i _ => map_zero (f i)) (fun p _ => energize (β:=Unit) (linearPay p v Z f h))) |
| 86 | let M y (p : c') := G.mat (send S a p.2.1 (y,i)) |
| 87 | let J : G.Mat≃L[ℝ]G.Mat := starL ℝ |
| 88 | let fx (y : Site c) := U ∘ Z' y |
| 89 | have h1 (y) : ContDiffAt ℝ ω (fx y) 0 := (G.exp_jet.comp (Z' y).contDiff).contDiffAt |
| 90 | have h2 (y) : ContDiffAt ℝ ω (M y) 0 := (send_smooth S h a (y,i)).comp (f:=fun p : c' => p.2.1) (0:c') (by fun_prop) |
| 91 | have Hm (T) (hx : T.card ≤ n) : Z.Jets T v M 0 C := by |
| 92 | let Ls := (ContinuousLinearMap.fst ℝ (Dir G f) (LieSpin G c)) ∘L ContinuousLinearMap.snd ℝ (Dir G c) (Vertical G c f) |
| 93 | refine (H _ _ _ S a he h P (Ls ∘ v) ht hv hL.1 T hx i).under fun w => ?_ |
| 94 | exact (congr_arg (fun p : G.Mat => ‖p‖) (lin_rate Ls (fun x => G.mat (send S a x (w,i))) v (send_smooth S h a _) T)).le |
| 95 | have Hf (T) (hx : T.card ≤ n) : Z.Jets T v fx 0 D' := hl hx Z' hL.2.2 |
| 96 | have Hf' (T) (hx : T.card ≤ n) : Z.Jets T v (fun y => fx (y+step i)) 0 (Real.exp η^n*D') := alonePay |
| 97 | (Yard.relocation S (y:=i) hp ht n hx (Purse.energize (β:=Unit) (Hf _ hx))) |
| 98 | let φ := ContinuousLinearMap.mul ℝ G.Mat |
| 99 | let r y z := φ (fx y z) (M y z) |
| 100 | let F y z := φ (r y z) (J (fx (y+step i) z)) |
| 101 | have hr (y) : ContDiffAt ℝ ω (r y) 0 := (h1 _).mul (h2 _) |
| 102 | have hF (y) : ContDiffAt ℝ ω (F y) 0 := (hr _).mul (J.contDiff.contDiffAt.comp _ (h1 _)) |
| 103 | have Hb (T) (hx : T.card ≤ n) : Z.Jets T v r 0 (2^n*(D'*C)) := Jets.priced φ (fun _ _ => norm_mul_le ..) h1 h2 |
| 104 | (fun p hp => Hf _ ((Finset.card_le_card hp).trans hx)) (fun _ h => Hm _ ((Finset.card_le_card h).trans hx)) n hx |
| 105 | have Hr (T) (hx : T.card ≤ n) : Z.Jets T v F 0 (2^n*((2^n*(D'*C))*(Real.exp η^n*D'))) := Jets.priced φ (fun _ _ => norm_mul_le ..) hr |
| 106 | (fun i => (J.toContinuousLinearMap.contDiff.contDiffAt.comp _ (h1 _))) (fun _ hp => Hb _ ((Finset.card_le_card hp).trans hx)) (fun _ hp => |
| 107 | Jets.change_map (Hf' _ ((Finset.card_le_card hp).trans hx)) _ (fun y => h1 (y+step _)) (fun a => (norm_star a).le)) n hx |
| 108 | have HP (T) (hx : T.card ≤ n) : Z.Jets T v B 0 K := by |
| 109 | rw [show B=(fun i a => φ (U (A i a)) (J (F i a))) from funext fun y => funext fun q => by |
| 110 | simp only [B,discrepancy,represent_link,Lattice.gauge,G.mat_mul,G.mat_inv]; rfl] |
| 111 | have hh k : Z.Pays {k} (fun y => A y (v k)) 1 := by |
| 112 | have hi := hL.2.1 k (coord i); change Z.Pays {k} _ ((↑(1:ℕ):ℝ))⁻¹ at hi |
| 113 | rw [Nat.cast_one,inv_one] at hi; exact hi |
| 114 | exact Jets.priced φ (fun _ _ => norm_mul_le ..) (fun i => (G.exp_jet.comp (A i).contDiff).contDiffAt) (fun i => J.toContinuousLinearMap.contDiff.contDiffAt.comp _ (hF _)) |
| 115 | (fun _ h => hl ((Finset.card_le_card h).trans hx) A hh) (fun _ hp => Jets.change_map (Hr _ ((Finset.card_le_card hp).trans hx)) _ hF (fun a => (norm_star a).le)) n hx |
| 116 | rw [show (fun x : Site c => coins S a (G:=G) x i)=fun y => q ∘ B y from funext fun i => funext fun u => exp_price ..] |
| 117 | exact alonePay (z:=fun i => _) (Hq _ _ Unit _ (fun i _ => B i) _ _ _ s hs (fun i _ => hβ i) (fun i _ => hU' i) (fun i hi => Purse.energize (β:=Unit) (HP i ((Finset.card_le_card hi).trans hs)))) |
| 118 | end Depot |
| 119 | end YM.AnalyticNext.QuarticMatch.Estimate |