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.BOUNDARY.Coordinates |
| 2 | import YM.Work.A16 |
| 3 | |
| 4 | /-! |
| 5 | # A decomposition differentiable along matrix paths into axis boosts and spatial rotation |
| 6 | |
| 7 | We use this instead of an arbitrary choice of product given by generation. |
| 8 | It is global, including at elements which are spatial rotations, and right-equivariant |
| 9 | with respect to the spatial stabilizer. All the differential lemmas needed are |
| 10 | stated along ordinary differentiable paths of *matrices*, not using a manifold |
| 11 | structure on the subgroup. Elimination order is 0,1,2 in the 3 *space* axes. |
| 12 | -/ |
| 13 | |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.Next.BOUNDARY.Descent |
| 17 | open Function Filter Set Mink Real |
| 18 | open scoped Topology InnerProductSpace Matrix.Norms.Frobenius |
| 19 | |
| 20 | def speed (i : SpaceAxis) (g : Lorentz) := mat g i.castSucc timeAxis/mat g timeAxis timeAxis |
| 21 | |
| 22 | def rapidity (i : SpaceAxis) (g : Lorentz) := artanh (speed i g) |
| 23 | |
| 24 | def reduce (i : SpaceAxis) (g : Lorentz) := boost i (-(rapidity i g)) * g |
| 25 | |
| 26 | private lemma duration_positive (g : Lorentz) : 0 < mat g timeAxis timeAxis := by |
| 27 | have he : basis timeAxis ∈ inside := by |
| 28 | change ‖spatial (basis timeAxis)‖ < time _ |
| 29 | simp |
| 30 | rw [mat, entry]; exact ((strict_self _).1 ((g.stays _).mpr he)).1 |
| 31 | |
| 32 | private lemma speed_inside (i : SpaceAxis) (g : Lorentz) : speed i g ∈ Ioo (-1 : ℝ) 1 := by |
| 33 | have he : basis timeAxis ∈ inside := by |
| 34 | change ‖spatial (basis timeAxis)‖ < time _; simp |
| 35 | let x := g.act (basis timeAxis) |
| 36 | have hh : x∈inside := (g.stays _).mpr he |
| 37 | have hm := (duration_positive g) |
| 38 | have hk : |x i.castSucc| < time x := by |
| 39 | rw [← Ray.onAxis]; exact ((Ray.fromAxis i).along_le x).trans_lt hh |
| 40 | have hf : mat g i.castSucc timeAxis = x i.castSucc := entry .. |
| 41 | have ht : mat g timeAxis timeAxis=time x := entry .. |
| 42 | rw [speed,hf,ht]; rw [ht] at hm |
| 43 | rw [abs_lt] at hk |
| 44 | exact ⟨(lt_div_iff₀ hm).mpr (by linarith [hk.1]), (div_lt_iff₀ hm).mpr (by linarith [hk.2])⟩ |
| 45 | |
| 46 | lemma reduces (i : SpaceAxis) (g : Lorentz) : spatial ((reduce i g).act (basis timeAxis)) i=0 := by |
| 47 | let e := Ray.fromAxis i |
| 48 | let x := g.act (basis timeAxis) |
| 49 | let r := rapidity i g |
| 50 | have hT := duration_positive g |
| 51 | rw [mat, entry] at hT |
| 52 | have hr : sinh r/cosh r = e.along x/time x := by |
| 53 | rw [← tanh_eq_sinh_div_cosh]; exact (Real.tanh_artanh (speed_inside i g)).trans (by |
| 54 | unfold speed; simp only [e, Ray.onAxis,x,mat,entry]; rfl) |
| 55 | have hh := (div_eq_div_iff (cosh_pos _).ne' (show time x ≠ 0 from hT.ne')).mp hr |
| 56 | change ((e.shift (-r) x) i.castSucc) = 0 |
| 57 | rw [← Ray.onAxis] |
| 58 | change e.along (e.shift (-r) x)=0 |
| 59 | rw [Ray.newProjection, sinh_neg, cosh_neg]; linarith |
| 60 | |
| 61 | lemma undo_reduce (i : SpaceAxis) (g : Lorentz) : boost i (rapidity i g) * reduce i g = g := by |
| 62 | rw [reduce, ← mul_assoc, boost, boost, ← Ray.boost_add] |
| 63 | simp |
| 64 | |
| 65 | lemma keep_reduce (i j : SpaceAxis) (h : j≠i) (g : Lorentz) : |
| 66 | spatial ((reduce i g).act (basis timeAxis)) j = spatial (g.act (basis timeAxis)) j := by |
| 67 | rw [reduce,Lorentz.act_mul,boost, Ray.boost_at] |
| 68 | exact Work.A16.boost_keeps_other i j h _ _ |
| 69 | |
| 70 | -- names for the parameters; reduction order explicit |
| 71 | |
| 72 | def b0 (g : Lorentz) := rapidity 0 g |
| 73 | def b1 (g : Lorentz) := rapidity 1 (reduce 0 g) |
| 74 | def b2 (g : Lorentz) := rapidity 2 (reduce 1 (reduce 0 g)) |
| 75 | |
| 76 | def restG (g : Lorentz) := reduce 2 (reduce 1 (reduce 0 g)) |
| 77 | |
| 78 | lemma fixes_time (g : Lorentz) : (restG g).act (basis timeAxis)=basis timeAxis := by |
| 79 | have he : spatial ((restG g).act (basis timeAxis))=0 := by |
| 80 | apply PiLp.ext; intro i |
| 81 | change spatial ((restG g).act (basis timeAxis)) i = 0 |
| 82 | fin_cases i |
| 83 | · rw [restG, keep_reduce _ _ (by decide),keep_reduce _ _ (by decide)]; exact reduces 0 g |
| 84 | · rw [restG, keep_reduce _ _ (by decide)]; exact reduces _ _ |
| 85 | exact reduces _ _ |
| 86 | apply ext_by |
| 87 | · simpa using he |
| 88 | have ht := (restG g).keeps (basis timeAxis) |
| 89 | simp only [m, he, roll_clock, roll_space,norm_zero] at ht |
| 90 | have hh := duration_positive (restG g) |
| 91 | rw [mat, entry] at hh |
| 92 | have hp : 0 < time ((restG g).act (basis timeAxis)) := hh |
| 93 | rw [roll_clock]; nlinarith |
| 94 | |
| 95 | /-- Choice here is of the spatial Lorentz element read as Ortho. The output is |
| 96 | unique, by the `mat` readout. -/ |
| 97 | def orientation (g : Lorentz) : Ortho := |
| 98 | (Work.A16.exists_room_of_fix (restG g) (fixes_time g)).choose |
| 99 | |
| 100 | lemma oriented (g : Lorentz) : Lorentz.spatialTurn (orientation g) := |
| 101 | (Work.A16.exists_room_of_fix (restG g) (fixes_time g)).choose_spec.choose |
| 102 | |
| 103 | lemma read_out (g : Lorentz) : Lorentz.room (orientation g) (oriented g)=restG g := |
| 104 | (Work.A16.exists_room_of_fix (restG g) (fixes_time g)).choose_spec.choose_spec |
| 105 | |
| 106 | lemma as_matrix (g : Lorentz) : (orientation g).val = mat (restG g) := by |
| 107 | rw [← read_out,mat_room] |
| 108 | |
| 109 | lemma factors (g : Lorentz) : boost 0 (b0 g) * (boost 1 (b1 g) * |
| 110 | (boost 2 (b2 g) * Lorentz.room (orientation g) (oriented g))) = g := by |
| 111 | rw [read_out]; unfold b0 b1 b2 restG |
| 112 | repeat' rw [undo_reduce] |
| 113 | |
| 114 | lemma rapidity_right (i : SpaceAxis) (g : Lorentz) (k : Ortho) (h : Lorentz.spatialTurn k) : |
| 115 | rapidity i (g*Lorentz.room k h)=rapidity i g := by |
| 116 | simp only [rapidity, speed, mat, entry, Lorentz.act_mul, room_time_fixed] |
| 117 | |
| 118 | lemma reduce_right (i : SpaceAxis) (g : Lorentz) (k : Ortho) (h : Lorentz.spatialTurn k) : |
| 119 | reduce i (g*Lorentz.room k h)=reduce i g * Lorentz.room k h := by |
| 120 | rw [reduce,reduce,rapidity_right, mul_assoc] |
| 121 | |
| 122 | lemma orient_right (g : Lorentz) (k : Ortho) (h : Lorentz.spatialTurn k) : |
| 123 | orientation (g*Lorentz.room k h) = orientation g * k := by |
| 124 | apply Subtype.ext |
| 125 | change (orientation _).val = (orientation g).val*k.val |
| 126 | rw [as_matrix, as_matrix]; unfold restG |
| 127 | rw [reduce_right,reduce_right 1,reduce_right 2,mat_mul,mat_room] |
| 128 | |
| 129 | lemma rapidity_one (i : SpaceAxis) : rapidity i 1=0 := by |
| 130 | simp [rapidity, speed, mat_one] |
| 131 | |
| 132 | lemma reduce_one (i : SpaceAxis) : reduce i 1=1 := by |
| 133 | simp [reduce, boost, rapidity_one] |
| 134 | |
| 135 | lemma orientation_one : orientation 1=1 := by |
| 136 | apply Subtype.ext |
| 137 | change (orientation 1).val = (1 : M4) |
| 138 | rw [as_matrix]; simp only [restG,reduce_one,mat_one] |
| 139 | |
| 140 | /- Continuity and along-path differentiability, from global denominators. -/ |
| 141 | |
| 142 | private lemma artanh_diff {x : ℝ} (hx : x ∈ Ioo (-1 : ℝ) 1) : DifferentiableAt ℝ artanh x := by |
| 143 | have he : 0 < 1+x := by linarith [hx.1] |
| 144 | have hm : 0 < 1-x := by linarith [hx.2] |
| 145 | have hf : DifferentiableAt ℝ (fun x : ℝ => (1+x)/(1-x)) x := |
| 146 | ((differentiableAt_const _).add differentiableAt_id).div |
| 147 | ((differentiableAt_const _).sub differentiableAt_id) hm.ne' |
| 148 | exact (hf.sqrt (div_pos he hm).ne').log (Real.sqrt_pos.2 (div_pos he hm)).ne' |
| 149 | |
| 150 | private def coordAt (j k : Axis) : M4→L[ℝ] ℝ := LinearMap.toContinuousLinearMap { |
| 151 | toFun m := m j k, map_add' := fun _ _ => rfl, map_smul' := fun _ _ => rfl } |
| 152 | |
| 153 | lemma rapidity_cont (i : SpaceAxis) : Continuous (rapidity i) := by |
| 154 | have hv : Continuous (speed i) := ((coordAt i.castSucc timeAxis).continuous.comp mat_continuous).div |
| 155 | ((coordAt timeAxis timeAxis).continuous.comp mat_continuous) (fun g => (duration_positive g).ne') |
| 156 | refine continuous_iff_continuousAt.mpr (fun g => ?_) |
| 157 | exact (artanh_diff (speed_inside i g)).continuousAt.comp hv.continuousAt |
| 158 | |
| 159 | lemma reduce_cont (i : SpaceAxis) : Continuous (reduce i) := by |
| 160 | exact ((Ray.fromAxis i).continuousBoost.comp (rapidity_cont i).neg).mul continuous_id |
| 161 | |
| 162 | lemma rest_continuous : Continuous restG := (reduce_cont 2).comp ((reduce_cont 1).comp (reduce_cont 0)) |
| 163 | |
| 164 | lemma orientation_cont : Continuous orientation := by |
| 165 | refine continuous_induced_rng.mpr ?_ |
| 166 | simp_rw [Function.comp_def,as_matrix]; exact mat_continuous.comp rest_continuous |
| 167 | |
| 168 | lemma rapidity_diff (i : SpaceAxis) {g : ℝ → Lorentz} {x : ℝ} (h : DifferentiableAt ℝ (fun t => mat (g t)) x) : |
| 169 | DifferentiableAt ℝ (fun t => rapidity i (g t)) x := by |
| 170 | have he : DifferentiableAt ℝ (fun t => speed i (g t)) x := |
| 171 | (((coordAt i.castSucc timeAxis).differentiableAt).comp x h).div |
| 172 | (((coordAt timeAxis timeAxis).differentiableAt).comp x h) (duration_positive (g x)).ne' |
| 173 | exact (artanh_diff (speed_inside i (g x))).comp x he |
| 174 | |
| 175 | lemma reduce_diff (i : SpaceAxis) {g : ℝ → Lorentz} {x : ℝ} (h : DifferentiableAt ℝ (fun t => mat (g t)) x) : |
| 176 | DifferentiableAt ℝ (fun t => mat (reduce i (g t))) x := by |
| 177 | simp_rw [reduce, mat_mul] |
| 178 | exact (((at_boost i _).differentiableAt).comp x (rapidity_diff i h).neg).mul h |
| 179 | |
| 180 | lemma orient_diff {g : ℝ → Lorentz} {x : ℝ} (h : DifferentiableAt ℝ (fun t => mat (g t)) x) : |
| 181 | DifferentiableAt ℝ (fun t => (orientation (g t)).val) x := by |
| 182 | simp_rw [as_matrix]; exact reduce_diff 2 (reduce_diff 1 (reduce_diff 0 h)) |
| 183 | |
| 184 | end YM.Next.BOUNDARY.Descent |