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.AnalyticNext.CUBIC_MATCH.Lift.Boundary |
| 2 | import YM.Next.FREE_KERNELS.Lifts |
| 3 | |
| 4 | set_option warningAsError false |
| 5 | |
| 6 | /-! |
| 7 | # Periodization of the three-leg problem, including column tests |
| 8 | |
| 9 | Coefficients keep their prescribed universal values, even at coinciding |
| 10 | points, noncanonical base points, period one. `downX/Y/Z` include the |
| 11 | nonprojected origin and keep any exterior-type arguments. This is about |
| 12 | actual counting cochains on the full periodic lattice. |
| 13 | -/ |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.CubicMatch |
| 17 | open Function Filter RG Supply Precision Lattice Wilson Tree Exterior Matrix Bloch Laurent Lift |
| 18 | open scoped Topology ContDiff BigOperators Matrix.Norms.Frobenius |
| 19 | |
| 20 | variable {r s t : ℕ} {n : Side} {D E : Type*} |
| 21 | variable [NormedAddCommGroup E] [CompleteSpace E] [NormedSpace ℝ E] |
| 22 | [NormedAddCommGroup D] [CompleteSpace D] [NormedSpace ℝ D] {η C : ℝ} |
| 23 | |
| 24 | def squeeze (n : Side) : Couple →+ Site n × Site n := (wrap n).prodMap (wrap n) |
| 25 | |
| 26 | def same (u : Couple → E) (a : Site n × Site n) (x : Couple) := if squeeze n x=a then u x else 0 |
| 27 | |
| 28 | def unroll (u : Couple → E) (a : Site n × Site n) := ∑' x, same u a x |
| 29 | |
| 30 | /-- Anchored coefficient, read the *full* periodic tensor. -/ |
| 31 | def acts (n : Side) (K : Three E r s t) (x : Body r n) (y : Body s n) (z : Body t n) : E := |
| 32 | unroll (K x.2 y.2 z.2) (x.1-z.1, y.1-z.1) |
| 33 | |
| 34 | omit [CompleteSpace E] [NormedSpace ℝ E] in |
| 35 | lemma same_norm {u : Couple → E} (hu : Summable fun i => ‖u i‖) (a : Site n × Site n) : |
| 36 | Summable fun x => ‖same u a x‖ := |
| 37 | hu.of_nonneg_of_le (fun _ => norm_nonneg _) (fun i => by unfold same; split <;> simp) |
| 38 | |
| 39 | omit [CompleteSpace D] in |
| 40 | lemma unroll_map (L : E →L[ℝ] D) {u : Couple → E} (hu : Summable fun i => ‖u i‖) |
| 41 | (a : Site n × Site n) : unroll (L ∘ u) a = L (unroll u a) := by |
| 42 | rw [unroll,unroll,L.map_tsum (same_norm hu a).of_norm]; refine tsum_congr fun i => ?_ |
| 43 | unfold same; split |
| 44 | · rfl |
| 45 | simp only [map_zero] |
| 46 | |
| 47 | /-- Periodization commutes with even the moving anchors in a coboundary. |
| 48 | Only apply this *after* having obtained a joint width on the kernel. -/ |
| 49 | lemma clipped {A : Line Couple E (r+1)} (p : ∀ i, Decay length2 η C (A i)) (he : 0<η) |
| 50 | (w : Axis → Couple) (j : TypeFace r) (v : Site n × Site n) : |
| 51 | unroll (bite w A j) v = bite (fun a => squeeze n (w a)) (fun i => unroll (A i)) j v := by |
| 52 | have H (k) : Summable fun z => ‖A k z‖ := (p k).summable_norm (summable_two he) |
| 53 | let X k i x := if squeeze n x=v then A k (x-w i) else 0 |
| 54 | have hs k a : Summable fun z => ‖A k (z-w a)‖ := by |
| 55 | simp_rw [sub_eq_add_neg]; exact (Equiv.addRight (-w a)).summable_iff.mpr (H k) |
| 56 | have hx k i : Summable (X k i) := (same_norm (hs k i) v).of_norm |
| 57 | have hp k : Summable (same (A k) v) := (same_norm (H k) v).of_norm |
| 58 | have hg k i : (∑' x, X k i x)=unroll (A k) (v-squeeze n (w i)) := by |
| 59 | rw [← (Equiv.addRight (w i)).tsum_eq]; unfold unroll |
| 60 | refine tsum_congr fun b => ?_ |
| 61 | change (if squeeze n (b+w i)=v then A k (b+w i-w i) else 0) = _ |
| 62 | simp only [same,map_add,add_sub_cancel_right] |
| 63 | simp only [eq_sub_iff_add_eq] |
| 64 | have hc (k i) := ((hx k i).sub (hp k)).const_smul (left ℝ r i k j) |
| 65 | change ∑' x, same _ v x = _ |
| 66 | rw [show same (bite w A j) v=fun x => ∑ i : TypeFace (r+1), |
| 67 | ∑ a : Axis, left ℝ r a i j • (X i a x-same (A i) v x) from ?eq, Summable.tsum_finsetSum]; swap |
| 68 | · exact fun i _ => summable_sum (fun j _ => show Summable _ from hc i j) |
| 69 | unfold bite; refine Finset.sum_congr rfl fun i _ => ?_ |
| 70 | rw [Summable.tsum_finsetSum]; swap |
| 71 | · exact fun j _ => hc _ _ |
| 72 | refine Finset.sum_congr rfl fun a _ => ?_ |
| 73 | rw [tsum_const_smul'', (hx i a).tsum_sub (hp i),hg]; rfl |
| 74 | case eq => funext x; unfold bite; by_cases hh : squeeze n x=v <;> simp [same,X,hh] |
| 75 | |
| 76 | omit [CompleteSpace E] in |
| 77 | /-- transpose against a column indexed by *any* exterior type. -/ |
| 78 | lemma column (i : Body r n) (A : TypeFace (r+1) → Site n → E) : |
| 79 | (∑ j : Body (r+1) n, d r n j i • A j.2 j.1)=bite step A i.2 i.1 := by |
| 80 | rcases i with ⟨x,i⟩; unfold bite |
| 81 | simp_rw [d, acts_apply,Fintype.sum_prod_type]; rw [Finset.sum_comm] |
| 82 | refine Finset.sum_congr rfl fun b _ => ?_ |
| 83 | simp_rw [Finset.sum_smul]; rw [Finset.sum_comm] |
| 84 | refine Finset.sum_congr rfl fun a _ => ?_ |
| 85 | have he (z : Site n) : x=z+step a ↔ z=x-step a := by rw [eq_sub_iff_add_eq,eq_comm] |
| 86 | simp_rw [he,mul_sub, sub_smul, mul_ite, ite_smul, mul_one,mul_zero,zero_smul] |
| 87 | simp [Finset.sum_sub_distrib,smul_sub] |
| 88 | |
| 89 | lemma downX {K : Three E (r+1) s t} (h : Pace η C K) (he : 0<η) (i j l) : |
| 90 | acts n (δx K) i j l=∑ x : Body (r+1) n, d r n x i • acts n K x j l := by |
| 91 | let A a := K a j.2 l.2 |
| 92 | rw [show (∑ x : Body (r+1) n, _)=_ from column i (fun b x => acts n K (x,b) j l)] |
| 93 | rw [acts,δx,clipped (A:=A) (fun k => h k j.2 l.2) he]; unfold bite |
| 94 | refine Finset.sum_congr rfl fun k _ => Finset.sum_congr rfl fun a _ => ?_ |
| 95 | rw [show (i.1-l.1,j.1-l.1)-squeeze n (aheadX a)=(i.1-step a-l.1,j.1-l.1) from ?_]; rfl |
| 96 | ext1 |
| 97 | · change i.1-l.1-wrap n (step a)=_; rw [wrap_step,sub_right_comm] |
| 98 | change j.1-l.1-wrap n 0=_; rw [map_zero,sub_zero] |
| 99 | lemma downY {K : Three E r (s+1) t} (h : Pace η C K) (he : 0<η) (i j l) : |
| 100 | acts n (δy K) i j l=∑ x : Body (s+1) n, d s n x j • acts n K i x l := by |
| 101 | let A a := K i.2 a l.2 |
| 102 | rw [show (∑ x : Body (s+1) n, _)=_ from column j (fun b x => acts n K i (x,b) l)] |
| 103 | rw [acts,δy,clipped (A:=A) (fun k => h i.2 k l.2) he]; unfold bite |
| 104 | refine Finset.sum_congr rfl fun k _ => Finset.sum_congr rfl fun a _ => ?_ |
| 105 | rw [show (i.1-l.1,j.1-l.1)-squeeze n (aheadY a)=(i.1-l.1,j.1-step a-l.1) from ?_]; rfl |
| 106 | ext1 |
| 107 | · change i.1-l.1-wrap n 0=_; rw [map_zero,sub_zero] |
| 108 | change j.1-l.1-wrap n (step a)=_; rw [wrap_step,sub_right_comm] |
| 109 | lemma downZ {K : Three E r s (t+1)} (h : Pace η C K) (he : 0<η) (i j l) : |
| 110 | acts n (δz K) i j l=∑ x : Body (t+1) n, d t n x l • acts n K i j x := by |
| 111 | rw [show (∑ x : Body (t+1) n, _)=_ from column l (fun b x => acts n K i j (x,b))] |
| 112 | rw [acts,δz,clipped (h i.2 j.2) he]; unfold bite |
| 113 | refine Finset.sum_congr rfl fun k _ => Finset.sum_congr rfl fun a _ => ?_ |
| 114 | rw [show (i.1-l.1,j.1-l.1)-squeeze n (behind a)=(i.1-(l.1-step a),j.1-(l.1-step a)) from ?_]; rfl |
| 115 | ext1 |
| 116 | · change i.1-l.1-wrap n (-step a)=_; rw [map_neg,wrap_step]; dsimp only; abel_nf |
| 117 | change j.1-l.1-wrap n (-step a)=_; rw [map_neg,wrap_step]; dsimp only; abel_nf |
| 118 | |
| 119 | omit [NormedSpace ℝ E] in |
| 120 | lemma entry_value {u : Couple → E} (h : Summable fun i => ‖u i‖) (z : ℕ → Side) |
| 121 | (hz : Tendsto (fun i => (z i).val) atTop atTop) (x : Couple) : |
| 122 | Tendsto (fun i => unroll u (squeeze (z i) x)) atTop (𝓝 (u x)) := by |
| 123 | let f i a := same u (squeeze (z i) x) a |
| 124 | let g a := if a=x then u a else 0 |
| 125 | have he a : Tendsto (fun i => f i a) atTop (𝓝 (g a)) := by |
| 126 | apply Filter.EventuallyEq.tendsto |
| 127 | filter_upwards [Next.Free.eventually_unfold z hz x.1, Next.Free.eventually_unfold z hz x.2, |
| 128 | Next.Free.eventually_unfold z hz a.1, Next.Free.eventually_unfold z hz a.2] with i h1 h2 h3 h4 |
| 129 | by_cases hy : a=x |
| 130 | · simp [hy,f,g,same] |
| 131 | have hh : squeeze (z i) a ≠ squeeze (z i) x := fun e => hy (Prod.ext |
| 132 | (h3.symm.trans ((congr_arg (fun q : Site (z i) × Site (z i) => lift q.1) e).trans h1)) |
| 133 | (h4.symm.trans ((congr_arg (fun q : Site (z i) × Site (z i) => lift q.2) e).trans h2))) |
| 134 | simp [hy, hh,f,g,same] |
| 135 | have hs := tendsto_tsum_of_dominated_convergence h he (Eventually.of_forall (fun i a => show ‖f i a‖ ≤ _ by unfold f same; split <;> simp)) |
| 136 | rw [show ∑' i,g i=u x by simp [g]] at hs; exact hs |
| 137 | |
| 138 | omit [CompleteSpace D] in |
| 139 | lemma unroll_sum_apply (a : Couple → E) (ha : Summable fun i => ‖a i‖) |
| 140 | (v : (Site n × Site n) → E →L[ℝ] D) : |
| 141 | ∑ t : Site n × Site n, v t (unroll a t)=∑' i,v (squeeze n i) (a i) := by |
| 142 | let f t i := v t (same a t i) |
| 143 | have he t : Summable (f t) := ((v t).hasSum (same_norm ha t).of_norm.hasSum).summable |
| 144 | calc |
| 145 | _ = ∑ t, ∑' i,f t i := Finset.sum_congr rfl fun i _ => (v i).map_tsum (same_norm ha i).of_norm |
| 146 | _ = ∑' i,∑ t,f t i := (Summable.tsum_finsetSum (fun i _ => he i)).symm |
| 147 | _ = _ := tsum_congr fun i => by |
| 148 | rw [Finset.sum_eq_single (squeeze n i)] |
| 149 | · simp [f,same] |
| 150 | · intro b _ h; simp only [f,same, if_neg h.symm, map_zero] |
| 151 | simp |
| 152 | end YM.CubicMatch |