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.Next.UV_STRESS.Rates |
| 2 | import YM.Work.A01.Mirror |
| 3 | |
| 4 | |
| 5 | /-! |
| 6 | # The centered tensor spaces in the stress construction |
| 7 | |
| 8 | Real dimensions, signed-cube symmetry, real polar vectors. The divergences |
| 9 | are on the exact observable quotients. In particular the rank hypothesis |
| 10 | we shall need about the free case must itself be proved by a Maxwell producer. |
| 11 | -/ |
| 12 | |
| 13 | set_option autoImplicit false |
| 14 | noncomputable section |
| 15 | namespace YM.Next.UVStress |
| 16 | open Function Set Filter Analysis Extraction Table Ward Climb Work.A01 |
| 17 | open scoped Topology ContDiff BigOperators |
| 18 | variable {G : Gauge} {L : Register G} {T : Table L} {H : T.Hierarchy} {V : DiffPlan T} |
| 19 | |
| 20 | def blank (T : Table L) : Fin 0 → T.Tag := Fin.elim0 |
| 21 | |
| 22 | def expectation (T : Table L) (d : ℕ) : T.Field d →ₗ[ℂ] ℂ := frontRead (blank T) 0 d |
| 23 | |
| 24 | |
| 25 | |
| 26 | def centering (T : Table L) (p : ℕ) : T.Field p →ₗ[ℂ] T.Field p := |
| 27 | LinearMap.id - (expectation T p).smulRight (T.unit p) |
| 28 | |
| 29 | lemma value_center (v : T.Field 4) : centering T 4 v=v-expectation T 4 v • T.unit 4 := rfl |
| 30 | lemma conf1 : (0:Points (0+1))∈conf _ := fun _ _ _ => @Subsingleton.elim (Fin 1) _ _ _ |
| 31 | lemma mean_unit (H : T.Basic) : expectation T 4 (T.unit 4)=1 := by |
| 32 | rw [expectation,front_eval,T.at_unit H conf1] |
| 33 | let U : Fin 0 → L.Token := Fin.elim0 |
| 34 | rw [show blank T=T.classTokens ∘ U from Subsingleton.elim ..,T.at_project T H.toSymmetric (fun _ => le_rfl) |
| 35 | (Points.tail_in conf1)] |
| 36 | exact H.trivial .. |
| 37 | lemma centers_field (H : T.Basic) (v : T.Field 4) : expectation T 4 (centering T 4 v)=0 := by |
| 38 | rw [value_center,map_sub,map_smul,mean_unit H,smul_eq_mul,mul_one,sub_self] |
| 39 | lemma const_out (H : T.Basic) : centering T 4 (T.unit 4)=0 := by rw [value_center,mean_unit H,one_smul,sub_self] |
| 40 | lemma mirror_center (H : T.Hierarchy) (v : T.Field 4) (k : Signed) : T.mirror H.spin 4 k (centering T 4 v)= |
| 41 | centering T 4 (T.mirror H.spin 4 k v) := by |
| 42 | rw [value_center,value_center,map_sub,map_smul,T.mirror_unit]; congr 2 |
| 43 | have ht := mirror_eval H.laws.toSymmetric H.spin conf1 (Fin.cons ⟨4,v⟩ (blank T)) k |
| 44 | rw [show Points.move k.ortho 0=0 from ?_,comp_cons,show mirrorTag H.spin k ∘ blank T = blank T from Subsingleton.elim _ _] at ht |
| 45 | · unfold expectation; simp_rw [front_eval]; exact ht.symm |
| 46 | ext1 i; simp [Ortho.move,M4.move] |
| 47 | lemma conj_center (H : T.Hierarchy) (v : T.Field 4) : T.conj H.spin 4 (centering T 4 v)=centering T 4 (T.conj H.spin 4 v) := by |
| 48 | rw [value_center,value_center,map_sub,map_smulₛₗ,T.conj_unit]; congr 2 |
| 49 | have ht := real_eval H.laws.toSymmetric H.spin conf1 (Fin.cons ⟨4,v⟩ (blank T)) |
| 50 | rw [comp_cons, show realTag H.spin ∘ blank T = blank T from Subsingleton.elim _ _] at ht |
| 51 | unfold expectation; simp_rw [front_eval]; exact ht.symm |
| 52 | |
| 53 | private lemma real_mirror (H : T.RealSpin) (d i) (v : T.Field d) (c : ℝ) : |
| 54 | T.mirror H d i (c • v)=c • T.mirror H d i v := ((T.mirror H d i).restrictScalars ℝ).map_smul _ _ |
| 55 | private lemma real_conj (H : T.RealSpin) (d) (v : T.Field d) (c : ℝ) : |
| 56 | T.conj H d (c • v)=c • T.conj H d v := by |
| 57 | simp_rw [RCLike.real_smul_eq_coe_smul (K:=ℂ),map_smulₛₗ]; simp |
| 58 | |
| 59 | def SymSpace (H : T.RealSpin) : Submodule ℝ T.Stress where |
| 60 | carrier := {B | (∀ i j,B i j=B j i) ∧ (∀ i j, T.conj H 4 (B i j)=B i j) ∧ RawTensor H B} |
| 61 | zero_mem' := by |
| 62 | simp [RawTensor] |
| 63 | add_mem' := by |
| 64 | rintro B D ⟨h,g,f⟩ ⟨hp,hg,hf⟩ |
| 65 | refine ⟨fun i j => congr_arg₂ (fun a b : T.Field 4 => a+b) (h i j) (hp i j),fun i j => ?_, fun k i j => ?_⟩ |
| 66 | · simp [g,hg] |
| 67 | simp only [Pi.add_apply, map_add,f k i j,hf k i j,smul_add, Finset.sum_add_distrib] |
| 68 | smul_mem' := by |
| 69 | rintro c B ⟨hp,hg,hf⟩ |
| 70 | refine ⟨fun i j => congr_arg (c • ·) (hp i j),fun i j => ?_,fun k i j => ?_⟩ |
| 71 | · simp only [Pi.smul_apply,real_conj,hg] |
| 72 | simp only [Pi.smul_apply, real_mirror,hf k i j, Finset.smul_sum]; exact Finset.sum_congr rfl fun a _ => |
| 73 | Finset.sum_congr rfl fun b _ => smul_comm _ _ _ |
| 74 | |
| 75 | def KernelSpace (H : T.RealSpin) : Submodule ℝ T.Stress where |
| 76 | carrier := {B | B∈SymSpace H ∧ ∀ i j, expectation T 4 (B i j)=0} |
| 77 | zero_mem' := ⟨Submodule.zero_mem _,fun i j => map_zero _⟩ |
| 78 | add_mem' := fun {_ _} ⟨A,B⟩ ⟨C,D⟩ => ⟨Submodule.add_mem _ A C,fun i j => by simp [B,D]⟩ |
| 79 | smul_mem' := fun c {B} ⟨A,h⟩ => ⟨Submodule.smul_mem _ _ A,fun i j => by |
| 80 | simp only [Pi.smul_apply, RCLike.real_smul_eq_coe_smul (K:=ℂ),map_smul,h, smul_zero]⟩ |
| 81 | |
| 82 | lemma kernel_mem {H : T.RealSpin} {J : T.Stress} : J∈KernelSpace H ↔ J∈SymSpace H ∧ ∀ i j, expectation T 4 (J i j)=0 := Iff.rfl |
| 83 | lemma sym_mem {H : T.RealSpin} {J : T.Stress} : J∈SymSpace H ↔ (∀ i j,J i j=J j i) ∧ (∀ i j,T.conj H 4 (J i j)=J i j) ∧ RawTensor H J := Iff.rfl |
| 84 | |
| 85 | abbrev PolarFields (T : Table L) := Axis → T.Field 5 |
| 86 | |
| 87 | def Vectors (H : T.RealSpin) : Submodule ℝ (PolarFields T) where |
| 88 | carrier := {v | (∀ i, T.conj H 5 (v i)=v i) ∧ (∀ k i, T.mirror H 5 k (v i)=∑ j : Axis,(↑(k.matrix j i):ℂ) • v j)} |
| 89 | zero_mem' := by simp |
| 90 | add_mem' := by |
| 91 | rintro B D ⟨g,f⟩ ⟨hg,hf⟩ |
| 92 | simp only [mem_setOf_eq,Pi.add_apply, map_add, f,hf,g,hg, smul_add, Finset.sum_add_distrib] |
| 93 | simp |
| 94 | smul_mem' := by |
| 95 | rintro c B ⟨A,h⟩ |
| 96 | refine ⟨fun i => by simp [real_conj,A], fun k i => ?_⟩ |
| 97 | simp only [Pi.smul_apply, real_mirror,h,Finset.smul_sum]; exact Finset.sum_congr rfl fun i _ => smul_comm .. |
| 98 | |
| 99 | /-- Real finite tensor divergence. -/ |
| 100 | def rayDiv (P : DiffPlan T) : T.Stress →ₗ[ℂ] PolarFields T where |
| 101 | toFun B i := ∑ j, P.deriv 4 j (B j i) |
| 102 | map_add' B Q := by ext1 i; simp [Finset.sum_add_distrib] |
| 103 | map_smul' c Q := by ext1 i; simp [Finset.smul_sum] |
| 104 | |
| 105 | lemma vector_div (H : T.RealSpin) (h : V.Orientation H) {B : T.Stress} (hp : B∈SymSpace H) : rayDiv V B∈Vectors H := by |
| 106 | obtain ⟨_,hr,hB⟩ := hp |
| 107 | constructor |
| 108 | · intro i; change T.conj H 5 (∑ j, V.deriv 4 j (B j i))=_; rw [map_sum]; simp_rw [h.realDer,hr]; rfl |
| 109 | intro k i |
| 110 | rw [eps_column] |
| 111 | change T.mirror H 5 k (∑ j, V.deriv 4 j (B j i))= (↑_:ℂ) • ∑ j,V.deriv 4 j (B j (k.perm i)) |
| 112 | rw [map_sum, ← Equiv.sum_comp k.perm (fun j => V.deriv 4 j (B j (k.perm i))), Finset.smul_sum] |
| 113 | apply Finset.sum_congr rfl; intro j _ |
| 114 | rw [h.mirrorDer, tensor_column hB, eps_column, map_smul, smul_smul] |
| 115 | congr 1; rw [Complex.ofReal_mul, ← mul_assoc, ← Complex.ofReal_mul,eps_self,Complex.ofReal_one,one_mul] |
| 116 | |
| 117 | def currentDiv (V : DiffPlan T) (H : T.RealSpin) (ho : V.Orientation H) : ↑(KernelSpace H) →ₗ[ℝ] ↑(Vectors H) := |
| 118 | (((rayDiv V).restrictScalars ℝ).comp (KernelSpace H).subtype).codRestrict (Vectors H) |
| 119 | (fun v => vector_div H ho (kernel_mem.mp v.property).1) |
| 120 | |
| 121 | lemma linear_cons (V : DiffPlan T) (H : T.RealSpin) (ho : V.Orientation H) (v : KernelSpace H) : |
| 122 | currentDiv V H ho v = 0 ↔ Conserved V H v.val := by |
| 123 | obtain ⟨h,g,r⟩ := (show v.val∈SymSpace H from (kernel_mem.mp v.property).1) |
| 124 | exact ⟨fun p => ⟨h,g,fun i => congr_fun (congr_arg Subtype.val p) i⟩, |
| 125 | fun p => Subtype.ext (funext p.divergence)⟩ |
| 126 | end YM.Next.UVStress |