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.Bid.Angular |
| 2 | import YM.Work.A15.Shell |
| 3 | |
| 4 | /-! |
| 5 | # Each rotated stress satisfies the two flux laws |
| 6 | |
| 7 | Use actual covariance along `Ortho.move`, not a formal identity of generators |
| 8 | alone. For `K`, lower the calculation to that for the unrotated stress with all |
| 9 | the points and tags pulled back by `K⁻¹`. Constant vector fields pull back as |
| 10 | vectors; centered angular vector fields pull back to centered angular vector |
| 11 | fields at the new center, hence the need for the adjoint transformation law. |
| 12 | -/ |
| 13 | |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.Work.A15 |
| 17 | |
| 18 | open Set Function Filter MeasureTheory Analysis Table |
| 19 | open scoped Topology ContDiff BigOperators Matrix.Norms.Frobenius |
| 20 | |
| 21 | variable {G : Gauge} {L : Register G} {S : Table L} {n : ℕ} |
| 22 | |
| 23 | /-- Use the given shell after the change of coordinates. -/ |
| 24 | theorem window_pull (K : Ortho) {x : Points (n+1)} {χ : E4 → ℝ} (w : Window x χ) : |
| 25 | Window (Points.move K⁻¹ x) (χ ∘ Ortho.move K) := by |
| 26 | obtain ⟨hc,hk,h0,he⟩ := w |
| 27 | let f := (Ortho.motion K).toHomeomorph |
| 28 | have h (i : Fin (n+1)) : f (Points.move K⁻¹ x i) = x i := Ortho.move_inv .. |
| 29 | refine ⟨hc.comp ((Ortho.motion K).toContinuousLinearEquiv.toContinuousLinearMap.contDiff), |
| 30 | hk.comp_homeomorph f, h0.comp_tendsto ?_, fun i => ?_⟩ |
| 31 | · have ht : Tendsto f (𝓝 (Points.move K⁻¹ x 0)) (𝓝 (x 0)) := by |
| 32 | rw [← h 0] |
| 33 | exact f.continuous.continuousAt |
| 34 | exact ht |
| 35 | change Points.move K⁻¹ x i.succ ∉ tsupport (χ ∘ f) |
| 36 | rw [tsupport_comp_eq_preimage χ f] |
| 37 | simpa only [mem_preimage, h] using he i |
| 38 | |
| 39 | lemma move_basis_sum (K : Ortho) (i : Axis) : |
| 40 | Ortho.move K (basis i) = ∑ j : Axis, K.val j i • basis j := by |
| 41 | ext1 j |
| 42 | rw [WithLp.ofLp_sum, Finset.sum_apply] |
| 43 | simp [Ortho.move] |
| 44 | |
| 45 | lemma gradVec_pull (K : Ortho) {χ : E4 → ℝ} (hc : ContDiff ℝ ∞ χ) (y : E4) : |
| 46 | gradVec (χ ∘ Ortho.move K) y = Ortho.move K⁻¹ (gradVec χ (Ortho.move K y)) := by |
| 47 | ext1 i |
| 48 | let t := (Ortho.motion K).toContinuousLinearEquiv.toContinuousLinearMap |
| 49 | change (fderiv ℝ (χ ∘ t) y) (basis i) = _ |
| 50 | rw [fderiv_comp y ((hc.differentiable (by simp)) _) t.differentiableAt, t.fderiv, |
| 51 | ContinuousLinearMap.comp_apply] |
| 52 | change fderiv ℝ χ (Ortho.move K y) (Ortho.move K (basis i)) = _ |
| 53 | rw [move_inv_apply, move_basis_sum, map_sum] |
| 54 | simp only [map_smul, smul_eq_mul, gradVec_apply, Analysis.D] |
| 55 | |
| 56 | lemma pull_centered (K : Ortho) (g : Ortho.Skew) (z y : E4) : |
| 57 | Ortho.move K⁻¹ (M4.move g.val (Ortho.move K y - z)) = |
| 58 | M4.move ((K⁻¹).val * g.val * star (K⁻¹).val) (y - Ortho.move K⁻¹ z) := by |
| 59 | rw [show star (K⁻¹).val = K.val from star_star _, M4.move_mul, M4.move_mul] |
| 60 | change _ = Ortho.move K⁻¹ (M4.move g.val (Ortho.motion K (y - (Ortho.move K⁻¹ z)))) |
| 61 | rw [map_sub, Ortho.motion_at, Ortho.motion_at, Ortho.move_inv] |
| 62 | |
| 63 | lemma label_cons (X : Rotation S) (K : Ortho) (q : Fin n → S.Tag) |
| 64 | (d : ℕ) (B : S.Field d) : |
| 65 | X.label K ∘ Fin.cons (α := fun _ => S.Tag) ⟨d,B⟩ q = |
| 66 | Fin.cons ⟨d,X.act d K B⟩ (X.label K ∘ q) := by |
| 67 | funext i |
| 68 | refine Fin.cases ?_ (fun j => ?_) i |
| 69 | · rw [Function.comp_apply, Fin.cons_zero, Fin.cons_zero]; rfl |
| 70 | · rw [Function.comp_apply, Fin.cons_succ, Fin.cons_succ, Function.comp_apply] |
| 71 | |
| 72 | lemma oriented_cons {X : Rotation S} (p : X.Oriented S) (K : Ortho) |
| 73 | {x : Points (n+1)} (hx : x ∈ conf _) (q : Fin n → S.Tag) (d : ℕ) (B : S.Field d) : |
| 74 | S.useAt S (Points.move K x) (Fin.cons ⟨d,X.act d K B⟩ (X.label K ∘ q)) = |
| 75 | S.useAt S x (Fin.cons ⟨d,B⟩ q) := by |
| 76 | rw [← label_cons] |
| 77 | exact p _ _ _ hx K |
| 78 | |
| 79 | /-- Change of variables at the shell. The formal equality of integrals uses |
| 80 | measure preservation and ae congruence (use covariance only off collisions); |
| 81 | in our applications W is continuous and we have the hierarchy’s smoothness, with shell |
| 82 | integrability as in `Shell`. -/ |
| 83 | theorem pull_flux {V : DiffPlan S} {H : S.RealSpin} {X : Rotation S} |
| 84 | (h : X.Laws V H) (p : X.Oriented S) (K : Ortho) {x : Points (n+1)} (hx : x ∈ conf _) |
| 85 | {χ : E4 → ℝ} (w : Window x χ) (q : Fin (n+1) → S.Tag) (W : E4 → E4) (J : S.Stress) : |
| 86 | fluxCore x q χ W (rotateStress X K J) = fluxCore (Points.move K⁻¹ x) (X.label K⁻¹ ∘ q) |
| 87 | (χ ∘ Ortho.move K) (fun y => Ortho.move K⁻¹ (W (Ortho.move K y))) J := by |
| 88 | let x' := Points.move K⁻¹ x |
| 89 | have hf (z : S.Tag) : X.label K (X.label K⁻¹ z) = z := by |
| 90 | rcases z with ⟨d,v⟩ |
| 91 | change Sigma.mk d (X.act d K (X.act d K⁻¹ v)) = _ |
| 92 | rw [← h.group, mul_inv_cancel, h.fixes] |
| 93 | let f := Ortho.motion K |
| 94 | unfold fluxCore |
| 95 | apply congrArg Neg.neg |
| 96 | rw [← MeasurePreserving.integral_comp f.measurePreserving f.toHomeomorph.measurableEmbedding] |
| 97 | apply integral_congr_ae |
| 98 | filter_upwards [(Set.finite_range x'.ofLp).countable.ae_notMem (volume : Measure E4)] with y hy |
| 99 | have hxy : Points.cons y x' ∈ conf _ := |
| 100 | Fin.cons_injective_of_injective hy (show Injective x'.ofLp from Points.move_in K⁻¹ hx) |
| 101 | have he : Points.move K (Points.cons y x') = Points.cons (f y) x := by |
| 102 | ext1 i |
| 103 | refine Fin.cases ?_ (fun j => ?_) i |
| 104 | · simp [Points.cons, f] |
| 105 | · simp [Points.cons, x'] |
| 106 | change front (Points.cons (f y) x) q 4 |
| 107 | (contractStress (gradVec χ (Ortho.move K y)) (W (Ortho.move K y)) (rotateStress X K J)) = _ |
| 108 | rw [contract_rotate, front_apply, front_apply, gradVec_pull K w.1] |
| 109 | have orient := oriented_cons p K hxy (X.label K⁻¹ ∘ q) 4 |
| 110 | (contractStress (Ortho.move K⁻¹ (gradVec χ (Ortho.move K y))) |
| 111 | (Ortho.move K⁻¹ (W (Ortho.move K y))) J) |
| 112 | rw [show X.label K ∘ X.label K⁻¹ ∘ q = q from funext fun i => hf _, he] at orient |
| 113 | exact orient |
| 114 | |
| 115 | private def pullSkew (K : Ortho) (g : Ortho.Skew) : Ortho.Skew := |
| 116 | ⟨(K⁻¹).val * g.val * star (K⁻¹).val, by |
| 117 | change star _ = -_ |
| 118 | have hg : star g.val = -g.val := g.property |
| 119 | simp only [star_mul, star_star, hg, neg_mul, ← mul_assoc, mul_neg]⟩ |
| 120 | |
| 121 | /-- The compensated rotations of any stress already giving the D and lie |
| 122 | fluxes give those *same* fluxes. Use A10 on this actual `X`, including the |
| 123 | elements of O outside proper rotations. -/ |
| 124 | theorem rotate_flux (A : Bid.A10) {V : DiffPlan S} (H : S.Hierarchy) {X : Rotation S} |
| 125 | (h : X.Laws V H.spin) (p : X.Oriented S) (K : Ortho) (J : S.Stress) |
| 126 | (c : StressLaws S J V.deriv X.lie) : StressLaws S (rotateStress X K J) V.deriv X.lie where |
| 127 | translation := by |
| 128 | intro n x hx q χ w b d B |
| 129 | let x' := Points.move K⁻¹ x |
| 130 | let q' := X.label K⁻¹ ∘ q |
| 131 | let B' := X.act d K⁻¹ B |
| 132 | have hx' : x' ∈ conf (n+1) := Points.move_in K⁻¹ hx |
| 133 | have w' := window_pull K w |
| 134 | calc |
| 135 | _ = fluxCore x (Fin.cons ⟨d,B⟩ q) χ (fun _ => basis b) (rotateStress X K J) := |
| 136 | (fluxCore_basis hx w H.smooth q B (rotateStress X K J) b).symm |
| 137 | _ = fluxCore x' (Fin.cons ⟨d,B'⟩ q') (χ ∘ Ortho.move K) |
| 138 | (fun _ => Ortho.move K⁻¹ (basis b)) J := by |
| 139 | rw [pull_flux h p K hx w, label_cons] |
| 140 | _ = ∑ j : Axis, ((Ortho.move K⁻¹ (basis b) j : ℝ) : ℂ) • |
| 141 | S.useAt S x' (Fin.cons ⟨d+1,V.deriv d j B'⟩ q') := by |
| 142 | rw [fluxCore_const hx' w' H.smooth] |
| 143 | simp_rw [c.translation hx' q' w'] |
| 144 | _ = front x' q' (d+1) (X.act (d+1) K⁻¹ (V.deriv d b B)) := by |
| 145 | rw [h.vector] |
| 146 | simp only [map_sum, map_smul, front_apply, B', Ortho.move, M4.move_basis] |
| 147 | _ = _ := by |
| 148 | rw [front_apply]; exact oriented_cons p K⁻¹ hx q (d+1) (V.deriv d b B) |
| 149 | rotation := by |
| 150 | intro n x hx q χ w g d B |
| 151 | let x' := Points.move K⁻¹ x |
| 152 | let q' := X.label K⁻¹ ∘ q |
| 153 | let B' := X.act d K⁻¹ B |
| 154 | have hx' : x' ∈ conf (n+1) := Points.move_in K⁻¹ hx |
| 155 | have w' := window_pull K w |
| 156 | let g' := pullSkew K g |
| 157 | have ad : X.act d K⁻¹ (X.lie d g B) = X.lie d g' B' := |
| 158 | (A H.spin X ⟨h.spin,h.fixes,h.group,h.signed,h.real,h.infinitesimal⟩).2 d K⁻¹ g B |
| 159 | calc |
| 160 | _ = fluxCore x (Fin.cons ⟨d,B⟩ q) χ (fun y => M4.move g.val (y-x 0)) (rotateStress X K J) := |
| 161 | (fluxCore_angular hx w H.smooth q B (rotateStress X K J) g).symm |
| 162 | _ = fluxCore x' (Fin.cons ⟨d,B'⟩ q') (χ ∘ Ortho.move K) |
| 163 | (fun y => M4.move g'.val (y-x' 0)) J := by |
| 164 | rw [pull_flux h p K hx w, label_cons] |
| 165 | simp_rw [pull_centered]; rfl |
| 166 | _ = S.useAt S x' (Fin.cons ⟨d,X.lie d g' B'⟩ q') := by |
| 167 | rw [fluxCore_angular hx' w' H.smooth, c.rotation hx' q' w'] |
| 168 | _ = _ := by rw [← ad]; exact oriented_cons p K⁻¹ hx q d (X.lie d g B) |
| 169 | |
| 170 | end YM.Work.A15 |