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.Push.FREE_RESOLVENT.Weights |
| 2 | import YM.SectorNext.GAUSSIAN_SECTOR_CHANGE.Affine |
| 3 | |
| 4 | /-! |
| 5 | # The analytic stack: summing labels even when cut kernels still use a series |
| 6 | |
| 7 | Cut on actual slot lengths, don't assume only a finite number of labels |
| 8 | can produce them. For proving smoothness and entry estimates we can work via |
| 9 | a finite grouping by slot. This has no effect on the actual covariance |
| 10 | construction or label paths recorded in it. |
| 11 | -/ |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | namespace YM.AnalyticBridge.SectorAffine.Stack |
| 15 | open Filter Function Lattice Wilson RG Precision Pressure Tree |
| 16 | open YM.Next.Fluctuations YM.Next.SectorChange |
| 17 | open Finset |
| 18 | open scoped Topology ContDiff BigOperators InnerProductSpace Classical Matrix.Norms.Frobenius |
| 19 | |
| 20 | private def alphabet := (univ : Finset (Axis × Bool)).image (fun (p : Axis × Bool) => Lattice.Step.mk p.1 p.2) |
| 21 | private lemma stroke (d : Lattice.Step) : d ∈ alphabet := mem_image.mpr ⟨(d.dir,d.neg),mem_univ _,rfl⟩ |
| 22 | |
| 23 | private def strings : ℕ → Finset Walk |
| 24 | | 0 => {[]} |
| 25 | | n+1 => insert [] ((alphabet ×ˢ strings n).image fun (d,l) => d::l) |
| 26 | |
| 27 | private lemma leg (l : Walk) (n : ℕ) (h : l.length ≤ n) : l ∈ strings n := by |
| 28 | induction l generalizing n with |
| 29 | | nil => cases n <;> simp [strings] |
| 30 | | cons d l ih => |
| 31 | obtain _|n := n |
| 32 | · simp at h |
| 33 | · exact mem_insert_of_mem (mem_image.mpr ⟨(d,l),mem_product.mpr ⟨stroke _,ih n (by simpa using h)⟩,rfl⟩) |
| 34 | |
| 35 | def allShort (n : ℕ) := |
| 36 | (((strings n) ×ˢ (univ : Finset PlaqAxes)).image (fun (p,q) => RG.Slot.mk p q)).filter fun x => x.length≤n |
| 37 | |
| 38 | lemma short_iff (x : RG.Slot) (n : ℕ) : x∈allShort n ↔ x.length ≤ n := by |
| 39 | constructor |
| 40 | · exact fun h => (mem_filter.mp h).2 |
| 41 | intro h |
| 42 | refine mem_filter.mpr ⟨mem_image.mpr ⟨(x.walk,x.plaq),mem_product.mpr ⟨leg _ _ ?_,mem_univ _⟩,rfl⟩, h⟩ |
| 43 | exact (Nat.le_add_right x.walk.length 4).trans h |
| 44 | |
| 45 | variable {G : Gauge} {n : Side} {σ C Λ : ℝ} {c : Clip} {P : PathData G} |
| 46 | |
| 47 | def subCost (P : PathData G) (p : PlaqAxes) (z : RG.Slot) (i : ℕ) : ℝ := |
| 48 | if (P.row p i).2=z then (P.row p i).1 else 0 |
| 49 | |
| 50 | lemma sums (h : P.Bounds c σ C Λ) (p : PlaqAxes) (z : RG.Slot) : Summable (subCost P p z) := by |
| 51 | refine Summable.of_norm_bounded (YM.Work.F03.row_abs_summable P h p) ?_ |
| 52 | intro i; unfold subCost; split |
| 53 | · exact le_of_eq (Real.norm_eq_abs _) |
| 54 | rw [norm_zero]; exact abs_nonneg _ |
| 55 | |
| 56 | def grouped (P : PathData G) (p : PlaqAxes) (z : RG.Slot) : ℝ := ∑' i, subCost P p z i |
| 57 | |
| 58 | /-- Sum-budget before plane-wave or periods. All multiplicities by actual |
| 59 | coefficient; no occupancy bound on number in a box of offsets. -/ |
| 60 | lemma grouped_le (A : Finset RG.Slot) (h : P.Bounds c σ C Λ) (p : PlaqAxes) : |
| 61 | (∑ z ∈ A, |grouped P p z| * Real.exp (σ*z.length)) ≤ C := by |
| 62 | let Q (z : RG.Slot) (i : ℕ) := ‖subCost P p z i‖ |
| 63 | let W (z : RG.Slot) := Real.exp (σ*z.length) |
| 64 | have ha z : Summable (Q z) := (sums h p z).norm |
| 65 | have he z : HasSum (fun i => Q z i * W z) ((∑' i, Q z i)*W z) := (ha z).hasSum.mul_right _ |
| 66 | let D (i : ℕ) := ∑ z ∈ A, Q z i * W z |
| 67 | have hd : HasSum D (∑ z ∈ A, (∑' i, Q z i)*W z) := by |
| 68 | exact hasSum_sum (s:=A) fun i _ => he i |
| 69 | have hx i : D i ≤ |(P.row p i).1| * Real.exp (σ*(P.row p i).2.length) := by |
| 70 | by_cases hu : (P.row p i).2 ∈ A |
| 71 | · unfold D; rw [Finset.sum_eq_single_of_mem _ hu] |
| 72 | · simp [Q,W,subCost] |
| 73 | intro b hb hp |
| 74 | simp [Q,subCost,hp.symm] |
| 75 | have hh : D i=0 := Finset.sum_eq_zero (fun b hb => by |
| 76 | simp [Q,subCost,show (P.row p i).2≠b from fun h => hu (h.symm ▸ hb)]) |
| 77 | rw [hh]; exact (h.rows p).1 i |
| 78 | apply le_trans _ ((hd.tsum_eq.symm.le.trans (hd.summable.tsum_le_tsum hx (h.rows p).2.1)).trans |
| 79 | (h.rows p).2.2) |
| 80 | apply sum_le_sum; intro i _ |
| 81 | refine mul_le_mul_of_nonneg_right ?_ (Real.exp_pos _).le |
| 82 | exact norm_tsum_le_tsum_norm (ha i) |
| 83 | |
| 84 | lemma finite_price (p : Cell n) (r : ℕ) (U : Config G n) (b : LogArray G (Cell n)) (h : P.Bounds c σ C Λ) : |
| 85 | barrel P r U b p = ∑ z ∈ allShort r, grouped P p.2 z • |
| 86 | G.adjoint (travel U p.1 z.walk) (b (YM.Work.F03.slotFace z p.1)) := by |
| 87 | let H (z : RG.Slot) := G.adjoint (travel U p.1 z.walk) (b (YM.Work.F03.slotFace z p.1)) |
| 88 | have he z : HasSum (fun i => subCost P p.2 z i • H z) (grouped P p.2 z • H z) := |
| 89 | (sums h p.2 z).hasSum.smul_const _ |
| 90 | have hv : HasSum (fun i => ∑ z ∈ allShort r, subCost P p.2 z i • H z) |
| 91 | (∑ z ∈ allShort r, grouped P p.2 z • H z) := hasSum_sum (s:=allShort r) fun i _ => he i |
| 92 | unfold barrel |
| 93 | refine Eq.trans ?_ hv.tsum_eq |
| 94 | refine tsum_congr fun i => ?_ |
| 95 | let z := (P.row p.2 i).2 |
| 96 | dsimp only; split |
| 97 | next hp => |
| 98 | rw [sum_eq_single_of_mem z ((short_iff z r).mpr hp)] |
| 99 | · simp only [z, H, subCost,↓reduceIte] |
| 100 | intro j hj he |
| 101 | simp [subCost,(show (P.row p.2 i).2 ≠ j from Ne.symm he)] |
| 102 | next hp => |
| 103 | symm; refine sum_eq_zero (fun j hj => ?_) |
| 104 | have hz : j≠z := fun e => hp ((short_iff z r).mp (e ▸ hj)) |
| 105 | rw [subCost,if_neg hz.symm,zero_smul] |
| 106 | end YM.AnalyticBridge.SectorAffine.Stack |