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.Extension.UV.Holo |
| 2 | import Mathlib.Topology.ContinuousMap.Bounded.Normed |
| 3 | |
| 4 | /-! Complexification in uniform sup norms on (potentially many) aligned addresses. Pointwise |
| 5 | holomorphy alone wouldn't give derivative bounds/Fréchet differentiability when all coordinates |
| 6 | are tested. Use interior Cauchy estimates. -/ |
| 7 | set_option autoImplicit false |
| 8 | noncomputable section |
| 9 | namespace YM.Extension.UV.UniformHol |
| 10 | open BoundedContinuousFunction Set Filter Function Topology Metric Asymptotics |
| 11 | open scoped Classical |
| 12 | set_option quotPrecheck false |
| 13 | variable {ι:Type*} |
| 14 | structure Disc (ι:Type*) where |
| 15 | get : ι |
| 16 | instance : TopologicalSpace (Disc ι):=⊥ |
| 17 | instance : DiscreteTopology (Disc ι):=⟨rfl⟩ |
| 18 | abbrev UniformOn (ι:Type*) (F:Type*) [PseudoMetricSpace F]:= BoundedContinuousFunction (Disc ι) F |
| 19 | abbrev Rows (ι : Type*) := UniformOn ι ℂ |
| 20 | |
| 21 | def pack {F:Type*} [SeminormedAddCommGroup F] (f:ι→F) : UniformOn ι F:= |
| 22 | if h:∃ C, ∀ i, ‖f i‖ ≤ C then ofNormedAddCommGroupDiscrete (fun i:Disc ι=> f i.get) h.choose (fun i=> h.choose_spec i.get) else 0 |
| 23 | lemma equals {F:Type*} [SeminormedAddCommGroup F] {f:ι→F} (h:∃ C, ∀ i, ‖f i‖ ≤ C) (i:ι) : pack f ⟨i⟩=f i:=by unfold pack; rw [dif_pos h]; rfl |
| 24 | |
| 25 | def jets (f:ℂ→Rows ι) (x:ℂ) := pack (fun i:ι=> deriv (fun z=> f z ⟨i⟩) x) |
| 26 | private lemma derivative_bound {f:ℂ→ℂ} {x:ℂ} {r M:ℝ} (hr:0<r) (hf:DifferentiableOn ℂ f (ball x r)) (hb:∀ y∈ball x r, ‖f y‖≤M) : ‖deriv f x‖ ≤ M/r := by |
| 27 | rw [deriv]; exact ((ContinuousLinearMap.le_opNorm ..).trans ((mul_le_mul_of_nonneg_right (cauchy_bound hf hr hb) (by positivity)).trans_eq (by simp))) |
| 28 | |
| 29 | set_option maxHeartbeats 450000 in |
| 30 | lemma hasDeriv (f:ℂ→Rows ι) (x:ℂ) (r M:ℝ) (hr:0<r) (hM:0≤M) |
| 31 | (hf : ∀ i, DifferentiableOn ℂ (fun y=> f y i) (ball x (4*r))) (hb:∀ y∈ball x (4*r),∀ i, ‖f y i‖≤M) : |
| 32 | HasDerivAt f (jets f x) x := by |
| 33 | classical |
| 34 | have h (k:ℝ) {y:ℂ} (hy:y∈ball x ((k-1)*r)) : ball y r ⊆ ball x (k*r) := fun q hq=> by |
| 35 | apply mem_ball.mpr; linarith [(mem_ball.mp hy),(mem_ball.mp hq),dist_triangle q y x] |
| 36 | have HD i : DifferentiableOn ℂ (deriv (fun z=> f z i)) (ball x (3*r)) := ((hf i).deriv isOpen_ball).mono (ball_subset_ball (by linarith)) |
| 37 | have hv {y:ℂ} (hy:y∈ball x (3*r)) i : ‖deriv (fun z=>f z i) y‖ ≤ M/r:= by |
| 38 | have hq: ball y r ⊆ ball x (4*r):= h 4 (by convert hy using 2; norm_num) |
| 39 | exact derivative_bound hr ((hf i).mono hq) (fun v hw=> hb _ (hq hw) i) |
| 40 | have hj i : jets f x i = deriv (fun z=> f z i) x:= by |
| 41 | cases i with |
| 42 | | mk i => exact equals ⟨M/r,fun i:ι=> hv (mem_ball_self (by positivity)) ⟨i⟩⟩ _ |
| 43 | let C:= (M/r)/r |
| 44 | have hD i y (hy:y∈ball x (2*r)): ‖deriv (deriv (fun z=>f z i)) y‖ ≤ C:= by |
| 45 | have hq : ball y r ⊆ ball x (3*r):= h 3 (by convert hy using 2; norm_num) |
| 46 | exact derivative_bound hr ((HD i).mono hq) fun z hz=> hv (hq hz) i |
| 47 | have hle {z:ℂ} (hz:z∈ ball x r) : ‖f z-f x-(z-x)•jets f x‖ ≤ C*‖z-x‖*‖z-x‖ :=by |
| 48 | let s:=closedBall x ‖z-x‖ |
| 49 | have hs {v:ℂ} (hv:v∈s) : v∈ball x (2*r):= mem_ball.mpr (by have hv:= mem_closedBall.mp hv; rw [← dist_eq_norm] at hv; linarith [mem_ball.mp hz]) |
| 50 | have hs₁ {v:ℂ} (hv:v∈s): v∈ball x (3*r):= ball_subset_ball (by linarith) (hs hv) |
| 51 | have hs₂ {v:ℂ} (hv:v∈s): v∈ball x (4*r):= ball_subset_ball (by linarith) (hs hv) |
| 52 | apply (BoundedContinuousFunction.norm_le (by unfold C; positivity)).2 fun i=>?_ |
| 53 | change ‖(f z i)-(f x i)-(z-x)*(jets f x i)‖ ≤ _ |
| 54 | let H (z:ℂ):=f z i |
| 55 | rw [hj] |
| 56 | change ‖H z-H x-(z-x)*deriv H x‖ ≤ _ |
| 57 | let g (y:ℂ):=H y-y*deriv H x |
| 58 | have hw : ‖H z-H x-(z-x)*deriv H x‖=‖g z-g x‖:= congr_arg _ (by unfold g; ring) |
| 59 | rw [hw] |
| 60 | have hx' : x∈s:= mem_closedBall.mpr (dist_self x ▸ norm_nonneg _) |
| 61 | have hz' : z∈s:= by rw [mem_closedBall,dist_eq_norm] |
| 62 | refine (convex_closedBall ..).norm_image_sub_le_of_norm_deriv_le (𝕜:=ℂ) (s:=s) ?_ ?_ hx' hz' |
| 63 | · intro z hz; exact (((hf i).differentiableAt (isOpen_ball.mem_nhds (hs₂ hz))).hasDerivAt.sub ((hasDerivAt_id z).mul_const _)).differentiableAt |
| 64 | intro z₀ h₀ |
| 65 | have he := (((hf i).differentiableAt (isOpen_ball.mem_nhds (hs₂ h₀))).hasDerivAt.sub ((hasDerivAt_id' z₀).mul_const (deriv H x))).deriv; rw [show deriv g z₀=_ from he,one_mul] |
| 66 | exact ((convex_closedBall x ‖z-x‖).norm_image_sub_le_of_norm_deriv_le (𝕜:=ℂ) (fun z hz=> (HD _).differentiableAt (isOpen_ball.mem_nhds (hs₁ hz))) (fun z hz=> hD _ z (hs hz)) hx' h₀).trans (mul_le_mul_of_nonneg_left (by rw [← dist_eq_norm]; exact mem_closedBall.mp h₀) (by unfold C; positivity)) |
| 67 | apply HasDerivAt.of_isLittleO; rw [isLittleO_iff]; intro c hc |
| 68 | have ht : ContinuousAt (fun y : ℂ=> C*‖y-(x:ℂ)‖) x:= by exact ((continuousAt_id.sub continuousAt_const).norm |>.const_mul C).tendsto |
| 69 | filter_upwards [ht.tendsto.eventually_lt_const (by simpa using hc), Metric.ball_mem_nhds x hr] with y hy h₂ |
| 70 | exact (hle h₂).trans (mul_le_mul_of_nonneg_right hy.le (norm_nonneg _)) |
| 71 | |
| 72 | lemma liftOn {f:ℂ→ι→ℂ} {U:Set ℂ} (hu:IsOpen U) (hd:∀ i,DifferentiableOn ℂ (fun z=>f z i) U) |
| 73 | (hl:∀ x∈U,∃ V∈ 𝓝 x,∃ M : ℝ,∀ z∈V,∀ i,‖f z i‖ ≤ M): DifferentiableOn ℂ (fun z=>pack (f z)) U:= by |
| 74 | intro x hx |
| 75 | obtain ⟨V,hV,M,hM⟩:= hl x hx |
| 76 | obtain ⟨r,hr,h⟩ := Metric.mem_nhds_iff.mp (inter_mem hV (hu.mem_nhds hx)) |
| 77 | have ht {z:ℂ} (hz:z∈ball x (4*(r/4))) i : pack (f z) i=f z i.get:= by |
| 78 | cases i; exact equals ⟨M,hM _ ((h (show z∈_ by convert hz using 2; ring)).1)⟩ _ |
| 79 | refine (hasDeriv (fun z=>pack (f z)) x (r/4) (max 0 M) (by positivity) (le_max_left ..) ?_ ?_).differentiableAt.differentiableWithinAt |
| 80 | · exact fun i=> ((hd i.get).mono (fun z hz => (h (show z∈_ by convert hz using 2; ring)).2)).congr fun z hz=> (ht hz i) |
| 81 | exact fun z hz i => (ht hz i).symm ▸ (hM _ (h (show z∈_ by convert hz using 2; ring)).1 _).trans (le_max_right ..) |
| 82 | end YM.Extension.UV.UniformHol |