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.CONNECTED_ACTIVITY_JETS_E6.Eider |
| 2 | import YM.AnalyticNext.CONNECTED_ACTIVITY_JETS_E6.Impasto |
| 3 | import YM.AnalyticNext.CONNECTED_ACTIVITY_JETS_E6.Osmote |
| 4 | import YM.AnalyticNext.CONNECTED_ACTIVITY_JETS_E6.Suites |
| 5 | import YM.AnalyticNext.CONNECTED_ACTIVITY_JETS_E6.Terminal |
| 6 | |
| 7 | /-! |
| 8 | # One-dimensional chart cost (one EDGE variable) |
| 9 | |
| 10 | Includes Jacobian score derivative; not paying a product shape^{card} |
| 11 | for one mass. -/ |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | namespace YM.ConnectedActivityE6.Blaze |
| 15 | open Filter Function Lattice RG Pressure Pressure.Stores Pressure.Tube Tree Wilson MeasureTheory Matrix |
| 16 | open Push Push.AbsoluteSums Precision Exterior Shell Channel Next.Fluctuations SectorMeasure Oriented Work.E03 |
| 17 | open Bloch Laurent SliceRows Mask Tags Progress.StationaryScenes Green Census Work.F03 Animals Control Window Coat |
| 18 | open scoped Topology InnerProductSpace Matrix.Norms.Frobenius ContDiff BigOperators Classical NNReal ENNReal |
| 19 | variable {G : Gauge} {E F Y : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup Y] [NormedSpace ℝ Y] |
| 20 | open Brush |
| 21 | variable {d A : ℝ} {j : ℕ} {x : E} |
| 22 | -- Compact fibers including charts with product instance diamonds. |
| 23 | omit [NormedSpace ℝ E] [NormedSpace ℝ Y] in |
| 24 | private lemma hanging {T : E→ Y → ℝ} {S : Set Y} (h : IsCompact S) (he : ∀ v∈S, ContinuousAt (uncurry T) (x,v)) |
| 25 | (hp : ∀ v∈S, 0<T x v) : ∀ᶠ y in 𝓝 x, ∀ v∈S, 0<T y v := by |
| 26 | let V := {z:E×Y | 0<(uncurry T z)} |
| 27 | obtain ⟨A,B,hA,-,hX,hS,H⟩:= generalized_tube_lemma (isCompact_singleton (x:=x)) h (isOpen_interior (s:=V)) (by |
| 28 | rintro ⟨a,b⟩ ⟨hx,hb⟩; have hx:a=x:=hx; subst a |
| 29 | exact mem_interior_iff_mem_nhds.mpr ((he b hb).eventually (lt_mem_nhds (hp b hb)))) |
| 30 | filter_upwards [hA.mem_nhds (hX (Set.mem_singleton _))] with z hz i hi using interior_subset (s:=V) |
| 31 | (H (show (z,i)∈ A×ˢ B from ⟨hz,hS hi⟩)) |
| 32 | -- Slice one of the parameters |
| 33 | private lemma sitting (i:Y) (x:E) {F : Type} [NormedAddCommGroup F] [NormedSpace ℝ F] {g : E→ Y → F} |
| 34 | (V : ℝ) (he : Brush j V 1 (uncurry g) (x,i)) : Brush j V 1 (fun y=>g y i) x := by |
| 35 | have hk : ContDiffAt ℝ (↑j) (fun y=> g y i) x := he.smooth.comp x (f:=fun m=> (m,i)) (contDiffAt_id.prodMk contDiffAt_const) |
| 36 | refine ⟨hk,zero_le_one,fun k hp=>?_⟩ |
| 37 | let L:= ContinuousLinearMap.inl ℝ E Y |
| 38 | have hs := sprains (U:=g) (he.smaller hp).smooth |
| 39 | have hh : ‖L‖≤1 := ContinuousLinearMap.opNorm_le_bound _ zero_le_one (by intro v; simp [L,Prod.norm_def]) |
| 40 | change ‖JetF g k x i‖ ≤ _; dsimp only at hs; rw [hs]; refine le_trans (ContinuousMultilinearMap.norm_compContinuousLinearMap_le _ _) ?_ |
| 41 | exact (mul_le_of_le_one_right (norm_nonneg _) (Finset.prod_le_one (fun _ _=> norm_nonneg _) (fun _ _=> hh))).trans (he.order k hp) |
| 42 | namespace Eider |
| 43 | |
| 44 | omit [NormedSpace ℝ E] in |
| 45 | private lemma elastic {g : E→E} (K : ℝ≥0) (h : LipschitzWith K g) (hp : K < 1) [CompleteSpace E] : |
| 46 | Bijective (fun x=>x+g x) := by |
| 47 | refine ⟨?_,?_⟩ |
| 48 | · intro x y he; change x+g x=y+g y at he |
| 49 | suffices he : x-y=g y-g x by |
| 50 | apply dist_eq_zero.mp; rw [dist_eq_norm, he, ← dist_eq_norm]; have h' := h.dist_le_mul x y |
| 51 | rw [dist_eq_norm x y, he, ← dist_eq_norm,dist_comm (g x)] at h' |
| 52 | have hp : (K:ℝ) < 1 := hp |
| 53 | nlinarith [dist_nonneg (x:=g y) (y:=g x)] |
| 54 | rw [sub_eq_iff_eq_add]; calc |
| 55 | _ = x+g x-g x := by abel |
| 56 | _ = _ := by rw [he]; abel |
| 57 | intro x; let f v := x-g v |
| 58 | have hx : ContractingWith K f := by |
| 59 | refine ⟨hp,LipschitzWith.of_dist_le_mul fun i j=>?_⟩ |
| 60 | rw [show dist (f i) (f j)=dist (g i) (g j) by rw [dist_eq_norm,show f i-f j=g j-g i from (by unfold f; abel), ← dist_eq_norm,dist_comm]] |
| 61 | exact h.dist_le_mul i j |
| 62 | obtain ⟨y,hy,-⟩:= hx.exists_fixedPoint x (edist_ne_top x (f x)) |
| 63 | exact ⟨y,((sub_eq_iff_eq_add).1 (show x-g y=y from hy)).symm⟩ |
| 64 | |
| 65 | lemma clmDetB [FiniteDimensional ℝ E] (B : Y→ E→L[ℝ] E) (x:Y) {j : WithTop ℕ∞} (hp : ContDiffAt ℝ j B x) : |
| 66 | ContDiffAt ℝ j (fun i=> (B i).det) x := by |
| 67 | let l:= Module.finBasis ℝ E |
| 68 | simp_rw [ContinuousLinearMap.det,← LinearMap.det_toMatrix l]; apply determinant |
| 69 | intro i k |
| 70 | simp_rw [LinearMap.toMatrix_apply] |
| 71 | exact (l.coord i).toContinuousLinearMap.contDiff.contDiffAt.comp x (hp.clm_apply (g:=fun _=>l k) contDiffAt_const) |
| 72 | |
| 73 | def pax (G : Gauge) (χ : Chi) (d : ℝ) (M : G.Mat) (x : G.Color) := |
| 74 | ContinuousLinearMap.id ℝ G.Color+ fderiv ℝ (plume G χ d M) x |
| 75 | |
| 76 | def palm (G : Gauge) (χ : Chi) (d : ℝ) (M : G.Mat) (x : G.Color) := (pax G χ d M x).det |
| 77 | |
| 78 | variable (p : Canary G d A) (χ : Chi) |
| 79 | include p |
| 80 | lemma plum (x : G.Color) (M : G.Mat) (he : ‖M-1‖ ≤ A) : HasFDerivAt (fleece G χ d M) (pax G χ d M x) x := by |
| 81 | apply (hasFDerivAt_id _).add |
| 82 | have hp : ContDiffAt ℝ ∞ (fun v=> plume G χ d M v) x := (sheen p χ x M he).comp x (f:=fun a=> (M,a)) |
| 83 | (contDiffAt_const.prodMk contDiffAt_id) |
| 84 | exact (hp.differentiableAt (by simp)).hasFDerivAt |
| 85 | lemma leaves (x:G.Color) : palm G χ d 1 x=1 := by |
| 86 | unfold palm; rw [← (plum p χ x 1 (by simp [p.side.le])).fderiv, nothing_f p χ,fderiv_id]; exact LinearMap.det_id |
| 87 | lemma duckling {x:G.Color} (h : 2*d<‖x‖) (M:G.Mat) : palm G χ d M x=1 := by unfold palm pax; rw [retreats p χ M x h,add_zero]; exact LinearMap.det_id |
| 88 | lemma lift (M : G.Mat) (b : G.Color) (he : ‖M-1‖ ≤ A) : ContDiffAt ℝ (↑j) (uncurry (palm G χ d)) (M,b) := |
| 89 | clmDetB (uncurry (pax G χ d)) _ (contDiffAt_const.add (lamina p χ b M he)) |
| 90 | set_option maxHeartbeats 350000 in |
| 91 | lemma above : ∀ᶠ M:G.Mat in 𝓝 1, ∀ x:G.Color, 0<palm G χ d M x := by |
| 92 | let S := Metric.closedBall (0:G.Color) (2*d) |
| 93 | have hs : IsCompact S := isCompact_closedBall _ _ |
| 94 | have he (i:G.Color) : ContinuousAt (uncurry (palm G χ d)) (1,i) := (lift p χ 1 i (j:=0) (by simp [p.side.le])).continuousAt |
| 95 | have hv (i:G.Color):0<palm G χ d 1 i := by rw [leaves p]; norm_num |
| 96 | filter_upwards [hanging (T:=palm G χ d) hs (fun i _=>he i) (fun i _=>hv i)] with M hm i |
| 97 | by_cases ht:i∈S |
| 98 | · exact hm i ht |
| 99 | rw [duckling p χ (by simpa [S,not_le] using ht)]; exact zero_lt_one |
| 100 | lemma vies : ∀ᶠ M:G.Mat in 𝓝 1, ‖M-1‖ < A ∧ Bijective (fleece G χ d M) ∧ |
| 101 | ∀ i:G.Color, ‖plume G χ d M i‖ < d/2 ∧ 0 < palm G χ d M i := by |
| 102 | filter_upwards [above p χ,limn p χ, Metric.ball_mem_nhds (1:G.Mat) p.side] with M hM hp he |
| 103 | rw [Metric.mem_ball,dist_eq_norm] at he; refine ⟨he,elastic (1/2) ?_ (by norm_num), fun i=> ⟨(hp i).1,hM i⟩⟩ |
| 104 | apply lipschitzWith_of_nnnorm_fderiv_le (𝕜:=ℝ) |
| 105 | · intro x; have h := (sheen p χ x M he.le).comp x (f:=fun a=> (M,a)) (contDiffAt_const.prodMk contDiffAt_id) |
| 106 | exact h.differentiableAt (by simp) |
| 107 | intro x; apply NNReal.coe_le_coe.mp; simpa only [coe_nnnorm,NNReal.coe_div,NNReal.coe_one,NNReal.coe_ofNat] using! (hp x).2.le |
| 108 | |
| 109 | lemma thorax (j : ℕ) : ∃ v z : ℝ, 0<v ∧ 0<z ∧ ∀ i:G.Color, |
| 110 | Brush j v 1 (fun M=> plume G χ d M i) 1 ∧ Brush j z 1 (fun M=> palm G χ d M i) 1 := by |
| 111 | let S : Set (G.Mat × G.Color) := {1}×ˢMetric.closedBall 0 (2*d); have hs : IsCompact S := isCompact_singleton.prod (isCompact_closedBall _ _) |
| 112 | obtain ⟨v,hv,hA⟩ := Brush.compact (k:=j) (f:=uncurry (plume G χ d)) hs (by |
| 113 | rintro ⟨x,y⟩ hx; have he:x=1 := hx.1; subst x; exact (sheen p χ _ _ (by simp [p.side.le])).of_le (WithTop.coe_le_coe.mpr le_top)) |
| 114 | obtain ⟨z,hz,hX⟩ := Brush.compact (k:=j) (f:=uncurry (palm G χ d)) hs (by |
| 115 | rintro ⟨x,y⟩ hx; have he:x=1 := hx.1; subst x; exact lift p χ _ _ (by simp [p.side.le])) |
| 116 | have hh (x:G.Color) (hx: ‖x‖≤2*d) : (1,x)∈S := ⟨Set.mem_singleton _,by simpa using hx⟩ |
| 117 | refine ⟨v,z,hv,hz,fun i=> ?_⟩ |
| 118 | by_cases he : ‖i‖ ≤ 2*d |
| 119 | · exact ⟨sitting (g:=plume G χ d) i 1 _ (hA _ (hh i he)),sitting (g:=palm G χ d) i 1 _ (hX _ (hh i he))⟩ |
| 120 | have hy : 1≤ z := by |
| 121 | have hx:= (hX (1,0) (hh _ (by rw [norm_zero]; linarith [p.warm]))).bound; simpa only [uncurry_apply_pair,leaves p,norm_one] using hx |
| 122 | simp_rw [cooler p χ (le_of_lt (lt_of_not_ge he)),duckling p χ (lt_of_not_ge he)] |
| 123 | exact ⟨(Brush.certified zero_le_one _).climb (by rw [norm_zero]; exact hv.le) le_rfl,(Brush.certified zero_le_one _).climb (by rw [norm_one]; exact hy) le_rfl⟩ |
| 124 | lemma cozies (j : ℕ) (L : Side) {V : ℝ→ℝ} (h : Rate G L (-(1/2)) V) : ∃ S Z : ℝ→ℝ, Rate G L (-(1/2)) S ∧ Rate G L 0 Z ∧ |
| 125 | ∀ᶠ s in atTop, ∀ (E:Type) [NormedAddCommGroup E] [NormedSpace ℝ E] (M:E→G.Mat) (x:E), M x=1 → Brush j (royalty G) (V s) M x → |
| 126 | ∀ y:G.Color, Brush j (S s) 1 (fun i=> plume G χ d (M i) y) x ∧ Brush j 1 (Z s) (fun i=> palm G χ d (M i) y) x := by |
| 127 | obtain ⟨u,z,hU,hZ,hp⟩:= thorax p χ j; let D s:=(1+royalty G)*V s |
| 128 | let B:=1+(j.factorial:ℝ)*z |
| 129 | have hb : 1≤ B := le_add_of_nonneg_right (by positivity) |
| 130 | refine ⟨fun s=>(j.factorial:ℝ)*u*D s,fun s=> B*D s,(h.mul_left _).mul_left _, ((h.mul_left _).mul_left B).weaken (by norm_num),?_⟩ |
| 131 | filter_upwards [(h.mul_left (1+royalty G)).below (by norm_num) 1 zero_lt_one] with s hS E _ _ M x hm hM y |
| 132 | obtain ⟨hv,hh⟩:=hp y; rw [← hm] at hv hh |
| 133 | have hp : 0≤ D s := by unfold D; have he:= royalty_ge G; have := hM.pos; positivity |
| 134 | constructor |
| 135 | · have hf := hM.pine hv |
| 136 | refine Brush.offer.mpr ⟨hf.smooth,fun i hi=>?_⟩ |
| 137 | match i with |
| 138 | | 0 => unfold normJ; rw [norm_iteratedFDeriv_zero,hm,nothing p χ,norm_zero]; positivity |
| 139 | | i+1 => |
| 140 | apply (hf.order _ hi).trans; exact mul_le_mul_of_nonneg_left ((pow_le_pow_of_le_one hp ((le_abs_self _).trans hS) (by omega : 1 ≤ i+1)).trans_eq (pow_one _)) (by positivity) |
| 141 | have hx:= hM.pine hh |
| 142 | refine ⟨hx.smooth,mul_nonneg (zero_le_one.trans hb) hp,fun i hi=>?_⟩; match i with |
| 143 | | 0=> unfold normJ; rw [norm_iteratedFDeriv_zero,hm, leaves p,norm_one,pow_zero,mul_one] |
| 144 | | i+1=> apply (hx.order _ hi).trans; rw [one_mul,mul_pow B]; exact mul_le_mul_of_nonneg_right |
| 145 | ((le_add_of_nonneg_left zero_le_one).trans (le_self_pow₀ (n:=i+1) hb (by omega))) (pow_nonneg hp _) |
| 146 | end Eider |
| 147 | end YM.ConnectedActivityE6.Blaze |