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.Labels.Polynomial |
| 2 | import YM.Maxwell.Exterior |
| 3 | import YM.UVNext.FREE_STRESS_CERTIFICATE.Color |
| 4 | |
| 5 | |
| 6 | |
| 7 | /-! Equivariant color factorization of the actual radial jets. -/ |
| 8 | set_option autoImplicit false |
| 9 | noncomputable section |
| 10 | namespace YM.UVNext.FreeStress |
| 11 | open Labels Tensor Maxwell Function |
| 12 | open scoped RealInnerProductSpace |
| 13 | variable {G : Gauge} {j l : ℕ} |
| 14 | |
| 15 | def clone (L : G.Color →ₗ[ℝ] G.Color) : Taylor G j →ₗ[ℝ] Taylor G j where |
| 16 | toFun A := ⟨fun i => L.toContinuousLinearMap.compContinuousMultilinearMap (A.val i), by |
| 17 | refine ⟨fun i s r => congr_arg L (A.property.1 i s r),fun z => ?_⟩ |
| 18 | change ∑ i : Axis, z i • L (A.value i z) = _ |
| 19 | rw [← L.map_zero, ← A.radial_value z,map_sum]; simp only [map_smul]⟩ |
| 20 | map_add' := by intro x y; apply Subtype.ext; funext i; ext1; exact map_add L _ _ |
| 21 | map_smul' := by intro c x; apply Subtype.ext; funext i; ext1; exact map_smul L _ _ |
| 22 | |
| 23 | @[simp] theorem clone_value (L : G.Color →ₗ[ℝ] G.Color) (A : Taylor G j) (i x) : |
| 24 | (clone L A).value i x = L (A.value i x) := rfl |
| 25 | |
| 26 | def dye (x : G.Color) (A : Taylor G j) : G.Color →ₗ[ℝ] Taylor G j where |
| 27 | toFun y := clone ((innerₛₗ ℝ x).smulRight y) A |
| 28 | map_add' a b := by |
| 29 | apply Taylor.value_ext; funext i v |
| 30 | change (inner ℝ x (A.value i v)) • (a+b) = (inner ℝ x (A.value i v)) • a + (inner ℝ x (A.value i v)) • b |
| 31 | rw [smul_add] |
| 32 | map_smul' t a := by |
| 33 | apply Taylor.value_ext; funext i v |
| 34 | change (inner ℝ x (A.value i v)) • (t • a) = t • ((inner ℝ x (A.value i v)) • a) |
| 35 | rw [smul_comm] |
| 36 | |
| 37 | @[simp] theorem dye_value (x : G.Color) (A : Taylor G j) (y i z) : |
| 38 | (dye x A y).value i z = (inner ℝ x (A.value i z)) • y := rfl |
| 39 | |
| 40 | @[simp] theorem paint_dye (x : G.Color) (A : Taylor G j) (y) (u : G.El) : |
| 41 | Taylor.paint u (dye x A y) = dye x A (G.adjoint u y) := by |
| 42 | apply Taylor.value_ext; funext i v; simp |
| 43 | |
| 44 | def valueAt (i : Axis) (z : E4) : Taylor G j →ₗ[ℝ] G.Color where |
| 45 | toFun A := A.value i z |
| 46 | map_add' _ _ := rfl |
| 47 | map_smul' _ _ := rfl |
| 48 | |
| 49 | local notation "paintBasis" => EuclideanSpace.basisFun |
| 50 | |
| 51 | theorem dye_sum (A : Taylor G j) : ∑ i, dye (paintBasis G.ColorIndex ℝ i) A |
| 52 | (paintBasis G.ColorIndex ℝ i) = A := by |
| 53 | apply Taylor.value_ext; funext a v |
| 54 | change valueAt a v (∑ i, _) = _ |
| 55 | rw [map_sum] |
| 56 | change ∑ i, inner ℝ _ (A.value a v) • _ = A.value a v |
| 57 | simpa only [OrthonormalBasis.repr_apply_apply] using ((paintBasis G.ColorIndex ℝ).sum_repr (A.value a v)) |
| 58 | |
| 59 | def dyeJet (x : G.Color) (A : Jet G) : G.Color →ₗ[ℝ] Jet G := LinearMap.pi fun j => dye x (A j) |
| 60 | |
| 61 | theorem no_jet_linear {Y : Type*} [NormedAddCommGroup Y] [NormedSpace ℝ Y] [FiniteDimensional ℝ Y] |
| 62 | (h : G.Simple) (f : Jet G →ₗ[ℝ] Y) (hi : ∀ u v, f (colored u v) = f v) : f=0 := by |
| 63 | apply LinearMap.ext; intro A |
| 64 | have he (x : G.Color) : f.comp (dyeJet x A) = 0 := no_linear h _ (fun u v => by |
| 65 | change f (fun j => dye x (A j) (G.adjoint u v)) = _ |
| 66 | simp_rw [← paint_dye]; exact hi u _) |
| 67 | change f A = 0 |
| 68 | conv_lhs => rw [show A = ∑ i, dyeJet (paintBasis G.ColorIndex ℝ i) A (paintBasis G.ColorIndex ℝ i) |
| 69 | from funext fun j => by rw [Finset.sum_apply]; exact (dye_sum (A j)).symm] |
| 70 | rw [map_sum] |
| 71 | exact Finset.sum_eq_zero fun i _ => LinearMap.congr_fun (he _) _ |
| 72 | |
| 73 | abbrev Place (j : ℕ) := (Axis × Axis) × (Fin j → Axis) |
| 74 | |
| 75 | /-- Actual curl Taylor coefficient on the specified axes. -/ |
| 76 | def component (p : Place j) : Taylor G j →ₗ[ℝ] G.Color where |
| 77 | toFun A := Maxwell.takeCurl A p.1.1 p.1.2 (YM.basis ∘ p.2) |
| 78 | map_add' A B := by simp [Maxwell.takeCurl, smul_sub, smul_add]; abel |
| 79 | map_smul' u A := by simp [Maxwell.takeCurl, smul_sub, smul_comm u] |
| 80 | |
| 81 | theorem component_clone (p : Place j) (L : G.Color →ₗ[ℝ] G.Color) (A : Taylor G j) : |
| 82 | component p (clone L A) = L (component p A) := by |
| 83 | simp [component, Maxwell.takeCurl, clone] |
| 84 | |
| 85 | @[simp] theorem component_dye (p : Place j) (x y : G.Color) (A : Taylor G j) : |
| 86 | component p (dye x A y) = (inner ℝ x (component p A)) • y := by |
| 87 | change component p (clone _ A) = _ |
| 88 | rw [component_clone]; rfl |
| 89 | |
| 90 | @[simp] theorem component_paint (p : Place j) (u : G.El) (A : Taylor G j) : |
| 91 | component p (Taylor.paint u A) = G.adjoint u (component p A) := |
| 92 | component_clone .. |
| 93 | |
| 94 | theorem captured : Injective (LinearMap.pi (component (G:=G) (j:=j))) := by |
| 95 | intro A B he |
| 96 | apply Maxwell.potential.injective; apply Subtype.ext |
| 97 | funext i a |
| 98 | apply ContinuousMultilinearMap.toMultilinearMap_injective |
| 99 | apply Module.Basis.ext_multilinear (fun _ : Fin j => (paintBasis Axis ℝ).toBasis) |
| 100 | intro v |
| 101 | have ht := congr_fun he ((i,a),v) |
| 102 | change Maxwell.takeCurl A i a (YM.basis ∘ v) = Maxwell.takeCurl B i a (YM.basis ∘ v) at ht |
| 103 | change Maxwell.takeCurl _ _ _ _ = Maxwell.takeCurl _ _ _ _ |
| 104 | simpa [YM.basis, Function.comp_def] using ht |
| 105 | |
| 106 | /-- Even though the components needn't be independent there is an exact |
| 107 | component expansion, with equivariant color legs. -/ |
| 108 | theorem synth (h : G.Simple) (j : ℕ) : |
| 109 | ∃ T : Place j → G.Color →ₗ[ℝ] Taylor G j, |
| 110 | (∀ (A : Taylor G j), ∑ p, T p (component p A) = A) ∧ |
| 111 | (∀ p u x, Taylor.paint u (T p x) = T p (G.adjoint u x)) := by |
| 112 | classical |
| 113 | haveI := h.nontrivial_color |
| 114 | have hz : 0 < G.lieDim := by |
| 115 | rw [Gauge.lieDim, ← G.colorIso.finrank_eq] |
| 116 | exact Module.finrank_pos |
| 117 | let b := paintBasis G.ColorIndex ℝ |
| 118 | let y := b ⟨0,hz⟩ |
| 119 | let E := LinearMap.pi (component (G:=G) (j:=j)) |
| 120 | obtain ⟨R,hR⟩ := E.exists_leftInverse_of_injective (LinearMap.ker_eq_bot.mpr captured) |
| 121 | let S (p : Place j) : Taylor G j := R (Pi.single p y) |
| 122 | refine ⟨fun p => dye y (S p),fun A => ?_,fun p u x => paint_dye ..⟩ |
| 123 | have hA (i) : dye (b i) A y = ∑ p, inner ℝ (b i) (component p A) • S p := by |
| 124 | have he : dye (b i) A y = R (E (dye (b i) A y)) := (LinearMap.congr_fun hR _).symm |
| 125 | rw [he] |
| 126 | simp_rw [S, ← R.map_smul, ← map_sum R] |
| 127 | congr 1; funext p |
| 128 | simp only [Finset.sum_apply, Pi.smul_apply, Pi.single_apply] |
| 129 | change component p (dye _ A y) = _ |
| 130 | simp [component_dye, smul_ite] |
| 131 | apply Taylor.value_ext; funext a v |
| 132 | change valueAt a v (∑ p, _) = _ |
| 133 | rw [map_sum] |
| 134 | change ∑ p, inner ℝ y ((S p).value a v) • component p A = _ |
| 135 | calc |
| 136 | _ = ∑ p, inner ℝ y ((S p).value a v) • ∑ i, inner ℝ (b i) (component p A) • b i := by |
| 137 | simp only [← b.repr_apply_apply, b.sum_repr] |
| 138 | _ = ∑ i, (∑ p, inner ℝ (b i) (component p A) * inner ℝ y ((S p).value a v)) • b i := by |
| 139 | simp_rw [Finset.smul_sum, Finset.sum_smul, smul_smul, mul_comm (inner ℝ y _)] |
| 140 | rw [Finset.sum_comm] |
| 141 | _ = ∑ i, inner ℝ (b i) (A.value a v) • b i := by |
| 142 | apply Finset.sum_congr rfl; intro i _ |
| 143 | congr 1 |
| 144 | have H := congr_arg (fun q => (innerₛₗ ℝ y) (valueAt a v q)) (hA i) |
| 145 | simp only [map_sum,map_smul, smul_eq_mul] at H |
| 146 | change inner ℝ y ((dye (b i) A y).value a v) = _ at H |
| 147 | rw [dye_value, real_inner_smul_right] at H |
| 148 | change inner ℝ (b i) (A.value a v) * inner ℝ y y = _ at H |
| 149 | simpa [y, b.inner_eq_one,valueAt] using H.symm |
| 150 | _ = A.value a v := by simp only [← b.repr_apply_apply,b.sum_repr] |
| 151 | |
| 152 | theorem component_form (h : G.Simple) (B : Taylor G j →ₗ[ℝ] Taylor G l →ₗ[ℝ] ℂ) |
| 153 | (hi : ∀ u x y, B (Taylor.paint u x) (Taylor.paint u y) = B x y) : |
| 154 | ∃ c : Place j → Place l → ℂ, ∀ x y, |
| 155 | B x y = ∑ i, ∑ k, inner ℝ (component i x) (component k y) • c i k := by |
| 156 | classical |
| 157 | obtain ⟨R,hR,hT⟩ := synth h j; obtain ⟨S,hS,hV⟩ := synth h l |
| 158 | let f i k : G.Color →ₗ[ℝ] G.Color →ₗ[ℝ] ℂ := (((B.comp (R i)).flip.comp (S k)).flip) |
| 159 | choose c hc using fun i k => complex_color_form h (f i k) (fun u x y => by |
| 160 | change B (R i (G.adjoint u x)) (S k (G.adjoint u y)) = _ |
| 161 | rw [← hT, ← hV,hi]; rfl) |
| 162 | refine ⟨c,fun x y => ?_⟩ |
| 163 | conv_lhs => rw [← hR x, ← hS y] |
| 164 | simp only [map_sum,LinearMap.sum_apply] |
| 165 | rw [Finset.sum_comm] |
| 166 | exact Finset.sum_congr rfl fun i _ => Finset.sum_congr rfl fun k _ => hc i k _ _ |
| 167 | |
| 168 | end YM.UVNext.FreeStress |