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.UV_STRESS.Rates |
| 3 | import YM.Next.UV_STRESS.Tiles |
| 4 | |
| 5 | |
| 6 | /-! |
| 7 | # Bounded substitutes for the cutoff fields: layout |
| 8 | |
| 9 | Arbitrary far/fine assemblies have to use the *same* substitutes. |
| 10 | Copies can be after signs and mirrors (here construct `fine` choosing |
| 11 | the inputs at origin first with inverse actions). This lemma lets the |
| 12 | approximants depend on copy parity/type; the phase consumer only needs |
| 13 | that much. They go on the actual h grid. We prove estimates for arbitrary |
| 14 | lists of *distinct* sites on that grid at finite period. |
| 15 | -/ |
| 16 | set_option autoImplicit false |
| 17 | noncomputable section |
| 18 | namespace YM.Next.UVStress |
| 19 | open Set Function Filter MeasureTheory Analysis Extraction Around Wilson Cells Lattice |
| 20 | open scoped Topology BigOperators |
| 21 | |
| 22 | variable {G : Gauge} {C : Family G} {f : Extraction.Order} {h d k N p : ℕ} |
| 23 | |
| 24 | def paint {α : Type*} (g : α → ℝ) (x : α) : ℂ := g x |
| 25 | |
| 26 | /-- Sup on the full function (fixed accuracy/station). Smallness on the |
| 27 | *difference*, in honest expectation of the ALL-site replica. Old atom is |
| 28 | C.seen with all literal coefficients, rendering covariance. A preliminary |
| 29 | port; below we want such receipts produced already from joint blocking. |
| 30 | -/ |
| 31 | structure Origin (C : Family G) (f : Extraction.Order) (h : ℕ) (v : C.book.Token) (ε : ℝ) |
| 32 | (g : (N p : ℕ) → Config G (C.side N p) → ℝ) (M : ℝ) : Prop where |
| 33 | bound : 0 ≤ M |
| 34 | honest : f.late fun N p => ∃ hk : h ≤ N, |
| 35 | let T := center C.S p hk 0 |
| 36 | (∀ x, |g N p x| ≤ M) ∧ Interior (T.chamber 0) (paint (g N p)) ∧ |
| 37 | T.rootTest (C.beta N p) (paint (g N p) - C.seen v (0:Site (C.side N p))) ≤ ε |
| 38 | |
| 39 | def Entitled (C : Family G) (d : ℕ) := {v : C.book.Token // v.1 ≤ d ∧ star v.2=v.2} |
| 40 | |
| 41 | lemma encore (v : Entitled C d) (b : Extraction.Spin.Frame) : |
| 42 | let x := Extraction.Spin.token C.book v.val b |
| 43 | x.1≤d ∧ star x.2=x.2 := by |
| 44 | rcases b with ⟨s,y|y⟩ |
| 45 | · let g := C.book.mirrorGroup v.val.1 s |
| 46 | exact ⟨v.property.1,(C.book.star_mirror s _ _).trans (congr_arg g v.property.2)⟩ |
| 47 | let g := C.book.mirrorGroup v.val.1 s |
| 48 | refine ⟨v.property.1,?_⟩ |
| 49 | change star (star (C.book.mirrorGroup _ s v.val.2))=star (C.book.mirrorGroup _ s v.val.2) |
| 50 | rw [star_star]; exact ((C.book.star_mirror s _ _).trans (congr_arg g v.property.2)).symm |
| 51 | |
| 52 | def variant (v : Entitled C d) (b : Extraction.Spin.Frame) : Entitled C d := ⟨_,encore v b⟩ |
| 53 | |
| 54 | def previous (v : Entitled C d) (b : Extraction.Spin.Frame) : Entitled C d := variant v (b.1⁻¹,b.2) |
| 55 | |
| 56 | /-- Coherent use of the same individual preparations. -/ |
| 57 | structure Maker (C : Family G) (f : Extraction.Order) (h d : ℕ) where |
| 58 | purchase : (k : ℕ) → Entitled C d → (N p : ℕ) → Config G (C.side N p) → ℝ |
| 59 | cash : ℕ → Entitled C d → ℝ |
| 60 | terms (k : ℕ) (v) : Origin C f h v.val (costHint k) (purchase k v) (cash k v) |
| 61 | |
| 62 | def copyReal {n : Side} (T : Tiling n) (i : T.Cell) (g : Config G n → ℝ) : Config G n → ℝ := |
| 63 | g ∘ Lattice.pull (T.omega i) (T.translateBy i) |
| 64 | |
| 65 | lemma copy_real {n : Side} (T : Tiling n) (i : T.Cell) (g : Config G n → ℝ) : |
| 66 | T.copy i (paint g)=paint (copyReal T i g) := by |
| 67 | funext A; unfold Tiling.copy |
| 68 | split |
| 69 | · simp only [copyReal, paint, Complex.star_def, Complex.conj_ofReal]; rfl |
| 70 | rfl |
| 71 | |
| 72 | lemma budgets_at (H : C.Makes) (hS : CellHyp C f) (h : ℕ) (v : C.book.Token) : |
| 73 | ∃ A : ℝ, 0 ≤ A ∧ f.late fun N p => ∃ hk : h≤N, |
| 74 | let T := center C.S p hk 0 |
| 75 | let U := C.seen v (0:Site (C.side N p)) |
| 76 | Interior (T.chamber 0) U ∧ T.rootTest (C.beta N p) U ≤ A := by |
| 77 | have ht : Tendsto (fun k => 9*C.S.a k) atTop (𝓝 0) := by simpa using C.S.shrinks.const_mul 9 |
| 78 | let t := fun _ : Fin 1 => v |
| 79 | obtain ⟨k,hk,hw,A,hA,h⟩ := ((eventually_ge_atTop h).and ((ht.eventually (ge_mem_nhds (C.S.a_pos h))).and |
| 80 | (grows hS t))).exists |
| 81 | refine ⟨A,hA,?_⟩ |
| 82 | refine h.mono fun i hi => hi.mono fun j hj => ?_ |
| 83 | let N:=f.mesh j; let p:=f.per i |
| 84 | have he : k ≤ N := hj.1 |
| 85 | let T := center C.S p (hk.trans he) 0 |
| 86 | let b := Cells.span C.S he p |
| 87 | have hb : 9*b ≤ T.side.val := by |
| 88 | apply (Nat.cast_le (α:=ℝ)).1; apply le_of_mul_le_mul_left _ (C.S.a_pos N) |
| 89 | rw [C.S.embeds_scale]; push_cast |
| 90 | change C.S.a N*(9*(↑b:ℝ)) ≤ C.S.a _ |
| 91 | rw [mul_left_comm, show C.S.a N * b= _ from C.S.embeds_scale (C.S.toDepth he p)]; exact hw |
| 92 | have ha : 0<b := (C.S.toDepth he p).count.property |
| 93 | have hv : (0:Site (C.side N p)) ∈ T.margin 0 (3*b) := by |
| 94 | refine ⟨base_point C.S (p:=p) (hk.trans he) 0,fun i => ?_⟩ |
| 95 | have hi : T.coordinated 0 0 i=T.side.val/2:= handy C.S (hk.trans he) (p:=p) 0 i |
| 96 | change 3*b≤_ ∧ T.coordinated (0:T.Cell) 0 i+3*b+1≤T.side.val |
| 97 | rw [hi]; omega |
| 98 | obtain ⟨U,hu,H,hh⟩ := Lease.alive (q:=t) H 0 _ hj he (inherits hk he) hv |
| 99 | have hp : U=C.seen v 0 := (funext fun i => (T.copy_zero U i).symm).trans hu |
| 100 | exact ⟨hk.trans he,hp ▸ H,hp ▸ hh⟩ |
| 101 | |
| 102 | namespace Maker |
| 103 | variable (P : Maker C f h d) |
| 104 | |
| 105 | def fine (k N p : ℕ) (v : Entitled C d) (i : Site (C.side h p)) : Config G (C.side N p) → ℝ := |
| 106 | if hk : h≤N then |
| 107 | let T := center C.S p hk 0 |
| 108 | let t := previous v (Extraction.Spin.way T i) |
| 109 | copyReal T i (P.purchase k t N p) else 0 |
| 110 | |
| 111 | private lemma series_le {ι : Type*} [Fintype ι] (c : ι → ℝ) (h : ∀ i,0≤c i) (j : ι) : c j ≤ ∑ i, c i := |
| 112 | Finset.single_le_sum (f:=c) (fun i _ => h i) (Finset.mem_univ j) |
| 113 | |
| 114 | theorem nearby (H : C.Makes) (hp : CellHyp C f) (v : Entitled C d) : |
| 115 | ∃ A : ℝ,0 ≤ A ∧ ∀ k, ∃ M : ℝ,0 ≤ M ∧ ∀ᶠ i : ℕ × ℕ in f.fuse, ∃ hk : h ≤ i.1, |
| 116 | let T := center C.S i.2 hk 0 |
| 117 | ∀ j : T.Cell, ∃ X Y : Config G (C.side i.1 i.2)→ℂ, |
| 118 | Interior (T.chamber 0) X ∧ Interior (T.chamber 0) Y ∧ |
| 119 | C.seen v.val (T.copyMap j 0)=T.copy j X ∧ paint (P.fine k i.1 i.2 v j)= T.copy j Y ∧ |
| 120 | T.rootTest (C.beta i.1 i.2) X ≤ A ∧ T.rootTest (C.beta i.1 i.2) (Y-X) ≤ costHint k ∧ |
| 121 | ∀ a, |P.fine k i.1 i.2 v j a| ≤ M := by |
| 122 | classical |
| 123 | choose C₀ hC hF using fun i : Extraction.Spin.Frame => budgets_at H hp h (previous v i).val |
| 124 | refine ⟨∑ i,C₀ i,Finset.sum_nonneg (fun i _ => hC _),fun k => ?_⟩ |
| 125 | let K (i : Extraction.Spin.Frame) := previous v i |
| 126 | have hx (j : Extraction.Spin.Frame) : C₀ j ≤ ∑ i : Extraction.Spin.Frame,C₀ i := series_le C₀ hC j |
| 127 | have ho (j : Extraction.Spin.Frame) : P.cash k (K j) ≤ ∑ i : Extraction.Spin.Frame,P.cash k (K i) := series_le _ |
| 128 | (fun i => (P.terms k (K i)).bound) j |
| 129 | refine ⟨∑ i : Extraction.Spin.Frame,P.cash k (K i),Finset.sum_nonneg (fun i _ => (P.terms k (K i)).bound),?_⟩ |
| 130 | let X (N p i) := C.seen (K i).val (0:Site (C.side N p)) |
| 131 | let G₁ (N p i) := P.purchase k (K i) N p |
| 132 | have he (v : Extraction.Spin.Frame) : ∀ᶠ i in f.fuse, ∃ hk : h ≤ i.1, |
| 133 | let T := center C.S i.2 hk 0 |
| 134 | Interior (T.chamber 0) (X i.1 i.2 v) ∧ T.rootTest (C.beta i.1 i.2) (X i.1 i.2 v) ≤ C₀ v := hF v |
| 135 | have hv (v : Extraction.Spin.Frame) : ∀ᶠ i in f.fuse, ∃ hk : h ≤ i.1, |
| 136 | let T := center C.S i.2 hk 0 |
| 137 | let D := G₁ i.1 i.2 v |
| 138 | (∀ x, |D x| ≤ P.cash k (K v)) ∧ Interior (T.chamber 0) (paint D) ∧ |
| 139 | T.rootTest (C.beta i.1 i.2) (paint D-X i.1 i.2 v) ≤ costHint k := (P.terms k _).honest |
| 140 | filter_upwards [eventually_all.mpr he,eventually_all.mpr hv,eventually_all.mpr |
| 141 | (fun i : Extraction.Spin.Frame => large_mesh f (C.ref (K i).val.1)),large_mesh f h] with i hh hw hc hj |
| 142 | obtain ⟨N,p⟩ := i |
| 143 | refine ⟨hj, fun j => ?_⟩ |
| 144 | let T := center C.S p hj 0; let t := Extraction.Spin.way T j |
| 145 | obtain ⟨_,hV,hZ⟩ := hh t |
| 146 | obtain ⟨_,hG,hX,hY⟩ := hw t |
| 147 | have hY' : P.fine k N p v j=copyReal T j (G₁ N p t) := by unfold fine; rw [dif_pos hj] |
| 148 | have h' : T.copy j (X N p t)=C.seen v.val (T.copyMap j 0) := |
| 149 | (Extraction.Spin.uses H T j 0 _ (hc t)).trans (by |
| 150 | rw [show Extraction.Spin.token C.book (K t).val t=v.val from Extraction.Spin.isotropy ..]) |
| 151 | refine ⟨X N p t,paint (G₁ N p t),hV,hX,h'.symm,?_,hZ.trans (hx t),hY,fun i => ?_⟩ |
| 152 | · change paint (P.fine k N p v j) = T.copy j _; rw [copy_real,hY'] |
| 153 | change |P.fine k N p v j i| ≤ _ |
| 154 | rw [hY']; exact (hG (pull (T.omega j) (T.translateBy j) i)).trans (ho t) |
| 155 | end Maker |
| 156 | end YM.Next.UVStress |