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.Push.GRID_APPROXIMATION.Candidates |
| 2 | |
| 3 | /-! |
| 4 | # Finite basis of actual rooted requests, one system for the continuum of labels |
| 5 | |
| 6 | Never retune histories for linear combinations. Treat the physical unit, |
| 7 | including its unusual reference coordinate, exactly at every translation. |
| 8 | -/ |
| 9 | |
| 10 | set_option autoImplicit false |
| 11 | noncomputable section |
| 12 | namespace YM.Push.GridApprox |
| 13 | open RG Lattice Wilson Labels Cells MeasureTheory Function Set Filter |
| 14 | open scoped Topology BigOperators |
| 15 | |
| 16 | variable {G : Gauge} (C : Family G) |
| 17 | |
| 18 | abbrev Ind (d : ℕ) := (C.labels.level d).Index |
| 19 | |
| 20 | def slot (d) (x : C.label d) : C.book.Token := ⟨d,x⟩ |
| 21 | |
| 22 | def swatch (d) (i : Ind C d) := slot C d (Pi.single i 1) |
| 23 | |
| 24 | lemma swatch_plain (d) (i : Ind C d) : star (swatch C d i).2=(swatch C d i).2 := by |
| 25 | change star (Pi.single i 1 : C.label d) = Pi.single i 1 |
| 26 | ext j; by_cases h : j=i <;> simp [h] |
| 27 | |
| 28 | -- The constant used at every station for basis index 0 (unit itself |
| 29 | -- scaled in basis coordinates; e0 corresponds to this value). |
| 30 | |
| 31 | def oneColor (d : ℕ) := ((C.S.a (C.ref d):ℂ)^d)⁻¹ |
| 32 | |
| 33 | def onePaint (d h : ℕ) : Figures C (swatch C d 0) h where |
| 34 | plot _ _ _ _ := oneColor C d |
| 35 | cap _ := 1+‖oneColor C d‖ |
| 36 | err _ := 0 |
| 37 | radius _ := 0 |
| 38 | |
| 39 | lemma oneSeen (H : C.Makes) (d N p) (hN : C.ref d ≤ N) (o : Site (C.side N p)) : |
| 40 | C.seen (swatch C d 0) o = fun _ => oneColor C d := by |
| 41 | let α : ℂ := (C.S.a (C.ref d):ℂ)^d |
| 42 | have he : α • C.seen (swatch C d 0) o=1 := by |
| 43 | unfold Family.seen swatch slot; dsimp only; rw [← (C.linearO N p d o).map_smul] |
| 44 | exact C.constant H d hN o |
| 45 | funext U |
| 46 | have hp : α * C.seen (swatch C d 0) o U = 1 := congr_fun he U |
| 47 | exact eq_inv_of_mul_eq_one_right hp |
| 48 | |
| 49 | lemma oneGives (hC : C.Makes) (f : Extraction.Order) (d h : ℕ) : (onePaint C d h).Gives f := by |
| 50 | let v := swatch C d 0 |
| 51 | refine ⟨swatch_plain ..,fun q => ?_,fun _ => le_rfl,fun _ => le_rfl,tendsto_const_nhds,tendsto_const_nhds,fun q => ?_⟩ |
| 52 | · unfold onePaint; dsimp only; positivity |
| 53 | have he := original_late C hC f h v |
| 54 | unfold Extraction.Order.late at * |
| 55 | filter_upwards [he] with k hk |
| 56 | filter_upwards [hk] with j hj |
| 57 | obtain ⟨ht,hN,hV⟩ := hj |
| 58 | have hx : ∀ N p U, (onePaint C d h).plot q N p U = oneColor C d := fun _ _ _ => rfl |
| 59 | refine ⟨hN,ht,hV,Interior.constant _ _,⟨0,by simp [onePaint],Interior.constant _ _⟩,fun U => ?_,fun U => ?_,?_⟩ |
| 60 | · change ‖oneColor C d‖ ≤ 1+‖oneColor C d‖; linarith |
| 61 | · simp [hx,oneColor] |
| 62 | rw [oneSeen C hC d (f.mesh j) (f.per k) ht] |
| 63 | let T := tilesAt C.S (f.per k) hN |
| 64 | change T.rootTest _ ((fun _ => oneColor C d) - fun _ => oneColor C d) ≤ 0 |
| 65 | rw [sub_self] |
| 66 | let X := (0 : Config G (C.side (f.mesh j) (f.per k)) → ℂ) |
| 67 | have hh := Next.Extract.root_smul T (C.beta (f.mesh j) (f.per k)) X 0 |
| 68 | simp only [smul_zero,norm_zero,zero_mul,X] at hh |
| 69 | exact hh.le |
| 70 | |
| 71 | variable {C} {d h : ℕ} |
| 72 | |
| 73 | /-- One palette fixes finite-volume witnesses before **all** linear and |
| 74 | product queries, even when later uses invoke arbitrarily many real v through |
| 75 | this degree. -/ |
| 76 | def palette (Z : ∀ i : Ind C d, Figures C (swatch C d i) h) (v : C.label d) : Figures C (slot C d v) h where |
| 77 | plot a N p := ∑ i, v i • (Z i).plot a N p |
| 78 | cap a := 1 + ∑ i, ‖v i‖ * (Z i).cap a |
| 79 | err a := ∑ i, ‖v i‖ * (Z i).err a |
| 80 | radius a := ∑ i, (Z i).radius a |
| 81 | |
| 82 | |
| 83 | |
| 84 | lemma seen_combination (v : C.label d) (N p) (x : Site (C.side N p)) : |
| 85 | C.seen (slot C d v) x = ∑ i, v i • C.seen (swatch C d i) x := by |
| 86 | let A := (C.linearO N p d x).mk' _ |
| 87 | change A v = ∑ i, v i • A _ |
| 88 | have he := congr_arg A (coeff_sum C v) |
| 89 | simp only [map_sum,map_smul] at he |
| 90 | exact he.symm |
| 91 | |
| 92 | lemma palette_gives (Z : ∀ i : Ind C d, Figures C (swatch C d i) h) (H : C.Makes) |
| 93 | {f : Extraction.Order} (hz : ∀ i, (Z i).Gives f) (v : C.label d) (hv : star v=v) : (palette Z v).Gives f := by |
| 94 | let r (i : Ind C d) := ‖v i‖ |
| 95 | refine ⟨hv, fun q => ?_, fun q => ?_, fun q => ?_, ?_, ?_, fun q => ?_⟩ |
| 96 | · have he : 0 ≤ ∑ i, ‖v i‖ * (Z i).cap q := Finset.sum_nonneg fun i _ => mul_nonneg (norm_nonneg _) (hz i|>.cap_pos q).le |
| 97 | exact add_pos_of_pos_of_nonneg one_pos he |
| 98 | · change 0 ≤ ∑ i, ‖v i‖ * (Z i).err q |
| 99 | exact Finset.sum_nonneg fun i _ => mul_nonneg (norm_nonneg _) (hz i|>.err_nn q) |
| 100 | · change 0 ≤ ∑ i, (Z i).radius q |
| 101 | exact Finset.sum_nonneg fun i _ => hz i|>.radius_nn q |
| 102 | · have he (i : Ind C d) : Tendsto (fun a => r i * (Z i).err a) atTop (𝓝 0) := by |
| 103 | simpa only [mul_zero] using (hz i).cost.const_mul (r i) |
| 104 | simpa only [Finset.sum_const_zero] using! tendsto_finsetSum Finset.univ (fun i _ => he i) |
| 105 | · simpa only [Finset.sum_const_zero] using! tendsto_finsetSum Finset.univ (fun i _ => (hz i).shrinks) |
| 106 | have he (i : Ind C d) := (hz i).late q |
| 107 | let K := slot C d v |
| 108 | have hV := original_late C H f h K |
| 109 | unfold Extraction.Order.late at * |
| 110 | filter_upwards [eventually_all.mpr he,hV] with k hk hh |
| 111 | filter_upwards [eventually_all.mpr hk,hh] with j hj hl |
| 112 | obtain ⟨hb,hw,hI⟩ := hl |
| 113 | let N := f.mesh j; let p := f.per k |
| 114 | let T := tilesAt C.S p hw |
| 115 | let β := C.beta N p |
| 116 | let U (i : Ind C d) := (Z i).plot q N p |
| 117 | let V (i : Ind C d) : Config G (C.side N p) → ℂ := C.seen (swatch C d i) 0 |
| 118 | let W (i : Ind C d) := U i - V i |
| 119 | let L := (palette Z v).plot q N p |
| 120 | have hT := seamless H N p |
| 121 | have hn (i : Ind C d) : Interior (T.chamber 0) (U i) := (hj i).target |
| 122 | have hy (i : Ind C d) : Interior (T.chamber 0) (W i) := by |
| 123 | unfold W; rw [sub_eq_add_neg] |
| 124 | have he' : Interior (T.chamber 0) (V i) := (hj i).source |
| 125 | exact (hn i).plus (show Interior _ (fun U => -_) from by simpa using he'.scale (-1)) |
| 126 | have ht := Next.Extract.rooted T β hT Finset.univ W v fun i _ => hy i |
| 127 | have hs : Interior (T.chamber 0) L := (Next.Extract.rooted T β hT Finset.univ U v fun i _ => hn i).1 |
| 128 | refine ⟨hw,hb,hI,hs,?_,fun x => ?_,fun x => ?_,?_⟩ |
| 129 | · choose w hw' hJ using fun i => (hj i).short |
| 130 | let l := ∑ i, w i |
| 131 | have he' (i : Ind C d) : Interior (window 0 l) (v i • U i) := by |
| 132 | apply Interior.scale |
| 133 | apply (show Interior _ (U i) from hJ i).enlarges |
| 134 | rintro x ⟨y,hy,rfl⟩ |
| 135 | have hx : w i ≤ l := Finset.single_le_sum (fun i _ => Nat.zero_le (w i)) (Finset.mem_univ i) |
| 136 | exact ⟨y,box_larger hy hx,rfl⟩ |
| 137 | have hX (s : Finset (Ind C d)) : Interior (window 0 l) (∑ i∈s,v i • U i) := by |
| 138 | induction s using Finset.induction_on with |
| 139 | | empty => simp only [Finset.sum_empty]; exact Interior.constant _ _ |
| 140 | | insert i s hi ih => rw [Finset.sum_insert hi]; exact (he' i).plus ih |
| 141 | refine ⟨l, ?_, hX Finset.univ⟩ |
| 142 | unfold l; rw [Nat.cast_sum,Finset.mul_sum]; exact Finset.sum_le_sum fun i _ => hw' i |
| 143 | · change ‖(∑ i,v i • U i) _‖ ≤ 1+∑ i,r i*(Z i).cap q; rw [Finset.sum_apply] |
| 144 | apply le_trans (norm_sum_le ..) (le_trans (Finset.sum_le_sum ?_) (le_add_of_nonneg_left zero_le_one)) |
| 145 | intro i _; simp only [Pi.smul_apply, norm_smul]; exact mul_le_mul_of_nonneg_left ((hj i).bound x) (norm_nonneg _) |
| 146 | · change star ((∑ i,v i • U i) _) = _ |
| 147 | change star ((∑ i,v i • U i) _) = (∑ i,v i • U i) _ |
| 148 | have hp i : star (v i)= v i := congr_fun hv i |
| 149 | have hU i : star (U i x)=U i x := (hj i).real x |
| 150 | simp only [Finset.sum_apply,star_sum,Pi.smul_apply,smul_eq_mul,star_mul,hp,hU]; simp_rw [mul_comm (U _ x)] |
| 151 | · change T.rootTest β ((∑ i,v i • U i)-C.seen (slot C d v) 0) ≤ ∑ i,r i * (Z i).err q |
| 152 | rw [seen_combination]; change T.rootTest β ((∑ i,v i • U i)- (∑ i,v i • V i)) ≤ _ |
| 153 | simp only [← Finset.sum_sub_distrib,← smul_sub] |
| 154 | exact ht.2.trans <| Finset.sum_le_sum fun i _ => mul_le_mul_of_nonneg_left ((hj i).cost) (norm_nonneg _) |
| 155 | |
| 156 | /-- No additional charge for basis index zero. -/ |
| 157 | lemma paints (H : C.Makes) (f : Extraction.Order) (d h : ℕ) |
| 158 | (T : ∀ i : Ind C d, i≠0 → Supplies C f h (swatch C d i)) : |
| 159 | ∃ (Z : ∀ i : Ind C d, Figures C (swatch C d i) h), Z 0 = onePaint C d h ∧ ∀ i, (Z i).Gives f := by |
| 160 | classical |
| 161 | have he (i : Ind C d) : ∃ P : Figures C (swatch C d i) h, |
| 162 | (∀ hv : i=0, hv ▸ P = onePaint C d h) ∧ P.Gives f := by |
| 163 | by_cases hh : i=0 |
| 164 | · subst i; exact ⟨onePaint C d h,fun _ => rfl, oneGives C H f d h⟩ |
| 165 | obtain ⟨z,hz⟩ := Candidates.provided C H f h (swatch C d i) (swatch_plain ..) (T i hh) |
| 166 | exact ⟨z,fun hu => (hh hu).elim,hz⟩ |
| 167 | choose Z hZ hz using he; exact ⟨Z,hZ 0 rfl,hz⟩ |
| 168 | end YM.Push.GridApprox |