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.Envelope |
| 2 | |
| 3 | /-! |
| 4 | # Flat Taylor tensors with all exponential path payments in the input slots |
| 5 | |
| 6 | On the actual affine ℓ_R column (transport by Vbar; NOT pretending |
| 7 | to differentiate the transport in the fine a slot as if this were ℓ^U k(U)). |
| 8 | Unordered lineage labels may have repeated paths; the budget used here is |
| 9 | literal sum of all of them. A local rank or stencil promise could not pay |
| 10 | it. Use finite-order `ContDiffAt` at flat and an auxiliary global real |
| 11 | extension to take ordinary `iteratedFDeriv`. Keep Taylor normalization with |
| 12 | no factorial. |
| 13 | -/ |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.FreeResolvent.Affine |
| 17 | open Lattice Wilson RG Matrix Laurent Bloch Exterior Precision Tree Bid Work.F03 TestD Filter Function Set |
| 18 | open scoped Topology Matrix.Norms.Frobenius ContDiff BigOperators InnerProductSpace |
| 19 | variable {G : Gauge} {f c n : Side} {S : StepData c f} {k : ℕ} {σ V A : ℝ} |
| 20 | |
| 21 | /-- Curvature-coordinate bilinear at two endpoint matrices. -/ |
| 22 | def connect (i j : G.ColorIndex) : G.Mat →L[ℝ] G.Mat →L[ℝ] ℝ := by |
| 23 | let L := LinearMap.mk₂ ℝ (fun x y : G.Mat => G.projectColor (x*G.colorMat (EuclideanSpace.basisFun G.ColorIndex ℝ j)*y) i) |
| 24 | (fun _ _ _ => by simp only [Matrix.add_mul,map_add,PiLp.add_apply]) |
| 25 | (fun _ _ _ => by simp only [Matrix.smul_mul,map_smul, PiLp.smul_apply]) |
| 26 | (fun _ _ _ => by simp only [Matrix.mul_add,map_add, PiLp.add_apply]) |
| 27 | (fun _ _ _ => by simp only [Matrix.mul_smul,map_smul, PiLp.smul_apply]) |
| 28 | exact LinearMap.toContinuousLinearMap (LinearMap.toContinuousLinearMap.toLinearMap.comp L) |
| 29 | |
| 30 | private def cord {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] (L : E →L[ℝ] E →L[ℝ] ℝ) := |
| 31 | ‖L‖ |
| 32 | private lemma cord_nn {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] (L : E →L[ℝ] E →L[ℝ] ℝ) : |
| 33 | 0 ≤ cord L := norm_nonneg L |
| 34 | |
| 35 | def ridge (G : Gauge) : ℝ := ∑ i : G.ColorIndex, ∑ j : G.ColorIndex, cord (E:=G.Mat) (connect i j) |
| 36 | lemma ridge_nn (G : Gauge) : 0 ≤ ridge G := Finset.sum_nonneg fun i _ => Finset.sum_nonneg fun j _ => cord_nn (E:=G.Mat) (connect i j) |
| 37 | lemma ridge_le (i j : G.ColorIndex) : cord (E:=G.Mat) (connect (G:=G) i j) ≤ ridge G := |
| 38 | (Finset.single_le_sum (fun b _ => cord_nn (E:=G.Mat) (connect i b)) (Finset.mem_univ j)).trans (Finset.single_le_sum |
| 39 | (fun a _ => Finset.sum_nonneg (fun b _ => cord_nn (E:=G.Mat) (connect a b))) (Finset.mem_univ i)) |
| 40 | |
| 41 | def elbow (G : Gauge) (k : ℕ) (σ : ℝ) := 2^k*(ridge G*(patchMoney G k (σ/2) (spaceD G k) k)^2) |
| 42 | lemma elbow_nn (G : Gauge) (k : ℕ) (σ : ℝ) : 0 ≤ elbow G k σ := by unfold elbow; have := ridge_nn G; positivity |
| 43 | |
| 44 | lemma path_ceiling (k : ℕ) (S : StepData c f) (s : Signed) (i j : tile G f) (q : RG.Slot) |
| 45 | (hs : 0 < σ) : Ceiling k (elbow G k σ * Real.exp (σ*q.length)) (fun y => element (rawBackdrop S s y) i j q) := by |
| 46 | unfold element |
| 47 | split |
| 48 | · let R := patchMoney G k (σ/2) (spaceD G k) k |
| 49 | let E := Real.exp (σ/2*q.walk.length) |
| 50 | have hr : 0 ≤ R := patch_nn _ k (by linarith) (space_nn ..) k |
| 51 | have hR : 0 ≤ R*E := mul_nonneg hr (Real.exp_pos _).le |
| 52 | have ht : Ceiling k (R*E) (fun B : Vec G c 1 => G.mat (travel (rawBackdrop S s B) i.1 q.walk)) := tapestry k S s _ _ (half_pos hs) |
| 53 | have he := ht.mul (star_ceiling ht) (connect (G:=G) i.2.2 j.2.2) hR hR |
| 54 | apply he.mono; unfold elbow |
| 55 | calc |
| 56 | _ ≤ 2^k * (ridge G*(R*E)*(R*E)) := mul_le_mul_of_nonneg_left (mul_le_mul_of_nonneg_right |
| 57 | (mul_le_mul_of_nonneg_right (ridge_le i.2.2 j.2.2) hR) hR) (by positivity) |
| 58 | _ = elbow G k σ*Real.exp (σ*q.walk.length) := by rw [show Real.exp (σ*q.walk.length)=E*E by |
| 59 | unfold E; rw [← Real.exp_add]; congr 1; ring]; unfold elbow R; ring |
| 60 | _ ≤ elbow G k σ*Real.exp (σ*q.length) := by |
| 61 | exact mul_le_mul_of_nonneg_left (Real.exp_monotone (mul_le_mul_of_nonneg_left (by |
| 62 | unfold RG.Slot.length; simp) hs.le)) (elbow_nn ..) |
| 63 | apply (Ceiling.ceiling_const (0:ℝ)).mono; rw [norm_zero]; exact mul_nonneg (elbow_nn ..) (Real.exp_pos _).le |
| 64 | |
| 65 | def sheetEdge (S : StepData c f) (s : Signed) (W : PathData G) (r : Admit) (i j : tile G f) (q : ℕ) (B : Vec G c 1) := |
| 66 | let p := W.row (plaqEquiv.symm i.2.1) q |
| 67 | if r p.2 then p.1 * element (rawBackdrop S s B) i j p.2 else 0 |
| 68 | |
| 69 | def slotPrice (G : Gauge) (k : ℕ) (σ : ℝ) (p : ℝ × RG.Slot) := (|p.1| * Real.exp (σ*p.2.length))*elbow G k σ |
| 70 | lemma slot_nn (p : ℝ × RG.Slot) : 0 ≤ slotPrice G k σ p := mul_nonneg (by positivity) (elbow_nn ..) |
| 71 | |
| 72 | lemma sheetEdge_ceiling (S : StepData c f) (s : Signed) (W : PathData G) (r : Admit) (i j : tile G f) |
| 73 | (q k : ℕ) (hs : 0 < σ) : |
| 74 | Ceiling k (slotPrice G k σ (W.row (plaqEquiv.symm i.2.1) q)) (sheetEdge S s W r i j q) := by |
| 75 | let p := W.row (plaqEquiv.symm i.2.1) q |
| 76 | by_cases h : r p.2=true |
| 77 | · rw [show sheetEdge S s W r i j q = (fun B => p.1 • element (rawBackdrop S s B) i j p.2) from funext fun _ => if_pos h] |
| 78 | apply ((path_ceiling k S s i j p.2 hs).scale _).mono |
| 79 | unfold slotPrice p; rw [Real.norm_eq_abs]; apply le_of_eq; ring |
| 80 | rw [show sheetEdge S s W r i j q = (fun _ => 0) from funext fun _ => if_neg h]; apply Ceiling.mono (Ceiling.ceiling_const _) |
| 81 | rw [norm_zero]; exact slot_nn _ |
| 82 | |
| 83 | lemma same_edge (S : StepData c f) (s : Signed) (W : PathData G) (r : Admit) : |
| 84 | ∀ᶠ B in 𝓝 0, ∀ i j q, sheetEdge S s W r i j q B = edgework S s W r i j q B := by |
| 85 | filter_upwards [returns (G:=G) S s] with B h |
| 86 | intro i j q; unfold sheetEdge edgework; rw [h] |
| 87 | |
| 88 | lemma polar_edge (S : StepData c f) (s : Signed) (W : PathData G) (r : Admit) (i j : tile G f) (q k : ℕ) |
| 89 | (hs : 0 < σ) : ContDiffAt ℝ k (edgework S s W r i j q) 0 := by |
| 90 | exact (sheetEdge_ceiling S s W r i j q k hs).smooth.contDiffAt.congr_of_eventuallyEq ((same_edge S s W r).mono fun _ h => (h i j q).symm) |
| 91 | |
| 92 | |
| 93 | |
| 94 | /-- Only the exponential row hypothesis of W is needed by these derivative estimates. -/ |
| 95 | def Sheet (W : PathData G) (σ M : ℝ) := ∀ p, RG.SumBudget (fun i => |(W.row p i).1| * Real.exp (σ*(W.row p i).2.length)) M |
| 96 | |
| 97 | section proper |
| 98 | variable {W : PathData G} {σ M : ℝ} (hs : 0 < σ) (hW : Sheet W σ M) |
| 99 | variable (S : StepData c f) (s : Signed) (r : Admit) (i j : tile G f) |
| 100 | |
| 101 | include hs hW |
| 102 | lemma proper_sheet (k : ℕ) : Ceiling k (M*elbow G k σ) (fun B : Vec G c 1 => ∑' q, sheetEdge S s W r i j q B) := by |
| 103 | let T (q) := slotPrice G k σ (W.row (plaqEquiv.symm i.2.1) q) |
| 104 | let u : ℕ → ℕ → ℝ := fun _ => T |
| 105 | let F := sheetEdge S s W r i j |
| 106 | have hf q : Ceiling k (T q) (F q) := sheetEdge_ceiling S s W r i j q k hs |
| 107 | have hw : Summable T := (hW _).2.1.mul_right _ |
| 108 | have ht (l : ℕ) : (l:ℕ∞) ≤ (k:ℕ) → Summable (u l) := fun _ => hw |
| 109 | have he (l q : ℕ) (B) (h : (l:ℕ∞) ≤ (k:ℕ)) : ‖iteratedFDeriv ℝ l (F q) B‖ ≤ u l q := |
| 110 | (hf q).op l B (by exact_mod_cast h) |
| 111 | have hg q : ContDiff ℝ ((k:ℕ∞):ℕ∞ω) (F q) := (hf q).smooth |
| 112 | constructor |
| 113 | · exact contDiff_tsum hg ht he |
| 114 | intro l B hl |
| 115 | have hh : (l:ℕ∞) ≤ (k:ℕ∞) := by exact_mod_cast hl |
| 116 | rw [iteratedFDeriv_tsum_apply hg ht he hh B] |
| 117 | have hy := Summable.of_nonneg_of_le (fun i => norm_nonneg _) (fun i => he l i B hh) hw |
| 118 | apply (norm_tsum_le_tsum_norm hy).trans ((hy.tsum_le_tsum (fun i => he l i B hh) hw).trans ?_) |
| 119 | unfold u T slotPrice; rw [tsum_mul_right]; exact mul_le_mul_of_nonneg_right (hW _).2.2 (elbow_nn ..) |
| 120 | |
| 121 | omit hs hW in |
| 122 | lemma written : (fun B => ∑' q, sheetEdge S s W r i j q B) =ᶠ[𝓝 0] (fun B => tracks S s W r B i j) := by |
| 123 | filter_upwards [same_edge S s W r] with x h; exact tsum_congr (h i j) |
| 124 | |
| 125 | lemma tracks_smooth (k : ℕ) : ContDiffAt ℝ k (tracks S s W r) 0 := by |
| 126 | apply TestD.rectangle_smooth; intro i j |
| 127 | exact (proper_sheet hs hW S s r i j k).smooth.contDiffAt.congr_of_eventuallyEq (written (W:=W) S s r i j).symm |
| 128 | |
| 129 | lemma track_polar {τ : Type*} (l : List τ) (v : τ → Vec G c 1) : |
| 130 | HasSum (fun q => jet v (edgework S s W r i j q) l 0) (jet v (tracks S s W r) l 0 i j) := by |
| 131 | let k := l.length |
| 132 | let F := sheetEdge S s W r i j |
| 133 | let f := fun B => ∑' q, F q B |
| 134 | let T (q) := slotPrice G k σ (W.row (plaqEquiv.symm i.2.1) q) |
| 135 | let u : ℕ → ℕ → ℝ := fun _ => T |
| 136 | have hf q : Ceiling k (T q) (F q) := sheetEdge_ceiling S s W r i j q k hs |
| 137 | have hw : Summable T := (hW _).2.1.mul_right _ |
| 138 | have ht (l : ℕ) : (l:ℕ∞) ≤ (k:ℕ∞) → Summable (u l) := fun _ => hw |
| 139 | have he (l q : ℕ) (B) (h : (l:ℕ∞) ≤ (k:ℕ∞)) : ‖iteratedFDeriv ℝ l (F q) B‖ ≤ u l q := |
| 140 | (hf q).op l B (by exact_mod_cast h) |
| 141 | have hg q : ContDiff ℝ ((k:ℕ∞):ℕ∞ω) (F q) := (hf q).smooth |
| 142 | rw [← TestD.entry v l (tracks_smooth hs hW S s r k) i j, ← identical v (written (W:=W) S s r i j) l] |
| 143 | have hh : HasSum (fun q => iteratedFDeriv ℝ k (F q) 0) (iteratedFDeriv ℝ k f 0) := by |
| 144 | rw [iteratedFDeriv_tsum_apply hg ht he (k:=k) le_rfl 0] |
| 145 | exact (Summable.of_norm_bounded hw (fun q => he k q 0 le_rfl)).hasSum |
| 146 | let L := ContinuousMultilinearMap.apply ℝ (fun _ : Fin k => Vec G c 1) ℝ (v ∘ l.get) |
| 147 | have h1 : HasSum (fun q => jet v (F q) l 0) (jet v f l 0) := L.hasSum hh |
| 148 | have h2 (q : ℕ) : jet v (edgework S s W r i j q) l 0=jet v (F q) l 0 := identical v (A:=edgework S s W r i j q) (B:=F q) ((same_edge S s W r).mono fun _ h => (h i j q).symm) l |
| 149 | simp_rw [h2]; exact h1 |
| 150 | end proper |
| 151 | end YM.FreeResolvent.Affine |