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.Maxwell.Bilinear |
| 2 | import YM.Next.MAXWELL.Jets |
| 3 | |
| 4 | /-! |
| 5 | # Responses and mixed derivatives from both ends |
| 6 | |
| 7 | One test source at `x`, field it produces at `y`; also basic linear-leg |
| 8 | manipulations common to Ward, spectral and Wick proofs. |
| 9 | -/ |
| 10 | |
| 11 | set_option autoImplicit false |
| 12 | noncomputable section |
| 13 | namespace YM.Maxwell.Free |
| 14 | open Set Function Filter Tensor Analysis |
| 15 | open WaveOn |
| 16 | open scoped ContDiff Topology BigOperators |
| 17 | |
| 18 | variable {G : Gauge} {j k l : ℕ} |
| 19 | |
| 20 | /-- Convenient proof-free reader for one jet on a local solution. The |
| 21 | chosen extension doesn't matter on its open solution domain. -/ |
| 22 | def sample (p : Probe G j) (f : Field G.Color) (x : E4) : ℝ := |
| 23 | extension p (nth f j x) |
| 24 | |
| 25 | theorem sample_eval (p : Probe G j) {f : Field G.Color} {U : Set E4} (H : WaveOn U f) (hU : IsOpen U) |
| 26 | {x : E4} (hx : x ∈ U) : sample p f x = p ⟨nth f j x,H.jets hU hx⟩ := |
| 27 | LinearMap.congr_fun (genuine p) ⟨_,H.jets hU hx⟩ |
| 28 | |
| 29 | @[simp] theorem sample_addLeg (p q : Probe G j) (f : Field G.Color) (x) : |
| 30 | sample (p+q) f x = sample p f x + sample q f x := rfl |
| 31 | |
| 32 | @[simp] theorem sample_smulLeg (t : ℝ) (p : Probe G j) (f : Field G.Color) (x) : |
| 33 | sample (t • p) f x = t * sample p f x := rfl |
| 34 | |
| 35 | theorem sample_smooth (p : Probe G j) {f : Field G.Color} {U : Set E4} (H : WaveOn U f) {x : E4} (hx : x ∈ U) : |
| 36 | ContDiffAt ℝ ∞ (sample p f) x := |
| 37 | (extension p).toContinuousLinearMap.contDiff.contDiffAt.comp x (H.nth_smooth hx) |
| 38 | |
| 39 | |
| 40 | |
| 41 | |
| 42 | |
| 43 | theorem sample_eq_of_germ {p : Probe G j} {f g : Field G.Color} {x : E4} |
| 44 | (h : ∀ a b, f a b =ᶠ[𝓝 x] g a b) : sample p f x = sample p g x := by |
| 45 | have he : nth f j x = nth g j x := funext fun a => funext fun b => Tensor.GermCoeff j (h a b) |
| 46 | rw [sample, sample, he] |
| 47 | |
| 48 | /-- At order zero or higher, actual coordinate derivative probes. -/ |
| 49 | def leg (u : Fin j → E4) (c : G.ColorIndex) (i m : Axis) : Probe G j := |
| 50 | constrain (G := G) (fromF G u c i m) |
| 51 | |
| 52 | theorem leg_eval (u : Fin j → E4) (c : G.ColorIndex) (i m : Axis) (A : Shell G j) : |
| 53 | leg u c i m A = A.val i m u c := rfl |
| 54 | |
| 55 | theorem sample_leg (u : Fin j → E4) (c : G.ColorIndex) (i m : Axis) {f : Field G.Color} {U : Set E4} |
| 56 | (H : WaveOn U f) (hU : IsOpen U) {x : E4} (hx : x ∈ U) : |
| 57 | sample (leg u c i m) f x = Tensor.coeff (f i m) j x u c := sample_eval _ H hU hx |
| 58 | |
| 59 | theorem leg_probe_induction {P : Probe G j → Prop} |
| 60 | (vars : ∀ u c i m, P (leg u c i m)) (zero : P 0) |
| 61 | (add : ∀ p q, P p → P q → P (p+q)) (smul : ∀ t : ℝ, ∀ p, P p → P (t • p)) |
| 62 | (p : Probe G j) : P p := by |
| 63 | refine Submodule.span_induction (p := fun p _ => P p) ?_ zero (fun p q _ _ => add p q) |
| 64 | (fun t p _ => smul t p) (show p ∈ _ from spans.symm ▸ Submodule.mem_top) |
| 65 | rintro q ⟨u,c,i,m,rfl⟩; exact vars u c i m |
| 66 | |
| 67 | def raiseLeg (v : E4) : Probe G j →ₗ[ℝ] Probe G (j+1) where |
| 68 | toFun p := p.comp (lower G.Color j v) |
| 69 | map_add' _ _ := rfl |
| 70 | map_smul' _ _ := rfl |
| 71 | |
| 72 | theorem raises (v : E4) (u : Fin j → E4) (c : G.ColorIndex) (i m : Axis) : |
| 73 | raiseLeg v (leg u c i m) = (↑(j+1 : ℕ) : ℝ) • leg (Fin.cons v u) c i m := by |
| 74 | ext x |
| 75 | rfl |
| 76 | |
| 77 | theorem sample_deriv_label (u : E4) (p : Probe G j) {U : Set E4} {f : Field G.Color} |
| 78 | (H : WaveOn U f) (hU : IsOpen U) {x : E4} (hx : x ∈ U) : |
| 79 | sample p (fun i l => D u (f i l)) x = sample (raiseLeg u p) f x := by |
| 80 | rw [sample_eval _ (wave_D H hU _) hU hx, sample_eval _ H hU hx] |
| 81 | apply congr_arg p (Subtype.ext (samples_D H hU u hx)) |
| 82 | |
| 83 | theorem sample_deriv (p : Probe G j) (u : E4) {f : Field G.Color} {x : E4} |
| 84 | (H : ∀ a b, ContDiffAt ℝ (↑(j+1 : ℕ)) (f a b) x) : |
| 85 | D u (sample p f) x = sample p (fun a b => D u (f a b)) x := by |
| 86 | let L := (extension p).toContinuousLinearMap |
| 87 | have ht (a b : Axis) : DifferentiableAt ℝ (fun y => nth f j y a b) x := |
| 88 | (differentiableAt_const (Nat.factorial j : ℝ)⁻¹).smul ((H a b).differentiableAt_iteratedFDeriv (m := j) |
| 89 | (Nat.cast_lt.mpr j.lt_succ_self)) |
| 90 | have hs := (hasFDerivAt_pi.mpr fun (a : Axis) => hasFDerivAt_pi.mpr fun (b : Axis) => |
| 91 | (ht a b).hasFDerivAt) |
| 92 | change fderiv ℝ (L ∘ nth f j) x u = L _ |
| 93 | rw [fderiv_comp x L.differentiableAt (show DifferentiableAt ℝ (nth f j) x from hs.differentiableAt), |
| 94 | L.fderiv,ContinuousLinearMap.comp_apply] |
| 95 | congr 1 |
| 96 | rw [hs.fderiv] |
| 97 | exact funext fun a => funext fun b => D_coeff (H a b) u |
| 98 | |
| 99 | /-- Field produced by p at x, on the punctured space. (Totalized at x only |
| 100 | for the usual convention about test-functions.) -/ |
| 101 | def pulse (p : Probe G j) (x : E4) : Field G.Color := fun a b y => |
| 102 | responded G (extension p) a b (x-y) |
| 103 | |
| 104 | lemma pulse_wave (p : Probe G j) (x : E4) : WaveOn ({x}ᶜ) (pulse p x) := by |
| 105 | let T : Field G.Color := fun i l z => responded G (extension p) i l (-z) |
| 106 | have ht : WaveOn away T := wave_neg_pull (wave_mono (by |
| 107 | rintro _ ⟨u,hu,rfl⟩; exact neg_ne_zero.mpr hu) (response (G := G) _)) |
| 108 | have he : ((fun y : E4 => y-x) '' ({x} : Set E4)ᶜ) ⊆ away := by |
| 109 | rintro _ ⟨v,hv,rfl⟩; exact sub_ne_zero.mpr hv |
| 110 | rw [show pulse p x = (fun a b y => T a b (y-x)) from by |
| 111 | ext1 a; ext1 b; ext1 y; simp only [T,neg_sub,pulse]] |
| 112 | exact wave_sub_pull x (wave_mono he ht) |
| 113 | |
| 114 | @[simp] theorem pulse_add (p q : Probe G j) (x) : pulse (p+q) x = pulse p x + pulse q x := |
| 115 | funext fun i => funext fun m => funext fun y => by unfold pulse; rw [responds_add]; rfl |
| 116 | |
| 117 | @[simp] theorem pulse_scale (p : Probe G j) (x) (t : ℝ) : pulse (t • p) x = t • pulse p x := |
| 118 | funext fun i => funext fun m => funext fun y => by unfold pulse; rw [responds_smul]; rfl |
| 119 | |
| 120 | @[simp] theorem pulse_zero (x) : pulse (0 : Probe G j) x = 0 := by |
| 121 | simpa only [zero_smul] using pulse_scale (0 : Probe G j) x 0 |
| 122 | |
| 123 | def K (p : Probe G j) (q : Probe G l) (x y : E4) := legKernel p q (x-y) |
| 124 | |
| 125 | lemma K_pairing (p : Probe G j) (q : Probe G l) {x y : E4} (h : x ≠ y) : |
| 126 | K p q x y = pairing (show x-y ∈ away from sub_ne_zero.mpr h) p q := rfl |
| 127 | |
| 128 | theorem K_sample (p : Probe G j) (q : Probe G l) {x y : E4} (h : x ≠ y) : |
| 129 | K p q x y = sample q (pulse p x) y := by |
| 130 | have he : nth (pulse p x) l y = (-1 : ℝ)^l • nth (responded G (extension p)) l (x-y) := |
| 131 | funext fun i => funext fun m => oppositeCoeff x y |
| 132 | (((response (G := G) (extension p)).smooth i m _ (sub_ne_zero.mpr h)).of_le |
| 133 | (WithTop.coe_le_coe.mpr le_top)) |
| 134 | rw [sample, he, map_smul]; rfl |
| 135 | |
| 136 | lemma K_symmetric (p : Probe G j) (q : Probe G l) {x y : E4} (h : x ≠ y) : K p q x y = K q p y x := by |
| 137 | rw [K,K,← neg_sub x y]; exact exchange _ _ (sub_ne_zero.mpr h) |
| 138 | |
| 139 | lemma K_across (p : Probe G j) (q : Probe G l) (x y t : E4) : K p q (x+t) (y+t) = K p q x y := by |
| 140 | rw [K,K,add_sub_add_right_eq_sub] |
| 141 | |
| 142 | lemma K_smooth (p : Probe G j) (q : Probe G l) (z : E4 × E4) (h : z.1 ≠ z.2) : |
| 143 | ContDiffAt ℝ ∞ (fun (w : E4 × E4) => K p q w.1 w.2) z := |
| 144 | (kernel_smooth p q (x := z.1-z.2) (sub_ne_zero.mpr h)).comp z (contDiffAt_fst.sub contDiffAt_snd) |
| 145 | |
| 146 | theorem K_right_D (p : Probe G j) (q : Probe G l) {x y : E4} (h : x ≠ y) (u : E4) : |
| 147 | D u (K p q x) y = K p (raiseLeg u q) x y := by |
| 148 | have he : K p q x =ᶠ[𝓝 y] sample q (pulse p x) := by |
| 149 | filter_upwards [isOpen_compl_singleton.mem_nhds (show y ∈ ({x} : Set E4)ᶜ from Ne.symm h)] with z hz |
| 150 | exact K_sample _ _ (Ne.symm hz) |
| 151 | rw [GermD u he, K_sample _ _ h, sample_deriv q u (fun a b => |
| 152 | ((pulse_wave p x).smooth a b y (Ne.symm h)).of_le (WithTop.coe_le_coe.mpr le_top))] |
| 153 | exact sample_deriv_label u q (pulse_wave p x) isOpen_compl_singleton (Ne.symm h) |
| 154 | |
| 155 | theorem K_left_D (p : Probe G j) (q : Probe G l) {x y : E4} (h : x ≠ y) (u : E4) : |
| 156 | D u (fun z => K p q z y) x = K (raiseLeg u p) q x y := by |
| 157 | have he : (fun z => K p q z y) =ᶠ[𝓝 x] K q p y := by |
| 158 | filter_upwards [isOpen_compl_singleton.mem_nhds (show x ∈ ({y} : Set E4)ᶜ from h)] with z hz |
| 159 | exact K_symmetric p q hz |
| 160 | rw [GermD u he,K_symmetric (raiseLeg u p) q h,K_right_D q p (Ne.symm h)] |
| 161 | |
| 162 | /-- Zero-order leg. -/ |
| 163 | def omegaLeg (c : G.ColorIndex) (i m : Axis) : Probe G 0 := leg (fun _ => 0) c i m |
| 164 | |
| 165 | lemma K_observe (p : Probe G j) (c : G.ColorIndex) (a b : Axis) {x y : E4} (h : x ≠ y) : |
| 166 | K p (omegaLeg c a b) x y = pulse p x a b y c := by |
| 167 | rw [K_sample _ _ h, omegaLeg,sample_leg _ _ _ _ (pulse_wave ..) isOpen_compl_singleton |
| 168 | (Ne.symm h), coeff_apply_zero] |
| 169 | |
| 170 | lemma omega_K_eq (c d : G.ColorIndex) (i m a b : Axis) {x y : E4} (h : x ≠ y) : |
| 171 | K (omegaLeg c i m) (omegaLeg d a b) x y = if c=d then bareCurl i m a b (x-y) else 0 := by |
| 172 | rw [show K (omegaLeg c i m) (omegaLeg d a b) x y = _ from reads_mixed _ _ _ _ _ _ _ _ h] |
| 173 | simp only [coeff_apply_zero] |
| 174 | |
| 175 | end YM.Maxwell.Free |