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.Extraction.Round |
| 2 | import YM.Extraction.Limits |
| 3 | |
| 4 | /-! |
| 5 | # Exact step integration |
| 6 | -/ |
| 7 | set_option autoImplicit false |
| 8 | noncomputable section |
| 9 | namespace YM.Extraction |
| 10 | open Function Set Filter MeasureTheory Lattice |
| 11 | open scoped Topology BigOperators |
| 12 | variable {S : Schedule} {n : ℕ} |
| 13 | |
| 14 | abbrev Var (S : Schedule) (n N p : ℕ) := Fin n → Site (S.side N p) |
| 15 | |
| 16 | def bucket (N p : ℕ) (x : Points n) : Var S n N p := fun i => wrap _ (address (S.a N) x i) |
| 17 | |
| 18 | theorem found {N p} {x : Points n} (hx : x ∈ Fund S p n) : |
| 19 | x ∈ segment (S.a N) (fun i => lift (bucket N p x (S := S) i)) := by |
| 20 | obtain ⟨r,hr,_⟩ := corners (N := N) hx |
| 21 | have he : bucket N p x = r := by |
| 22 | ext1 i |
| 23 | change wrap _ _ = _; rw [congr_fun (show address (S.a N) x = _ from hr) i]; exact wrap_lift _ |
| 24 | rw [he]; exact hr |
| 25 | |
| 26 | open scoped Classical in |
| 27 | def stair (S : Schedule) {n N p} (F : Var S n N p → ℂ) : Points n → ℂ := (Fund S p n).indicator |
| 28 | fun x => F (bucket _ _ x) |
| 29 | |
| 30 | lemma by_tile {N p} (F : Var S n N p → ℂ) : stair S F = |
| 31 | ∑ r : Var S n N p, (segment (S.a N) (fun i => lift (r i))).indicator (fun _ => F r) := by |
| 32 | classical |
| 33 | funext x |
| 34 | rw [Finset.sum_apply] |
| 35 | by_cases hx : x ∈ Fund S p n |
| 36 | · rw [stair,indicator_of_mem hx, Finset.sum_eq_single (bucket (S := S) N p x), indicator_of_mem (found hx)] |
| 37 | · intro b _ hn |
| 38 | refine indicator_of_notMem ?_ _ |
| 39 | intro ht |
| 40 | exact hn ((corners hx).unique ht (found hx)) |
| 41 | simp |
| 42 | · rw [stair,indicator_of_notMem hx] |
| 43 | exact (Finset.sum_eq_zero fun b _ => indicator_of_notMem (fun he => hx (tile_in b he)) _).symm |
| 44 | |
| 45 | lemma full_box (S : Schedule) (p n : ℕ) : MeasurableSet (Fund S p n) ∧ volume (Fund S p n) < ⊤ := by |
| 46 | rw [show Fund S p n = ⋃ r : Var S n 0 p, segment (S.a 0) (fun i => lift (r i)) by |
| 47 | ext x; rw [mem_iUnion]; exact ⟨fun h => ⟨_,found h⟩, by rintro ⟨r,hr⟩; exact tile_in r hr⟩] |
| 48 | refine ⟨MeasurableSet.iUnion fun i => measurable_segment (S.a_pos _) _,?_⟩ |
| 49 | apply lt_of_le_of_lt (measure_iUnion_le _) |
| 50 | simp_rw [cell_volume (S.a_pos 0)] |
| 51 | rw [tsum_fintype]; exact ENNReal.sum_lt_top.mpr fun i _ => ENNReal.ofReal_lt_top |
| 52 | |
| 53 | lemma cell_integrable {N p} (F : Var S n N p → ℂ) (r : Var S n N p) : |
| 54 | Integrable ((segment (S.a N) (fun i => lift (r i))).indicator (fun _ => F r)) := by |
| 55 | rw [integrable_indicator_iff (measurable_segment (S.a_pos _) _)] |
| 56 | refine integrableOn_const ?_ (by finiteness) |
| 57 | rw [cell_volume (S.a_pos _)]; exact ENNReal.ofReal_ne_top |
| 58 | |
| 59 | lemma stair_int {N p} (F : Var S n N p → ℂ) : Integrable (stair S F) := by |
| 60 | rw [by_tile] |
| 61 | exact integrable_finsetSum' _ fun r _ => cell_integrable F r |
| 62 | |
| 63 | theorem stair_integral {N p} (F : Var S n N p → ℂ) : |
| 64 | (∫ x : Points n, stair S F x) = (S.a N : ℂ)^(4*n) * ∑ r, F r := by |
| 65 | rw [by_tile] |
| 66 | simp_rw [Finset.sum_apply] |
| 67 | rw [integral_finsetSum _ fun r _ => cell_integrable F r, Finset.mul_sum] |
| 68 | apply Finset.sum_congr rfl; intro r _ |
| 69 | rw [integral_indicator (measurable_segment (S.a_pos _) _), setIntegral_const, measureReal_def, |
| 70 | cell_volume (S.a_pos N), ENNReal.toReal_ofReal (pow_nonneg (S.a_pos N).le _), Complex.real_smul, |
| 71 | Complex.ofReal_pow] |
| 72 | |
| 73 | variable {G : Gauge} (C : Family G) |
| 74 | def densityCell (N p : ℕ) (v : Fin n → C.book.Token) (f : Test n) := |
| 75 | stair C.S fun r : Var C.S n N p => f (Order.cells C N p r) * C.numeric N p v r |
| 76 | |
| 77 | theorem exactSmear (N p : ℕ) (v : Fin n → C.book.Token) (f : Test n) : |
| 78 | (∫ x, densityCell C N p v f x) = Order.smears C N p v f := stair_integral _ |
| 79 | |
| 80 | theorem stepped (N p : ℕ) {x : Points n} (hx : x ∈ Fund C.S p n) (v : Fin n → C.book.Token) (f : Test n) : |
| 81 | densityCell C N p v f x = f (tag (C.S.a N) (address (C.S.a N) x)) * |
| 82 | C.numeric N p v (bucket N p x) := by |
| 83 | rw [densityCell,stair,indicator_of_mem hx] |
| 84 | congr 2 |
| 85 | apply PiLp.ext |
| 86 | intro i |
| 87 | have h := congr_fun (show address (C.S.a N) x = _ from found (N := N) hx) i |
| 88 | simp only [Order.cells,points_apply, tag, Schedule.place] |
| 89 | exact congr_arg (C.S.gridPoint N) h.symm |
| 90 | end YM.Extraction |