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.CellFourier.Circulant |
| 2 | |
| 3 | /-! |
| 4 | # Same mesh, different row geometry |
| 5 | |
| 6 | Using centered residues for every offset. `Cross` even types with no |
| 7 | orientation. Mats ℝ with Frobenius notation at `Linear`, counting separated |
| 8 | from Color directions. Coarse p with fine aliases verifies full-kernel |
| 9 | identities against the exact footprint fibers. No removal of harmonic modes |
| 10 | on tori. Bounds are separate from these exact relations (see also `Row`). |
| 11 | -/ |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | namespace YM.Bloch |
| 15 | open Lattice Laurent Matrix Function Filter Set Complex |
| 16 | open scoped Topology BigOperators ComplexConjugate ContDiff Matrix.Norms.Frobenius |
| 17 | |
| 18 | abbrev Co (c : Side) (α : Type*) := Site c × α |
| 19 | |
| 20 | variable {c f : Side} (g : Ratio c f) {α β γ : Type*} |
| 21 | |
| 22 | /-- Universal real stencil with true coarse displacement, even when used on |
| 23 | the torus. From Coarse β to fine α; fine position x splits x= Lg + r, query |
| 24 | from r with `y-g`. For row from fine to coarse, use transpose of such. |
| 25 | -/ |
| 26 | abbrev Cross (L : Side) (α β : Type*) := Row (Co L α) β |
| 27 | |
| 28 | def splitCo (α : Type*) : Co f α ≃ Co c (Co g.count α) := |
| 29 | ((Equiv.prodCongr g.splitSites (Equiv.refl α)).trans (Equiv.prodAssoc _ _ _)) |
| 30 | |
| 31 | lemma split_co (x : Co f α) : splitCo g α x=(g.parent x.1,g.residue x.1,x.2) := by |
| 32 | change ((g.splitSites _).1,(g.splitSites _).2,_)=_; rw [← g.unpack]; rfl |
| 33 | |
| 34 | /-- PERIODIC counting action via the cover stencil, no hidden period scalars. -/ |
| 35 | def installed (P : Cross g.count α β) : Matrix (Co f α) (Co c β) ℝ := Matrix.submatrix (P.acts c) (splitCo g α) id |
| 36 | |
| 37 | section aliases |
| 38 | variable (α) [DecidableEq α] |
| 39 | /-- Coarse transformed p, not yet alias-parsed. -/ |
| 40 | def coarseReading : Matrix (Co f α) (Co c (Co g.count α)) ℂ := (rotations c (Co g.count α)).submatrix (splitCo g α) id |
| 41 | |
| 42 | def parsed := fiber (fun p : Site c => aliasBlock g.count α (mon p)) |
| 43 | |
| 44 | variable [Fintype α] |
| 45 | |
| 46 | def readings := coarseReading g α*parsed g α |
| 47 | |
| 48 | lemma parserGram : star (parsed g α) * parsed g α=(g.count.val:ℂ)^4 • 1 := by |
| 49 | unfold parsed |
| 50 | ext ⟨x,i⟩ ⟨y,j⟩ |
| 51 | rw [Matrix.star_eq_conjTranspose,mul_apply,Fintype.sum_prod_type] |
| 52 | by_cases h : x=y |
| 53 | · subst y |
| 54 | have H := congr_fun (congr_fun (straightens g.count α (mon x)) i) j |
| 55 | simpa [fiber, Matrix.smul_apply,smul_ite, Matrix.one_apply,mul_ite,ite_mul,returned,star_zero, apply_ite star, real_frequency,mul_apply] using H |
| 56 | simp only [Matrix.smul_apply,Matrix.one_apply,Prod.mk.injEq,h,false_and, ↓reduceIte,smul_zero] |
| 57 | refine Finset.sum_eq_zero fun a _ ↦ Finset.sum_eq_zero fun i _ ↦ ?_ |
| 58 | simp only [Matrix.conjTranspose_apply,fiber, of_apply]; split_ifs <;> simp_all |
| 59 | |
| 60 | lemma parserGram' : parsed g α * star (parsed g α)=(g.count.val:ℂ)^4 • 1 := by |
| 61 | have hp : ((g.count.val:ℂ)^4) ≠ 0 := pow_ne_zero _ (side_ne _) |
| 62 | have hh : (((g.count.val:ℂ)^4)⁻¹ • star (parsed g α))*parsed g α=1 := by rw [smul_mul_assoc, parserGram,smul_smul,inv_mul_cancel₀ hp,one_smul] |
| 63 | conv_rhs => rw [← mul_eq_one_comm.mp hh] |
| 64 | rw [mul_smul_comm,smul_smul,mul_inv_cancel₀ hp,one_smul] |
| 65 | |
| 66 | theorem readingsGram : readings g α * (readings g α).conjTranspose=(f.val:ℂ)^4 • 1 := by |
| 67 | have he : coarseReading g α * (coarseReading g α).conjTranspose=(c.val:ℂ)^4 • 1 := by |
| 68 | let s := splitCo g α |
| 69 | have hx := congr_arg (fun m : Matrix _ _ ℂ => submatrix m s s) (rotations_gram c (Co g.count α)) |
| 70 | ext i j |
| 71 | simpa only [coarseReading,s,Matrix.mul_apply,Matrix.conjTranspose_apply,Matrix.submatrix_apply, |
| 72 | Matrix.smul_apply,Matrix.one_apply,id_eq, (splitCo g α).injective.eq_iff, |
| 73 | Matrix.star_eq_conjTranspose] using congr_fun (congr_fun hx i) j |
| 74 | unfold readings; rw [Matrix.conjTranspose_mul, Matrix.mul_assoc, ← Matrix.mul_assoc (parsed g α), |
| 75 | ← Matrix.star_eq_conjTranspose,parserGram', Matrix.smul_mul, Matrix.one_mul, Matrix.mul_smul,he,smul_smul, show (f.val:ℂ)=(c.val:ℂ)*g.count.val by rw [g.exact_size,Nat.cast_mul],mul_pow, mul_comm] |
| 76 | |
| 77 | -- prove alias frequencies on the fine torus without requiring centered branch identification of the high alias |
| 78 | omit [DecidableEq α] [Fintype α] in |
| 79 | lemma winds (p : Site c) (l : Site g.count) (x : Cover) : mode (aliasAt (mon p) l) (f.val • x)=1 := by |
| 80 | rw [g.exact_size,mul_comm c.val, mul_smul, ← mode_scale, alias_scale,mode_phase, |
| 81 | mode_periodic,← mode_scale, mon_phase,mode_periodic,mul_one] |
| 82 | |
| 83 | omit [DecidableEq α] [Fintype α] in |
| 84 | lemma mesh_alias (p : Site c) (l : Site g.count) {x y : Cover} (h : wrap f x=wrap f y) : |
| 85 | mode (aliasAt (mon p) l) x = mode (aliasAt (mon p) l) y := by |
| 86 | obtain ⟨j,rfl⟩ := cover_of_eq x y h; rw [mode_shift, winds, mul_one] |
| 87 | |
| 88 | lemma sample (p : Site c) (l : Site g.count) (x : Site f) (a b : α) : readings g α (x,b) (p,l,a)= |
| 89 | if b=a then mode (aliasAt (mon p) l) (lift x) else 0 := by |
| 90 | let r := g.residue x |
| 91 | let y := g.parent x |
| 92 | have hh : readings g α (x,b) (p,l,a)=(rotations c (Co g.count α)*parsed g α) (y,r,b) (p,l,a) := by |
| 93 | simp only [readings,mul_apply,coarseReading,submatrix_apply,split_co]; rfl |
| 94 | rw [hh, parsed, rot_fiber] |
| 95 | simp only [aliasBlock,Matrix.of_apply] |
| 96 | split <;> rename_i H |
| 97 | · rw [show mode (aliasAt (mon p) l) (lift x)=mode (aliasAt (mon p) l) (g.count.val • lift y + lift r) by |
| 98 | apply mesh_alias; rw [wrap_lift,map_add]; exact (g.unpack_at x).symm] |
| 99 | rw [mode_shift,← mode_scale,alias_scale,mode_phase,mode_periodic,mul_one] |
| 100 | rfl |
| 101 | simp |
| 102 | end aliases |
| 103 | |
| 104 | section algebra |
| 105 | variable [Fintype α] [Fintype β] [DecidableEq α] [DecidableEq β] |
| 106 | |
| 107 | def direct (R : Row α β) (L : Side) (p : Momentum) := fiber (fun l : Site L => R.read (aliasAt p l)) |
| 108 | |
| 109 | /-- Counting proof on every high & harmonic alias on every torus. -/ |
| 110 | lemma aligns (R : Row α β) (h : R.safe) : |
| 111 | approached (R.acts f)*readings g β=readings g α*fiber (fun p : Site c => direct R g.count (mon p)) := by |
| 112 | ext ⟨x,i⟩ ⟨p,l,b⟩ |
| 113 | have hu : (readings g α*fiber (fun p : Site c => direct R g.count (mon p))) (x,i) (p,l,b) = mode (aliasAt (mon p) l) (lift x)*R.read (aliasAt (mon p) l) i b := by |
| 114 | simp [mul_apply,Fintype.sum_prod_type, sample,fiber,direct,Row.read,Laurent.read,mul_ite,ite_mul] |
| 115 | rw [hu,mul_apply,Fintype.sum_prod_type] |
| 116 | simp only [Row.acts, approached, Matrix.map_apply, Matrix.of_apply, sample] |
| 117 | simp_rw [mul_ite,mul_zero, Finset.sum_ite_eq', Finset.mem_univ, if_true] |
| 118 | let q := aliasAt (mon p) l |
| 119 | have hs (y : Site f) : Summable fun a => (if y = x+wrap f a then R i b a else 0) := by |
| 120 | have H := (h i b).of_norm.indicator {a | y=x+wrap f a} |
| 121 | exact H.congr (fun z => by simp [indicator]) |
| 122 | have ht (y : Site f) : Summable fun a => ((if y=x+wrap f a then R i b a else 0:ℝ) : ℂ)*mode q (lift y) := (Complex.ofRealCLM.summable (hs y)).mul_right _ |
| 123 | simp_rw [ofReal_tsum,← tsum_mul_right] |
| 124 | rw [← Summable.tsum_finsetSum (fun y _ => ht y),Row.read,of_apply, Laurent.read, ← tsum_mul_left] |
| 125 | refine tsum_congr fun z => ?_ |
| 126 | simp_rw [apply_ite ((↑):ℝ→ℂ),ofReal_zero, ite_mul, zero_mul, Finset.sum_ite_eq', Finset.mem_univ, if_true] |
| 127 | rw [show mode q (lift (x+wrap f z))=mode q (lift x+z) by |
| 128 | apply mesh_alias; simp only [wrap_lift,map_add],mode_shift] |
| 129 | simp only [q, smul_eq_mul]; ring |
| 130 | |
| 131 | lemma assembled (A : Cross g.count α β) (h : A.safe) : approached (installed g A)*rotations c β= |
| 132 | coarseReading g α*fiber (fun p : Site c => A.read (mon p)) := by |
| 133 | ext i j |
| 134 | simpa only [installed,coarseReading, Matrix.mul_apply, Matrix.submatrix_apply, approached,map_apply,id_eq] using |
| 135 | congr_fun (congr_fun (circulant c A h) ((splitCo g α) i)) j |
| 136 | end algebra |
| 137 | end YM.Bloch |