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.Mink.Lorentz |
| 2 | import Mathlib.Analysis.SpecialFunctions.Trigonometric.DerivHyp |
| 3 | import Mathlib.Analysis.SpecialFunctions.Artanh |
| 4 | |
| 5 | /-! |
| 6 | Positive-rapidity convention. Cone via halfspace transport. |
| 7 | E eq:osconeM and . Shared with full-tube phase and analytic exchange. |
| 8 | -/ |
| 9 | set_option autoImplicit false |
| 10 | noncomputable section |
| 11 | namespace YM.Mink |
| 12 | open Set Filter Function Real |
| 13 | open scoped Topology Matrix.Norms.Frobenius InnerProductSpace BigOperators |
| 14 | |
| 15 | abbrev Ray := {e : Space3 // ‖e‖ = 1} |
| 16 | |
| 17 | namespace Ray |
| 18 | variable (e : Ray) |
| 19 | |
| 20 | def along (x : E4) := inner ℝ (spatial x) e.val |
| 21 | |
| 22 | def alongL : E4 →L[ℝ] ℝ := LinearMap.toContinuousLinearMap |
| 23 | { toFun := e.along |
| 24 | map_add' _ _ := by simp [along,inner_add_left] |
| 25 | map_smul' _ _ := by simp [along,real_inner_smul_left] } |
| 26 | |
| 27 | def crossT : Coord := clockL.smulRight (position e.val 0) + e.alongL.smulRight (basis timeAxis) |
| 28 | def scalesT : Coord := clockL.smulRight (basis timeAxis) + e.alongL.smulRight (position e.val 0) |
| 29 | |
| 30 | def shift (r : ℝ) : Coord := ContinuousLinearMap.id ℝ E4 + sinh r • e.crossT + (cosh r-1) • e.scalesT |
| 31 | |
| 32 | @[simp] theorem alongL_at (x : E4) : e.alongL x = e.along x := rfl |
| 33 | lemma along_le (x : E4) : |e.along x| ≤ ‖spatial x‖ := by |
| 34 | rw [along];simpa only [e.property, mul_one] using abs_real_inner_le_norm (spatial x) e.val |
| 35 | |
| 36 | @[simp] theorem ticksT (x) : time (e.crossT x)=e.along x := by simp [crossT] |
| 37 | @[simp] theorem liesT (x) : spatial (e.crossT x)=time x • e.val := by simp [crossT] |
| 38 | @[simp] theorem ticksS (x) : time (e.scalesT x)=time x := by simp [scalesT] |
| 39 | @[simp] theorem liesS (x) : spatial (e.scalesT x)=e.along x • e.val := by simp [scalesT] |
| 40 | |
| 41 | lemma newClock (r x) : time (e.shift r x)=cosh r*time x + sinh r*e.along x := by |
| 42 | simp [shift];ring |
| 43 | lemma newSpace (r x) : spatial (e.shift r x)=spatial x+(sinh r*time x+(cosh r-1)*e.along x) • e.val := by |
| 44 | simp [shift,add_smul,mul_smul,add_assoc] |
| 45 | lemma newProjection (r x) : e.along (e.shift r x)=sinh r*time x+cosh r*e.along x := by |
| 46 | unfold along; rw [newSpace]; simp [along,inner_add_left, inner_smul_left,e.property]; ring |
| 47 | |
| 48 | lemma adds (r s : ℝ) (x) : e.shift r (e.shift s x)=e.shift (r+s) x := by |
| 49 | apply ext_by |
| 50 | · simp_rw [newSpace,newClock,newProjection,add_assoc]; rw [← add_smul]; congr 2 |
| 51 | rw [sinh_add,cosh_add]; ring |
| 52 | rw [newClock,newClock,newClock,newProjection,cosh_add,sinh_add];ring |
| 53 | |
| 54 | @[simp] lemma beginShift : e.shift 0 = 1 := by ext1 x;simp [shift] |
| 55 | |
| 56 | def motion (r : ℝ) : General where |
| 57 | val := e.shift r |
| 58 | inv := e.shift (-r) |
| 59 | val_inv := by ext1 x; change e.shift r (e.shift (-r) x)=x; simp [adds] |
| 60 | inv_val := by ext1 x; change e.shift (-r) (e.shift r x)=x; simp [adds] |
| 61 | |
| 62 | @[simp] theorem steps (t x) : General.walk (e.motion t) x=e.shift t x := rfl |
| 63 | @[simp] theorem start : e.motion 0=1 := General.ext _ _ (by simp) |
| 64 | @[simp] theorem groupL (t r : ℝ) : e.motion (t+r)=e.motion t*e.motion r := General.ext _ _ (fun x => (adds e t r x).symm) |
| 65 | @[simp] theorem flip (t : ℝ) : (e.motion t)⁻¹ = e.motion (-t) := General.ext _ _ fun _ => rfl |
| 66 | |
| 67 | lemma positive (t : ℝ) : General.stretch (e.motion t)=1 := by |
| 68 | -- This boost is conjugate to its inverse and has positive determinant by dividing rapidity in two |
| 69 | let D (t : ℝ) := General.stretch (e.motion t) |
| 70 | have ht (r : ℝ) : D (t+r)=D t * D r := by simp [D] |
| 71 | have hm : Lorentz.reverseL * e.motion t * Lorentz.reverseL⁻¹ = e.motion (-t) := by |
| 72 | apply General.ext; intro x |
| 73 | apply ext_by |
| 74 | · simp [newSpace, along,add_smul,add_comm,add_left_comm, add_assoc] |
| 75 | simp [newClock,along] |
| 76 | have he : D t=D (-t) := by |
| 77 | change General.stretch _ = General.stretch _; rw [← hm] |
| 78 | have hp : General.stretch Lorentz.reverseL*General.stretch Lorentz.reverseL⁻¹ =1 := by rw [← General.comp,mul_inv_cancel,General.north] |
| 79 | rw [General.comp,General.comp,mul_assoc,mul_left_comm, hp,mul_one] |
| 80 | have hh := ht (-t); rw [add_neg_cancel, show D 0=1 by simp [D],← he] at hh |
| 81 | have hn : D t = D (t/2)*D (t/2) := by |
| 82 | unfold D; rw [← General.comp, ← groupL, add_halves] |
| 83 | change D t=1 |
| 84 | nlinarith [sq_nonneg (D (t/2))] |
| 85 | |
| 86 | lemma staysM (t : ℝ) (x : E4) : m (e.shift t x) = m x := by |
| 87 | simp only [m,newClock,newSpace] |
| 88 | rw [norm_add_sq_real,real_inner_smul_right,norm_smul,Real.norm_eq_abs,e.property,mul_one,sq_abs] |
| 89 | rw [show inner ℝ (spatial x) e.val=e.along x from rfl] |
| 90 | linear_combination (time x^2-(e.along x)^2) * cosh_sq_sub_sinh_sq t |
| 91 | |
| 92 | def boost (t : ℝ) : Lorentz := ⟨e.motion t,by |
| 93 | have hm (t : ℝ) (x : E4) (h : x ∈ cone) : General.walk (e.motion t) x ∈ cone := by |
| 94 | refine (cone_self _).mpr ⟨?_, e.staysM t x |>.symm ▸ ((cone_self _).mp h).2⟩ |
| 95 | have he : |sinh t|≤cosh t := le_of_sq_le_sq (by rw [sq_abs]; linarith [cosh_sq_sub_sinh_sq t]) (cosh_pos t).le |
| 96 | have hh := (abs_le.mp (show |sinh t * e.along x| ≤ cosh t*time x from abs_mul .. |>.trans_le |
| 97 | (mul_le_mul he ((e.along_le x).trans h) (abs_nonneg _) (cosh_pos t).le))).1 |
| 98 | rw [e.steps,newClock];linarith |
| 99 | refine ⟨e.positive t, e.staysM t, fun x => ⟨fun h => ?_,hm t x⟩⟩ |
| 100 | have he := hm (-t) _ h |
| 101 | rwa [← General.walk_mul,← e.groupL,neg_add_cancel,e.start,General.walk_one] at he⟩ |
| 102 | |
| 103 | @[simp] theorem boost_at (t x) : Lorentz.act (e.boost t) x=e.shift t x := rfl |
| 104 | @[simp] theorem boost_start : e.boost 0=1 := Subtype.ext e.start |
| 105 | @[simp] theorem boost_add (t r : ℝ) : e.boost (t+r)=e.boost t*e.boost r := Subtype.ext (e.groupL ..) |
| 106 | @[simp] theorem boost_neg (t : ℝ) : (e.boost t)⁻¹=e.boost (-t) := Subtype.ext (e.flip ..) |
| 107 | |
| 108 | lemma continuousBoost : Continuous e.boost := by |
| 109 | have he : Continuous e.motion := Units.continuous_iff.mpr |
| 110 | ⟨show Continuous e.shift from by unfold shift;fun_prop, |
| 111 | show Continuous (fun r => e.shift (-r)) from by unfold shift;fun_prop⟩ |
| 112 | exact Continuous.subtype_mk he _ |
| 113 | |
| 114 | theorem generator : HasDerivAt (fun t => Lorentz.act (e.boost t)) e.crossT 0 := by |
| 115 | change HasDerivAt e.shift _ _ |
| 116 | simpa [shift,show (0:ℝ) • e.scalesT=0 by ext1; simp] using! ((hasDerivAt_const 0 (ContinuousLinearMap.id ℝ E4)).add ((hasDerivAt_sinh 0).smul_const |
| 117 | e.crossT)).add (((hasDerivAt_cosh 0).sub_const 1).smul_const e.scalesT) |
| 118 | |
| 119 | /-- Convenient positive coordinate ray. -/ |
| 120 | def fromAxis (a : SpaceAxis) : Ray := ⟨EuclideanSpace.single a 1, by simp⟩ |
| 121 | @[simp] theorem onAxis (a : SpaceAxis) (x) : along (fromAxis a) x=x a.castSucc := by |
| 122 | rw [along]; dsimp only [fromAxis]; rw [EuclideanSpace.inner_single_right];simp [spatial] |
| 123 | |
| 124 | @[simp] theorem time_gen (a : SpaceAxis) (x) : time ((fromAxis a).crossT x)=x a.castSucc := by simp |
| 125 | |
| 126 | /-- Positive boost sign used in the boost Lie contract. -/ |
| 127 | @[simp] theorem space_gen (a : SpaceAxis) (x : E4) (b : SpaceAxis) : spatial ((fromAxis a).crossT x) b = |
| 128 | if b=a then x timeAxis else 0 := by |
| 129 | by_cases h : b=a <;> simp [fromAxis,time, PiLp.single_apply, *,eq_comm] |
| 130 | end Ray |
| 131 | |
| 132 | namespace Lorentz |
| 133 | /-- joint halfspace assertion for every Lorentz-transformed word |
| 134 | *really* sharpens to the cone (in the Euclidean frequency convention). -/ |
| 135 | theorem from_half (x : E4) : x ∈ cone ↔ ∀ g : Lorentz, 0 ≤ time (act g.dual x) := by |
| 136 | constructor |
| 137 | · exact fun h g => ((cone_self _).mp ((keepsCone _ _).mpr h)).1 |
| 138 | intro H |
| 139 | have he : 0 ≤ time x := by |
| 140 | have h := H (dual (1 : Lorentz)); simpa only [dual_involution,act_one] using h |
| 141 | change ‖spatial x‖ ≤ time x |
| 142 | by_contra! h |
| 143 | let T := ‖spatial x‖ |
| 144 | have hp : 0<T := he.trans_lt h |
| 145 | let u : Ray := ⟨T⁻¹ • spatial x,by rw [norm_smul,Real.norm_eq_abs, abs_of_pos (inv_pos.mpr hp),inv_mul_cancel₀ hp.ne']⟩ |
| 146 | obtain ⟨s,hs,hw⟩ := exists_between (show time x/T<1 by rw [div_lt_iff₀ hp, one_mul];exact h) |
| 147 | have hu : 0<s := (div_nonneg he hp.le).trans_lt hs |
| 148 | let t := artanh s |
| 149 | have hv : sinh t = s * cosh t := by |
| 150 | apply (div_eq_iff (cosh_pos _).ne').mp; rw [← tanh_eq_sinh_div_cosh]; exact tanh_artanh ⟨by linarith,hw⟩ |
| 151 | have hA := H (dual (u.boost (-t))) |
| 152 | rw [dual_involution,Ray.boost_at,Ray.newClock, sinh_neg, cosh_neg,hv] at hA |
| 153 | have hb : u.along x=T := by |
| 154 | simp only [u,Ray.along, real_inner_smul_right,real_inner_self_eq_norm_sq, pow_two] |
| 155 | change T⁻¹ * (T*T) = T; field_simp |
| 156 | rw [hb] at hA |
| 157 | have hh := (mul_lt_mul_of_pos_left ((div_lt_iff₀ hp).mp hs) (cosh_pos t)) |
| 158 | linarith |
| 159 | |
| 160 | end Lorentz |
| 161 | end YM.Mink |