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.Euclid.Window |
| 2 | import YM.Work.A15.Tensor |
| 3 | |
| 4 | /-! |
| 5 | # A linear flux test on stresses |
| 6 | |
| 7 | This will let us handle rotations of the shell by pulling back the vector |
| 8 | fields. Also, applying flux to an *average* stress will simply be passing the |
| 9 | linear map through an integral on the group (no Fubini at collisions). We use |
| 10 | `integrableShell` in taking these shell integrals, on the very same windows as |
| 11 | in `StressLaws`. |
| 12 | -/ |
| 13 | |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.Work.A15 |
| 17 | |
| 18 | open Set MeasureTheory Analysis Table |
| 19 | open scoped BigOperators ContDiff Matrix.Norms.Frobenius |
| 20 | |
| 21 | variable {G : Gauge} {L : Register G} {S : Table L} {n d : ℕ} |
| 22 | |
| 23 | /-- The linear evaluation of a quotient field in the first slot. -/ |
| 24 | def front (x : Points (n+1)) (q : Fin n → S.Tag) (d : ℕ) : S.Field d →ₗ[ℂ] ℂ := |
| 25 | Ward.here (Fin.cons (⟨d,0⟩ : S.Tag) q) x 0 d |
| 26 | |
| 27 | lemma front_apply (x : Points (n+1)) (q : Fin n → S.Tag) (d : ℕ) (B : S.Field d) : |
| 28 | front x q d B = S.useAt S x (Fin.cons ⟨d,B⟩ q) := by |
| 29 | rw [front, Ward.takes, Ward.disc] |
| 30 | congr 1 |
| 31 | funext i |
| 32 | refine Fin.cases ?_ (fun j => ?_) i <;> simp |
| 33 | |
| 34 | def gradVec (χ : E4 → ℝ) (y : E4) : E4 := WithLp.toLp 2 fun a => Analysis.D (basis a) χ y |
| 35 | |
| 36 | lemma gradVec_apply (χ : E4 → ℝ) (y : E4) (a : Axis) : |
| 37 | gradVec χ y a = Analysis.D (basis a) χ y := rfl |
| 38 | |
| 39 | section Flux |
| 40 | |
| 41 | variable (x : Points (n+1)) (q : Fin (n+1) → S.Tag) (χ : E4 → ℝ) (W : E4 → E4) |
| 42 | |
| 43 | /-- As for `shellGrad`, for use at `Window x χ`. The B tag is included in q. -/ |
| 44 | def fluxCore (J : S.Stress) := -(∫ y : E4, front (Points.cons y x) q 4 |
| 45 | (contractStress (gradVec χ y) (W y) J)) |
| 46 | |
| 47 | private lemma flux_eval (J : S.Stress) (y : E4) : |
| 48 | front (Points.cons y x) q 4 (contractStress (gradVec χ y) (W y) J) = |
| 49 | ∑ a : Axis, ∑ b : Axis, ((Analysis.D (basis a) χ y * W y b : ℝ) : ℂ) * |
| 50 | S.useAt S (Points.cons y x) (Fin.cons ⟨4,J a b⟩ q) := by |
| 51 | rw [contractStress_apply] |
| 52 | simp only [map_sum, map_smul, smul_eq_mul, front_apply, gradVec_apply] |
| 53 | |
| 54 | variable {x χ W} (hx : x ∈ conf (n+1)) (w : Window x χ) (H : S.Smooth) (hW : Continuous W) |
| 55 | include hx w H hW |
| 56 | |
| 57 | private lemma flux_integrable_term (J : S.Stress) (a b : Axis) : |
| 58 | Integrable (fun y : E4 => ((Analysis.D (basis a) χ y * W y b : ℝ) : ℂ) * |
| 59 | S.useAt S (Points.cons y x) (Fin.cons ⟨4,J a b⟩ q)) := by |
| 60 | simp_rw [Complex.ofReal_mul] |
| 61 | exact Table.integrableShell hx w H _ a (fun y : E4 => (↑(W y b) : ℂ)) (by fun_prop) |
| 62 | |
| 63 | private lemma integrable_flux (J : S.Stress) : |
| 64 | Integrable (fun y : E4 => front (Points.cons y x) q 4 |
| 65 | (contractStress (gradVec χ y) (W y) J)) := by |
| 66 | simp_rw [flux_eval] |
| 67 | exact integrable_finsetSum _ fun a _ => integrable_finsetSum _ fun b _ => |
| 68 | flux_integrable_term q hx w H hW J a b |
| 69 | |
| 70 | def fluxMap : S.Stress →ₗ[ℂ] ℂ where |
| 71 | toFun := fluxCore x q χ W |
| 72 | map_add' J K := by |
| 73 | simp only [fluxCore, map_add] |
| 74 | rw [integral_add (integrable_flux q hx w H hW J) (integrable_flux q hx w H hW K), neg_add] |
| 75 | map_smul' c J := by |
| 76 | simp only [fluxCore, map_smul, integral_smul, smul_neg, RingHom.id_apply] |
| 77 | |
| 78 | lemma flux_expansion (J : S.Stress) : fluxCore x q χ W J = |
| 79 | - ∑ a : Axis, ∑ b : Axis, ∫ y : E4, ((Analysis.D (basis a) χ y * W y b : ℝ) : ℂ) * |
| 80 | S.useAt S (Points.cons y x) (Fin.cons ⟨4,J a b⟩ q) := by |
| 81 | unfold fluxCore |
| 82 | apply congrArg Neg.neg |
| 83 | simp_rw [flux_eval] |
| 84 | rw [integral_finsetSum] |
| 85 | · exact Finset.sum_congr rfl fun a _ => |
| 86 | integral_finsetSum _ fun b _ => flux_integrable_term q hx w H hW J a b |
| 87 | intro a _ |
| 88 | exact integrable_finsetSum _ fun b _ => flux_integrable_term q hx w H hW J a b |
| 89 | end Flux |
| 90 | |
| 91 | lemma continuous_spin_vector (g : Ortho.Skew) (z : E4) : |
| 92 | Continuous (fun y : E4 => M4.move g.val (y-z)) := |
| 93 | (Matrix.toEuclideanLin g.val).continuous_of_finiteDimensional.comp |
| 94 | (continuous_id.sub continuous_const) |
| 95 | |
| 96 | section Windows |
| 97 | |
| 98 | variable {x : Points (n+1)} (hx : x ∈ conf (n+1)) {χ : E4 → ℝ} (w : Window x χ) (H : S.Smooth) |
| 99 | (q : Fin n → S.Tag) (B : S.Field d) |
| 100 | include hx w H |
| 101 | |
| 102 | theorem fluxCore_const (J : S.Stress) (u : E4) : |
| 103 | fluxCore x (Fin.cons ⟨d,B⟩ q) χ (fun _ => u) J = |
| 104 | ∑ b : Axis, ((u b : ℝ) : ℂ) • shellGrad S J χ b x q B := by |
| 105 | rw [flux_expansion _ hx w H continuous_const, Finset.sum_comm] |
| 106 | simp only [shellGrad, smul_neg, Finset.smul_sum, ← Finset.sum_neg_distrib] |
| 107 | refine Finset.sum_congr rfl fun b _ => Finset.sum_congr rfl fun a _ => ?_ |
| 108 | simp_rw [mul_comm (Analysis.D (basis a) χ _), Complex.ofReal_mul, mul_assoc, |
| 109 | integral_const_mul] |
| 110 | rfl |
| 111 | |
| 112 | lemma fluxCore_basis (J : S.Stress) (i : Axis) : |
| 113 | fluxCore x (Fin.cons ⟨d,B⟩ q) χ (fun _ => basis i) J = shellGrad S J χ i x q B := by |
| 114 | rw [fluxCore_const hx w H, Finset.sum_eq_single i] |
| 115 | · simp |
| 116 | · intro a _ ha; simp [ha] |
| 117 | · simp |
| 118 | |
| 119 | lemma fluxCore_angular (J : S.Stress) (g : Ortho.Skew) : |
| 120 | fluxCore x (Fin.cons ⟨d,B⟩ q) χ (fun y => M4.move g.val (y - x 0)) J = |
| 121 | shellSpin S J χ g x q B := |
| 122 | flux_expansion _ hx w H (continuous_spin_vector g (x 0)) J |
| 123 | |
| 124 | def translationFlux (i : Axis) : S.Stress →ₗ[ℂ] ℂ := |
| 125 | fluxMap (Fin.cons ⟨d,B⟩ q) hx w H (W := fun _ => basis i) continuous_const |
| 126 | |
| 127 | def angularFlux (g : Ortho.Skew) : S.Stress →ₗ[ℂ] ℂ := |
| 128 | fluxMap (Fin.cons ⟨d,B⟩ q) hx w H (continuous_spin_vector g (x 0)) |
| 129 | |
| 130 | lemma translationFlux_apply (i : Axis) (J : S.Stress) : |
| 131 | translationFlux hx w H q B i J = shellGrad S J χ i x q B := fluxCore_basis hx w H q B J i |
| 132 | |
| 133 | lemma angularFlux_apply (g : Ortho.Skew) (J : S.Stress) : |
| 134 | angularFlux hx w H q B g J = shellSpin S J χ g x q B := fluxCore_angular hx w H q B J g |
| 135 | end Windows |
| 136 | |
| 137 | end YM.Work.A15 |