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.Bid.Station |
| 2 | import YM.Next.EXTRACTION.Tails |
| 3 | import YM.Work.A01.Conserve |
| 4 | import YM.Work.A15 |
| 5 | import YM.Work.C13.Decay |
| 6 | import YM.Work.G07.Calculus |
| 7 | |
| 8 | /-! |
| 9 | Cutoff shell independence, translation to arbitrary center, and continuity |
| 10 | on configurations with admissible window. Minus gradient = outward flux |
| 11 | when enclosing the marked field. No deletion or replacement of any other |
| 12 | fields for independence; the *difference* vanishes on neighborhoods of all |
| 13 | of them including the center. No assertion about contact distributions in this |
| 14 | continuum identity. cf. ; consumes quotient conservation à la A01. |
| 15 | -/ |
| 16 | set_option autoImplicit false |
| 17 | noncomputable section |
| 18 | namespace YM.StressFlux.Annular |
| 19 | open Table Work.A01 Analysis Function Set Filter MeasureTheory |
| 20 | open scoped Topology ContDiff BigOperators |
| 21 | variable {G : Gauge} {L : Register G} {S : Table L} {W : DiffPlan S} {n d : ℕ} |
| 22 | {χ ψ : E4 → ℝ} {x : Points (n+1)} {H : S.RealSpin} |
| 23 | |
| 24 | def about (J : S.Stress) (χ : E4 → ℝ) (V : E4 → E4) (x : Points (n+1)) := @flux _ _ S d n J χ (fun y => V (y-x 0)) x |
| 25 | |
| 26 | lemma expanded {J : S.Stress} {V : E4 → E4} (hx : x∈conf _) (hw : Window x χ) (h : S.Smooth) (q : Fin n → S.Tag) (B : S.Field d) |
| 27 | (hv : ∀ b : Axis, Continuous fun y => V y b) (a : Axis) : |
| 28 | Integrable (fun y => D (basis a) χ y • current J V x (Fin.cons ⟨d,B⟩ q) a y) ∧ |
| 29 | ∑ b : Axis, ∫ y, term J χ V x q B a b y = ∫ y, D (basis a) χ y • current J V x (Fin.cons ⟨d,B⟩ q) a y := by |
| 30 | have he (y) : D (basis a) χ y • current J V x (Fin.cons ⟨d,B⟩ q) a y = ∑ b, term J χ V x q B a b y := by |
| 31 | simp only [term,current,Complex.ofReal_mul,Complex.real_smul,Finset.mul_sum,mul_assoc] |
| 32 | simp_rw [he] |
| 33 | have ht b := term_integrable J χ V x q B h hx hw a b (hv b) |
| 34 | exact ⟨integrable_finsetSum _ fun i _ => ht i,(integral_finsetSum _ fun i _ => ht i).symm⟩ |
| 35 | |
| 36 | lemma difference_window (hx : x∈conf _) (hw : Window x χ) (ht : Window x ψ) : ∀ y∈tsupport (χ-ψ), Points.cons y x ∈ conf _ := by |
| 37 | refine fun y hy => conf_cons hx (fun i => Fin.cases (fun hz => ?_) (fun j hz => ?_) i) |
| 38 | · subst y |
| 39 | exact (notMem_tsupport_iff_eventuallyEq.mpr (by |
| 40 | filter_upwards [hw.2.2.1,ht.2.2.1] with y h h'; simp [h,h'])) hy |
| 41 | · subst y |
| 42 | exact (notMem_tsupport_iff_eventuallyEq.mpr (by |
| 43 | filter_upwards [notMem_tsupport_iff_eventuallyEq.mp (hw.2.2.2 j),notMem_tsupport_iff_eventuallyEq.mp (ht.2.2.2 j)] with y h h' |
| 44 | simp [h,h'])) hy |
| 45 | |
| 46 | lemma independent (hs : S.Smooth) (hd : W.Derivatives S) {J : S.Stress} (hJ : Conserved W H J) |
| 47 | (V : E4 → E4) (hv : ∀ b : Axis, ContDiff ℝ ∞ (fun z => V z b)) (hk : killing V) |
| 48 | (hx : x∈conf _) (hw : Window x χ) (ht : Window x ψ) (q : Fin n → S.Tag) (B : S.Field d) : |
| 49 | flux J χ V x q B = flux J ψ V x q B := by |
| 50 | have he := cutoff_zero hs W hd J hJ V hv hk x (Fin.cons ⟨d,B⟩ q) (χ-ψ) (hw.1.sub ht.1) (hw.2.1.sub ht.2.1) (difference_window hx hw ht) |
| 51 | let F := current J V x (Fin.cons (α:= fun _ => S.Tag) ⟨d,B⟩ q) |
| 52 | change -(∑ a, ∫ y, D (basis a) (χ-ψ) y • F a y)=0 at he |
| 53 | have hc (y : E4) (a : Axis) : D (basis a) (χ-ψ) y • F a y = D (basis a) χ y • F a y - D (basis a) ψ y • F a y := by |
| 54 | simp only [D,fderiv_sub ((hw.1.differentiable (by simp)) y) ((ht.1.differentiable (by simp)) y),_root_.sub_apply,sub_smul] |
| 55 | have hp a := expanded (J:=J) hx hw hs q B (fun b => (hv b).continuous) a |
| 56 | have hr a := expanded (J:=J) hx ht hs q B (fun b => (hv b).continuous) a |
| 57 | simp_rw [hc] at he |
| 58 | have hu a : (∫ y, (D (basis a) χ y • F a y - D (basis a) ψ y • F a y)) = (∑ b, ∫ y, term J χ V x q B a b y) - ∑ b, ∫ y, term J ψ V x q B a b y := by |
| 59 | rw [integral_sub (hp a).1 (hr a).1, (hp a).2,(hr a).2] |
| 60 | simp_rw [hu] at he |
| 61 | rw [Finset.sum_sub_distrib, neg_eq_zero, sub_eq_zero] at he |
| 62 | exact congr_arg Neg.neg he |
| 63 | |
| 64 | lemma independent_about (hs : S.Smooth) (hd : W.Derivatives S) {J : S.Stress} (hJ : Conserved W H J) |
| 65 | (V : E4 → E4) (hv : ∀ b : Axis, ContDiff ℝ ∞ (fun z => V z b)) (hk : killing V) |
| 66 | (hx : x∈conf _) (hw : Window x χ) (ht : Window x ψ) (q : Fin n → S.Tag) (B : S.Field d) : |
| 67 | about J χ V x q B = about J ψ V x q B := by |
| 68 | refine independent hs hd hJ _ (fun b => (hv b).comp (contDiff_id.sub contDiff_const)) (fun a b y => ?_) hx hw ht q B |
| 69 | change D (basis a) (fun z => V (z-x 0) b) y = - D (basis b) (fun z => V (z-x 0) a) y |
| 70 | simpa only [D,sub_eq_add_neg,fderiv_comp_add_right (f:=fun z => V z b) (-x 0), fderiv_comp_add_right (f:=fun z => V z a) (-x 0)] using hk a b (y-x 0) |
| 71 | |
| 72 | lemma shifted_window (c : E4) (hw : Window x χ) : Window (Points.across c x) (fun y => χ (y-c)) := by |
| 73 | let l (y : E4) := y-c |
| 74 | have hc (i : Fin (n+1)) : Tendsto l (𝓝 (Points.across c x i)) (𝓝 (x i)) := add_sub_cancel_right (x i) c ▸ (continuous_id.sub continuous_const : Continuous l).continuousAt |
| 75 | refine ⟨hw.1.comp (contDiff_id.sub contDiff_const), ?_, hw.2.2.1.comp_tendsto (hc 0),fun i => notMem_tsupport_iff_eventuallyEq.mpr ((notMem_tsupport_iff_eventuallyEq.mp (hw.2.2.2 i)).comp_tendsto (hc i.succ))⟩ |
| 76 | simp only [sub_eq_add_neg] |
| 77 | exact hw.2.1.comp_homeomorph (Homeomorph.addRight (-c)) |
| 78 | |
| 79 | lemma homogeneous (ht : S.Homogeneous) {u : Points n} (hu : u∈conf _) (q : Fin n → S.Tag) (c : E4) : |
| 80 | S.useAt S (Points.across c u) q = S.useAt S u q := ht n u hu c (fun i => ⟨_,S.representative (q i).1 (q i).2⟩) |
| 81 | |
| 82 | lemma across_cons (x : Points n) (y c : E4) : Points.cons (y+c) (Points.across c x) = Points.across c (Points.cons y x) := by |
| 83 | ext1 i; refine Fin.cases ?_ (fun j => ?_) i <;> simp [Points.cons] |
| 84 | |
| 85 | lemma moved (J : S.Stress) (V : E4 → E4) (c : E4) (ht : S.Homogeneous) (hx : x∈conf _) (hw : Window x χ) (q : Fin n → S.Tag) (B : S.Field d) : |
| 86 | about J (fun y => χ (y-c)) V (Points.across c x) q B = about J χ V x q B := by |
| 87 | have he a b y : term J (fun y => χ (y-c)) (fun y => V (y-Points.across c x 0)) (Points.across c x) q B a b (y+c) = |
| 88 | term J χ (fun y => V (y-x 0)) x q B a b y := by |
| 89 | have hc : D (basis a) (fun y => χ (y-c)) (y+c) = D (basis a) χ y := by rw [D,show (fun y => χ (y-c)) = (fun y => χ (y + -c)) by simp only [sub_eq_add_neg], fderiv_comp_add_right (-c),← sub_eq_add_neg,add_sub_cancel_right,D] |
| 90 | unfold term |
| 91 | simp only [hc,Points.across_coord, add_sub_add_right_eq_sub, across_cons] |
| 92 | by_cases hz : D (basis a) χ y = 0 |
| 93 | · simp [hz] |
| 94 | rw [homogeneous ht (separated_of_D hx hw hz)] |
| 95 | have hi a b := integral_add_right_eq_self (term J (fun y => χ (y-c)) (fun y => V (y-Points.across c x 0)) (Points.across c x) q B a b) c (μ:=volume) |
| 96 | simp_rw [he] at hi |
| 97 | simp only [about,flux,hi] |
| 98 | |
| 99 | @[fun_prop] lemma cons_continuous : Continuous (fun p : Points n × E4 => Points.cons p.2 p.1) := by |
| 100 | apply PiLp.continuous_toLp 2 _ |>.comp |
| 101 | (f:= fun p : Points n × E4 => Fin.cons (α:=fun _ => E4) p.2 p.1.ofLp) |
| 102 | apply continuous_pi |
| 103 | intro i; refine Fin.cases ?_ (fun j => ?_) i <;> simp <;> fun_prop |
| 104 | |
| 105 | lemma window_open (hw : Window x χ) : ∀ᶠ t in 𝓝 x, Window t χ := by |
| 106 | have he (i : Fin n) := (show Continuous (fun x : Points (n+1) => x i.succ) by fun_prop).continuousAt (x := x) |>.eventually |
| 107 | ((isClosed_tsupport χ).isOpen_compl.mem_nhds (show x i.succ∈(tsupport χ)ᶜ from hw.2.2.2 i)) |
| 108 | have ht := (show Continuous (fun x : Points (n+1) => x 0) by fun_prop).continuousAt (x := x) |>.eventually (eventually_eventually_nhds.mpr hw.2.2.1) |
| 109 | filter_upwards [eventually_all.mpr he,ht] with t hy hz |
| 110 | exact ⟨hw.1,hw.2.1,hz,hy⟩ |
| 111 | |
| 112 | lemma term_joint (J : S.Stress) (V : E4 → E4) (hv : ∀ b : Axis, Continuous (fun y => V y b)) (hs : S.Smooth) (hx : x∈conf _) (hw : Window x χ) |
| 113 | (q : Fin n → S.Tag) (B : S.Field d) (a b : Axis) (y : E4) : |
| 114 | ContinuousAt (fun p : Points (n+1) × E4 => term J χ (fun y => V (y-p.1 0)) p.1 q B a b p.2) (x,y) := by |
| 115 | by_cases hy : y ∈ tsupport (fderiv ℝ χ) |
| 116 | · have hu := S.class_smooth S hs (Fin.cons ⟨4,J a b⟩ (Fin.cons (α:=fun _ => S.Tag) ⟨d,B⟩ q)) |>.continuousOn |
| 117 | have hp := hu.continuousAt ((conf_open _).mem_nhds (window_separated hx hw hy)) |>.comp (f:= fun p : Points (n+1) × E4 => Points.cons p.2 p.1) (cons_continuous.continuousAt (x:=(x,y))) |
| 118 | have hd : Continuous (D (basis a) χ) := (hw.1.continuous_fderiv (by simp)).clm_apply continuous_const |
| 119 | unfold term |
| 120 | refine (Complex.continuous_ofReal.comp ((hd.comp continuous_snd).mul ((hv b).comp ?_))).continuousAt.mul hp |
| 121 | fun_prop |
| 122 | have he := continuous_snd.continuousAt (x:=(x,y)) |>.eventually (notMem_tsupport_iff_eventuallyEq.mp hy) |
| 123 | refine (continuousAt_const (y:=(0:ℂ))).congr (he.mono ?_) |
| 124 | intro p hp |
| 125 | change (0 : ℂ) = term _ _ _ _ _ _ _ _ _ |
| 126 | simp [term,D,show fderiv ℝ χ p.2 = 0 from hp] |
| 127 | |
| 128 | lemma flux_continuous (J : S.Stress) (V : E4 → E4) (hv : ∀ b : Axis, Continuous (fun y => V y b)) (hs : S.Smooth) (hx : x∈conf _) (hw : Window x χ) |
| 129 | (q : Fin n → S.Tag) (B : S.Field d) : ContinuousAt (fun x => about J χ V x q B) x := by |
| 130 | let E := tsupport (fderiv ℝ χ) |
| 131 | have hE : IsCompact E := hw.2.1.fderiv ℝ |
| 132 | obtain ⟨K,hK,h,hk⟩ := local_compact_nhds (show {x : Points (n+1) | x∈conf _ ∧ Window x χ} ∈ 𝓝 x from ((conf_open _).eventually_mem hx).and (window_open hw)) |
| 133 | have ht (a b : Axis) : ContinuousAt (fun x => ∫ y, term J χ (fun y => V (y-x 0)) x q B a b y) x := by |
| 134 | obtain ⟨A,hA⟩ := (hk.prod hE).exists_bound_of_continuousOn (fun (p : Points (n+1) × E4) hp => |
| 135 | (term_joint J V hv hs (h hp.1).1 (h hp.1).2 q B a b p.2).continuousWithinAt) |
| 136 | refine continuousAt_of_dominated (bound:= E.indicator (fun _ => A)) ?_ ?_ |
| 137 | ((integrable_indicator_iff hE.measurableSet).2 (integrableOn_const hE.measure_lt_top.ne)) (.of_forall fun y => |
| 138 | (term_joint J V hv hs hx hw q B a b y).comp (f:=fun t => (t,y)) (show Continuous (fun t : Points (n+1) => (t,y)) by fun_prop).continuousAt) |
| 139 | · filter_upwards [hK] with u hu |
| 140 | exact ((term_integrable J χ _ u q B hs (h hu).1 (h hu).2 a b ((hv b).comp (continuous_id.sub continuous_const))).aestronglyMeasurable) |
| 141 | · filter_upwards [hK] with u hu |
| 142 | refine .of_forall fun y => ?_ |
| 143 | by_cases hy : y∈E |
| 144 | · rw [indicator_of_mem hy]; exact hA (u,y) ⟨hu,hy⟩ |
| 145 | · simp [indicator_of_notMem hy,term,D,image_eq_zero_of_notMem_tsupport hy] |
| 146 | exact Tendsto.neg (tendsto_finsetSum _ (fun a _ => tendsto_finsetSum _ fun b _ => ht a b)) |
| 147 | end YM.StressFlux.Annular |