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.Radius.Slant |
| 2 | |
| 3 | /-! |
| 4 | # Vertical physical coordinates throughout root rooms |
| 5 | |
| 6 | Use the actual Hessian in the implicit work; this file fixes signs and |
| 7 | basis norms to avoid paying a period. |
| 8 | -/ |
| 9 | set_option autoImplicit false |
| 10 | noncomputable section |
| 11 | namespace YM.AnalyticNext.QuarticMatch.Radius |
| 12 | open Filter Function Lattice Laurent Matrix Hessian Analysis RG Precision Exterior Bid Wilson |
| 13 | open Progress.StationaryScenes Work.F03 YM.Next.Free Tree Joint Local Local.Wages Polish Fetch Sheets |
| 14 | open Purchase Articles Showroom Model Work.F05 |
| 15 | open scoped Topology Matrix.Norms.Frobenius ContDiff BigOperators InnerProductSpace |
| 16 | |
| 17 | namespace Warp |
| 18 | variable {G : Gauge} {c f : Side} (S : StepData c f) (H : Forest S.ratio) |
| 19 | open Green (address wt) |
| 20 | |
| 21 | abbrev ColorCost (G : Gauge) := max 1 (Fintype.card G.ColorIndex : ℝ) |
| 22 | lemma color_ge (G : Gauge) : 1≤ColorCost G := le_max_left .. |
| 23 | abbrev code (G : Gauge) : AxisChart G H ≃L[ℝ] (Key H G→ℝ) := |
| 24 | (countingBasis H G).equivFun.toContinuousLinearEquiv |
| 25 | lemma reveal (x : AxisChart G H) : x= ∑ i : Key H G, (code S H G x i) • frame H i := by |
| 26 | simp_rw [← countingBasis_apply]; exact ((countingBasis H G).sum_equivFun x).symm |
| 27 | lemma record (x : AxisChart G H) (i : Key H G) : code S H G x i=x i.1 i.2 := by |
| 28 | let A : AxisChart G H →L[ℝ] ℝ := (PiLp.proj (𝕜:=ℝ) 2 (fun _ => ℝ) i.2).comp (ContinuousLinearMap.proj i.1) |
| 29 | have hv j : A (frame H j)= if i=j then (1:ℝ) else 0 := by |
| 30 | change ((Pi.single j.1 _ : AxisChart G H) i.1) i.2=_ |
| 31 | by_cases h : i.1=j.1 |
| 32 | · rw [h,Pi.single_eq_same] |
| 33 | simp only [Prod.ext_iff,h,true_and]; by_cases hi : i.2=j.2 <;> simp [hi,EuclideanSpace.basisFun_apply] |
| 34 | rw [Pi.single_eq_of_ne h,if_neg (by rintro rfl; exact h rfl)]; rfl |
| 35 | change code S H G x i=A x |
| 36 | conv_rhs => rw [reveal S H x,map_sum] |
| 37 | simp [hv] |
| 38 | |
| 39 | lemma prints (x : AxisChart G H) (j : H.Free) : ‖x j‖ ≤ ∑ i : G.ColorIndex,‖code S H G x (j,i)‖ := by |
| 40 | let P := EuclideanSpace.basisFun G.ColorIndex ℝ |
| 41 | have hh i : P.repr (x j) i=code S H G x (j,i) := by rw [record]; rfl |
| 42 | have hv : x j=∑ i : G.ColorIndex,(code S H G x (j,i)) • P i := by simp_rw [← hh]; exact (P.sum_repr (x j)).symm |
| 43 | conv_lhs => rw [hv] |
| 44 | exact (norm_sum_le ..).trans_eq (by simp [norm_smul]) |
| 45 | |
| 46 | lemma wallet (i : Site f) (t : ℝ) (x : AxisChart G H) {C : ℝ} (hx : 0≤C) (he : Amount t (address H) i (code S H G x) C) : |
| 47 | charge S H G t i x (ColorCost G*C) := by |
| 48 | intro j; refine (prints S H x j).trans ((Finset.sum_le_sum (g:=fun _=> C*wt t j.val.1 i) (fun y _ => he (j,y))).trans ?_) |
| 49 | rw [Finset.sum_const,nsmul_eq_mul, Finset.card_univ]; |
| 50 | exact (mul_le_mul_of_nonneg_right (le_max_right ..) (mul_nonneg hx (Green.wt_pos ..).le)).trans_eq (mul_assoc ..).symm |
| 51 | |
| 52 | variable (p : Clip) (R : PathData G) (θ : S.Choices) |
| 53 | def GArray (x : ChartVars H G) := fun i : Key H G => skew S H p R θ i x |
| 54 | def bend (x : ChartVars H G) := Precision.hessian H θ p R x.1 x.2 |
| 55 | variable {F : Site f→ChartVars H G→ℝ} {Q : Purchase} (hp : Q.Applies H p R F) {x : ChartVars H G} (he : ‖x‖<Q.width) |
| 56 | include hp he |
| 57 | |
| 58 | |
| 59 | lemma reads {i : Key H G} : GArray S H p R θ x i=fderiv ℝ (tested H θ p R x.1) x.2 (frame H i) := by |
| 60 | let f := uncurry (tested H θ p R) |
| 61 | have hf := Purchase.works S H p R hp he θ |
| 62 | let L := ContinuousLinearMap.inr ℝ (Dir G c) (AxisChart G H); let V (v : AxisChart G H) := (x.1,v) |
| 63 | have hV : HasFDerivAt V L x.2 := (hasFDerivAt_const _ _).prodMk (hasFDerivAt_id _) |
| 64 | rw [show fderiv ℝ _ x.2= _ from (show HasFDerivAt (tested H θ p R x.1) (fderiv ℝ f x ∘L L) x.2 from |
| 65 | ((show HasFDerivAt f (fderiv ℝ f x) (V x.2) from (hf.differentiableAt (by simp)).hasFDerivAt).comp x.2 hV)).fderiv]; rfl |
| 66 | lemma axisPair (i j : Key H G) : bend S H p R θ x i j = D (slew S H i) (skew S H p R θ j) x := by |
| 67 | let w (b : AxisChart G H) := (x.1,b) |
| 68 | let f x := GArray S H p R θ x j |
| 69 | have hw : HasFDerivAt w (ContinuousLinearMap.inr ℝ (Dir G c) (AxisChart G H)) x.2 := (hasFDerivAt_const _ _).prodMk (hasFDerivAt_id _) |
| 70 | have hf : DifferentiableAt ℝ f (w x.2) := ((Purchase.pitch S H p R hp θ he j).differentiableAt (by simp)) |
| 71 | let F := tested H θ p R x.1 |
| 72 | have ht : ContDiffAt ℝ ω F x.2 := Work.F05.hold_jet (Purchase.works S H p R hp he θ) |
| 73 | have hv : (f ∘ w)=ᶠ[𝓝 x.2] fun b => D (frame H j) F b := (hw.continuousAt.tendsto.eventually |
| 74 | (nearInside (show ‖w x.2‖ < Q.width from he))).mono fun q h=> reads S H p R θ hp h |
| 75 | rw [show skew S H p R θ j=f from rfl] |
| 76 | change iteratedFDeriv ℝ 2 F x.2 ![_,_] = _ |
| 77 | rw [D2_jet]; change D (frame H i) (fderiv ℝ F) x.2 _= _ |
| 78 | rw [← D_left ((ht.fderiv_right (m:=ω) (by simp)).differentiableAt (by simp))] |
| 79 | change D (frame H i) (fun y=> D (frame H j) F y) x.2 = _; rw [← show D (frame H i) (f ∘ w) x.2= _ from GermD _ hv] |
| 80 | rw [D, (hf.hasFDerivAt.comp _ hw).fderiv]; rfl |
| 81 | lemma ambient : IsHermitian (bend S H p R θ x) := by |
| 82 | let V : AxisChart G H→ℝ := tested H θ p R x.1 |
| 83 | have hv : ContDiffAt ℝ ω V x.2 := Work.F05.hold_jet (Purchase.works S H p R hp he θ) |
| 84 | ext i j; rw [conjTranspose_apply,star_trivial]; change iteratedFDeriv ℝ 2 V x.2 ![_,_] = iteratedFDeriv ℝ 2 V x.2 ![_,_] |
| 85 | simp_rw [D2_jet]; exact hv.isSymmSndFDerivAt_of_omega .. |
| 86 | |
| 87 | lemma payout (v : AxisChart G H) (i : Key H G) : D (0,v) (skew S H p R θ i) x = ((bend S H p R θ x)*ᵥ code S H G v) i := by |
| 88 | have hh : (0,v)=∑ j, code S H G v j • slew S H j := by |
| 89 | apply Prod.ext; simp [Prod.fst_sum, slew] |
| 90 | rw [Prod.snd_sum]; exact reveal S H v |
| 91 | rw [D, hh,map_sum]; unfold mulVec dotProduct |
| 92 | apply Finset.sum_congr rfl; intro j _; rw [map_smul] |
| 93 | have hs : bend S H p R θ x i j=bend S H p R θ x j i := by simpa only [star_trivial] using ((ambient S H p R θ hp he).apply i j).symm |
| 94 | exact (mul_comm ..).trans (congr_arg (·*code S H G v j) ((hs.trans (axisPair S H p R θ hp he j i)).symm)) |
| 95 | |
| 96 | end Warp |
| 97 | end YM.AnalyticNext.QuarticMatch.Radius |