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.Lane.Lease |
| 2 | import YM.Next.PHASE.Aligned |
| 3 | |
| 4 | |
| 5 | /-! |
| 6 | # A mixed two-scale chessboard estimate |
| 7 | |
| 8 | T is the main array, Y an aligned subdivision used for exterior fields. |
| 9 | An exterior group may need several fields in the *same* cell of T. |
| 10 | Bound the root of that group by applying the full-array inequality in Y to |
| 11 | all the copies in the root. Both types of fields use the bracketing and centered |
| 12 | bounds, each on its own budget. All moments here are with the same Wilson law, |
| 13 | without absolute values inside the integral. |
| 14 | -/ |
| 15 | set_option autoImplicit false |
| 16 | noncomputable section |
| 17 | namespace YM.Next.Phase |
| 18 | open Cells Lattice Extraction Extraction.Spin Wilson Function |
| 19 | open scoped Topology BigOperators Matrix.Norms.Frobenius ComplexOrder |
| 20 | |
| 21 | variable {G : Gauge} {C : Family G} {N p : ℕ} |
| 22 | |
| 23 | /-- One-field budget includes its entire oriented multiplet, in the same centered-test |
| 24 | and stencil-fit senses already used to price uncentered fields. -/ |
| 25 | def Single (C : Family G) (v : C.book.Token) (A : ℝ) (k N p : ℕ) := |
| 26 | Around.imageBudget (C := C) (fun _ : Fin 1 => v) A k N p |
| 27 | |
| 28 | lemma Single.moves {v : C.book.Token} {k : ℕ} {A : ℝ} (h : Single C v A k N p) (b : Frame) : |
| 29 | Single C (token _ v b) A k N p := by |
| 30 | refine ⟨h.1, fun i t => ?_⟩ |
| 31 | simp only [orientation] |
| 32 | exact h.2 0 _ |
| 33 | |
| 34 | variable {T Y : Tiling (C.side N p)} {ι κ : Type*} [Fintype ι] [Fintype κ] |
| 35 | |
| 36 | private lemma copy_prod (c : T.Cell) (F : ι → Config G (C.side N p) → ℂ) (U : Config G (C.side N p)) : |
| 37 | T.copy c (fun x => ∏ i, F i x) U = ∏ i, T.copy c (F i) U := by |
| 38 | classical |
| 39 | by_cases h : T.hand c <;> simp [Tiling.copy,h,star_prod] |
| 40 | |
| 41 | /-- Price the root of an entire exterior group, not a product of coarse-cell |
| 42 | one-field root assumptions. Even the empty group may be used. -/ |
| 43 | lemma exterior_group (H : C.Makes) (yh : Y.kind=.link) (th : T.kind=.link) (offset : Y.base=T.base) |
| 44 | (tiles : Y.side.val ∣ T.side.val) {b : ℕ} (hb : b ≤ N) (hf : span C.S hb p ∣ Y.side.val) |
| 45 | (v : κ → C.book.Token) (x : κ → Site (C.side N p)) (o : T.Cell) (hx : ∀ i, T.which (x i) = o) |
| 46 | (margins : ∀ i, Inside Y (3 * span C.S hb p) (x i)) |
| 47 | (sep : ∀ i j, i ≠ j → Y.side.val < separation (x i) (x j)) |
| 48 | (B : ℝ) (hB : 0 ≤ B) (funds : ∀ i, Single C (v i) B b N p) : |
| 49 | ∃ F : Config G (C.side N p) → ℂ, T.copy o F = (fun U => ∏ i, C.seen (v i) (x i) U) ∧ |
| 50 | Interior (T.chamber 0) F ∧ T.rootTest (C.beta N p) F ≤ B ^ Fintype.card κ := by |
| 51 | classical |
| 52 | let M := 3 * span C.S hb p |
| 53 | choose y hy using fun i => T.pointed o (x i) |
| 54 | let f : Frame := ((way T o).1⁻¹, (way T o).2) |
| 55 | let w i := token C.book (v i) f |
| 56 | let g i := C.seen (w i) (y i) |
| 57 | let F := fun U => ∏ i, g i U |
| 58 | have Hc (i) : Interior (T.chamber 0) (g i) := by |
| 59 | have hc : Inside T M (x i) := shared_inside _ _ offset yh th tiles _ _ (margins i) |
| 60 | unfold Inside at hc |
| 61 | rw [hx] at hc |
| 62 | have hm : y i ∈ T.margin 0 M := (T.reflected_margin _ _ _).mpr ((hy i).symm ▸ hc) |
| 63 | refine Around.figure H _ (w i) M (y i) hm ?_ |
| 64 | intro z hz a |
| 65 | have hh : (z a).natAbs < span C.S hb p := ((funds i).2 0 f).2.choose_spec z hz a |
| 66 | unfold M; omega |
| 67 | have Hw (i) : C.ref (w i).1 ≤ N := ((funds i).2 0 f).1.choose_spec.1 |
| 68 | have Ht i : T.copy o (g i) = C.seen (v i) (x i) := by |
| 69 | change T.copy o (C.seen (w i) (y i)) = _ |
| 70 | rw [Extraction.Spin.uses H T o (y i) (w i) (Hw i),hy, |
| 71 | show token C.book (w i) (way T o) = v i from isotropy ..] |
| 72 | refine ⟨F,funext (fun U => ?_),Interior.combines _ _ (fun i _ => Hc i),?_⟩ |
| 73 | · simp_rw [F,copy_prod,Ht] |
| 74 | let z : T.Cell × κ → Site (C.side N p) := fun i => T.copyMap i.1 (y i.2) |
| 75 | let W (i : T.Cell × κ) := token C.book (w i.2) (way T i.1) |
| 76 | let c (i : T.Cell × κ) := Y.which (z i) |
| 77 | have Hm (i) : Inside Y M (z i) := by |
| 78 | have hi : Inside Y M (T.copyMap o (y i.2)) := by rw [hy]; exact margins _ |
| 79 | exact (inside_reflected T Y offset tiles th yh i.1 _ _).mpr ((inside_reflected T Y offset tiles th yh o _ _).mp hi) |
| 80 | have hc : Injective c := by |
| 81 | rintro ⟨s,i⟩ ⟨t,j⟩ he |
| 82 | have h : T.which (z (s,i)) = T.which (z (t,j)) := shared_cell T Y offset tiles he |
| 83 | have heq k i : T.which (z (k,i))=k := by |
| 84 | refine T.which_chamber (T.enumerate k ((T.reflected_chamber _ o).mpr ?_)) |
| 85 | rw [hy, ← hx i]; exact (shared_inside T Y offset yh th tiles M _ (margins i)).1 |
| 86 | rw [heq,heq] at h |
| 87 | subst t; congr 1; by_contra H |
| 88 | have hg := (Hm (s,i)).1 |
| 89 | have hh := Y.extent hg (x := z (s,i)) (y := z (s,j)) (show z (s,j) ∈ Y.chamber (c (s,i)) from he ▸ (Hm (s,j)).1) |
| 90 | have ht : separation (z (s,i)) (z (s,j)) = separation (x i) (x j) := by |
| 91 | dsimp only [z] |
| 92 | rw [separation_copy, ← separation_copy T o,hy,hy] |
| 93 | exact (sep i j H).not_ge (ht ▸ hh) |
| 94 | have hi (i : T.Cell × κ) : Around.imageBudget (C := C) (fun _ : Fin 1 => W i) B b N p := |
| 95 | ((funds i.2).moves f).moves (way T i.1) |
| 96 | choose D hD h₁ h₂ using fun i : T.Cell × κ => |
| 97 | Lease.alive H (0 : Fin 1) (z i) (hi i) hb hf (z := c i) (Hm i) |
| 98 | have he (U : Config G (C.side N p)) : |
| 99 | T.fullAt (fun _ => F) U = ∏ i : T.Cell × κ, Y.copy (c i) (D i) U := by |
| 100 | unfold Tiling.fullAt F |
| 101 | rw [Fintype.prod_prod_type] |
| 102 | refine Finset.prod_congr rfl (fun k _ => ?_) |
| 103 | rw [copy_prod]; apply Finset.prod_congr rfl; intro i _ |
| 104 | rw [hD] |
| 105 | exact congrFun (Extraction.Spin.uses H T k (y i) (w i) (Hw i)) U |
| 106 | apply le_of_pow_le_pow_left₀ (T.cells_positive.ne') (pow_nonneg hB _) |
| 107 | rw [T.powering] |
| 108 | change ‖moment _ (T.fullAt _)‖ ≤ _ |
| 109 | rw [show T.fullAt (fun _ => F)=_ from funext he] |
| 110 | apply le_trans ((Y.planted (seamless H ..) _ hc D h₁).trans |
| 111 | (Finset.prod_le_prod (fun i _ => Y.root_nonneg _ _) (fun i _ => h₂ i))) |
| 112 | rw [Finset.prod_const,Finset.card_univ,Fintype.card_prod,pow_mul'] |
| 113 | |
| 114 | private lemma gather {α : Type*} [Fintype α] {U : Type*} [CommMonoid U] (f : κ → α) |
| 115 | [(i : α) → Fintype {x // f x=i}] (g : κ → U) : |
| 116 | (∏ i : α, ∏ j : {x // f x=i}, g j.val) = ∏ j : κ, g j := by |
| 117 | have he := Equiv.prod_comp (Equiv.sigmaFiberEquiv f) g |
| 118 | rw [Fintype.prod_sigma] at he; exact he |
| 119 | |
| 120 | |
| 121 | |
| 122 | /-- Cutoff bound for main/exterior factors on coextensive coarse and fine link |
| 123 | tilings, respectively. Main stays out of all other occupied coarse cells. |
| 124 | Nothing is assumed about how many exterior factors a coarse cell contains. -/ |
| 125 | theorem cutoff_bound (H : C.Makes) (yh : Y.kind=.link) (th : T.kind=.link) (offset : Y.base=T.base) |
| 126 | (tiles : Y.side.val ∣ T.side.val) {k b : ℕ} |
| 127 | (hk : k ≤ N) (hb : b ≤ N) (hT : span C.S hk p ∣ T.side.val) (hY : span C.S hb p ∣ Y.side.val) |
| 128 | (u : ι → C.book.Token) (v : κ → C.book.Token) |
| 129 | (x : ι → Site (C.side N p)) (y : κ → Site (C.side N p)) |
| 130 | (hx : ∀ i, Inside T (3 * span C.S hk p) (x i)) (hy : ∀ i, Inside Y (3 * span C.S hb p) (y i)) |
| 131 | (hs : ∀ i j, i≠j → T.side.val < separation (x i) (x j)) |
| 132 | (he : ∀ i j, T.side.val < separation (x i) (y j)) |
| 133 | (hp : ∀ i j, i≠j → Y.side.val < separation (y i) (y j)) |
| 134 | (A B : ℝ) (hB : 0 ≤ B) (ha : ∀ i, Single C (u i) A k N p) (hd : ∀ i, Single C (v i) B b N p) : |
| 135 | ‖moment (C.beta N p) (fun U => (∏ i, C.seen (u i) (x i) U)*(∏ j, C.seen (v j) (y j) U))‖ |
| 136 | ≤ A ^ Fintype.card ι * B ^ Fintype.card κ := by |
| 137 | classical |
| 138 | let c (i) := T.which (x i) |
| 139 | let e (i) := T.which (y i) |
| 140 | let s := Set.range e |
| 141 | let f : κ → s := Set.rangeFactorization e |
| 142 | let D := Sum.elim c (fun p : s => p.val) |
| 143 | letI : Fintype s := Fintype.ofFinite _ |
| 144 | have hi : Injective c := by |
| 145 | intro i j h; by_contra w |
| 146 | exact (hs i j w).not_ge (T.extent (v := c i) (hx i).1 (by rw [h]; exact (hx j).1)) |
| 147 | have hec i (a : s) : c i ≠ a.val := by |
| 148 | obtain ⟨j,h⟩ := a.property |
| 149 | rw [← h]; intro hh |
| 150 | have hi := shared_inside T Y offset yh th tiles (3 * span C.S hb p) (y j) (hy j) |
| 151 | exact (he i j).not_ge (T.extent (v := c i) (hx i).1 (hh ▸ hi.1)) |
| 152 | have hInj : Injective D := by |
| 153 | rintro (i|i) (j|j) h |
| 154 | · rw [hi h] |
| 155 | · exact (hec i j h).elim |
| 156 | · exact (hec j i h.symm).elim |
| 157 | rw [Subtype.ext (show i.val = j.val from h)] |
| 158 | choose F hF hr hA using fun i => Lease.alive H (0 : Fin 1) (x i) |
| 159 | (q := fun _ => u i) (ha i) hk hT (z := c i) (hx i) |
| 160 | choose E hE hw hg using fun i : s => |
| 161 | exterior_group (κ := {x // f x=i}) H yh th offset tiles hb hY (fun j => v j.val) (fun j => y j.val) i.val |
| 162 | (fun j => congrArg Subtype.val j.property) (fun j => hy _) (fun j l h => hp _ _ (Subtype.val_injective.ne h)) |
| 163 | B hB (fun j => hd _) |
| 164 | let V := Sum.elim F E |
| 165 | let W := Sum.elim (fun _ : ι => A) (fun i : s => ∏ _j : {x // f x=i}, B) |
| 166 | have ht i : T.rootTest (C.beta N p) (V i) ≤ W i := by |
| 167 | rcases i with i|i |
| 168 | · exact hA i |
| 169 | change T.rootTest _ (E i) ≤ ∏ _j : {x // f x=i}, B |
| 170 | rw [Finset.prod_const,Finset.card_univ]; exact hg i |
| 171 | have hv (U : Config G (C.side N p)) : |
| 172 | (∏ i, C.seen (u i) (x i) U) * (∏ j, C.seen (v j) (y j) U) = ∏ i, T.copy (D i) (V i) U := by |
| 173 | rw [Fintype.prod_sum_type, ← gather f (fun j => C.seen (v j) (y j) U)] |
| 174 | simp only [D,V,Sum.elim_inr,Sum.elim_inl,hE,hF] |
| 175 | rw [funext hv] |
| 176 | apply (le_trans <| (T.planted (seamless H ..) D hInj V (by rintro (i|i); exacts [hr _,hw _])).trans |
| 177 | (Finset.prod_le_prod (fun _ _ => T.root_nonneg _ _) (fun i _ => ht i))) |
| 178 | unfold W; rw [Fintype.prod_sum_type]; simp only [Sum.elim_inl,Sum.elim_inr] |
| 179 | rw [gather f (fun _ => B)]; simp |
| 180 | |
| 181 | end YM.Next.Phase |