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.MAXWELL.Affine |
| 2 | import YM.Work.A13 |
| 3 | |
| 4 | |
| 5 | /-! |
| 6 | # Angular action of the same stress on shell jets |
| 7 | |
| 8 | Use the one-parameter group in `Ortho`. The Lie row on polynomials will |
| 9 | read this operator on each leg. |
| 10 | -/ |
| 11 | set_option autoImplicit false |
| 12 | noncomputable section |
| 13 | namespace YM.Maxwell.Free |
| 14 | -- protect from extra imports name collisions |
| 15 | open Set Function Filter Tensor Analysis |
| 16 | open WaveOn |
| 17 | open scoped ContDiff Topology BigOperators InnerProductSpace |
| 18 | |
| 19 | variable {F : Type*} [NormedAddCommGroup F] [InnerProductSpace ℝ F] |
| 20 | variable {G : Gauge} {j : ℕ} |
| 21 | |
| 22 | lemma D_axes (f : E4 → F) (x u : E4) : |
| 23 | (∑ i : Axis, u i • grad i f x) = D u f x := by |
| 24 | unfold grad D; simp_rw [← map_smul (fderiv ℝ f x),← map_sum] |
| 25 | congr 1 |
| 26 | ext1 i; simp |
| 27 | |
| 28 | /-- Acting on the jet by inverse rotation, as used when reading the |
| 29 | transformed *field label*. -/ |
| 30 | lemma rot_point (u : Ortho.Skew) (A : Solution F j) (a b : Axis) (x : E4) : |
| 31 | HasDerivAt (fun t => asWave (solutionTurn (Ortho.oneParameter u t)⁻¹ A) a b x) |
| 32 | (variation (fromCenter u.val 0) (asWave A) a b x) 0 := by |
| 33 | let U : ℝ → Ortho := Ortho.oneParameter u |
| 34 | let f := asWave A |
| 35 | have hz : U 0 = 1 := YM.Work.A13.oneParameter_zero _ |
| 36 | have he (x : E4) : HasDerivAt (fun t => Ortho.move (U t) x) (M4.move u.val x) 0 := by |
| 37 | have h := YM.Work.A13.hasDerivAt_move u x 0 |
| 38 | change HasDerivAt _ (M4.move u.val (Ortho.move (U 0) x)) _ at h |
| 39 | rw [hz, Ortho.move_one] at h; exact h |
| 40 | have hv : Ortho.move (U 0) x = x := by rw [hz,Ortho.move_one] |
| 41 | have hk (a b : Axis) : HasDerivAt (fun t => (U t).val a b) (u.val a b) (0:ℝ) := by |
| 42 | have ht := (EuclideanSpace.proj (𝕜:=ℝ) a).hasFDerivAt.comp_hasDerivAt 0 (he (basis b)) |
| 43 | simpa [Function.comp_def, Ortho.move] using ht |
| 44 | let L := M4.move u.val x |
| 45 | let C (i l : Axis) (t : ℝ) := (U t).val i a * (U t).val l b |
| 46 | have hs (i l : Axis) : HasDerivAt (fun t => f i l (Ortho.move (U t) x)) (D L (f i l) x) (0:ℝ) := by |
| 47 | have H := ((((wavePoly A).smooth i l (Ortho.move (U 0) x) (mem_univ _)).differentiableAt (by simp)).hasFDerivAt).comp_hasDerivAt 0 (he x) |
| 48 | simp only [hv] at H; exact H |
| 49 | have hd (i l : Axis) : HasDerivAt (fun t => C i l t • f i l (Ortho.move (U t) x)) |
| 50 | (((1:M4) i a * (1:M4) l b) • D L (f i l) x + (u.val i a * (1:M4) l b + |
| 51 | (1:M4) i a * u.val l b) • f i l x) (0 : ℝ) := by |
| 52 | have h := ((hk i a).fun_mul (hk l b)).smul (hs i l) |
| 53 | simp only [hz, Ortho.move_one] at h |
| 54 | exact h |
| 55 | simp_rw [rot_wave, fieldTurn,inv_entry,inv_inv]; |
| 56 | refine (HasDerivAt.fun_sum (u := Finset.univ) (fun i _ => HasDerivAt.fun_sum (u := Finset.univ) fun l _ => hd i l)).congr_deriv ?_ |
| 57 | rw [variation_value (skew_K _ _) (wave_closed (wavePoly A)) isOpen_univ (mem_univ _)] |
| 58 | simp only [center_grad,Finset.sum_add_distrib, add_smul] |
| 59 | rw [show (∑ i : Axis, fromCenter u.val 0 i x • grad i (asWave A a b) x)=D L (f a b) x from ?_] |
| 60 | · simp [Matrix.one_apply, ite_mul, mul_ite, ite_smul, add_assoc,f] |
| 61 | simpa only [fromCenter,sub_zero] using D_axes (f a b) x L |
| 62 | |
| 63 | def asWaveL (F : Type*) [NormedAddCommGroup F] [NormedSpace ℝ F] (j : ℕ) (a b : Axis) (x : E4) : |
| 64 | Solution F j →ₗ[ℝ] F where |
| 65 | toFun A := asWave A a b x |
| 66 | map_add' _ _ := rfl |
| 67 | map_smul' _ _ := rfl |
| 68 | |
| 69 | section Lie |
| 70 | variable [FiniteDimensional ℝ F] |
| 71 | |
| 72 | lemma turn_derivable (u : Ortho.Skew) (A : Solution F j) (L : Module.Dual ℝ (Solution F j)) : |
| 73 | DifferentiableAt ℝ (fun t => L (solutionTurn (Ortho.oneParameter u t)⁻¹ A)) 0 := by |
| 74 | let Φ := fun t => solutionTurn (Ortho.oneParameter u t)⁻¹ A |
| 75 | let s := {L : Module.Dual ℝ (Solution F j) | DifferentiableAt ℝ (L ∘ Φ) 0} |
| 76 | let V : Submodule ℝ (Module.Dual ℝ (Solution F j)) := |
| 77 | { carrier := s, zero_mem' := by |
| 78 | change DifferentiableAt ℝ (fun _ => (0:ℝ)) _; exact differentiableAt_const _ |
| 79 | add_mem' := by intro x y (hx : DifferentiableAt ℝ _ _) (hy : DifferentiableAt ℝ _ _); exact hx.add hy |
| 80 | smul_mem' := by intro a x (hx : DifferentiableAt ℝ _ _); exact hx.const_mul a } |
| 81 | have ht (a b : Axis) (x : E4) (L : Module.Dual ℝ F) : L.comp (asWaveL F j a b x) ∈ V := by |
| 82 | have he := L.toContinuousLinearMap.differentiableAt (x := asWave (Φ 0) a b x) |>.comp (0:ℝ) |
| 83 | (rot_point u A a b x).differentiableAt |
| 84 | exact he |
| 85 | let B := Module.finBasis ℝ F |
| 86 | have he : V.dualCoannihilator=⊥ := by |
| 87 | apply le_antisymm _ bot_le; intro y hy |
| 88 | apply (Submodule.mem_bot ..).mpr; apply asWave_inj; funext a b x |
| 89 | change asWave y a b x=0 |
| 90 | apply B.equivFun.injective; rw [map_zero]; exact funext fun i => |
| 91 | (Submodule.mem_dualCoannihilator _).1 hy _ (ht a b x (B.coord i)) |
| 92 | have hp : V=⊤ := by |
| 93 | apply Submodule.eq_top_of_finrank_eq |
| 94 | have h := Subspace.finrank_add_finrank_dualCoannihilator_eq V |
| 95 | rw [he, finrank_bot,add_zero] at h |
| 96 | rw [h, Subspace.dual_finrank_eq] |
| 97 | exact (show L ∈ V from hp ▸ Submodule.mem_top) |
| 98 | |
| 99 | def derivativeTurn (u : Ortho.Skew) (A : Solution F j) := |
| 100 | let B := Module.finBasis ℝ (Solution F j) |
| 101 | ∑ i, deriv (fun t => B.coord i (solutionTurn (Ortho.oneParameter u t)⁻¹ A)) 0 • B i |
| 102 | |
| 103 | lemma turn_has (u : Ortho.Skew) (A : Solution F j) (L : Module.Dual ℝ (Solution F j)) : |
| 104 | HasDerivAt (fun t => L (solutionTurn (Ortho.oneParameter u t)⁻¹ A)) (L (derivativeTurn u A)) 0 := by |
| 105 | let B := Module.finBasis ℝ (Solution F j) |
| 106 | let a := fun t => solutionTurn (Ortho.oneParameter u t)⁻¹ A |
| 107 | have ht : (fun t => L (a t)) = fun t => ∑ i, (B.coord i (a t)) • L (B i) := funext fun t => by |
| 108 | simp_rw [← map_smul L, ← map_sum]; exact congr_arg L (B.sum_repr (a t)).symm |
| 109 | change HasDerivAt (fun t => L (a t)) (L (∑ i, deriv (fun t => B.coord i (a t)) 0 • B i)) 0 |
| 110 | rw [ht,map_sum]; simp_rw [map_smul] |
| 111 | apply HasDerivAt.fun_sum; intro i _ |
| 112 | exact ((turn_derivable u A (B.coord i)).hasDerivAt).mul_const _ |
| 113 | |
| 114 | lemma differential_rigid (u : Ortho.Skew) (A : Solution F j) : |
| 115 | asWave (derivativeTurn u A) = variation (fromCenter u.val 0) (asWave A) := by |
| 116 | funext a b x |
| 117 | let B := Module.finBasis ℝ F |
| 118 | apply B.equivFun.injective; funext i |
| 119 | let L := (B.coord i).toContinuousLinearMap |
| 120 | have ht : HasDerivAt (fun t => L (asWave (solutionTurn (Ortho.oneParameter u t)⁻¹ A) a b x)) |
| 121 | (L (variation (fromCenter u.val 0) (asWave A) a b x)) 0 := |
| 122 | L.hasFDerivAt.comp_hasDerivAt (0:ℝ) (rot_point u A a b x) |
| 123 | exact (turn_has u A ((B.coord i).comp (asWaveL F j a b x))).unique ht |
| 124 | |
| 125 | def infJet (F : Type*) [NormedAddCommGroup F] [InnerProductSpace ℝ F] [FiniteDimensional ℝ F] (j : ℕ) : |
| 126 | Ortho.Skew →ₗ[ℝ] (Solution F j →ₗ[ℝ] Solution F j) where |
| 127 | toFun u := |
| 128 | { toFun := derivativeTurn u |
| 129 | map_add' A B := by |
| 130 | apply (Module.finBasis ℝ (Solution F j)).equivFun.injective; funext i |
| 131 | let L := (Module.finBasis ℝ (Solution F j)).coord i |
| 132 | change L (derivativeTurn u (A+B))=L (derivativeTurn u A+derivativeTurn u B) |
| 133 | rw [map_add] |
| 134 | refine (turn_has u (A+B) L).unique ?_ |
| 135 | simp_rw [map_add]; exact (turn_has u A L).add (turn_has u B L) |
| 136 | map_smul' a A := by |
| 137 | apply (Module.finBasis ℝ (Solution F j)).equivFun.injective; funext i |
| 138 | let L := (Module.finBasis ℝ (Solution F j)).coord i |
| 139 | change L (derivativeTurn u (a • A))=L (a • derivativeTurn u A) |
| 140 | rw [map_smul] |
| 141 | refine (turn_has u (a • A) L).unique ?_ |
| 142 | simp_rw [map_smul]; exact (turn_has u A L).const_mul _ } |
| 143 | map_add' u w := by |
| 144 | ext1 A |
| 145 | change derivativeTurn (u+w) A = derivativeTurn u A + derivativeTurn w A |
| 146 | apply asWave_inj; funext a b x |
| 147 | rw [show asWave (derivativeTurn u A + derivativeTurn w A) a b x=_ from (asWaveL F j a b x).map_add _ _] |
| 148 | change asWave (derivativeTurn (u+w) A) a b x = asWave (derivativeTurn u A) a b x + asWave (derivativeTurn w A) a b x |
| 149 | simp only [differential_rigid] |
| 150 | simp_rw [variation_value (skew_K _ _) (wave_closed (wavePoly A)) isOpen_univ (mem_univ _), center_grad,fromCenter, |
| 151 | M4.at_coord]; simp [add_mul, Finset.sum_add_distrib,add_smul]; abel |
| 152 | map_smul' t u := by |
| 153 | ext1 A |
| 154 | change derivativeTurn (t • u) A = t • derivativeTurn u A |
| 155 | apply asWave_inj; funext a b x |
| 156 | change asWave (derivativeTurn (t • u) A) a b x = t • asWave (derivativeTurn u A) a b x |
| 157 | simp only [differential_rigid]; |
| 158 | simp_rw [variation_value (skew_K _ _) (wave_closed (wavePoly A)) isOpen_univ (mem_univ _), center_grad,fromCenter,M4.at_coord] |
| 159 | simp only [SetLike.val_smul,Matrix.smul_apply, smul_eq_mul, mul_assoc, ← Finset.mul_sum, Finset.smul_sum,smul_add,mul_smul] |
| 160 | end Lie |
| 161 | |
| 162 | /-- Infinitesimal of actual rotated probe. -/ |
| 163 | def angularLeg (G : Gauge) (j : ℕ) : Ortho.Skew →ₗ[ℝ] Module.End ℝ (Probe G j) where |
| 164 | toFun u := |
| 165 | { toFun p := p.comp (infJet G.Color j u) |
| 166 | map_add' _ _ := rfl |
| 167 | map_smul' _ _ := rfl } |
| 168 | map_add' u w := by |
| 169 | ext1 p; ext x |
| 170 | change p (infJet G.Color j (u+w) x)=p (infJet G.Color j u x)+p (infJet G.Color j w x) |
| 171 | rw [map_add,LinearMap.add_apply,map_add] |
| 172 | map_smul' t u := by |
| 173 | ext1 p; ext x |
| 174 | change p (infJet G.Color j (t • u) x)=t • p (infJet G.Color j u x) |
| 175 | rw [map_smul, LinearMap.smul_apply,map_smul] |
| 176 | |
| 177 | lemma rotate_test (u : Ortho.Skew) (p : Probe G j) (A : Shell G j) : |
| 178 | HasDerivAt (fun t => probeTurn (Ortho.oneParameter u t) p A) (angularLeg G j u p A) 0 := |
| 179 | turn_has u A p |
| 180 | |
| 181 | lemma angular_flux {x : E4} {U} {f : Field G.Color} (hU : IsOpen U) (H : WaveOn U f) (p : Probe G j) |
| 182 | (u : Ortho.Skew) {χ : E4 → ℝ} (hχ : ContDiff ℝ ∞ χ) (Hχ : HasCompactSupport χ) |
| 183 | (hs : tsupport χ ⊆ U) (hx : χ =ᶠ[𝓝 x] fun _ => 1) : |
| 184 | singleFlux (fromCenter u.val x) χ (pulse p x) f = -sample (angularLeg G j u p) f x := by |
| 185 | let v := fromCenter u.val x |
| 186 | have he := affine_wave (skew_K u x) u.val (center_grad u.val x) hU H |
| 187 | have hw := hs (enclosed _ hx) |
| 188 | rw [jet_force hU H (skew_K u x) hχ Hχ hs hx he p] |
| 189 | rw [sample_eval _ he hU hw,sample_eval _ H hU hw] |
| 190 | congr 1 |
| 191 | apply congr_arg p; apply Subtype.ext |
| 192 | let B : Shell G j := ⟨nth f j x,H.jets hU hw⟩ |
| 193 | change nth (variation v f) j x = (derivativeTurn u B).val |
| 194 | exact (variation_center _ _ (skew_K u x) (skew_K u 0) H hU hw (j:=j)).trans |
| 195 | (show nth (variation (fromCenter u.val 0) (asWave B)) j 0 = _ from differential_rigid u B ▸ asWave_jet _) |
| 196 | |
| 197 | end YM.Maxwell.Free |