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.UVNext.FREE_STRESS_CERTIFICATE.VSpan |
| 2 | |
| 3 | /-! Actual Bianchi/Maxwell collapse through five on the quotient. -/ |
| 4 | set_option autoImplicit false |
| 5 | noncomputable section |
| 6 | namespace YM.UVNext.FreeStress |
| 7 | open Maxwell Labels Tensor Analysis Climb Table Work.A01 Next.UVStress Function Set Submodule |
| 8 | variable {G : Gauge} (F : Frames G) (H : (freeTable F).RealSpin) {d : ℕ} (hG : G.Simple) |
| 9 | |
| 10 | lemma disappears (P : Label G d) (h : ∀ X : Maxwell.TaylorTower G, Labels.read (fun i => gaugeJet (X i)) P.val = 0) : |
| 11 | embed F d P=0 := by |
| 12 | have hP : observable G d P=0 := Maxwell.ideal_meaning.mpr h |
| 13 | apply (freeTable F).faithfully; rw [map_zero]; funext x |
| 14 | change (freeTable F).read x.point (Fin.cons (token F d P) x.letter) = 0 |
| 15 | rw [first_label,hP]; exact (moment_at_zero ..) |
| 16 | where |
| 17 | moment_at_zero (n : ℕ) (x : Points (n+1)) (f : Fin n → WickPol G) : Wick.moment G x (Fin.cons 0 f) = 0 := |
| 18 | (Wick.moment G x).map_coord_zero 0 (Fin.cons_zero ..) |
| 19 | |
| 20 | private lemma oneJet (f : Tensor.T E4 G.Color 1) (i : Axis) (x) : |
| 21 | Maxwell.grad i (Tensor.diagonal f) x = f (fun _ => YM.basis i) := by |
| 22 | have he : Tensor.Sym f := fun v p => congr_arg f (funext fun j => congr_arg v (Subsingleton.elim (p j) j)) |
| 23 | change fderiv ℝ (Tensor.diagonal f) x _ = _ |
| 24 | rw [Tensor.differential_diagonal (j:=0) f he x] |
| 25 | simp only [Nat.zero_add, one_smul, ContinuousMultilinearMap.curryLeft_apply] |
| 26 | exact congr_arg f (funext fun j => by rw [@Subsingleton.elim (Fin 1) _ j 0]; rfl) |
| 27 | |
| 28 | def coarse (X : Maxwell.TaylorTower G) (a b : Axis) : G.Color := ((X 0).val a b) (fun _ => 0) |
| 29 | def wave (X : Maxwell.TaylorTower G) (a b c : Axis) : G.Color := ((X 1).val a b) (fun _ => YM.basis c) |
| 30 | |
| 31 | lemma cycle_wave (X : Maxwell.TaylorTower G) (a b c : Axis) : wave X b c a + wave X c a b + wave X a b c = 0 := by |
| 32 | have h := (show Maxwell.ClosedJet (X 1).val from (X 1).property.1).closed a b c 0 |
| 33 | simpa only [oneJet,wave] using h |
| 34 | lemma silence (X : Maxwell.TaylorTower G) (a : Axis) : ∑ b : Axis, wave X b a b = 0 := by |
| 35 | have h := (X 1).property.2 a 0 |
| 36 | simpa only [oneJet,wave] using h |
| 37 | |
| 38 | lemma air_eval (X : Maxwell.TaylorTower G) (a b c e i : Axis) : |
| 39 | Labels.read (fun k => gaugeJet (X k)) (fq G 5 le_rfl a b c e i).val = (inner ℝ (coarse X a b) (wave X c e i):ℂ) := by |
| 40 | unfold fq bond |
| 41 | rw [eval_tape] |
| 42 | simp only [component, LinearMap.coe_mk, AddHom.coe_mk, match_leg] |
| 43 | unfold coarse wave |
| 44 | rw [show YM.basis ∘ (Fin.elim0 : Fin 0 → Axis) = fun _ => (0:E4) from Subsingleton.elim ..] |
| 45 | rfl |
| 46 | |
| 47 | lemma clears (a b c : Axis) : ∑ i, first F a b i c i = 0 := by |
| 48 | unfold first |
| 49 | simp_rw [← map_sum] |
| 50 | apply disappears; intro X |
| 51 | simp only [AddSubmonoidClass.coe_finsetSum,map_sum,air_eval] |
| 52 | rw [← Complex.ofReal_sum] |
| 53 | have h := congr_arg (innerₛₗ ℝ (coarse X a b)) (silence X c) |
| 54 | rw [map_sum,map_zero] at h |
| 55 | rw [show (∑ i : Axis, inner ℝ (coarse X a b) (wave X i c i))=0 from h]; simp |
| 56 | |
| 57 | lemma spins (a b i j k : Axis) : first F a b j k i + first F a b k i j + first F a b i j k = 0 := by |
| 58 | unfold first; simp_rw [← map_add] |
| 59 | apply disappears; intro X |
| 60 | simp only [Submodule.coe_add,map_add,air_eval,← Complex.ofReal_add] |
| 61 | have h := congr_arg (innerₛₗ ℝ (coarse X a b)) (cycle_wave X i j k) |
| 62 | simp only [map_add,map_zero] at h |
| 63 | -- mixed RHS want cast add |
| 64 | have hw : inner ℝ (coarse X a b) (wave X j k i) + inner ℝ (coarse X a b) (wave X k i j) + inner ℝ (coarse X a b) (wave X i j k)=0 := h |
| 65 | rw [hw]; simp |
| 66 | |
| 67 | -- equations on the orbit classes; explicit axis arithmetic then simplify by |
| 68 | -- antisymmetry. |
| 69 | lemma arms_eq : nose F + arms F = 0 := by |
| 70 | unfold nose arms; rw [single_eval,pair_eval] |
| 71 | have h (b : Axis) := clears F 0 b b |
| 72 | simp_rw [Fin.sum_univ_succ] at h |
| 73 | have h1 := h 1; have h2 := h 2; have h3 := h 3 |
| 74 | -- normal reduction of succ representation |
| 75 | norm_num [Fin.isValue, Fin.reduceFinMk] at h1 h2 h3 |
| 76 | simp only [show (2 : Fin 3).succ=(3:Fin 4) from rfl, first_zeroR,add_zero] at h1 h2 h3 |
| 77 | linear_combination (norm:=abel) h1 + h2 + h3 |
| 78 | |
| 79 | lemma chirp (i j : Axis) : first F j i 0 i j + first F i j 0 j i = first F i j i j 0 := by |
| 80 | have h := spins F i j j 0 i -- 0 i j + i j 0 + j 0 i |
| 81 | rw [right_first F i j 0 j i] at h |
| 82 | rw [left_first F i j] |
| 83 | linear_combination (norm:=abel) -h |
| 84 | |
| 85 | lemma twice_hands : hands F + hands F = chin F := by |
| 86 | have h (i j : Axis) := chirp F i j |
| 87 | unfold hands chin; rw [pair_eval,pair_eval] |
| 88 | linear_combination (norm:=abel) h 2 1 + h 1 2 + h 1 3 + h 3 1 + h 3 2 + h 2 3 |
| 89 | |
| 90 | include hG in |
| 91 | theorem two_v (v : Vectors H) : v.val 0 ∈ span ℝ {nose F,hands F} := by |
| 92 | apply (show span ℝ {nose F,chin F,arms F,hands F} ≤ span ℝ {nose F,hands F} from span_le.mpr ?_) (real_v F H hG v) |
| 93 | intro y hy |
| 94 | have h1 : nose F ∈ span ℝ {nose F,hands F} := subset_span (by simp) |
| 95 | have h2 : hands F ∈ span ℝ {nose F,hands F} := subset_span (by simp) |
| 96 | simp only [mem_insert_iff,mem_singleton_iff] at hy; rcases hy with rfl|rfl|rfl|rfl |
| 97 | · exact h1 |
| 98 | · rw [← twice_hands]; exact Submodule.add_mem _ h2 h2 |
| 99 | · rw [eq_neg_of_add_eq_zero_right (arms_eq F)]; exact Submodule.neg_mem _ h1 |
| 100 | exact h2 |
| 101 | |
| 102 | include hG in |
| 103 | /-- Finite upper bound; rank lower and exactness by separated curl derivatives. -/ |
| 104 | theorem capped_v : Module.finrank ℝ (Vectors H) ≤ 2 := by |
| 105 | let f : (Vectors H) →ₗ[ℝ] FiveFields F := (LinearMap.proj (0:Axis)).comp (Vectors H).subtype |
| 106 | let g := f.codRestrict (span ℝ {nose F,hands F}) (fun v => two_v F H hG v) |
| 107 | have he : Injective g := by |
| 108 | intro v w hh |
| 109 | have h : v.val 0 = w.val 0 := congr_arg Subtype.val hh |
| 110 | apply Subtype.ext; funext a |
| 111 | have ht := congr_arg (ride F H 5 (Equiv.swap 0 a)) h; simpa only [perm_v,Equiv.swap_apply_left] using ht |
| 112 | refine (LinearMap.finrank_le_finrank_of_injective he).trans ?_ |
| 113 | classical |
| 114 | have hi := finrank_span_finset_le_card (R:=ℝ) ({nose F, hands F} : Finset (FiveFields F)) |
| 115 | simp only [Finset.coe_insert,Finset.coe_singleton] at hi |
| 116 | exact hi.trans ((Finset.card_insert_le ..).trans_eq (by simp)) |
| 117 | |
| 118 | end YM.UVNext.FreeStress |