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.Contacts.Transport.Tangent |
| 2 | import YM.Contacts.Transport.Orbit |
| 3 | /-! |
| 4 | # Grade registration & linear extension |
| 5 | |
| 6 | Full family on homogeneous actual labels, including extending from real basis within each grade |
| 7 | and evaluating non-homogeneous finite combinations from those grades. Changing the ambient |
| 8 | filtration stage doesn't introduce extra field identities; always perform the blending with the |
| 9 | same splitting, and true counterterms in each term use the *original weight list*. Gives also a |
| 10 | simple proof of well-definedness of linear extension as score equality (no coincident instructions |
| 11 | when computing these conversions) and of raising the labels in it. Coordinate basis used here |
| 12 | includes the unit. Nothing about any identity involving removing the unit slot from a contact. |
| 13 | -/ |
| 14 | set_option autoImplicit false |
| 15 | set_option maxHeartbeats 500000 |
| 16 | noncomputable section |
| 17 | namespace YM.Contacts.Transport |
| 18 | open Function Filter Set Metric MeasureTheory Submodule Table Spec Normal MultipleContact OPE Harvest Route Solstice Ordered |
| 19 | open scoped Topology Classical BigOperators ContDiff InnerProductSpace MeasureTheory |
| 20 | variable {E W I X : Type}[NormedAddCommGroup E][InnerProductSpace ℝ E][FiniteDimensional ℝ E] |
| 21 | variable {k : ℕ}{G:Gauge}{C:Family G}{Ord:Extraction.Order}{S:Table C.book}{Z:Final C Ord S}{d d': Fin k→ℕ} |
| 22 | local notation "V!" => Expression Z.sector.derivatives |
| 23 | local notation "GN" => Normal.Group k |
| 24 | variable (M : Devices Z.sector.derivatives) |
| 25 | -- real basis |
| 26 | private def conjGrade (n:ℕ)(p:M.splitting.stratum n) : M.splitting.stratum n:= |
| 27 | ⟨S.conj M.hierarchy.spin n p, by cases n; exact Submodule.mem_top |
| 28 | show _ ∈ LinearMap.ker _ |
| 29 | rw [LinearMap.mem_ker,← M.covariant.real, show M.splitting.down _ _=0 from p.property,map_zero]⟩ |
| 30 | lemma turns_basis (s:Ortho)(b:Bool)(n:ℕ){t : S.Field n}(h:t∈M.splitting.stratum n) : M.rotation.act n s (Ribbon.glaze M b n t)∈ M.splitting.stratum n := by |
| 31 | let c:M.splitting.stratum n:= ⟨t,h⟩; have he : Ribbon.glaze M b n t∈M.splitting.stratum n:=by cases b; exact h; exact (conjGrade M n c).property |
| 32 | cases n; exact Submodule.mem_top |
| 33 | show _∈ LinearMap.ker _; rw [LinearMap.mem_ker,← M.covariant.act, show M.splitting.down _ (Ribbon.glaze M b _ t)=0 from he,map_zero] |
| 34 | private def RealGrade (n:ℕ) := {x:M.splitting.stratum n | conjGrade M n x=x} |
| 35 | private lemma shadow (n : ℕ)(p:M.splitting.stratum n) : p∈ span ℂ (RealGrade M n):=by |
| 36 | let q:=conjGrade M n p; let S':=span ℂ (RealGrade M n); have hh:=S.reflect_star M.hierarchy.spin n p.val |
| 37 | have hp:p+q∈ S':= subset_span (show _ from ( ?_ : conjGrade M n (p+q)=p+q)); swap; · apply Subtype.ext; change S.conj _ _ (p.val+S.conj _ _ p.val)=p.val+_; rw [map_add,hh,add_comm]; rfl |
| 38 | have ht:(Complex.I) • (p-q)∈ S':= subset_span (show _ from (?_ : conjGrade M n (_ • (p-q))= Complex.I • (p-q))); swap; · apply Subtype.ext; change S.conj _ _ ((Complex.I) • (p.val-S.conj _ _ p.val))= Complex.I • (p.val-_); rw [map_smulₛₗ,map_sub,hh]; simp [show (starRingEnd ℂ) Complex.I= -Complex.I from Complex.conj_I, smul_sub, q,conjGrade]; abel -- maybe |
| 39 | have hc := S'.smul_mem (1/2:ℂ) (S'.add_mem hp (S'.smul_mem (-Complex.I) ht)); rw [smul_smul,neg_mul,Complex.I_mul_I,neg_neg,one_smul,show p+q+(p-q)=(2:ℂ) • p from by rw [two_smul]; abel, smul_smul,div_mul_cancel₀ _ (by norm_num), one_smul] at hc; exact hc |
| 40 | private lemma picked (n : ℕ) (S : Set (M.splitting.stratum n))(h : S ⊆ RealGrade M n)(hp : LinearIndepOn ℂ id S): ∃ (N:ℕ)(x:Module.Basis (Fin N) ℂ (M.splitting.stratum n)), S ⊆ range x ∧ range x ⊆ RealGrade M n := by |
| 41 | obtain ⟨s,hs,hS,hm,he⟩:= exists_linearIndepOn_id_extension hp h; let b:Module.Basis s ℂ (M.splitting.stratum n):= Module.Basis.mk he.linearIndependent_restrict (by |
| 42 | intro z _; have hsp:= span_le.mpr hm (shadow M n z); simpa using hsp); letI:Finite s:=Module.Finite.finite_basis b; letI:= Fintype.ofFinite s; let e:= Fintype.equivFin s |
| 43 | have hL (x : s) : b x=x.val:= by simp [b] |
| 44 | refine ⟨_,b.reindex e, fun p hp=> ⟨e ⟨p,hS hp⟩,by rw [Module.Basis.reindex_apply, e.symm_apply_apply]; exact hL _⟩,?_⟩ |
| 45 | rintro z ⟨i,rfl⟩; simpa only [Module.Basis.reindex_apply,hL] using hs (e.symm i|>.property) |
| 46 | /-- linear extension on these basis readings, first index in every read retains assignment d. -/ |
| 47 | structure SystemBasis where |
| 48 | N : ℕ→ℕ |
| 49 | basis (n : ℕ) : Module.Basis (Fin (N n)) ℂ (M.splitting.stratum n) |
| 50 | unit_row : ∃ i, (basis 0 i).val=S.unit 0 |
| 51 | pure (n : ℕ) : ∀ i, S.conj M.hierarchy.spin n (basis n i).val=(basis n i).val |
| 52 | lemma real_basis : Nonempty (SystemBasis M):= by |
| 53 | let z: M.splitting.stratum 0:=⟨S.unit 0,Submodule.mem_top⟩ |
| 54 | have he:z≠0:= fun he=> S.alive 0 M.hierarchy.laws (congr_arg Subtype.val he); have hp:S.conj M.hierarchy.spin 0 (S.unit 0)=S.unit 0:=S.conj_unit .. |
| 55 | obtain ⟨V,U,hz,h'⟩:=picked M 0 {z} (singleton_subset_iff.mpr (show _ from (show z∈ RealGrade M 0 from Subtype.ext hp))) ((linearIndepOn_singleton_iff ..).2 he) |
| 56 | choose N B h hh using fun n:ℕ=> picked M (n+1) ∅ (by simp) (linearIndepOn_empty ..); let F (ℓ:ℕ):ℕ:= Nat.casesOn ℓ V N; let u(n:ℕ): Module.Basis (Fin (F n)) ℂ (M.splitting.stratum n) := Nat.casesOn (motive:=fun n=> Module.Basis (Fin (F n)) ℂ (M.splitting.stratum n)) n U B; -- |
| 57 | refine ⟨F,u,?_,fun n i=>?_⟩ -- Nonempty syntax? |
| 58 | · obtain ⟨i,hi⟩:= hz (Set.mem_singleton z); exact ⟨i, congrArg Subtype.val hi⟩ |
| 59 | cases n with |
| 60 | | zero=> exact congr_arg Subtype.val (h' (Set.mem_range_self i)) |
| 61 | | succ n=> exact congr_arg Subtype.val (hh n (Set.mem_range_self i)) |
| 62 | end YM.Contacts.Transport |