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.FOUNDATIONS.SU2 |
| 2 | import YM.Push.COMMON_WITNESSES.GridBills |
| 3 | import YM.Work.A15 |
| 4 | |
| 5 | /-! |
| 6 | # Use finite Grill receipts for all weight-bounded anti-products |
| 7 | |
| 8 | Issue about uncountably many `v` in an extraction. Basis choices use only |
| 9 | fixed, ordinary real raw labels and we prove explicit transfer by |
| 10 | multilinearity. Must test mixed entries in the quantitative approximation |
| 11 | because `Works` itself is a quadratic predicate; for this purpose it wouldn't |
| 12 | suffice just to prove independent fillings for the basis by this argument. |
| 13 | -/ |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.Push.Common |
| 17 | open Function Filter Set Extraction Cells Table Lattice MeasureTheory Next.Extract Wilson OS |
| 18 | open scoped Topology BigOperators ContDiff |
| 19 | |
| 20 | variable {G : Gauge} {C : Family G} |
| 21 | variable {n : ℕ} (h : ℕ) (x : Fin n → Cover) (d : Caps n) |
| 22 | |
| 23 | /-- All word slots at those grades. -/ |
| 24 | abbrev tagged (v : C.book.Vector d) (i : Fin n) : C.book.Token := ⟨d i, v i⟩ |
| 25 | |
| 26 | |
| 27 | |
| 28 | def multiplier (v : C.book.Vector d) (i : Combo C d) : ℝ := ∏ p, (v p (i p)).re |
| 29 | |
| 30 | private lemma slot_expansion (v : C.book.Vector d) (H : Grid.plain (C:=C) (tagged d v)) |
| 31 | (N p : ℕ) (L : ∀ i : Fin n, C.book.Ref (d i) →ₗ[ℂ] Config G (C.side N p) → ℂ) (q : Config G (C.side N p)) : |
| 32 | ∏ i : Fin n, L i (v i) q = ∑ j : Combo C d, (↑(multiplier d v j):ℂ)*∏ i, L i ((baseWord C d j i).2) q := by |
| 33 | let D i := Pi.basisFun ℂ ((C.labels.level (d i)).Index) |
| 34 | let F := fun i (j : (C.labels.level (d i)).Index) => (↑((v i j).re) : ℂ)*(L i (D i j) q) |
| 35 | have he (i : Fin n) (j : (C.labels.level (d i)).Index) : ((D i).repr (v i)) j=↑(v i j).re := by |
| 36 | have he : (starRingEnd ℂ) (v i j) = v i j := congr_fun (H i) j |
| 37 | rw [Pi.basisFun_repr,Complex.conj_eq_iff_re.1 he] |
| 38 | have hp i : L i (v i) q=∑ j : (C.labels.level (d i)).Index, F i j := by |
| 39 | have hu := congr_fun (congr_arg (L i) ((D i).sum_repr (v i))) q |
| 40 | simpa only [map_sum,map_smul,he,Finset.sum_apply,Pi.smul_apply,smul_eq_mul] using hu.symm |
| 41 | simp_rw [hp]; rw [Fintype.prod_sum] |
| 42 | apply Finset.sum_congr rfl |
| 43 | intro j hj |
| 44 | unfold F multiplier; rw [Finset.prod_mul_distrib,Complex.ofReal_prod] |
| 45 | rfl |
| 46 | |
| 47 | lemma speaking (v : C.book.Vector d) (H : Grid.plain (C:=C) (tagged d v)) (N p t i : ℕ) (q : Config G (C.side N p)) : |
| 48 | Grid.flash (C:=C) h (tagged d v) x N p t i q = |
| 49 | ∑ s : Combo C d, (↑(multiplier d v s):ℂ) * Grid.flash (C:=C) h (baseWord C d s) x N p t i q := by |
| 50 | let b : Cover := fun _ => t*i |
| 51 | let M (a : Fin n) (y : Cover) : C.book.Ref (d a) →ₗ[ℂ] Config G (C.side N p) → ℂ := |
| 52 | (C.linearO N p (d a) (Cells.location C.S h N p (y+b))).mk' _ |
| 53 | let m := Signed.mirror timeAxis |
| 54 | let Z a := M a (m.act (x a)) ∘ₗ C.book.mirrorGroup (d a) m |
| 55 | unfold Grid.flash Grid.tiny |
| 56 | simp only [mul_sub,Finset.sum_sub_distrib] |
| 57 | apply congr_arg₂ |
| 58 | · exact slot_expansion d v H N p (fun i : Fin n => M i (x i)) q |
| 59 | exact slot_expansion d v H N p Z q |
| 60 | |
| 61 | lemma flash_cont (w : Fin n → C.book.Token) (N p t i : ℕ) : Continuous (Grid.flash (C:=C) h w x N p t i) := by |
| 62 | unfold Grid.flash |
| 63 | dsimp only |
| 64 | have hy (w : Fin n → C.book.Token) (x u) : Continuous (Grid.tiny (C:=C) h w x N p u) := |
| 65 | continuous_finsetProd _ fun i _ => C.continuousO N p (w i).1 (w i).2 _ |
| 66 | apply Continuous.sub <;> apply hy |
| 67 | |
| 68 | private lemma collected {α : Type*} {ι : Type*} {J : Type*} [MeasurableSpace α] {μ : Measure α} [Fintype ι] [Fintype J] |
| 69 | (v : ι → J → α → ℝ) (h : ∀ i j, Integrable (v i j) μ) (c : ι→J→ℝ) : |
| 70 | (∫ a, ∑ i, ∑ j, c i j * v i j a ∂μ) = ∑ i, ∑ j, c i j * ∫ a, v i j a ∂μ := by |
| 71 | have hc (i j) : Integrable (fun a => c i j * v i j a) μ := (h i j).const_mul _ |
| 72 | rw [integral_finsetSum _ fun i _ => integrable_finsetSum _ fun j _ => hc i j] |
| 73 | refine Finset.sum_congr rfl fun i _ => ?_ |
| 74 | rw [integral_finsetSum _ (fun j _ => hc i j)]; simp only [integral_const_mul] |
| 75 | |
| 76 | lemma costs_flash (v : C.book.Vector d) (H : Grid.plain (C:=C) (tagged d v)) (N p t i j : ℕ) : |
| 77 | Grid.bill (C:=C) h (tagged d v) x i j N p t = |
| 78 | ∑ s : Combo C d, ∑ u : Combo C d, (multiplier d v s * multiplier d v u)*cross C h x d N p t i j s u := by |
| 79 | let F (i : ℕ) (s : Combo C d) := Grid.flash (C:=C) h (baseWord C d s) x N p t i |
| 80 | let L (s u : Combo C d) (q : Config G (C.side N p)) := (F i s q * F j u q).re |
| 81 | have he s u : Integrable (L s u) (law G (C.side N p) (C.beta N p)) := continuous_integrable _ |
| 82 | (Complex.continuous_re.comp ((flash_cont h x (baseWord C d s) N p t i).mul (flash_cont h x (baseWord C d u) N p t j))) |
| 83 | let A := multiplier d v |
| 84 | have ht q : (Grid.flash (C:=C) h (tagged d v) x N p t i q * Grid.flash (C:=C) h (tagged d v) x N p t j q).re = |
| 85 | ∑ s : Combo C d, ∑ u : Combo C d, (A s * A u)*L s u q := by |
| 86 | simp_rw [speaking h x d v H,Finset.sum_mul,Finset.mul_sum,Complex.re_sum] |
| 87 | refine Finset.sum_congr rfl fun s _ => Finset.sum_congr rfl fun u _ => ?_ |
| 88 | dsimp only [L,F,A]; simp [Complex.mul_re,Complex.mul_im]; ring |
| 89 | unfold Grid.bill cross; simp_rw [ht] |
| 90 | exact collected L he _ |
| 91 | |
| 92 | /-- Build the actual grid coverings. Track the scalar coefficients in the |
| 93 | bounds. The zeros and the empty product pose no additional budget requests. -/ |
| 94 | def boundSum (v : C.book.Vector d) : ℝ := ∑ s : Combo C d, |multiplier d v s| |
| 95 | |
| 96 | def onRails (v : C.book.Vector d) (A : GrillCosts) (P : Exhibit C d) : Grid.Covering (C:=C) h (tagged d v) x where |
| 97 | plots k N p t i q := ∑ s, multiplier d v s * P k N p t i s q |
| 98 | reserve k := boundSum d v * A.cap k |
| 99 | small k := (boundSum d v)^2 * toll k |
| 100 | grows := by simpa only [mul_zero] using toll_go.const_mul ((boundSum d v)^2) |
| 101 | |
| 102 | variable (v : C.book.Vector d) {A : GrillCosts} {P : Exhibit C d} |
| 103 | |
| 104 | lemma coherence {f : Extraction.Order} (H : Grid.plain (C:=C) (tagged d v)) (hx : Exhibits C h x d A f P) : |
| 105 | Grid.Covering.Works h (tagged d v) x (onRails h x d v A P) f := by |
| 106 | let R := boundSum d v |
| 107 | let c := multiplier d v |
| 108 | constructor |
| 109 | · intro k t j |
| 110 | refine (hx k t (j+1)).mono fun i hi => hi.mono ?_ |
| 111 | intro l hl |
| 112 | let F := P k (f.mesh l) (f.per i) t |
| 113 | change Measurable (fun q => ∑ s, c s * F j s q) ∧ ∀ q, |∑ s, c s * F j s q| ≤ R*A.cap k |
| 114 | have he := hl.safe j (Nat.lt_succ_self _) |
| 115 | refine ⟨Finset.measurable_sum _ (fun s _ => measurable_const.mul (he s).1),fun q => ?_⟩ |
| 116 | refine (Finset.abs_sum_le_sum_abs _ _).trans ?_ |
| 117 | unfold R boundSum |
| 118 | rw [Finset.sum_mul]; refine Finset.sum_le_sum fun s _ => ?_ |
| 119 | rw [abs_mul]; exact mul_le_mul_of_nonneg_left ((he s).2 q) (abs_nonneg _) |
| 120 | intro k i j hij |
| 121 | filter_upwards [eventually_ge_atTop (A.past k i j)] with t ht |
| 122 | refine (hx k t (j+1)).mono fun r hr => hr.mono ?_ |
| 123 | intro l hl |
| 124 | let N := f.mesh l |
| 125 | let p := f.per r |
| 126 | let μ := law G (C.side N p) (C.beta N p) |
| 127 | let F := P k N p t |
| 128 | let B s u (q : Config G (C.side N p)) := F i s q * F j u q |
| 129 | have hp := hl.safe j (Nat.lt_succ_self _) |
| 130 | have hq := hl.safe i (Nat.lt_succ_of_lt hij) |
| 131 | have heI s u : Integrable (B s u) (law G (C.side N p) (C.beta N p)) := |
| 132 | Integrable.of_bound ((hq s).1.mul (hp u).1).aestronglyMeasurable (A.cap k * A.cap k) |
| 133 | (Eventually.of_forall fun q => show |B s u q| ≤ _ from by |
| 134 | unfold B; rw [abs_mul]; exact mul_le_mul ((hq s).2 q) ((hp u).2 q) (abs_nonneg _) (A.nonneg _)) |
| 135 | let L := (onRails h x d v A P).plots k N p t |
| 136 | let E (s u : Combo C d) := (∫ q, B s u q ∂μ)-cross C h x d N p t i j s u |
| 137 | change |(∫ q, L i q * L j q ∂μ)-Grid.bill (C:=C) h (tagged d v) x i j N p t| ≤ R^2 * toll k |
| 138 | have he : (∫ q, L i q * L j q ∂μ) - Grid.bill (C:=C) h (tagged d v) x i j N p t = |
| 139 | ∑ s, ∑ u, (c s*c u)*E s u := by |
| 140 | have hE (q : Config G (C.side N p)) : L i q * L j q = ∑ s, ∑ u, (c s*c u)*B s u q := by |
| 141 | unfold L onRails; dsimp only |
| 142 | simp_rw [Finset.sum_mul,Finset.mul_sum]; refine Finset.sum_congr rfl fun s _ => Finset.sum_congr rfl fun u _ => ?_ |
| 143 | unfold c B F; ring |
| 144 | simp_rw [costs_flash h x d v H N p t i j,hE]; rw [collected B heI _] |
| 145 | simp only [E,mul_sub,Finset.sum_sub_distrib]; rfl |
| 146 | rw [he] |
| 147 | have hw : R^2*toll k = ∑ s : Combo C d, ∑ u, (|c s| * |c u|)*toll k := by |
| 148 | unfold R boundSum; rw [pow_two]; simp_rw [Finset.sum_mul,Finset.mul_sum,Finset.sum_mul]; rfl |
| 149 | rw [hw]; refine (Finset.abs_sum_le_sum_abs _ _).trans ?_ |
| 150 | refine Finset.sum_le_sum fun s _ => (Finset.abs_sum_le_sum_abs _ _).trans ?_ |
| 151 | refine Finset.sum_le_sum fun u _ => ?_ |
| 152 | rw [abs_mul, abs_mul]; exact mul_le_mul_of_nonneg_left (hl.joins i j hij j.lt_succ_self ht s u) |
| 153 | (mul_nonneg (abs_nonneg _) (abs_nonneg _)) |
| 154 | end YM.Push.Common |