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.Push.STRESS_FLUX.FreeTests |
| 2 | import YM.Work.A01.Mirror |
| 3 | |
| 4 | /-! A *common* physical stress tensor label modulo the all-spectator nulls, conserved, |
| 5 | with its ordinary one-point expectation removed, nonzero (given real-H rank comparisons in |
| 6 | the two relevant degrees). Doesn't assume the weak stress or any O(4) law on this Table. |
| 7 | -/ |
| 8 | set_option autoImplicit false |
| 9 | noncomputable section |
| 10 | namespace YM.StressFlux |
| 11 | open Function Gauge Table Climb |
| 12 | open scoped Topology BigOperators Matrix.Norms.Frobenius InnerProductSpace ContDiff |
| 13 | |
| 14 | variable {G : Gauge} {L : Register G} {S : Table L} {d : ℕ} {A : S.RealSpin} |
| 15 | variable (W : DiffPlan S) |
| 16 | |
| 17 | theorem raw_eq {T : S.Stress} (hT : T ∈ TableTwo A) : RawTensor A T := by |
| 18 | intro k a b |
| 19 | have he (t : ℝ) (x : S.Field 4) : (t:ℂ) • x = t • x := IsScalarTower.algebraMap_smul ℂ t x |
| 20 | simp_rw [he,mul_smul,← Finset.smul_sum,signed_sum k b, signed_sum k a,smul_smul] |
| 21 | exact hT.2.2 .. |
| 22 | |
| 23 | theorem deriv_mirror (H : W.Orientation A) (s : Signed) (a : Axis) (x : S.Field d) : |
| 24 | S.mirror A (d+1) s (W.deriv d a x) = sign s a • W.deriv d (s.perm a) (S.mirror A d s x) := by |
| 25 | rw [H.mirrorDer]; simp_rw [show ∀ (t : ℝ) (x : S.Field (d+1)), (t:ℂ) • x = t • x from IsScalarTower.algebraMap_smul ℂ,signed_sum] |
| 26 | |
| 27 | def nabla (T : S.Stress) := fun b => ∑ a, W.deriv 4 a (T a b) |
| 28 | |
| 29 | private lemma deriv_smul (c : ℝ) (a : Axis) (x : S.Field d) : W.deriv d a (c • x) = c • W.deriv d a x := |
| 30 | ((W.deriv d a).restrictScalars ℝ).map_smul c x |
| 31 | |
| 32 | theorem nabla_vector (H : W.Orientation A) {T : S.Stress} (hT : T ∈ TableTwo A) : nabla W T ∈ TableOne A := by |
| 33 | constructor |
| 34 | · intro a; simp [nabla,conjQ,H.realDer,show ∀ a b, S.conj A 4 (T a b)=_ from hT.2.1] |
| 35 | intro s b |
| 36 | change S.mirror A 5 s _ = _ |
| 37 | have he (a : Axis) : S.mirror A 5 s (W.deriv 4 a (T a b)) = sign s b • W.deriv 4 (s.perm a) (T (s.perm a) (s.perm b)) := by |
| 38 | rw [deriv_mirror W H, show S.mirror A 4 s (T a b)=_ from hT.2.2 s a b, mul_smul, deriv_smul,deriv_smul,sign_sign] |
| 39 | simp only [nabla,map_sum, he, ← Finset.smul_sum, Equiv.sum_comp s.perm (fun i => W.deriv 4 i (T i (s.perm b)))] |
| 40 | |
| 41 | def rankOp (H : W.Orientation A) : TableTwo A →ₗ[ℝ] TableOne A where |
| 42 | toFun v := ⟨nabla W v.val,nabla_vector W H v.property⟩ |
| 43 | map_add' v u := by apply Subtype.ext; funext a; change ∑ b : Axis, W.deriv 4 b (v.val b a + u.val b a) = _; simp only [map_add, Finset.sum_add_distrib]; rfl |
| 44 | map_smul' c v := by apply Subtype.ext; funext a; change ∑ b, W.deriv _ _ (c • v.val b a) = c • ∑ b, W.deriv 4 b (v.val b a); simp only [deriv_smul,Finset.smul_sum] |
| 45 | |
| 46 | def average (S : Table L) (z : Points 1) : S.Field d →ₗ[ℂ] ℂ := (S.classMoment S (fun _ => d) z).toLinearMap (fun _ => 0) 0 |
| 47 | lemma average_at (J : S.Stress) (x a b) : oneStress S J x a b = average S x (J a b) := by |
| 48 | rw [oneStress,quad,average,MultilinearMap.toLinearMap_apply] |
| 49 | change S.classMoment S (fun _ => 4) x (fun _ => J a b) = _; congr! 1 |
| 50 | funext i; fin_cases i; simp |
| 51 | |
| 52 | structure Centers (J : S.Stress) : Prop where |
| 53 | center (x : Points 1) a b : oneStress S J x a b = 0 |
| 54 | alive : J ≠ 0 |
| 55 | |
| 56 | private lemma centers_by_symmetry (H : S.Hierarchy) {J : S.Stress} (ht : J ∈ TableTwo H.spin) (hj : (average S 0 (J 0 0)).re = 0) (x : Points 1) (a b : Axis) : oneStress S J x a b = 0 := by |
| 57 | have hx : x ∈ conf _ := fun _ _ _ => Subsingleton.elim .. |
| 58 | have hz : (0 : Points 1) ∈ conf _ := fun _ _ _ => Subsingleton.elim .. |
| 59 | let v i j := (⟨4,J i j⟩ : S.Tag) |
| 60 | have ha : oneStress S J x a b = oneStress S J 0 a b := by |
| 61 | rw [show x = Points.across (x 0) (0 : Points 1) by ext1 i; fin_cases i; simp] |
| 62 | exact H.translations 1 0 hz (x 0) (fun _ => ⟨4,S.representative 4 (J a b)⟩) |
| 63 | have hb (i j : Axis) : star (oneStress S J 0 i j)=oneStress S J 0 i j := by |
| 64 | change star (S.useAt S _ (fun _ => v i j))= _ |
| 65 | rw [← Work.A01.real_eval H.laws.toSymmetric H.spin hz (fun _ => v i j),show Work.A01.realTag H.spin ∘ (fun _ : Fin 1 => v i j)= fun _ => v i j from |
| 66 | funext fun _ => congr_arg (Sigma.mk 4) (ht.2.1 i j)]; rfl |
| 67 | have hp (i j : Axis) (k : Signed) : oneStress S J 0 i j = (sign k i*sign k j) • oneStress S J 0 (k.perm i) (k.perm j) := by |
| 68 | have he (T : S.Stress) := average_at T (0:Points 1) |
| 69 | have hh := Work.A01.mirror_eval H.laws.toSymmetric H.spin hz (fun _ => v i j) k |
| 70 | rw [show Points.move k.ortho (0 : Points 1)=0 from PiLp.ext (fun _ => map_zero (Ortho.motion k.ortho))] at hh |
| 71 | change oneStress S (fun a b => spinQ H.spin k (J a b)) 0 i j = oneStress S J 0 i j at hh |
| 72 | rw [← hh,he,ht.2.2, he] |
| 73 | exact ((average S 0).restrictScalars ℝ).map_smul _ _ |
| 74 | have h0 : oneStress S J 0 0 0 = 0 := Complex.ext ((congr_arg Complex.re (average_at ..)).trans hj) (Complex.conj_eq_iff_im.mp (hb 0 0)) |
| 75 | rw [ha] |
| 76 | by_cases h : a=b |
| 77 | · have he := hp 0 0 (⟨Equiv.swap 0 a, fun _ => false⟩) |
| 78 | rw [h0] at he; rw [← h]; simpa [sign] using he.symm |
| 79 | have he := hp a b (Signed.mirror a) |
| 80 | simp only [sign,Signed.mirror,Equiv.refl_apply,h,decide_true,decide_false,Bool.false_eq_true,reduceIte,mul_one,neg_one_smul] at he |
| 81 | linear_combination he/2 |
| 82 | |
| 83 | lemma material_neg (S : Table L) (w : Coeff) : material S (-w) = -material S w := by funext a b; simp [material,-fromPol_formula] |
| 84 | lemma neg_raw (H : S.Hierarchy) {J : S.Stress} (h1 : Centers J) (ht : J ∈ TableTwo H.spin) (hq : nabla W J=0) : |
| 85 | Centers (-J) ∧ (-J)∈ TableTwo H.spin ∧ nabla W (-J)=0 := by |
| 86 | refine ⟨⟨fun x a b => ?_, neg_ne_zero.mpr h1.alive⟩, (TableTwo H.spin).neg_mem ht, funext fun a => ?_⟩ |
| 87 | · rw [average_at,Pi.neg_apply,Pi.neg_apply,map_neg,← average_at,h1.center,neg_zero] |
| 88 | simpa [nabla, Finset.sum_neg_distrib] using congr_arg Neg.neg (congr_fun hq a) |
| 89 | |
| 90 | /-- existence part using *only* H-ranks at four and five. The coefficients live |
| 91 | in the actual reference label space. The scale and sign here are not yet fixed by the final |
| 92 | continuum Ward tests. -/ |
| 93 | theorem exists_stress (h : G.Simple) (H : S.Hierarchy) (hw : W.Orientation H.spin) {A : (Bel L).RealSpin} |
| 94 | (U4 : Spin.change S 4) (U5 : Spin.change S 5) (h4 : Spin.realH H.spin A U4) (h5 : Spin.realH H.spin A U5) : |
| 95 | ∃ w : Coeff, ‖w‖ = 1 ∧ nabla W (material S w) = 0 ∧ Centers (material S w) := by |
| 96 | let P := rankOp W hw |
| 97 | let R := Complex.reCLM.toLinearMap ∘ₗ ((average S 0).restrictScalars ℝ) ∘ₗ (LinearMap.proj (R:=ℝ) (0:Axis)) ∘ₗ (LinearMap.proj (0:Axis)) ∘ₗ (TableTwo H.spin).subtype |
| 98 | let Y := (P.prod R).comp (tableStress H.spin) |
| 99 | have hn : ¬ Injective Y := by |
| 100 | intro he |
| 101 | have ht := LinearMap.finrank_le_finrank_of_injective he |
| 102 | rw [Module.finrank_fin_fun, Module.finrank_prod,Module.finrank_self] at ht |
| 103 | have hh := compare_five h U5 h5 |
| 104 | omega |
| 105 | obtain ⟨u, hu, hx⟩ : ∃ u : Coeff, Y u = 0 ∧ u ≠ 0 := by by_contra! he; exact hn (LinearMap.ker_eq_bot.mp (LinearMap.ker_eq_bot'.mpr he)) |
| 106 | let w := ‖u‖⁻¹ • u |
| 107 | have he : ‖w‖ = 1 := by simp [w,norm_smul,hx] |
| 108 | have hh : Y w = 0 := by simp only [w,map_smul,hu,smul_zero] |
| 109 | have hn : material S w ≠ 0 := fun e => by |
| 110 | have h0 : w = 0 := (stress_bijective h U4 h4).1 ((Subtype.ext e).trans (map_zero (tableStress H.spin)).symm) |
| 111 | rw [h0,norm_zero] at he; exact zero_ne_one he |
| 112 | refine ⟨w,he,congr_arg (fun v => (v.1 : TableOne H.spin).val) hh, ⟨centers_by_symmetry H ((tableStress H.spin w).property) |
| 113 | (show (average S 0 ((tableStress H.spin w).val 0 0)).re = 0 from congr_arg Prod.snd hh), hn⟩⟩ |
| 114 | |
| 115 | lemma material_conserved (H : S.RealSpin) {w : Coeff} (he : nabla W (material S w)=0) : |
| 116 | Conserved W H (material S w) ∧ RawTensor H (material S w) := |
| 117 | ⟨⟨(tableStress H w).property.1,(tableStress H w).property.2.1, congr_fun he⟩,raw_eq (tableStress H w).property⟩ |
| 118 | end YM.StressFlux |