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.Source.Construction |
| 2 | import YM.Euclid.Table |
| 3 | |
| 4 | /-! |
| 5 | # Adapter from Wilson Family to finite moments |
| 6 | |
| 7 | Multilinearity, reality, orientation use *only* this cylinder calibration. |
| 8 | No limit used. Literal cutoff coordinates, origin and cover. |
| 9 | -/ |
| 10 | |
| 11 | set_option autoImplicit false |
| 12 | noncomputable section |
| 13 | namespace YM |
| 14 | open Lattice Wilson Function Set MeasureTheory |
| 15 | open scoped ContDiff Topology BigOperators Matrix.Norms.Frobenius |
| 16 | |
| 17 | namespace Family |
| 18 | variable {G : Gauge} (C : Family G) |
| 19 | |
| 20 | abbrev book : Register G := ⟨C.labels, fun d => C.S.a (C.ref d),fun d => C.S.a_pos (C.ref d)⟩ |
| 21 | |
| 22 | @[simp] theorem unit_ref (d : ℕ) : C.book.scalar d = C.refUnit d := rfl |
| 23 | |
| 24 | variable {N p n : ℕ} |
| 25 | |
| 26 | def seen (t : C.book.Token) (y : Site (C.side N p)) := C.O N p (d := t.1) t.2 y |
| 27 | |
| 28 | theorem integrableR {n : ℕ} (v : Fin n → C.book.Token) (r : Fin n → Site (C.side N p)) : |
| 29 | Integrable (fun U => ∏ i, C.seen (v i) (r i) U) (law G _ (C.beta N p)) := |
| 30 | continuous_integrable (C.beta N p) (continuous_finsetProd _ fun i _ => C.continuousO N p (v i).1 (v i).2 (r i)) |
| 31 | |
| 32 | def ensemble (d : Caps n) (x : Fin n → Site (C.side N p)) : Moment C.book n d where |
| 33 | toFun v := C.omega N p fun U => ∏ i, C.O N p (d := d i) (v i) (x i) U |
| 34 | map_update_add' v i u w := by |
| 35 | let f (a : C.book.Vector d) (U : Config G (C.side N p)) : ℂ := ∏ i, C.O N p (d := d i) (a i) (x i) U |
| 36 | have He (a : C.book.Ref (d i)) (U) : f (update v i a) U = C.O N p (d := d i) a (x i) U * |
| 37 | ∏ j ∈ Finset.univ.erase i, C.O N p (d := d j) (v j) (x j) U := by |
| 38 | dsimp only [f] |
| 39 | rw [← Finset.mul_prod_erase _ _ (Finset.mem_univ i), update_self] |
| 40 | congr 1 |
| 41 | exact Finset.prod_congr rfl fun j hj => congr_arg |
| 42 | (fun y : C.book.Ref _ => C.O N p (d := d j) y (x j) U) |
| 43 | (Function.update_of_ne (Finset.mem_erase.mp hj).1 ..) |
| 44 | change (∫ U, f _ U ∂_) = _ |
| 45 | have H (a) : Integrable (f a) (law G (C.side N p) (C.beta N p)) := |
| 46 | C.integrableR (fun j => ⟨d j,a j⟩) x |
| 47 | change (∫ U, f (update v i (u+w)) U ∂_) = (∫ U, f (update v i u) U ∂_)+(∫ U, f (update v i w) U ∂_) |
| 48 | rw [← integral_add (H _) (H _)] |
| 49 | apply integral_congr_ae; refine Filter.Eventually.of_forall fun U => ?_ |
| 50 | dsimp only |
| 51 | rw [He,He,He, ← add_mul] |
| 52 | exact congr_arg (fun y : ℂ => y * _) (congr_fun ((C.linearO N p (d i) (x i)).map_add u w) U) |
| 53 | map_update_smul' v i c u := by |
| 54 | let f (a : C.book.Vector d) (U : Config G (C.side N p)) : ℂ := ∏ j, C.O N p (d := d j) (a j) (x j) U |
| 55 | have He (a : C.book.Ref (d i)) (U) : f (update v i a) U = C.O N p (d := d i) a (x i) U * |
| 56 | ∏ j ∈ Finset.univ.erase i, C.O N p (d := d j) (v j) (x j) U := by |
| 57 | dsimp only [f] |
| 58 | rw [← Finset.mul_prod_erase _ _ (Finset.mem_univ i), update_self] |
| 59 | congr 1 |
| 60 | exact Finset.prod_congr rfl fun j hj => congr_arg |
| 61 | (fun y : C.book.Ref _ => C.O N p (d := d j) y (x j) U) |
| 62 | (Function.update_of_ne (Finset.mem_erase.mp hj).1 ..) |
| 63 | change (∫ U, f (update v i (c • u)) U ∂_) = c * ∫ U, f (update v i u) U ∂_ |
| 64 | rw [← integral_const_mul]; apply integral_congr_ae |
| 65 | refine Filter.Eventually.of_forall fun U => ?_; dsimp only; rw [He,He, ← mul_assoc] |
| 66 | exact congr_arg (fun y : ℂ => y * _) (congr_fun ((C.linearO _ _ _ _).map_smul c u) U) |
| 67 | |
| 68 | def numeric (N p : ℕ) (v : Fin n → C.book.Token) (r : Fin n → Site (C.side N p)) : ℂ := |
| 69 | C.ensemble (fun i => (v i).1) r fun i => (v i).2 |
| 70 | |
| 71 | theorem num (v : Fin n → C.book.Token) (r : Fin n → Site (C.side N p)) : |
| 72 | C.numeric N p v r = ∫ U, (∏ i, C.seen (v i) (r i) U) ∂law G _ (C.beta N p) := rfl |
| 73 | |
| 74 | theorem oriented (H : C.Makes) (v : Fin n → C.book.Token) (H' : ∀ i, C.ref (v i).1 ≤ N) |
| 75 | (s : Signed) (t : Site (C.side N p)) (x : Fin n → Site (C.side N p)) : |
| 76 | C.numeric N p (C.book.move s ∘ v) (affine s t ∘ x) = C.numeric N p v x := by |
| 77 | let F := fun U : Config G _ => ∏ i, C.seen (C.book.move s (v i)) (affine s t (x i)) U |
| 78 | -- F equals original product on pulled links |
| 79 | rw [num,num] |
| 80 | have he : F = (fun U => ∏ i, C.seen (v i) (x i) U) ∘ pull s t := funext fun U => |
| 81 | Finset.prod_congr rfl fun i _ => C.rotated H (H' i) (v i).2 s (x i) t U |
| 82 | change moment (C.beta N p) F = _; rw [he] |
| 83 | exact moment_pull _ _ _ _ (C.integrableR v x) |
| 84 | |
| 85 | abbrev sufficient (N) (v : Fin n → C.book.Token) := ∀ i, C.ref (v i).1 ≤ N |
| 86 | |
| 87 | theorem anchored (H : C.Makes) (v : Fin n → C.book.Token) (H' : C.sufficient N v) (t : Site (C.side N p)) (x) : |
| 88 | C.numeric N p v (fun i => x i + t) = C.numeric N p v x := by |
| 89 | have he1 : C.book.move 1 ∘ v = v := funext fun i => by unfold Function.comp Register.move; simp |
| 90 | have he2 : affine 1 t ∘ x = fun i => x i + t := funext fun i => by simp [affine,add_comm] |
| 91 | simpa only [he1,he2] using C.oriented H v H' 1 t x |
| 92 | |
| 93 | theorem real_eval (H : C.Makes) (v : Fin n → C.book.Token) (H' : C.sufficient N v) |
| 94 | (x : Fin n → Site (C.side N p)) : |
| 95 | C.numeric N p (C.book.conjugate ∘ v) x = star (C.numeric N p v x) := by |
| 96 | rw [num,num,Complex.star_def,← integral_conj] |
| 97 | apply integral_congr_ae; refine Filter.Eventually.of_forall fun U => ?_ |
| 98 | simp only [map_prod] |
| 99 | exact Finset.prod_congr rfl fun i _ => C.reality H (H' i) (v i).2 _ _ |
| 100 | end Family |
| 101 | end YM |