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.Analysis.Homogeneous |
| 2 | |
| 3 | /-! |
| 4 | # Exchange of smooth homogeneous coefficients |
| 5 | |
| 6 | Local on any open configuration set. Factors `j!` at both ends. Independent |
| 7 | of domains of convergence of any series. Useful also for word-norm proofs. |
| 8 | -/ |
| 9 | set_option autoImplicit false |
| 10 | noncomputable section |
| 11 | namespace YM.Tensor |
| 12 | open Function Set Filter |
| 13 | open Analysis |
| 14 | open scoped Topology ContDiff |
| 15 | |
| 16 | variable {E F M : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 17 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 18 | [NormedAddCommGroup M] [NormedSpace ℝ M] |
| 19 | variable {j l : ℕ} {f : E → F} {x : E} |
| 20 | |
| 21 | theorem coeff_apply_zero (f : E → F) (x) (v : Fin 0 → E) : coeff f 0 x v = f x := by simp [coeff] |
| 22 | |
| 23 | theorem coeff_apply_cons (h : ContDiffAt ℝ (↑(j+1 : ℕ)) f x) (v : E) (s : Fin j → E) : |
| 24 | coeff f (j+1) x (Fin.cons v s) = ((↑(j+1 : ℕ) : ℝ))⁻¹ • coeff (D v f) j x s := by |
| 25 | rw [coeff, coeff]; simp only [smul_apply, cons_inner h, smul_smul, Nat.factorial_succ, Nat.cast_mul, mul_inv] |
| 26 | |
| 27 | theorem coeff_linear (L : F →L[ℝ] M) (u : Fin j → E) (h : ContDiffAt ℝ j f x) : |
| 28 | coeff (L ∘ f) j x u = L (coeff f j x u) := by |
| 29 | simp only [coeff, L.iteratedFDeriv_comp_left h le_rfl, smul_apply, map_smul]; rfl |
| 30 | |
| 31 | theorem coeff_smul (t : ℝ) (h : ContDiffAt ℝ j f x) : |
| 32 | coeff (t • f) j x = t • coeff f j x := by |
| 33 | simp only [coeff, iteratedFDeriv_const_smul_apply h, smul_comm t] |
| 34 | |
| 35 | /-- Exchange iterates on a smooth patch. -/ |
| 36 | theorem exchangeJet {U : Set E} (hU : IsOpen U) (hf : ∀ x ∈ U, ContDiffAt ℝ ∞ f x) (hx : x ∈ U) |
| 37 | (u : Fin j → E) (v : Fin l → E) : |
| 38 | coeff (fun y => coeff f l y v) j x u = coeff (fun y => coeff f j y u) l x v := by |
| 39 | have he (n : ℕ) : (↑n : WithTop ℕ∞) ≤ ∞ := WithTop.coe_le_coe.mpr le_top |
| 40 | induction j generalizing f with |
| 41 | | zero => simp [coeff_apply_zero] |
| 42 | | succ j ih => |
| 43 | have Hu := Fin.cons_self_tail u |
| 44 | -- head through the remaining right-jet directionals |
| 45 | let a := u 0 |
| 46 | let r := Fin.tail u |
| 47 | let L := ContinuousMultilinearMap.apply ℝ (fun _ => E) F v |
| 48 | rw [← Hu] |
| 49 | change coeff _ (j+1) x (Fin.cons a r) = _ |
| 50 | rw [coeff_apply_cons (show ContDiffAt ℝ (↑(j+1 : ℕ)) (fun y => coeff f l y v) x from |
| 51 | (L.contDiff.contDiffAt.comp x (coeff_smooth (hf x hx) l)).of_le (he _))] |
| 52 | let t := ((↑(j+1 : ℕ) : ℝ))⁻¹ |
| 53 | have hp : D a (fun y => coeff f l y v) =ᶠ[𝓝 x] fun y => coeff (D a f) l y v := by |
| 54 | filter_upwards [hU.mem_nhds hx] with y hy |
| 55 | change fderiv ℝ (L ∘ fun y => coeff f l y) y a = _ |
| 56 | rw [fderiv_comp y L.differentiableAt ((coeff_smooth (hf y hy) l).differentiableAt (by simp)), L.fderiv, |
| 57 | ContinuousLinearMap.comp_apply] |
| 58 | exact congr_arg L (D_coeff ((hf y hy).of_le (he _)) a) |
| 59 | rw [GermCoeff j hp] |
| 60 | have hs (y) (hy : y ∈ U) : ContDiffAt ℝ ∞ (D a f) y := dSmooth (hf y hy) _ (by simp) |
| 61 | rw [ih hs r] |
| 62 | have hw : (fun y => coeff f (j+1) y (Fin.cons (u 0) (Fin.tail u))) =ᶠ[𝓝 x] |
| 63 | (t • fun y => coeff (D a f) j y r) := by |
| 64 | filter_upwards [hU.mem_nhds hx] with y hy |
| 65 | exact coeff_apply_cons ((hf y hy).of_le (he _)) a r |
| 66 | rw [GermCoeff l hw, coeff_smul t] |
| 67 | · rfl |
| 68 | exact (((ContinuousMultilinearMap.apply ℝ (fun _ => E) F r).contDiff.contDiffAt.comp x |
| 69 | (coeff_smooth (hs x hx) j)).of_le (he _)) |
| 70 | |
| 71 | /-- Composition with negation is diagonal on jets. -/ |
| 72 | theorem reflectionJet (hf : ContDiffAt ℝ j f (-x)) : |
| 73 | coeff (fun y => f (-y)) j x = (-1 : ℝ)^j • coeff f j (-x) := by |
| 74 | apply ContinuousMultilinearMap.ext |
| 75 | intro u |
| 76 | induction j generalizing f x with |
| 77 | | zero => simp [coeff_apply_zero] |
| 78 | | succ j ih => |
| 79 | let a := u 0 |
| 80 | let r := Fin.tail u |
| 81 | have he := coeff_apply_cons (hf.comp x contDiffAt_id.neg) a r |
| 82 | rw [← Fin.cons_self_tail u] |
| 83 | change coeff (fun y => f (-y)) (j+1) x (Fin.cons a r) = _ |
| 84 | have hn : coeff (fun y => f (-y)) (j+1) x (Fin.cons a r) = ((↑(j+1 : ℕ) : ℝ))⁻¹ • |
| 85 | coeff (D a fun y => f (-y)) j x r := he |
| 86 | rw [hn, smul_apply, coeff_apply_cons hf] |
| 87 | have hp : D a (fun y => f (-y)) =ᶠ[𝓝 x] -(fun y => D a f (-y)) := by |
| 88 | have ht := hf.eventually (by simp) |
| 89 | filter_upwards [(continuous_neg.continuousAt (x := x)).preimage_mem_nhds ht] with y hy |
| 90 | let N := -(ContinuousLinearMap.id ℝ E) |
| 91 | have hy' : ContDiffAt ℝ (↑(j+1 : ℕ)) f (-y) := hy |
| 92 | change fderiv ℝ (f ∘ N) y _ = _ |
| 93 | rw [fderiv_comp y (show DifferentiableAt ℝ f (N y) from hy'.differentiableAt (by simp)) N.differentiableAt, |
| 94 | N.fderiv] |
| 95 | exact map_neg (fderiv ℝ f (-y)) a |
| 96 | rw [GermCoeff j hp, neg_coeff, neg_apply, ih] |
| 97 | · change _ = (-1 : ℝ)^(j+1) • (↑(j+1 : ℕ) : ℝ)⁻¹ • coeff (D a f) j (-x) r |
| 98 | simp [pow_succ, smul_comm ((↑j+1 : ℝ))⁻¹] |
| 99 | exact dSmooth hf a (by push_cast; rfl) |
| 100 | |
| 101 | /-- Convert a mixed covariance in z=x−y to actual y derivatives. -/ |
| 102 | theorem oppositeCoeff (x y : E) (hf : ContDiffAt ℝ j f (x-y)) : |
| 103 | coeff (fun y' => f (x-y')) j y = (-1 : ℝ)^j • coeff f j (x-y) := by |
| 104 | let L := fun y' => f (x+y') |
| 105 | have he := reflectionJet (show ContDiffAt ℝ j L (-y) from |
| 106 | (show ContDiffAt ℝ j f (x+-y) by simpa [sub_eq_add_neg] using hf).comp _ (contDiffAt_const.add contDiffAt_id)) |
| 107 | rw [show (fun y' => f (x-y')) = fun y' => L (-y') from funext fun i => by simp [L,sub_eq_add_neg], he] |
| 108 | simp [L, coeff, sub_eq_add_neg, iteratedFDeriv_comp_add_left] |
| 109 | |
| 110 | end YM.Tensor |