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 Mathlib.Analysis.Fourier.AddCircleMulti |
| 2 | import Mathlib.Analysis.ODE.ExistUnique |
| 3 | import YM.Next.MAXWELL.Scripts |
| 4 | import YM.Pressure.Seeds |
| 5 | import YM.Work.A16 |
| 6 | |
| 7 | |
| 8 | |
| 9 | /-! |
| 10 | # Continuing the tensor matrices to the actual Lorentz group |
| 11 | |
| 12 | Time sign fixed by `plane timeAxis i.castSucc` and the convention in |
| 13 | Ray.shift. Only propagate entire identities, one boost at a time; |
| 14 | no path-connectedness shortcut for a higher dimensional zero set. |
| 15 | -/ |
| 16 | set_option autoImplicit false |
| 17 | noncomputable section |
| 18 | namespace YM.Maxwell.Free |
| 19 | open Set Function Filter Analysis Complex Mink |
| 20 | open scoped ContDiff Topology BigOperators InnerProductSpace ComplexOrder |
| 21 | |
| 22 | /-- Entry-wise Wick rotation embedding. -/ |
| 23 | def lamp (a : Axis) : ℂ := if a=timeAxis then -I else 1 |
| 24 | |
| 25 | def stencil (L : Lorentz) : Ink := |
| 26 | fun a b => lamp a * (Lorentz.act L (basis b) a : ℂ) * (lamp b)⁻¹ |
| 27 | |
| 28 | @[simp] lemma lamp_nz (a) : lamp a≠0 := by unfold lamp; split_ifs <;> simp |
| 29 | |
| 30 | lemma stencil_cont : Continuous stencil := by |
| 31 | apply continuous_pi; intro a; apply continuous_pi; intro b |
| 32 | let f : Lorentz → E4 := fun L => Lorentz.act L (basis b) |
| 33 | have h : Continuous f := Lorentz.usual.clm_apply continuous_const |
| 34 | exact (continuous_const.mul (continuous_ofReal.comp ((EuclideanSpace.proj (𝕜:=ℝ) a).continuous.comp h))).mul continuous_const |
| 35 | |
| 36 | def follow (A B : Ink) : Ink := fun i j => ∑ k, A i k*B k j |
| 37 | |
| 38 | lemma follow_left (A : Ink) : ContDiff ℂ ω (fun B => follow A B) := by |
| 39 | unfold follow; apply contDiff_pi.mpr; intro i; apply contDiff_pi.mpr; intro j |
| 40 | apply ContDiff.sum; intro k _; fun_prop |
| 41 | lemma follow_right (B : Ink) : ContDiff ℂ ω (fun A => follow A B) := by |
| 42 | unfold follow; apply contDiff_pi.mpr; intro i; apply contDiff_pi.mpr; intro j |
| 43 | apply ContDiff.sum; intro k _; fun_prop |
| 44 | |
| 45 | lemma stencil_one : stencil 1=paints 1 := by |
| 46 | funext i j |
| 47 | change lamp i * _ * (lamp j)⁻¹ = ((1:M4) i j:ℂ) |
| 48 | by_cases h : i=j |
| 49 | · subst j; simp |
| 50 | simp [h] |
| 51 | |
| 52 | lemma stencil_mul (L P : Lorentz) : stencil (L*P)=follow (stencil L) (stencil P) := by |
| 53 | funext i j |
| 54 | unfold stencil follow |
| 55 | rw [Lorentz.act_mul] |
| 56 | have he : Lorentz.act L (Lorentz.act P (basis j)) i = ∑ k : Axis, (Lorentz.act P (basis j)) k * (Lorentz.act L (basis k)) i := by |
| 57 | conv_lhs => rw [show Lorentz.act P (basis j) = ∑ k : Axis, Lorentz.act P (basis j) k • basis k by |
| 58 | ext1 k; simp] |
| 59 | rw [map_sum]; simp |
| 60 | simp_rw [he, Complex.ofReal_sum,Complex.ofReal_mul,Finset.mul_sum,Finset.sum_mul] |
| 61 | apply Finset.sum_congr rfl; intro k _; field_simp |
| 62 | |
| 63 | |
| 64 | lemma follows (A B : Ortho) : follow (paints A) (paints B)=paints (A*B) := by |
| 65 | ext i j; simp only [follow, paints, ← Complex.ofReal_mul,← Complex.ofReal_sum]; rfl |
| 66 | |
| 67 | lemma spatial_axis (s : Ortho) (h : Lorentz.spatialTurn s) : s.move (basis timeAxis)=basis timeAxis := by |
| 68 | apply eq_of_sub_eq_zero |
| 69 | let y := s.motion (basis timeAxis) |
| 70 | have ht : ⟪basis timeAxis,y⟫_ℝ = 1 := by rw [basis_inner]; exact (h.2 (basis timeAxis)).trans (by simp [time]) |
| 71 | have he : ‖y‖ = 1 := by exact (s.motion.norm_map _).trans (basis_norm _) |
| 72 | have hm : ‖basis timeAxis-y‖^2 = 0 := by rw [norm_sub_sq_real]; simp [he,ht]; ring |
| 73 | have hf : basis timeAxis=y := sub_eq_zero.mp (by simpa using hm) |
| 74 | exact sub_eq_zero.mpr hf.symm |
| 75 | |
| 76 | lemma photos (s : Ortho) (h : Lorentz.spatialTurn s) : stencil (Lorentz.room s h)=paints s := by |
| 77 | funext i j; change lamp i*(s.move (basis j) i : ℂ)*(lamp j)⁻¹ = _ |
| 78 | have he (i j) : stencil (Lorentz.room s h) i j = lamp i*(s.val i j:ℂ)*(lamp j)⁻¹ := by |
| 79 | change lamp i*(s.move (basis j) i : ℂ)*(lamp j)⁻¹ = _; rw [Ortho.move,M4.move_basis] |
| 80 | change _ = (s.val i j:ℂ) |
| 81 | rw [← M4.move_basis s.val i j] |
| 82 | change _ = (s.move (basis j) i:ℂ) |
| 83 | by_cases hx : j=timeAxis |
| 84 | · subst j; rw [spatial_axis s h]; by_cases ht : i=timeAxis |
| 85 | · subst i; simp |
| 86 | simp [basis_eq,ht] |
| 87 | by_cases hu : i=timeAxis |
| 88 | · subst i; have ht : (s.move (basis j)) timeAxis = 0 := (h.2 (basis j)).trans (by simp [time,Ne.symm hx]) |
| 89 | simp [ht] |
| 90 | simp [lamp,hx,hu] |
| 91 | |
| 92 | lemma fixed_inverse {L : Lorentz} (h : Lorentz.act L (basis timeAxis) = basis timeAxis) : |
| 93 | Lorentz.act L⁻¹ (basis timeAxis)=basis timeAxis := by nth_rw 1 [← h]; exact Lorentz.starts .. |
| 94 | |
| 95 | /-- Cos/sin in the indicated rows. -/ |
| 96 | def stroll (a : SpaceAxis) (z : ℂ) : Ink := fun i k => |
| 97 | if i=timeAxis then cos z * (kr timeAxis k:ℂ) + sin z * (kr a.castSucc k:ℂ) |
| 98 | else if i=a.castSucc then cos z * (kr a.castSucc k:ℂ) - sin z * (kr timeAxis k:ℂ) |
| 99 | else (kr i k:ℂ) |
| 100 | |
| 101 | lemma stroll_diff (a : SpaceAxis) : ContDiff ℂ ω (stroll a) := by |
| 102 | apply contDiff_pi.mpr; intro i; apply contDiff_pi.mpr; intro j |
| 103 | by_cases h : i=timeAxis |
| 104 | · simp only [stroll,h, if_true]; fun_prop |
| 105 | by_cases hv : i=a.castSucc |
| 106 | · simp only [stroll,hv,show a.castSucc ≠ timeAxis from Fin.castSucc_ne_last _, if_false, if_true]; fun_prop |
| 107 | simp only [stroll,h,hv,if_false]; exact contDiff_const |
| 108 | |
| 109 | lemma writes_axes (a : SpaceAxis) (r : ℝ) : paints (Ortho.oneParameter (Ortho.plane timeAxis a.castSucc) r) = stroll a r := by |
| 110 | have hh : timeAxis ≠ a.castSucc := Ne.symm (Fin.castSucc_ne_last _) |
| 111 | let U := Ortho.oneParameter (Ortho.plane timeAxis a.castSucc) r |
| 112 | funext i k |
| 113 | obtain ⟨hf,hg,ht⟩ := Work.A13.plane_givens hh (basis k) r |
| 114 | rw [paints, ← M4.move_basis (Ortho.oneParameter _ _).val i k]; change (U.move (basis k) i:ℂ) = _ |
| 115 | unfold stroll; split_ifs with h h |
| 116 | · subst i; rw [show U.move (basis k) _ = _ from hf]; push_cast; rfl |
| 117 | · subst i; rw [show U.move (basis k) _ = _ from hg]; push_cast; rfl |
| 118 | rw [show U.move (basis k) i = _ from ht i (by assumption) (by assumption)]; rfl |
| 119 | |
| 120 | lemma night (a : SpaceAxis) (t : ℝ) : stencil ((Ray.fromAxis a).boost t)=stroll a ((t:ℂ)*(-I)) := by |
| 121 | let U := Ray.fromAxis a |
| 122 | have ht (b k : Axis) (hb : b ≠ timeAxis) (hd : b ≠ a.castSucc) : U.shift t (basis k) b = basis k b := by |
| 123 | obtain ⟨i,rfl⟩ : ∃ i : SpaceAxis, i.castSucc=b := ⟨_, Fin.castSucc_castPred b hb⟩ |
| 124 | exact (Work.A16.boost_keeps_other a i (fun h => hd (congr_arg Fin.castSucc h)) t (basis k)) |
| 125 | |
| 126 | have hi (x : ℝ) : Complex.cos ((x:ℂ)*(-I))=(Real.cosh x:ℂ) := by simp [Complex.cos_mul_I] |
| 127 | have hj (x : ℝ) : Complex.sin ((x:ℂ)*(-I))= -I * (Real.sinh x:ℂ) := by simp [Complex.sin_mul_I, mul_comm Complex.I] |
| 128 | funext i k |
| 129 | unfold stencil; rw [Ray.boost_at]; change lamp i * (U.shift t (basis k) i:ℂ) * (lamp k)⁻¹ = _ |
| 130 | unfold stroll; rw [hi,hj] |
| 131 | have he : timeAxis ≠ a.castSucc := Ne.symm (Fin.castSucc_ne_last a) |
| 132 | split_ifs with h h |
| 133 | · subst i |
| 134 | rw [show (U.shift t (basis k)) timeAxis = _ from U.newClock t (basis k)] |
| 135 | by_cases hk : k=timeAxis |
| 136 | · subst k; simp [lamp, kr, time,Ray.onAxis,U,Ne.symm he, mul_comm Complex.I, mul_assoc] |
| 137 | · simp [lamp, kr, time, Ray.onAxis,U,Ne.symm hk,hk]; split_ifs <;> simp |
| 138 | · subst i |
| 139 | rw [← Ray.onAxis a (U.shift t (basis k)), show _ = _ from U.newProjection t (basis k)] |
| 140 | by_cases hk : k=timeAxis |
| 141 | · subst k; simp [lamp, kr,time,Ray.onAxis,U,Ne.symm he]; ring |
| 142 | · simp [lamp,kr,time,Ray.onAxis,U,hk,Ne.symm hk,Ne.symm he]; split_ifs <;> simp |
| 143 | rw [ht i k (by assumption) (by assumption)] |
| 144 | by_cases H : k=i |
| 145 | · subst k; simp [kr] |
| 146 | simp [kr,Ne.symm H] |
| 147 | |
| 148 | end YM.Maxwell.Free |