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.Affine |
| 2 | import YM.Push.FREE_RESOLVENT.Powers |
| 3 | import YM.Work.C13.Decay |
| 4 | |
| 5 | /-! |
| 6 | # Real envelopes with small-field cutoff on the input |
| 7 | |
| 8 | Translate path norm hypotheses to bounds before period evaluation. No |
| 9 | sup-operator-norm growth at zero-order per untouched unitary! Coordinate |
| 10 | cutoff used only in proof of summability at every derivative order; actual |
| 11 | calls to kernels never change the physical background convention near 0. |
| 12 | -/ |
| 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 | section smooth |
| 22 | variable {τ E F H K : Type*} |
| 23 | variable [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 24 | variable [NormedAddCommGroup H] [NormedSpace ℝ H] [NormedAddCommGroup K] [NormedSpace ℝ K] |
| 25 | variable {A B r : ℝ} {X Y : E → F} {Z : E → H} |
| 26 | |
| 27 | /-- Global derivative cap for the extended real paths. -/ |
| 28 | structure Ceiling (k : ℕ) (A : ℝ) (X : E → F) : Prop where |
| 29 | smooth : ContDiff ℝ k X |
| 30 | op (l : ℕ) (x) : l ≤ k → ‖iteratedFDeriv ℝ l X x‖ ≤ A |
| 31 | |
| 32 | namespace Ceiling |
| 33 | lemma mono (h : Ceiling k A X) (ha : A ≤ B) : Ceiling k B X := ⟨h.smooth, fun i x hi => (h.op i x hi).trans ha⟩ |
| 34 | lemma ceiling_const (x : F) : Ceiling k ‖x‖ (fun _ : E => x) := by |
| 35 | constructor |
| 36 | · exact contDiff_const |
| 37 | rintro (_ | i) z he |
| 38 | · rw [norm_iteratedFDeriv_zero] |
| 39 | rw [iteratedFDeriv_succ_const,Pi.zero_apply,norm_zero]; exact norm_nonneg _ |
| 40 | lemma add (h : Ceiling k A X) (g : Ceiling k B Y) : Ceiling k (A+B) (fun x => X x+Y x) := by |
| 41 | constructor |
| 42 | · exact h.smooth.add g.smooth |
| 43 | intro i y he |
| 44 | rw [fun_iteratedFDeriv_add_apply (smooth_of_le h.smooth.contDiffAt he) (smooth_of_le g.smooth.contDiffAt he)] |
| 45 | exact (norm_add_le ..).trans (add_le_add (h.op i y he) (g.op i y he)) |
| 46 | lemma scale (h : Ceiling k A X) (r : ℝ) : Ceiling k (‖r‖*A) (fun x => r • X x) := by |
| 47 | constructor |
| 48 | · exact h.smooth.const_smul r |
| 49 | intro i y he |
| 50 | rw [iteratedFDeriv_const_smul_apply' (smooth_of_le h.smooth.contDiffAt he), norm_smul] |
| 51 | exact mul_le_mul_of_nonneg_left (h.op i y he) (norm_nonneg _) |
| 52 | lemma pre (h : Ceiling k A X) (L : H →L[ℝ] E) (hm : 0 ≤ A) (he : ‖L‖ ≤ r) (hr : 1 ≤ r) : |
| 53 | Ceiling k (A*r^k) (fun x => X (L x)) := by |
| 54 | constructor |
| 55 | · exact h.smooth.comp L.contDiff |
| 56 | intro i x hi |
| 57 | rw [show iteratedFDeriv ℝ i (fun x => X (L x)) x = _ from L.iteratedFDeriv_comp_right h.smooth x (by exact_mod_cast hi)] |
| 58 | refine (ContinuousMultilinearMap.norm_compContinuousLinearMap_le ..).trans ?_ |
| 59 | simp only [Finset.prod_const, Finset.card_univ, Fintype.card_fin] |
| 60 | apply mul_le_mul (h.op _ _ hi) _ (pow_nonneg (norm_nonneg _) _) hm |
| 61 | exact (pow_le_pow_left₀ (norm_nonneg L) he _).trans (pow_le_pow_right₀ hr hi) |
| 62 | lemma post (h : Ceiling k A X) (L : F →L[ℝ] H) : Ceiling k (‖L‖*A) (fun x => L (X x)) := by |
| 63 | constructor |
| 64 | · exact L.contDiff.comp h.smooth |
| 65 | intro i x hi; rw [show iteratedFDeriv ℝ i (fun x => L (X x)) x = _ from L.iteratedFDeriv_comp_left h.smooth.contDiffAt (by exact_mod_cast hi)] |
| 66 | apply le_trans _ (mul_le_mul_of_nonneg_left (h.op i x hi) (norm_nonneg L)) |
| 67 | exact ContinuousLinearMap.norm_compContinuousMultilinearMap_le .. |
| 68 | lemma bill (h : Ceiling k A X) (ha : 0 ≤ A) (t : τ → E) (ht : ∀ i, ‖t i‖ ≤ 1) (l : List τ) (hl : l.length ≤ k) (x : E) : |
| 69 | ‖jet t X l x‖ ≤ A := by |
| 70 | refine (ContinuousMultilinearMap.le_of_opNorm_le (h.op _ x hl) (t ∘ l.get)).trans ?_ |
| 71 | exact mul_le_of_le_one_right ha ((Finset.prod_le_prod (fun i _ => norm_nonneg _) (fun i _ => ht (l.get i))).trans_eq (by simp)) |
| 72 | lemma mul (h : Ceiling k A X) (g : Ceiling k B Z) (p : F →L[ℝ] H →L[ℝ] K) (ha : 0 ≤ A) (hb : 0 ≤ B) : |
| 73 | Ceiling k (2^k * (‖p‖*A*B)) (fun x => p (X x) (Z x)) := by |
| 74 | constructor |
| 75 | · exact contDiff_iff_contDiffAt.mpr fun x => smooth_product p h.smooth.contDiffAt g.smooth.contDiffAt |
| 76 | intro i x hi |
| 77 | apply list_op (by positivity) |
| 78 | intro l v hL he; rw [leibniz v p l (smooth_of_le h.smooth.contDiffAt (hL.le.trans hi)) (smooth_of_le g.smooth.contDiffAt (hL.le.trans hi))] |
| 79 | refine (norm_sum_le ..).trans (le_trans (Finset.sum_le_sum (g:=fun _ => ‖p‖*A*B) fun j _ => ?_) ?_) |
| 80 | · let a := lo l j; let b := TestD.hi l j |
| 81 | let T := jet v X a x; let R := jet v Z b x |
| 82 | exact ((p T).le_opNorm R).trans (mul_le_mul (((p.le_opNorm T)).trans (mul_le_mul_of_nonneg_left |
| 83 | (h.bill ha v he a ((len_low l j).trans (hL.le.trans hi)) x) (norm_nonneg _))) |
| 84 | (g.bill hb v he b ((len_high l j).trans (hL.le.trans hi)) x) (norm_nonneg R) (by positivity)) |
| 85 | simp only [Finset.sum_const, Finset.card_univ, nsmul_eq_mul, TestD.card,Nat.cast_pow, Nat.cast_ofNat,hL]; gcongr; norm_num |
| 86 | end Ceiling |
| 87 | end smooth |
| 88 | |
| 89 | section cutoff |
| 90 | |
| 91 | def cuff (G : Gauge) : ContDiffBump (0:G.Color) := ⟨1,2,by norm_num,by norm_num⟩ |
| 92 | def sleeve (G : Gauge) (v : G.Color) := cuff G v • v |
| 93 | def linen (G : Gauge) (v : G.Color) := G.mat (G.lieExp (sleeve G v)) |
| 94 | |
| 95 | lemma linen_price (G : Gauge) (k : ℕ) : ∃ D : ℝ, 0 ≤ D ∧ Ceiling k D (linen G) := by |
| 96 | classical |
| 97 | let T := fun v : G.Color => G.mat (G.lieExp v)-1 |
| 98 | have he : ContDiff ℝ k T := G.exp_jet.of_le le_top |>.sub contDiff_const |
| 99 | have hh : ContDiff ℝ k (sleeve G) := by |
| 100 | have hc : ContDiff ℝ k ⇑(cuff G) := ContDiffBump.contDiff _ |
| 101 | exact hc.smul contDiff_id |
| 102 | let F := T ∘ sleeve G |
| 103 | have hF : ContDiff ℝ k F := he.comp hh |
| 104 | have hp : HasCompactSupport F := HasCompactSupport.comp_left (f:=sleeve G) (g:=T) |
| 105 | (HasCompactSupport.smul_right (f:=⇑(cuff G)) (f':=id) (ContDiffBump.hasCompactSupport _)) (by simp [T]) |
| 106 | have ht (i : Fin (k+1)) : ∃ A : ℝ, 0 ≤ A ∧ ∀ x, ‖iteratedFDeriv ℝ i.val F x‖ ≤ A := by |
| 107 | let H := iteratedFDeriv ℝ i.val F |
| 108 | have hH : Continuous H := hF.continuous_iteratedFDeriv (by exact_mod_cast Nat.le_of_lt_succ i.isLt) |
| 109 | obtain ⟨A,hA⟩ := (((hp.iteratedFDeriv i.val).norm).isCompact_range hH.norm).bddAbove |
| 110 | exact ⟨max A 0,le_max_right ..,fun x => le_trans (hA ⟨x,rfl⟩) (le_max_left ..)⟩ |
| 111 | choose D hD h using ht |
| 112 | have hC : Ceiling k (∑ i, D i) F := ⟨hF,fun i x hi => |
| 113 | (h ⟨i,Nat.lt_succ_of_le hi⟩ x).trans (Finset.single_le_sum (fun i _ => hD i) (Finset.mem_univ _))⟩ |
| 114 | rw [show linen G = fun x => F x + 1 by funext x; change _=_-1+1; rw [sub_add_cancel]; rfl] |
| 115 | exact ⟨_,add_nonneg (Finset.sum_nonneg fun i _ => hD i) (norm_nonneg _), hC.add (Ceiling.ceiling_const _)⟩ |
| 116 | |
| 117 | def file (r : ℕ) (x : Body r n) : Vec G n r →L[ℝ] G.Color := |
| 118 | (ContinuousLinearMap.proj (R:=ℝ) (φ:=fun _ : Body r n => G.Color) x).comp (plain G n r).toContinuousLinearMap |
| 119 | |
| 120 | def filePrice (G : Gauge) := ‖((PiLp.continuousLinearEquiv 2 ℝ (fun _ : G.ColorIndex => ℝ)).symm : |
| 121 | (G.ColorIndex → ℝ) →L[ℝ] G.Color)‖ + 1 |
| 122 | lemma file_pos (G : Gauge) : 1 ≤ filePrice G := le_add_of_nonneg_left (norm_nonneg _) |
| 123 | lemma folder (r : ℕ) (x : Body r n) : ‖file (G:=G) r x‖ ≤ filePrice G := by |
| 124 | apply ContinuousLinearMap.opNorm_le_bound _ (zero_le_one.trans (file_pos G)) |
| 125 | intro b |
| 126 | let L : (G.ColorIndex → ℝ) →L[ℝ] G.Color := (PiLp.continuousLinearEquiv 2 ℝ (fun _ : G.ColorIndex => ℝ)).symm |
| 127 | let y := fun j : G.ColorIndex => b (ix x j) |
| 128 | change ‖L y‖ ≤ _ |
| 129 | refine (L.le_opNorm _).trans (mul_le_mul ?_ ?_ (norm_nonneg _) (zero_le_one.trans (file_pos G))) |
| 130 | · exact le_add_of_nonneg_right zero_le_one |
| 131 | exact (pi_norm_le_iff_of_nonneg (norm_nonneg _)).mpr fun j => norm_le_pi_norm b (ix x j) |
| 132 | |
| 133 | def rawBackdrop (S : StepData c f) (s : Signed) (B : Vec G c 1) := pull s 0 (replica S.ratio |
| 134 | (represent fun i => sleeve G (decode B i))) |
| 135 | |
| 136 | lemma returns (S : StepData c f) (s : Signed) : rawBackdrop (G:=G) S s =ᶠ[𝓝 0] shone S s := by |
| 137 | have he : ∀ᶠ B : Vec G c 1 in 𝓝 0, ∀ i, sleeve G (decode B i) = decode B i := by |
| 138 | apply eventually_all.mpr; intro i |
| 139 | have hh : Tendsto (file (G:=G) (n:=c) 1 i) (𝓝 0) (𝓝 0) := by simpa using (file (G:=G) (n:=c) 1 i).continuous.tendsto 0 |
| 140 | filter_upwards [hh.eventually (cuff G).eventuallyEq_one] with x hx |
| 141 | unfold sleeve; rw [show (cuff G) (decode x i)=1 from hx, one_smul] |
| 142 | filter_upwards [he] with x hx; unfold rawBackdrop shone backdrop; simp_rw [hx] |
| 143 | |
| 144 | lemma star_ceiling {τ : Type*} [NormedAddCommGroup τ] [NormedSpace ℝ τ] {F : τ → G.Mat} {V : ℝ} (h : Ceiling k V F) : |
| 145 | Ceiling k V (fun x => star (F x)) := by |
| 146 | let L := (show G.Mat ≃L[ℝ] G.Mat from starL ℝ).toContinuousLinearMap |
| 147 | have hp := ContinuousLinearMap.opNorm_le_bound (𝕜:=ℝ) L zero_le_one fun x : G.Mat => by change ‖star x‖ ≤ _; simp |
| 148 | have hv : 0 ≤ V := le_trans (norm_nonneg _) (h.op k 0 le_rfl) |
| 149 | exact (h.post L).mono (mul_le_of_le_one_left hv hp) |
| 150 | |
| 151 | def spaceD (G : Gauge) (k : ℕ) := max ‖(1:G.Mat)‖ ((linen_price G k).choose*(filePrice G)^k) |
| 152 | lemma space_nn (G : Gauge) (k : ℕ) : 0 ≤ spaceD G k := le_max_of_le_left (norm_nonneg _) |
| 153 | |
| 154 | lemma blanket (k : ℕ) (S : StepData c f) (s : Signed) (b : Step) (x : Site f) : |
| 155 | Ceiling k (spaceD G k) (fun v : Vec G c 1 => G.mat (b.read (rawBackdrop S s v) x)) := by |
| 156 | have he (i : Edge (Site f)) : Ceiling k (spaceD G k) (fun v : Vec G c 1 => G.mat (replica S.ratio |
| 157 | (represent fun i => sleeve G (decode v i)) i)) := by |
| 158 | unfold replica |
| 159 | split |
| 160 | · exact (Ceiling.ceiling_const (G.mat 1)).mono (le_max_left ..) |
| 161 | simp_rw [Work.F03.represent_link] |
| 162 | exact (((linen_price G k).choose_spec.2).pre (file 1 _) (linen_price G k).choose_spec.1 (folder ..) (file_pos G)).mono (le_max_right ..) |
| 163 | have hh (d : Step) (x : Site f) : Ceiling k (spaceD G k) (fun v : Vec G c 1 => G.mat |
| 164 | (d.read (replica S.ratio (represent fun i => sleeve G (decode v i))) x)) := by |
| 165 | unfold Step.read |
| 166 | split |
| 167 | · simp_rw [G.mat_inv]; exact star_ceiling (he _) |
| 168 | exact he _ |
| 169 | simp_rw [rawBackdrop, Step.pull_read] |
| 170 | exact hh _ _ |
| 171 | |
| 172 | lemma tapestry (k : ℕ) (S : StepData c f) (s : Signed) (w : Walk) (x : Site f) (hs : 0 < σ) : |
| 173 | Ceiling k (patchMoney G k σ (spaceD G k) k * Real.exp (σ*w.length)) |
| 174 | (fun y : Vec G c 1 => G.mat (travel (rawBackdrop S s y) x w)) := by |
| 175 | constructor |
| 176 | · exact travel_cd (fun b x => (blanket k S s b x).smooth) w x |
| 177 | intro i B hi |
| 178 | apply list_op (mul_nonneg (patch_nn _ _ hs (space_nn ..) k) (Real.exp_pos _).le) |
| 179 | intro l v h ht |
| 180 | have hh := assembled_jets (p:=B) (fun b x => (blanket k S s b x).smooth) (space_nn ..) hs |
| 181 | (fun b x l he => (blanket k S s b x).bill (space_nn ..) v ht l he B) w x l (h.le.trans hi) |
| 182 | exact hh.trans (mul_le_mul_of_nonneg_right (patch_le hs (space_nn ..) (h.le.trans hi)) (Real.exp_pos _).le) |
| 183 | end cutoff |
| 184 | end YM.FreeResolvent.Affine |