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.Next.UV_STRESS.Cover |
| 2 | import YM.Next.UV_STRESS.Stack |
| 3 | |
| 4 | |
| 5 | /-! |
| 6 | # Grill producers from an old/new marker-array estimate |
| 7 | |
| 8 | Conditional expectations *in the actual history*. The remaining estimate is |
| 9 | one real reference **basis** token at a time, but needs a full all-copies root, and changes from |
| 10 | fine O to a coarse bounded localized observable. It is a finite-volume, |
| 11 | finite-scale estimate (uniform in the stated parameters); its production is an |
| 12 | outstanding physical/RG question. We neither assume a positivity property of |
| 13 | any phase, nor try to get the estimate itself from `CellHyp`. |
| 14 | -/ |
| 15 | set_option autoImplicit false |
| 16 | noncomputable section |
| 17 | namespace YM.Next.UVStress |
| 18 | open Set Function Filter MeasureTheory Analysis Extraction Around Wilson Cells Lattice RG |
| 19 | open scoped Topology BigOperators |
| 20 | variable {G : Gauge} (C : Family G) {h d k N p : ℕ} |
| 21 | |
| 22 | section shift |
| 23 | variable (t : h ≤ k) (H : k ≤ N) (U : Config G (C.side k p) → ℂ) (D : Config G (C.side N p) → ℂ) |
| 24 | |
| 25 | /-- Joint old/new delta product at level k with original O held fixed. No claim |
| 26 | that the *unconditional* coarse placements are independent. -/ |
| 27 | def removal (x : Config G (C.side N p)) (y : Config G (C.side k p)) := |
| 28 | ∏ i : Site (C.side h p), ((center C.S p t 0).copy i U y-(center C.S p (t.trans H) 0).copy i D x) |
| 29 | |
| 30 | def retrieve (x : Config G (C.side N p)) := stack C p N k N (removal C t H U D x) H x |
| 31 | |
| 32 | private noncomputable def freed (x : Config G (C.side N p)) (i : Site (C.side h p)) := |
| 33 | D (pull ((center C.S p (t.trans H) 0).omega i) ((center C.S p (t.trans H) 0).translateBy i) x) |
| 34 | |
| 35 | private lemma coarse_terms (x : Config G (C.side N p)) : removal C t H U D x = |
| 36 | fun y => ∏ i : Site (C.side h p), (center C.S p t 0).copy i (U-fun _ => freed C t H D x i) y := by |
| 37 | classical |
| 38 | funext y; unfold removal; apply Finset.prod_congr rfl; intro i _ |
| 39 | let T := center C.S p (t.trans H) 0 |
| 40 | let M := center C.S p t 0 |
| 41 | change M.copy i U y-T.copy i D x=M.copy i _ y |
| 42 | by_cases hv : M.hand i |
| 43 | · have hu : T.hand i:=hv |
| 44 | simp only [Tiling.copy,hv,hu, ↓reduceIte,Pi.sub_apply, star_sub] |
| 45 | rfl |
| 46 | have hu : ¬T.hand i:=hv; simp only [Tiling.copy,hv,hu, ↓reduceIte,Pi.sub_apply]; rfl |
| 47 | |
| 48 | lemma attained (r : ℕ) (hp : Interior (region (C.side k p) r) U) |
| 49 | (fit : ∀ m, m≤N → ∀ l:k≤m, region (C.side m p) (advanceSize C k r m) ⊆ (center C.S p (t.trans l) 0).chamber 0) : |
| 50 | retrieve C t H U D = fun x => ∏ i, (center C.S p (t.trans H) 0).copy i (stack C p N k N U H - D) x := by |
| 51 | classical |
| 52 | funext x |
| 53 | unfold retrieve; rw [coarse_terms] |
| 54 | let T := center C.S p (t.trans H) 0 |
| 55 | let f (i : Site (C.side h p)) := fun _ : Config G (C.side k p) => freed C t H D x i |
| 56 | have hh i : Interior (region (C.side k p) r) (f i) := Interior.constant _ _ |
| 57 | have eq := stack_product C p N k t r H (fun i => U-f i) (fun i => minus hp (hh _)) fit |
| 58 | refine Eq.trans (congr_fun eq x) ?_ |
| 59 | apply Finset.prod_congr rfl; intro i _ |
| 60 | change T.copy i _ x = T.copy i _ x |
| 61 | rw [stack_sub _ _ _ _ _ _ _ _ (borel_bounded hp) (borel_bounded (hh i)), |
| 62 | show stack C p N k N (f i) H=(fun _ => freed C t H D x i) from stack_constant ..] |
| 63 | by_cases h : T.hand i <;> simp only [Tiling.copy,h, ↓reduceIte, Pi.sub_apply] <;> rfl |
| 64 | |
| 65 | |
| 66 | |
| 67 | |
| 68 | end shift |
| 69 | |
| 70 | /-- Input proposal. |
| 71 | |
| 72 | `r` bound *in native k sites*; cost of the coarse |
| 73 | observable need only be sup bounded at fixed k on these N,p (dependence |
| 74 | on v etc allowed). |
| 75 | |
| 76 | Root estimate is in the positive **full same history** law. |
| 77 | |
| 78 | Compare ; there the k estimate is through still further coarse |
| 79 | scales, with its own costs. |
| 80 | |
| 81 | Here we need the consequence for the last read on |
| 82 | the k-marginal of all the fine O's plus new probes. |
| 83 | |
| 84 | Use |
| 85 | all cutoffs with same orthogonal maps and charged schedule; never multiply |
| 86 | one-point estimates instead. |
| 87 | |
| 88 | At its uses the integrals are live (above, use also old budgets and |
| 89 | fit). -/ |
| 90 | structure Coarse (F : Extraction.Order) (v : C.book.Token) (t : h ≤ k) (r : ℕ) (A ε : ℝ) |
| 91 | (D : (N p : ℕ) → Config G (C.side k p) → ℝ) : Prop where |
| 92 | pays : 0 ≤ A |
| 93 | estimate : F.late fun N p => ∃ H : k≤N, |
| 94 | Interior (region (C.side k p) r) (paint (D N p)) ∧ (∀ x, |D N p x| ≤ A) ∧ |
| 95 | ‖moment (C.beta N p) (retrieve C t H (paint (D N p)) (C.seen v (0:Site (C.side N p))))‖ ^ |
| 96 | ((Fintype.card (Site (C.side h p)) : ℝ)⁻¹) ≤ ε |
| 97 | |
| 98 | def Credit (F : Extraction.Order) (v : C.book.Token) (h : ℕ) : Prop := ∃ r : ℕ,∀ j : ℕ,∀ ε : ℝ,0<ε → |
| 99 | ∃ k : ℕ,k≥j ∧ ∃ (hp : h ≤ k) (A : ℝ), ∃ D, Coarse C F v hp r A ε D |
| 100 | |
| 101 | def Furnace (F : Extraction.Order) := ∀ d m : ℕ,∃ h : ℕ,m≤h ∧ ∀ l≤d, ∀ i : Stones C l, Credit C F ⟨l,piece C l i⟩ h |
| 102 | |
| 103 | private def proposed (k : ℕ) (A : (N p : ℕ) → Config G (C.side k p) → ℝ) (N p : ℕ) : Config G (C.side N p) → ℝ := |
| 104 | if h : k ≤ N then fun x => (stack C p N k N (paint (A N p)) h x).re else 0 |
| 105 | |
| 106 | private lemma represents (A : (N p : ℕ) → Config G (C.side k p) → ℝ) (p) (h : k ≤ N) : |
| 107 | paint (proposed C k A N p) = stack C p N k N (paint (A N p)) h := by |
| 108 | let G := paint (A N p); let X := stack C p N k N G h |
| 109 | have he := stack_bar C p N k N G h |
| 110 | rw [show (fun x => star (G x))=G from funext fun x => by simp [G,paint]] at he |
| 111 | funext x; unfold proposed paint; rw [dif_pos h] |
| 112 | have hz : star (X x)=X x := (congr_fun he x).symm |
| 113 | change (↑(X x).re:ℂ)=X x |
| 114 | refine Complex.ext ?_ ?_ |
| 115 | · rfl |
| 116 | have he := congr_arg Complex.im hz |
| 117 | change -(X x).im=(X x).im at he; rw [Complex.ofReal_im]; linarith |
| 118 | |
| 119 | lemma drawing {F : Extraction.Order} (k : ℕ) (v : C.book.Token) (h : Credit C F v k) (ε : ℝ) (he : 0<ε) : |
| 120 | ∃ D M, Origin C F k v ε D M := by |
| 121 | obtain ⟨r,hv⟩ := h |
| 122 | obtain ⟨p,hp⟩ := eventually_atTop.mp (sufficient C r k) |
| 123 | obtain ⟨j,hi,H,A,D,hD⟩ := hv p ε he |
| 124 | have hx N p (hz:j≤N) := (hp j hi).choose_spec N p hz |
| 125 | refine ⟨proposed C _ D,A,hD.pays,?_⟩ |
| 126 | refine hD.estimate.mono fun i hi => hi.mono fun l hh => ?_ |
| 127 | let N:=F.mesh l; let Q:=F.per i |
| 128 | obtain ⟨hK,hG,hf,hb⟩:=hh |
| 129 | refine ⟨H.trans hK,?_,?_,?_⟩ |
| 130 | · intro x |
| 131 | have ht y : ‖paint (D N Q) y‖ ≤ A := (by simpa [paint] using hf y) |
| 132 | change |proposed C j D N Q x| ≤ A |
| 133 | rw [show |proposed C j D N Q x|= ‖paint (proposed C j D N Q) x‖ from by simp [paint], represents C D Q hK] |
| 134 | exact stack_bound C Q N j N _ hK A ht x |
| 135 | · rw [represents C _ Q hK] |
| 136 | exact (stack_region C _ _ _ _ _ hK r hG).enlarges (hx N Q hK) |
| 137 | unfold Tiling.rootTest; rw [represents C _ Q hK, ← attained C H hK _ _ r hG (fun m _ hm => hx m Q hm)]; exact hb |
| 138 | |
| 139 | lemma coalesces {F : Extraction.Order} (H : C.Makes) (hp : CellHyp C F) (k : ℕ) (v : Entitled C d) (ε : ℝ) (he : 0<ε) |
| 140 | (hv : ∀ l≤d, ∀ i : Stones C l, Credit C F ⟨l,piece C l i⟩ k) : ∃ D M, Origin C F k v.val ε D M := by |
| 141 | obtain ⟨⟨l,v⟩,hl,hw⟩ := v |
| 142 | let G₁ (i : Stones C l) : C.book.Token := ⟨l,piece C l i⟩ |
| 143 | let V (i : Stones C l) := |(v i).re| |
| 144 | let B := ∑ i,V i |
| 145 | have ht : 0≤B := Finset.sum_nonneg fun i _ => abs_nonneg _ |
| 146 | have hf : 0<B+1 := by linarith |
| 147 | let q := ε/(B+1) |
| 148 | choose X M hX using fun i : Stones C l => drawing C k (G₁ i) (hv l hl i) q (div_pos he hf) |
| 149 | choose m hm hx using fun i : Stones C l => budgets_at H hp k (G₁ i) |
| 150 | let Y (N p) (x) := ∑ i,(v i).re*X i N p x |
| 151 | refine ⟨Y,∑ i,V i*M i,Finset.sum_nonneg (fun i _ => mul_nonneg (abs_nonneg _) (hX i).bound),?_⟩ |
| 152 | change ∀ᶠ u in F.fuse, ∃ hk : k ≤ u.1, |
| 153 | let N := u.1; let p := u.2 |
| 154 | (∀ x, |Y N p x| ≤ _) ∧ Interior ((center C.S p hk 0).chamber 0) (paint (Y N p)) ∧ |
| 155 | (center C.S p hk 0).rootTest (C.beta N p) (paint (Y N p)-C.seen ⟨l,v⟩ (0:Site (C.side N p))) ≤ ε |
| 156 | have he' i : ∀ᶠ u in F.fuse, ∃ hk : k ≤ u.1, Interior ((center C.S u.2 hk 0).chamber 0) |
| 157 | (C.seen (G₁ i) (0:Site (C.side u.1 u.2))) ∧ |
| 158 | (center C.S u.2 hk 0).rootTest (C.beta u.1 u.2) (C.seen (G₁ i) (0:Site (C.side u.1 u.2))) ≤ m i := hx i |
| 159 | have hy (i) : ∀ᶠ u in F.fuse, ∃ hk : k ≤ u.1, |
| 160 | let N := u.1; let p := u.2 |
| 161 | (∀ x, |X i N p x| ≤ M i) ∧ Interior ((center C.S p hk 0).chamber 0) (paint (X i N p)) ∧ |
| 162 | (center C.S p hk 0).rootTest (C.beta N p) (paint (X i N p)-C.seen (G₁ i) (0:Site (C.side N p))) ≤ q := (hX i).honest |
| 163 | filter_upwards [eventually_all.mpr he', eventually_all.mpr hy, large_mesh F k] with u ha hQ hk |
| 164 | obtain ⟨N,p⟩ := u |
| 165 | let T := center C.S p hk 0; let β := C.beta N p |
| 166 | let A i := paint (X i N p); let H₁ i := C.seen (G₁ i) (0:Site (C.side N p)) |
| 167 | have hr (i) : ((v i).re:ℂ)=v i := by |
| 168 | refine Complex.ext rfl ?_ |
| 169 | have he := congr_arg Complex.im (congr_fun (show star v=v from hw) i) |
| 170 | change -(v i).im=(v i).im at he; rw [Complex.ofReal_im]; linarith |
| 171 | have he (i : Stones C l) : ‖v i‖=V i := by rw [← hr i,Complex.norm_real,Real.norm_eq_abs] |
| 172 | have hz : paint (Y N p)=∑ i,v i • A i := by |
| 173 | ext1 x; unfold paint Y |
| 174 | simp_rw [Complex.ofReal_sum,Complex.ofReal_mul,Finset.sum_apply,Pi.smul_apply,hr]; rfl |
| 175 | have hl : C.seen ⟨l,v⟩ (0:Site (C.side N p))=∑ i,v i • H₁ i := by |
| 176 | have ht := seen_sum (C:=C) l (0:Site (C.side N p)) (piece C l) v; rw [pieces_at] at ht; exact ht |
| 177 | have hu (i) : Interior (T.chamber 0) (A i) := (hQ i).choose_spec.2.1 |
| 178 | refine ⟨hk,fun x => ?_,?_,?_⟩ |
| 179 | · change |Y N p x|≤_ |
| 180 | unfold Y; apply (Finset.abs_sum_le_sum_abs ..).trans (Finset.sum_le_sum ?_); intro i _; rw [abs_mul]; exact |
| 181 | mul_le_mul_of_nonneg_left ((hQ i).choose_spec.1 x) (abs_nonneg _) |
| 182 | · rw [hz]; exact (root_sum T β Finset.univ A v (fun i _ => hu i) (hp.all N p)).1 |
| 183 | change T.rootTest β (paint (Y N p) - C.seen ⟨l,v⟩ (0:Site (C.side N p))) ≤ ε |
| 184 | rw [hz,hl, ← Finset.sum_sub_distrib]; simp_rw [← smul_sub] |
| 185 | refine le_trans (root_sum T β Finset.univ (fun i => A i-H₁ i) v |
| 186 | (fun i _ => minus (hu i) (ha i).choose_spec.1) (hp.all N p)).2 ?_ |
| 187 | calc |
| 188 | _ ≤ ∑ i : Stones C l,V i*q := Finset.sum_le_sum (fun i _ => by |
| 189 | rw [he i]; exact mul_le_mul_of_nonneg_left (hQ i).choose_spec.2.2 (abs_nonneg _)) |
| 190 | _ = B*q := (Finset.sum_mul ..).symm |
| 191 | _ ≤ ε := by |
| 192 | have hp : (B+1)*q=ε := (mul_comm ..).trans (div_mul_cancel₀ _ hf.ne') |
| 193 | exact le_trans (mul_le_mul_of_nonneg_right (le_add_of_nonneg_right zero_le_one) (div_pos (by assumption) hf).le) hp.le |
| 194 | |
| 195 | theorem provides_Grill {F : Extraction.Order} (H : C.Makes) (hp : CellHyp C F) (h : Furnace C F) : Org.Grill C F := by |
| 196 | intro d m |
| 197 | obtain ⟨k,hk,ht⟩ := h d m |
| 198 | choose D A hv using fun i (v : Entitled C d) => coalesces C H hp k v _ (cost_pos i) ht |
| 199 | refine ⟨k,hk,fun _ v hv' h => Maker.patrons ?_ H hp v hv' h⟩ |
| 200 | exact ⟨D,A,hv⟩ |
| 201 | end YM.Next.UVStress |