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.Across |
| 2 | import YM.UVNext.FREE_STRESS_CERTIFICATE.Planes |
| 3 | import YM.UVNext.FREE_STRESS_CERTIFICATE.Samples |
| 4 | |
| 5 | /-! Actual signed and real action on the curl contractions. -/ |
| 6 | set_option autoImplicit false |
| 7 | noncomputable section |
| 8 | namespace YM.UVNext.FreeStress |
| 9 | open Maxwell Labels Climb Table Work.A01 Next.UVStress Function Set |
| 10 | variable {G : Gauge} (F : Frames G) {j l d n : ℕ} |
| 11 | |
| 12 | set_option maxHeartbeats 180000 in |
| 13 | private lemma axis_leg (A : Labels.Taylor G j) (i a : Axis) (m : Fin j → Axis) (s : Signed) : |
| 14 | (Labels.Taylor.turn s.ortho⁻¹ A).val i (Fin.cons (YM.basis a) (YM.basis ∘ m)) = |
| 15 | ((eps s i * eps s a) * ∏ x : Fin j, eps s (m x)) • |
| 16 | A.val (s.perm i) (Fin.cons (YM.basis (s.perm a)) (YM.basis ∘ s.perm ∘ m)) := by |
| 17 | change (∑ k : Axis, _ • (((A.val k).compContinuousLinearMap _) : Tensor.T E4 G.Color (j+1))) |
| 18 | (Fin.cons (YM.basis a) (YM.basis ∘ m)) = _ |
| 19 | -- collapse output matrix column of s |
| 20 | simp only [sum_apply,smul_apply,ContinuousMultilinearMap.compContinuousLinearMap_apply] |
| 21 | have ht (k) : s.ortho⁻¹.val i k = s.matrix k i := rfl |
| 22 | simp_rw [ht, inv_inv] |
| 23 | rw [Finset.sum_eq_single (s.perm i)] |
| 24 | · |
| 25 | let Q : Fin (j+1) → Axis := Fin.cons a m |
| 26 | have hQ : Fin.cons (YM.basis a) (YM.basis ∘ m) = fun x => YM.basis (Q x) := by |
| 27 | funext x; refine Fin.cases ?_ (fun k => ?_) x <;> simp [Q] |
| 28 | have hQ' : Fin.cons (YM.basis (s.perm a)) (YM.basis ∘ s.perm ∘ m) = fun x => YM.basis (s.perm (Q x)) := by |
| 29 | funext x; refine Fin.cases ?_ (fun k => ?_) x <;> simp [Q] |
| 30 | rw [hQ,hQ'] |
| 31 | have hE (a : Axis) : LinearMap.toContinuousLinearMap (Ortho.motion s.ortho).toLinearEquiv.toLinearMap (YM.basis a) = eps s a • YM.basis (s.perm a) := move_basis s a |
| 32 | simp_rw [hE,ContinuousMultilinearMap.map_smul_univ _ (fun x => eps s (Q x)), Fin.prod_univ_succ (fun x => eps s (Q x)),smul_smul] |
| 33 | simp [Q, mul_assoc,eps] |
| 34 | · intro b _ hb; simp [Signed.matrix_at,Ne.symm hb] |
| 35 | · simp |
| 36 | |
| 37 | def carry (s : Signed) (p : Place j) : Place j := ((s.perm p.1.1,s.perm p.1.2),s.perm ∘ p.2) |
| 38 | def signs (s : Signed) (p : Place j) := eps s p.1.1 * eps s p.1.2 * ∏ x, eps s (p.2 x) |
| 39 | |
| 40 | theorem signed_component (s : Signed) (p : Place j) (A : Labels.Taylor G j) : |
| 41 | component p (Labels.Taylor.turn s.ortho⁻¹ A) = signs s p • component (carry s p) A := by |
| 42 | obtain ⟨⟨i,k⟩,m⟩ := p |
| 43 | change (((j+1:ℕ):ℝ)) • ((Labels.Taylor.turn s.ortho⁻¹ A).val k (Fin.cons (YM.basis i) (YM.basis ∘ m)) - |
| 44 | (Labels.Taylor.turn s.ortho⁻¹ A).val i (Fin.cons (YM.basis k) (YM.basis ∘ m))) = _ |
| 45 | rw [axis_leg, axis_leg, mul_comm (eps s k) (eps s i), ← smul_sub, smul_comm] |
| 46 | rfl |
| 47 | |
| 48 | theorem signed_bond (s : Signed) (p : Place j) (q : Place l) (h : j+l+4 ≤ d) : |
| 49 | Labels.tensor (G:=G) s.ortho (bond p q h) = |
| 50 | (↑(signs s p * signs s q) : ℂ) • bond (carry s p) (carry s q) h := by |
| 51 | apply Subtype.ext; apply Labels.eval_ext; intro A |
| 52 | change Labels.read A (rotated s.ortho (tape p q)) = Labels.read A (_ • tape _ _) |
| 53 | rw [rotated, Labels.eval_changed, map_smul,eval_tape,eval_tape] |
| 54 | unfold Labels.changedJet; rw [signed_component,signed_component,real_inner_smul_left,real_inner_smul_right] |
| 55 | rw [← mul_assoc, Complex.ofReal_mul]; rfl |
| 56 | |
| 57 | abbrev FourFields (F : Frames G) := (freeTable F).Field 4 |
| 58 | abbrev FiveFields (F : Frames G) := (freeTable F).Field 5 |
| 59 | |
| 60 | def link (d : ℕ) (h : 4 ≤ d) (a b c e : Axis) : (freeTable F).Field d := embed F d (ff G d h a b c e) |
| 61 | abbrev flat (a b c e : Axis) : FourFields F := link F 4 le_rfl (a:Axis) (b:Axis) (c:Axis) (e:Axis) |
| 62 | |
| 63 | def first (a b c e k : Axis) : FiveFields F := embed F 5 (fq G 5 le_rfl a b c e k) |
| 64 | |
| 65 | @[simp] theorem link_real (H : (freeTable F).RealSpin) (h : 4 ≤ d) (a b c e : Axis) : |
| 66 | (freeTable F).conj H d (link F d h a b c e) = link F d h a b c e := by simp only [link, ff,conjugate_embed,bond_real] |
| 67 | @[simp] theorem first_real (H : (freeTable F).RealSpin) (a b c e k : Axis) : |
| 68 | (freeTable F).conj H 5 (first F a b c e k) = first F a b c e k := by simp only [first,fq,conjugate_embed,bond_real] |
| 69 | |
| 70 | lemma signed_link (H : (freeTable F).RealSpin) (s : Signed) (a b c e : Axis) (h : 4 ≤ d) : |
| 71 | (freeTable F).mirror H d s (link F d h a b c e) = (↑(eps s a*eps s b*(eps s c*eps s e)):ℂ) • |
| 72 | link F d h (s.perm a) (s.perm b) (s.perm c) (s.perm e) := by |
| 73 | simp only [link,ff,mirror_embed,signed_bond,map_smul,signs,Fintype.prod_empty,mul_one,initialPlace] |
| 74 | simp_rw [bond_initial]; rfl |
| 75 | |
| 76 | lemma signed_first (H : (freeTable F).RealSpin) (s : Signed) (a b c e k : Axis) : |
| 77 | (freeTable F).mirror H 5 s (first F a b c e k) = (↑(eps s a*eps s b*(eps s c*eps s e)*eps s k):ℂ) • |
| 78 | first F (s.perm a) (s.perm b) (s.perm c) (s.perm e) (s.perm k) := by |
| 79 | simp only [first,fq,mirror_embed,signed_bond,map_smul,signs,Fintype.prod_empty,mul_one,initialPlace, gradientPlace,Finset.prod_const, Finset.card_univ,Fintype.card_fin,pow_one,mul_assoc] |
| 80 | simp_rw [bond_gradient]; rfl |
| 81 | |
| 82 | -- shorthand on actual classes |
| 83 | lemma left_link (h : 4 ≤ d) (a b c e : Axis) : link F d h b a c e = - link F d h a b c e := by |
| 84 | unfold link; rw [ff_left h a b c e,map_neg] |
| 85 | lemma right_link (h : 4 ≤ d) (a b c e : Axis) : link F d h a b e c = - link F d h a b c e := by |
| 86 | unfold link; rw [ff_right h a b c e,map_neg] |
| 87 | lemma swap_link (h : 4 ≤ d) (a b c e : Axis) : link F d h a b c e = link F d h c e a b := by unfold link; rw [ff_swap h a b c e] |
| 88 | @[simp] lemma link_zeroL (h : 4 ≤ d) (a c e : Axis) : link F d h a a c e=0 := by simp [link] |
| 89 | @[simp] lemma link_zeroR (h : 4 ≤ d) (a b c : Axis) : link F d h a b c c=0 := by simp [link] |
| 90 | lemma left_first (a b c e k : Axis) : first F b a c e k = - first F a b c e k := by |
| 91 | unfold first; rw [fq_left _ a b c e k,map_neg] |
| 92 | lemma right_first (a b c e k : Axis) : first F a b e c k = - first F a b c e k := by |
| 93 | unfold first; rw [fq_right _ a b c e k,map_neg] |
| 94 | @[simp] lemma first_zeroL (a c e k : Axis) : first F a a c e k=0 := by simp [first] |
| 95 | @[simp] lemma first_zeroR (a b c k : Axis) : first F a b c c k=0 := by simp [first] |
| 96 | |
| 97 | end YM.UVNext.FreeStress |