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.Slice.Sequence |
| 2 | |
| 3 | /-! |
| 4 | # Drives and hops |
| 5 | |
| 6 | A trace tour with singleton insertions and gaps. Fold as an actual torus probe. |
| 7 | All normalized by cutoff partition. |
| 8 | -/ |
| 9 | set_option autoImplicit false |
| 10 | noncomputable section |
| 11 | namespace YM.Slice.Time |
| 12 | open MeasureTheory Measure Filter Function Set Wilson Lattice TimeKernel Analysis |
| 13 | open scoped Topology Matrix.Norms.Frobenius BigOperators |
| 14 | variable {a : Axis} {m : ℕ} {n : Side} {G : Gauge} |
| 15 | variable (V : Braid a G n) |
| 16 | |
| 17 | @[simp] lemma duration_nil : duration ([] : Braid a G n) = 0 := rfl |
| 18 | @[simp] lemma duration_append (W : Braid a G n) : duration (V++W)=duration V+duration W := by simp [duration] |
| 19 | |
| 20 | @[simp] lemma word_nil (b : Per n) (F : Config G n) : word (a := a) [] b F=1 := by simp [word] |
| 21 | lemma distributed (W : Braid a G n) (t : Per n) (F : Config G n) : |
| 22 | word (V++W) t F=word V t F * word W (t+ ↑(duration V)) F := by |
| 23 | induction V generalizing t with |
| 24 | | nil => simp |
| 25 | | cons b V ih => rw [List.cons_append,read,ih, read]; simp only [starts,Nat.cast_add,add_assoc,mul_assoc] |
| 26 | |
| 27 | @[simp] lemma duration_temp (N) : duration (List.replicate N (Brick.step a G n))=N := by |
| 28 | induction N <;> simp_all [List.replicate_succ, add_comm] |
| 29 | lemma crossing (N) (b : Per n) (F : Config G n) : word (List.replicate N (Brick.step a G n)) b F=1 := by |
| 30 | induction N generalizing b with |
| 31 | | zero => simp |
| 32 | | succ N ih => rw [List.replicate_succ,read]; simp [ih] |
| 33 | |
| 34 | lemma partition_seen (β : ℝ) : closed (trans n G a) (List.replicate n.val (heat (G := G) (n := n) a β)) = |
| 35 | (partition G n β:ℂ) := by |
| 36 | have ht := closed_eval (List.replicate n.val (Brick.step a G n)) β 0 (duration_temp _) |
| 37 | simpa only [cores,List.map_replicate,Brick.step_pulse, funext (crossing _ _), moment, integral_const, |
| 38 | probReal_univ,one_smul,mul_one] using ht.symm |
| 39 | |
| 40 | def drive (B : Fin m → Brick a G n) (Y : Fin m → ℕ) := |
| 41 | (List.ofFn fun i => B i :: List.replicate (Y i) (Brick.step a G n)).flatten |
| 42 | |
| 43 | lemma welded (B : Fin (m+1) → Brick a G n) (Y : Fin (m+1) → ℕ) : drive B Y = |
| 44 | B 0 :: List.replicate (Y 0) (Brick.step a G n) ++ drive (Fin.tail B) (Fin.tail Y) := by |
| 45 | simp [drive,List.ofFn_succ];rfl |
| 46 | |
| 47 | lemma drive_time (B : Fin m → Brick a G n) (Y : Fin m → ℕ) : duration (drive B Y)=∑ i, ((B i).width+Y i) := by |
| 48 | induction m with |
| 49 | | zero => simp [drive] |
| 50 | | succ m ih => rw [welded]; simp_rw [duration_append]; rw [ih, Fin.sum_univ_succ,starts,duration_temp]; rfl |
| 51 | |
| 52 | lemma B_start (B : Fin m → Brick a G n) (Y : Fin m → ℕ) (β) : cores (drive B Y) β=along |
| 53 | (heat a β) (fun i => (B i).pulse β) Y := by |
| 54 | induction m with |
| 55 | | zero => simp [drive,cores,along] |
| 56 | | succ m ih => |
| 57 | have hs := ih (Fin.tail B) (Fin.tail Y) |
| 58 | rw [welded,cores,List.map_append] |
| 59 | unfold cores at hs; rw [hs]; simp [along,List.ofFn_succ];rfl |
| 60 | |
| 61 | def column (X : Brick a G n) (p : ℕ) := (List.replicate p [X.reflect,X]).flatten |
| 62 | lemma colony (X : Brick a G n) (p : ℕ) (β) : cores (column X p) β=multiply (X.pulse β) p := by |
| 63 | simp [column, cores,multiply] |
| 64 | lemma clockTime (X : Brick a G n) (p : ℕ) : duration (column X p)=(p+p)*X.width := by |
| 65 | induction p with |
| 66 | | zero => simp [column,duration] |
| 67 | | succ p ih => rw [show column X (p+1)=[X.reflect,X]++column X p from by simp [column,List.replicate_succ]] |
| 68 | simp [ih]; ring |
| 69 | |
| 70 | /-- Normalized estimates direct using primitive columns of this Tour. |
| 71 | `p_s=2p`. -/ |
| 72 | theorem powering (β : ℝ) (hβ : 0 ≤ β) (B : Fin m → Brick a G n) {p l w : ℕ} |
| 73 | (he : n.val=(p+p)*w) (hp : 0 < p) (hw : 0 < w) (hW : ∀ i, (B i).width=w) |
| 74 | {Y Z : Fin m → ℕ} (hY : m*w+∑ i, Y i=n.val) (hZ : m*w+∑ i, Z i=n.val) |
| 75 | (i j : Fin m) (hij : i≠j) (hu : Y i+l=Z i) (hv : Z j+l=Y j) |
| 76 | (hm : ∀ z : Fin m, z≠i → z≠j → Y z=Z z) |
| 77 | (r : ℝ) (hy : 0<r) (hO : ∀ i : Fin m, 2*r < Y i) (hs : (l:ℝ) ≤ r) |
| 78 | (b c : Per n) (H : Fin m → Per n) (K : Fin m → ℝ) |
| 79 | (hK : ∀ x : Fin m, ‖moment β (word (column (B x) p) (H x))‖ ^ (Holder.rate p) ≤ K x) : |
| 80 | ‖moment β (word (drive B Z) b) - moment β (word (drive B Y) c)‖ ≤ (∏ i, K i)/r*l := by |
| 81 | have hi (v : Fin m → ℕ) (h : m*w+∑ i, v i=n.val) : duration (drive B v)=n.val := by |
| 82 | simp_rw [drive_time,hW,Finset.sum_add_distrib]; simp [h] |
| 83 | let f (x : Fin m) := (B x).pulse β |
| 84 | let R := partition G n β |
| 85 | have hr : 0<R := partition_pos _ |
| 86 | have hC x : ‖closed (trans n G a) (multiply (f x) p)‖^(Holder.rate p) ≤ K x * R ^ (Holder.rate p) := by |
| 87 | unfold f; rw [← colony _ _ β, ← closed_eval _ _ (H x) (show duration (column _ _)=_ by rw [clockTime,hW]; exact he.symm)] |
| 88 | rw [norm_mul,Real.mul_rpow (norm_nonneg _) (norm_nonneg _),mul_comm] |
| 89 | rw [Complex.norm_real, Real.norm_eq_abs,abs_of_pos hr] |
| 90 | exact mul_le_mul_of_nonneg_right (hK x) (Real.rpow_nonneg hr.le _) |
| 91 | letI : @BorelSpace (Leaf G a n) (MetricSpace.toPseudoMetricSpace (α := Leaf G a n)).toUniformSpace.toTopologicalSpace (inferInstance : MeasurableSpace _) := instBorelSpaceLeaf _ |
| 92 | letI : @SecondCountableTopology (Leaf G a n) (MetricSpace.toPseudoMetricSpace (α := Leaf G a n)).toUniformSpace.toTopologicalSpace := instSecondCountableTopologyLeaf _ |
| 93 | letI : @CompactSpace (Leaf G a n) (MetricSpace.toPseudoMetricSpace (α := Leaf G a n)).toUniformSpace.toTopologicalSpace := (inferInstance : CompactSpace (Leaf G a n)) |
| 94 | have hx := passage (trans n G a) _ f (step_positive a (n := n) hβ) (heat_cont ..) (fun i => |
| 95 | testB_cont β _ (B i).reads) he hp hw _ (partition_pos β (G := G) (n := n)) (partition_seen β) hY |
| 96 | i j hij hu hv hm r hy hO hs K hC |
| 97 | rw [← show cores (drive B Z) β = _ from B_start B Z β,← show cores (drive B Y) β = _ from B_start B Y β, |
| 98 | ← closed_eval _ _ b (hi Z hZ),← closed_eval _ _ c (hi Y hY), ← mul_sub] at hx |
| 99 | rw [norm_mul, Complex.norm_real,Real.norm_eq_abs, abs_of_pos hr] at hx |
| 100 | apply le_of_mul_le_mul_left _ hr |
| 101 | apply hx.trans_eq |
| 102 | ring |
| 103 | end YM.Slice.Time |