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.TraceExtension.Fock.RealTests |
| 2 | |
| 3 | /-! Remove the transverse projectors in the locality test using membership in |
| 4 | the Fock space; no assumption about Lorentz invariance of the embedding. -/ |
| 5 | set_option autoImplicit false |
| 6 | noncomputable section |
| 7 | namespace YM.TraceExtension.Photons |
| 8 | open Function Set Filter MeasureTheory Measure Metric Complex Mink Boundary Spectral |
| 9 | open scoped Topology NNReal ENNReal BigOperators InnerProductSpace Classical |
| 10 | variable {m n : ℕ} |
| 11 | |
| 12 | def mail (i : Fin n) (s : Tags m n) (j : SpaceAxis) := update s i ((s i).1,j) |
| 13 | def mailbox (i : Fin n) : Equiv.Perm (Tags m n × SpaceAxis) where |
| 14 | toFun a := (mail i a.1 a.2,(a.1 i).2) |
| 15 | invFun a := (mail i a.1 a.2,(a.1 i).2) |
| 16 | left_inv := fun ⟨s,t⟩ => by apply Prod.ext <;> simp [mail] |
| 17 | right_inv := fun ⟨s,t⟩ => by apply Prod.ext <;> simp [mail] |
| 18 | |
| 19 | private def mixed (x : Ambient m) (g : Fin n→ TestList m) (u : Finset (Fin n)) (p : Mom n) (s : Tags m n) := |
| 20 | star (sectionFn x ⟨n,s⟩ p) * ∏ j : Fin n, if j∈u then testPhoton (g j) (s j) (p j) else rawPhoton (g j) (s j) (p j) |
| 21 | private lemma mixed_eq (x : Ambient m) (hp : PhysicalWave x) (g : Fin n→ TestList m) (u : Finset (Fin n)) {i : Fin n} (hi : i∉u) : |
| 22 | ∀ᵐ p∂photons n, (∑ s, mixed x g (insert i u) p s) = ∑ s, mixed x g u p s := by |
| 23 | filter_upwards [ae_all_iff.mpr (fun t => hp.projects n t i)] with p he |
| 24 | let T (s : Tags m n) := star (sectionFn x ⟨n,s⟩ p); let G (s : Tags m n) := rawPhoton (g i) (s i) (p i) |
| 25 | let V (s : Tags m n) := ∏ j ∈ (Finset.univ.erase i), if j ∈ u then testPhoton (g j) (s j) (p j) else rawPhoton (g j) (s j) (p j) |
| 26 | let P := polarization (p i) |
| 27 | have hT (s) : T s = ∑ k : SpaceAxis,P (s i).2 k*T (mail i s k) := by |
| 28 | unfold T P sectionFn; nth_rw 1 [he s]; simp only [star_sum,star_mul,pol_real,mul_comm]; rfl |
| 29 | have hm (s) : mixed x g u p s = ∑ k : SpaceAxis,(P (s i).2 k*T (mail i s k))*(G s*V s) := by |
| 30 | unfold mixed; rw [← Finset.mul_prod_erase _ _ (Finset.mem_univ i),if_neg hi, ← Finset.sum_mul, ← hT] |
| 31 | have hw (s) : mixed x g (insert i u) p s= ∑ k : SpaceAxis,(P (s i).2 k*T s)*(G (mail i s k)*V s) := by |
| 32 | unfold mixed; rw [← Finset.mul_prod_erase _ _ (Finset.mem_univ i),if_pos (Finset.mem_insert_self ..)] |
| 33 | have hV : V s = ∏ j∈ (Finset.univ.erase i), if j∈insert i u then testPhoton (g j) (s j) (p j) else rawPhoton (g j) (s j) (p j) := by |
| 34 | apply Finset.prod_congr rfl; intro j hj; simp [(Finset.mem_erase.mp hj).1] |
| 35 | rw [← hV]; unfold testPhoton |
| 36 | rw [Finset.sum_mul, Finset.mul_sum]; apply Finset.sum_congr rfl; intro k hk |
| 37 | dsimp only [G,mail,P,T]; rw [update_self]; ring |
| 38 | have hV (s k) : V (mail i s k)=V s := Finset.prod_congr rfl fun j hj => by simp only [mail,update_of_ne (Finset.ne_of_mem_erase hj)] |
| 39 | let Y := fun v : Tags m n × SpaceAxis => (P (v.1 i).2 v.2*T v.1)*(G (mail i v.1 v.2)*V v.1) |
| 40 | simp_rw [hm,hw] |
| 41 | rw [← Fintype.sum_prod_type Y]; rw [← Equiv.sum_comp (mailbox (m:=m) i) Y,Fintype.sum_prod_type]; apply Finset.sum_congr rfl; intro s hs |
| 42 | apply Finset.sum_congr rfl; intro k hk |
| 43 | change (P (mail i s k i).2 (s i).2*T (mail i s k))*(G (mail i (mail i s k) (s i).2)*V (mail i s k))=_ |
| 44 | rw [hV]; simp [mail, P, pol_symm (p i) k (s i).2] |
| 45 | private lemma pure_ae (x : Ambient m) (hp : PhysicalWave x) (g : Fin n→TestList m) : ∀ᵐ p∂photons n, |
| 46 | (∑ s, star (sectionFn x ⟨n,s⟩ p)*pureTest g s p) = ∑ s, star (sectionFn x ⟨n,s⟩ p) * ∏ i, rawPhoton (g i) (s i) (p i) := by |
| 47 | have he (u : Finset (Fin n)) : ∀ᵐ p ∂photons n,(∑ s, mixed x g u p s)= ∑ s, mixed x g ∅ p s := by |
| 48 | induction u using Finset.induction_on with |
| 49 | | empty => simp |
| 50 | | insert i s h hs => filter_upwards [mixed_eq x hp g _ h,hs] with p hi hj using hi.trans hj |
| 51 | simpa only [mixed,Finset.mem_univ,Finset.notMem_empty,↓reduceIte,pureTest] using he Finset.univ |
| 52 | lemma raw_earlier (x : Ambient m) (hp : PhysicalWave x) (g : Fin n→ TestList m) : earlier g x = |
| 53 | ∫ p, ∑ s, star (sectionFn x ⟨n,s⟩ p) * ∏ i, rawPhoton (g i) (s i) (p i) ∂photons n := by |
| 54 | unfold earlier; rw [← integral_finsetSum]; exact integral_congr_ae (pure_ae x hp g) |
| 55 | exact fun i _ => product_int (wave_lp x ⟨n,i⟩) (pure_lp g i) |
| 56 | |
| 57 | def singleTest (s : Label m) (f : Test4) : TestList m := Pi.single s f |
| 58 | lemma picked (x : Ambient m) (hp : PhysicalWave x) (s : Tags m n) (f : Fin n → Test4) : |
| 59 | earlier (fun i => singleTest (s i) (f i)) x = ∫ p, star (sectionFn x ⟨n,s⟩ p)*∏ i, (‖p i‖:ℂ)*testPlus (f i) (momentum (p i)) ∂photons n := by |
| 60 | rw [raw_earlier x hp]; apply integral_congr_ae; filter_upwards with p |
| 61 | rw [Finset.sum_eq_single_of_mem s (Finset.mem_univ _)] |
| 62 | · simp only [rawPhoton,singleTest,Pi.single_eq_same,Complex.real_smul] |
| 63 | intro t ht hn |
| 64 | obtain ⟨i,hi⟩ := Function.ne_iff.mp hn; rw [Finset.prod_eq_zero (Finset.mem_univ i),mul_zero] |
| 65 | simp [rawPhoton,singleTest,Pi.single_eq_of_ne hi] |
| 66 | |
| 67 | lemma bar_hat (f : Probe E4) (p : E4) : star (testPlus (Probe.bar f) p) = Probe.hat f p := by |
| 68 | rw [testPlus_apply, Probe.hat_eq, Complex.star_def,← integral_conj] |
| 69 | congr! 1; ext x; simp [Probe.plane_inverse] |
| 70 | lemma single_bar (s : Label m) (f : Test4) : barList (singleTest s f)=singleTest s (Probe.bar f) := by |
| 71 | ext i; by_cases h:i=s <;> simp [h,singleTest,barList, Pi.single_eq_of_ne] |
| 72 | |
| 73 | lemma positioned (f : Test4) (x y : Ambient m) (p : PhysicalWave x) (q : PhysicalWave y) (h : OnVac f x y) |
| 74 | (s : Tags m n) (g : Fin n→ Test4) (hc : ∀ i, HasCompactSupport ⇑(g i)) (hd : ∀ i, Fields.causal f (g i)) : |
| 75 | (∫ w, sectionFn x ⟨n,s⟩ w*∏ i,(↑‖w i‖:ℂ)*Probe.hat (g i) (momentum (w i)) ∂photons n) = |
| 76 | ∫ w, star (sectionFn y ⟨n,s⟩ w)*∏ i, (↑‖w i‖:ℂ)*testPlus (g i) (momentum (w i)) ∂photons n := by |
| 77 | have he (i : Fin n) : singleTest (s i) (g i)∈localized m f := by |
| 78 | intro j; by_cases hp:j=s i |
| 79 | · subst j; rw [singleTest, Pi.single_eq_same]; exact ⟨hc i,hd i⟩ |
| 80 | rw [singleTest,Pi.single_eq_of_ne hp]; exact (localized m f).zero_mem j |
| 81 | have hh := sectors_local f x y p q h (fun i => singleTest (s i) (g i)) he |
| 82 | simp only [Function.comp_def,single_bar] at hh; rw [picked x p, picked y q, Complex.star_def,← integral_conj] at hh |
| 83 | refine Eq.trans ?_ hh; apply integral_congr_ae; filter_upwards with i |
| 84 | simp only [map_mul,map_prod, ← Complex.star_def, bar_hat, star_star]; simp |
| 85 | end YM.TraceExtension.Photons |