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 Mathlib.Analysis.Normed.Module.Connected |
| 2 | import YM.Next.MAXWELL.Battery |
| 3 | |
| 4 | |
| 5 | /-! # Strict positive one-point reflection Gram, already on real Shell -/ |
| 6 | set_option autoImplicit false |
| 7 | noncomputable section |
| 8 | namespace YM.Maxwell.Free |
| 9 | open Set Function Filter Analysis MeasureTheory Box Tensor WaveOn |
| 10 | open scoped ContDiff Topology BigOperators InnerProductSpace |
| 11 | |
| 12 | variable {G : Gauge} {j l : ℕ} |
| 13 | variable {ι : Type*} [Fintype ι] (a : Axis) {d : ι → ℕ} (x : ι → E4) (p : (i : ι) → Probe G (d i)) |
| 14 | |
| 15 | lemma power_silent (H : ∀ i, 0 < x i a) {t} (ht : 0 ≤ t) (h : loss a x p t=0) : |
| 16 | sqPower a x p t = 0 := by |
| 17 | let F := sqPower a x p t |
| 18 | have hc : Continuous F := sq_cont a x p H t ht |
| 19 | funext z |
| 20 | change F z=0; by_contra he |
| 21 | let R : ℝ := ‖z‖+1 |
| 22 | have hk (i : SpaceAxis) : |z i| < R := (norm_le_pi_norm z i).trans_lt (by dsimp [R]; linarith) |
| 23 | have hp : matFloor a R ∈ 𝓝 z := by |
| 24 | rw [mat_coords] |
| 25 | let B := Set.pi (univ : Set SpaceAxis) (fun _ => Ioo (-R) R) |
| 26 | have hm : z ∈ B := fun i _ => abs_lt.mp (hk i) |
| 27 | refine mem_of_superset ((isOpen_set_pi finite_univ (s:=fun _ => Ioo (-R) R) fun i _ => isOpen_Ioo).mem_nhds hm) ?_ |
| 28 | exact fun y hy => ⟨fun i => (hy i (mem_univ _)).1.le,fun i => (hy i (mem_univ _)).2.le⟩ |
| 29 | have hv : support F ∩ matFloor a R ∈ 𝓝 z := inter_mem (hc.continuousAt.eventually_ne he) hp |
| 30 | have hq : 0 < ∫ z in matFloor a R, F z := |
| 31 | (setIntegral_pos_iff_support_of_nonneg_ae (Eventually.of_forall (sq_nonneg a x p t)) |
| 32 | (hc.continuousOn.integrableOn_compact (show IsCompact (matFloor a R) from isCompact_Icc))).2 (Measure.measure_pos_of_mem_nhds _ hv) |
| 33 | exact not_lt.mpr ((lesser_loss a x p H R ht).trans h.le) hq |
| 34 | |
| 35 | lemma plane_silent (H : ∀ i, 0 < x i a) (h : heatLevel a x p 0 = 0) (b c : Axis) {t : ℝ} (ht : 0 < t) |
| 36 | {y : E4} (hy : y a = 0) : rays a x p t b c y = 0 := by |
| 37 | have he : heatLevel a x p =ᶠ[𝓝 t] fun _ => 0 := by |
| 38 | filter_upwards [isOpen_Ioi.mem_nhds ht] with u (hu : 0 < u) |
| 39 | exact le_antisymm ((downhill a x p H (self_mem_Ici) hu.le hu.le).trans h.le) (reflected_positive a x p H hu.le) |
| 40 | have hs := level_slope a x p H ht.le |
| 41 | have hf : loss a x p t=0 := by |
| 42 | have hc := hs.unique ((hasDerivAt_const t 0).congr_of_eventuallyEq he); linarith |
| 43 | let z : Section3 := fun i => y (a.succAbove i) |
| 44 | have hp : inFace a 0 z=y := by |
| 45 | rw [← hy]; unfold inFace z; congr; apply Fin.insertNth_self_removeNth |
| 46 | have hq : (∑ i : Axis, ∑ l : Axis, ‖rays a x p t i l y‖^2)=0 := by |
| 47 | have he := congr_fun (power_silent a x p H ht.le hf) z |
| 48 | simp only [sqPower, Pi.zero_apply,hp] at he; linarith |
| 49 | have hu (i : Axis) : (∑ l : Axis, ‖rays a x p t i l y‖^2) = 0 := |
| 50 | (Finset.sum_eq_zero_iff_of_nonneg (fun _ _ => Finset.sum_nonneg fun _ _ => _root_.sq_nonneg _)).1 hq i (Finset.mem_univ i) |
| 51 | have hb := (Finset.sum_eq_zero_iff_of_nonneg (fun i _ => _root_.sq_nonneg _)).1 (hu b) c (Finset.mem_univ _) |
| 52 | simpa using hb |
| 53 | |
| 54 | lemma silent_response (H : ∀ i, 0 < x i a) (h : heatLevel a x p 0 = 0) (b c : Axis) {y : E4} (hy : y a < 0) : |
| 55 | (∑ i, pulse (p i) (x i) b c y) = 0 := by |
| 56 | let t := - y a |
| 57 | have ht : 0 < t := neg_pos.mpr hy |
| 58 | let z := floated a y t |
| 59 | have hz : z a = 0 := by simp [z,t] |
| 60 | have he := plane_silent a x p H h b c ht hz |
| 61 | simp only [rays, Finset.sum_apply,pulse,z,floated,add_sub_add_right_eq_sub] at he |
| 62 | exact he |
| 63 | |
| 64 | variable {x} |
| 65 | |
| 66 | lemma power_continues (z : E4) (hz : 0 < z a) (h : heatLevel a (fun _ => z) p 0 = 0) {y : E4} (b c : Axis) |
| 67 | (hy : y ≠ z) : (∑ i, pulse (p i) z b c y)=0 := by |
| 68 | let F := fun x : E4 => ∑ i, pulse (p i) z b c x |
| 69 | ext1 e |
| 70 | have hp : AnalyticOnNhd ℝ (fun y => F y e) ({z}ᶜ) := by |
| 71 | intro y hy; refine ContDiffAt.analyticAt ?_ |
| 72 | simp only [F,WithLp.ofLp_sum,Finset.sum_apply]; apply ContDiffAt.sum; intro i _ |
| 73 | have he : (fun y => pulse (p i) z b c y e) =ᶠ[𝓝 y] K (p i) (omegaLeg e b c) z := by |
| 74 | filter_upwards [isOpen_compl_singleton.mem_nhds hy] with x hx |
| 75 | exact (K_observe _ _ _ _ (Ne.symm hx)).symm |
| 76 | exact (((kernel_pole (p i) (omegaLeg e b c)).diff (z-y) (sub_ne_zero.mpr (Ne.symm (show y≠z from hy)))).comp y |
| 77 | (f := fun y => z-y) (contDiffAt_const.sub contDiffAt_id)).congr_of_eventuallyEq he |
| 78 | apply hp.eqOn_zero_of_preconnected_of_eventuallyEq_zero (z₀:= -basis a) ?_ ?_ ?_ hy |
| 79 | · refine (isConnected_compl_singleton_of_one_lt_rank ?_ z).isPreconnected |
| 80 | simp [← Module.finrank_eq_rank] |
| 81 | · change -basis a ≠ z |
| 82 | rintro rfl; simp at hz; linarith |
| 83 | filter_upwards [(isOpen_lt (show Continuous fun y : E4 => y a by fun_prop) continuous_const).mem_nhds |
| 84 | (show (-basis a) a < 0 by simp)] with x (hx : x a < 0) |
| 85 | change F x e=0; rw [show F x = 0 from silent_response a (fun i => z) p (fun i => hz) h b c hx]; rfl |
| 86 | |
| 87 | /-- stress test with polynomial field of selected order. -/ |
| 88 | lemma filter_current (z : E4) {f : Field G.Color} (H : WaveOn univ f) |
| 89 | (h : ∀ y : E4,y ≠ z → ∀ b c : Axis, (∑ i, pulse (p i) z b c y)=0) : |
| 90 | (∑ i, (((d i : ℕ):ℝ)+2)*sample (p i) f z) = 0 := by |
| 91 | let B : ContDiffBump z := ⟨1,2,by norm_num,by norm_num⟩ |
| 92 | let χ : E4 → ℝ := B |
| 93 | let v := fromCenter 1 z |
| 94 | let F := fun i => pulse (p i) z |
| 95 | let J := fun i => current v (F i) f |
| 96 | have he i : (∑ a : Axis, ∫ y : E4, grad a χ y • J i a y) = (((d i:ℕ):ℝ)+2)*sample (p i) f z := by |
| 97 | apply neg_injective |
| 98 | rw [← neg_mul]; exact radial_flux (χ:=χ) isOpen_univ H (p i) B.contDiff B.hasCompactSupport (subset_univ _) B.eventuallyEq_one |
| 99 | simp_rw [← he]; rw [Finset.sum_comm] |
| 100 | apply Finset.sum_eq_zero; intro a _ |
| 101 | rw [← integral_finsetSum _ (fun i _ => shell_cost (show ContDiff ℝ ∞ χ from B.contDiff) B.hasCompactSupport |
| 102 | (fun y hy => (current_diff (radial_K z) _ (fun j k => |
| 103 | (pulse_wave (p i) z).smooth j k y (fun h : y=z => collar (χ:=χ) B.eventuallyEq_one (h ▸ hy))) |
| 104 | (fun j k => H.smooth j k y (mem_univ _))).continuousAt) a)] |
| 105 | rw [show (fun y : E4 => ∑ i, grad a χ y • J i a y) = 0 from funext fun y => ?_] |
| 106 | · exact integral_zero .. |
| 107 | by_cases ht : y = z |
| 108 | · subst y; simp [image_eq_zero_of_notMem_tsupport (x := z) (f := grad a χ) |
| 109 | (fun h => collar (χ:=χ) B.eventuallyEq_one (gradient_part χ a h))] |
| 110 | have hp (b) : (∑ i, cross (F i) f a b y)=0 := by |
| 111 | let R : Unit → Field G.Color := fun _ => f |
| 112 | have he (a b : Axis) : (∑ i, F i) a b y = 0 := by simp only [Finset.sum_apply]; exact h y ht a b |
| 113 | calc |
| 114 | _ = cross (∑ i, F i) (∑ i, R i) a b y := by rw [cross_sum_family]; simp [R] |
| 115 | _ = 0 := by unfold cross; simp_rw [he]; simp |
| 116 | rw [← Finset.smul_sum, show (∑ i, J i a y)=0 from ?_,smul_zero]; rfl |
| 117 | unfold J current; rw [Finset.sum_comm]; simp_rw [← Finset.mul_sum, hp,mul_zero,Finset.sum_const_zero] |
| 118 | |
| 119 | /-- At **one** pair of marked sites strictly separated by reflection: whole |
| 120 | mixed jet collection, strict positivity modulo only the relations of the |
| 121 | linear symbols. -/ |
| 122 | theorem level_detects (z : E4) (hz : 0 < z a) (h : heatLevel a (fun _ => z) p 0 = 0) (A : TaylorTower G) : |
| 123 | ∑ i, p i (A (d i)) = 0 := by |
| 124 | have hw y hy b c := power_continues a p z hz h (y := y) b c hy |
| 125 | have hp (k : ℕ) : (∑ i, if d i=k then p i (A (d i)) else 0)=0 := by |
| 126 | let f : Field G.Color := fun a b x => asWave (A k) a b (x-z) |
| 127 | have H : WaveOn univ f := wave_sub_pull z (wave_mono (subset_univ _) (wavePoly (A k))) |
| 128 | have he := filter_current p z H hw |
| 129 | have hx (j) : nth f j z = nth (asWave (A k)) j 0 := by |
| 130 | funext a b |
| 131 | change coeff (fun x => asWave _ a b (x-z)) j z = _ |
| 132 | rw [coeff_shift,sub_self]; rfl |
| 133 | have ht i : ((d i:ℝ)+2)*sample (p i) f z = (k+2:ℝ) * (if d i=k then p i (A (d i)) else 0) := by |
| 134 | by_cases hq : d i=k |
| 135 | · subst k; rw [sample_eval _ H isOpen_univ (mem_univ _), if_pos rfl] |
| 136 | congr 1; exact congr_arg (p i) (Subtype.ext ((hx _).trans (asWave_jet _))) |
| 137 | simp only [sample,hx,asWave_other (A k) hq,map_zero, if_neg hq,mul_zero] |
| 138 | simp_rw [ht, ← Finset.mul_sum] at he |
| 139 | exact (mul_eq_zero.mp he).resolve_left (by positivity) |
| 140 | calc |
| 141 | _ = ∑ k ∈ Finset.univ.image d, ∑ i, if d i=k then p i (A (d i)) else 0 := by rw [Finset.sum_comm]; simp |
| 142 | _ = 0 := Finset.sum_eq_zero fun i _ => hp i |
| 143 | |
| 144 | end YM.Maxwell.Free |