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.RemainderComparison.Relative |
| 2 | import YM.PhysicalNext.RG_NEXT_COMPLETE_REPEATABLE_NONLINEAR_STEP.Lantern.Blips |
| 3 | import Mathlib.Analysis.Calculus.TaylorIntegral |
| 4 | |
| 5 | /-! |
| 6 | # Vertical Taylor with passive probes. Pull coupling parameter into SAME chart |
| 7 | as coarse real field before sending b to zero in the model. `lift` remembers |
| 8 | complete transverse finite-derivative budgets through division by a finite power |
| 9 | of b (fluctuation order criterion is applied separately on actual packets). |
| 10 | For Tayloring only the purchased interior integrand, not per-configuration mask. |
| 11 | See also multi-axis coefficient proxy estimates using this. |
| 12 | -/ |
| 13 | set_option autoImplicit false |
| 14 | noncomputable section |
| 15 | namespace YM.RemainderComparison.Trace |
| 16 | open Metric Set Function Filter MeasureTheory Finset |
| 17 | open ConnectedActivityE6 Blaze Brush PhysicalNext.Repeat |
| 18 | open scoped Topology ContDiff BigOperators Classical Interval ENNReal |
| 19 | variable {E F Y : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 20 | variable [NormedAddCommGroup F] [NormedSpace ℝ F] [NormedAddCommGroup Y] [NormedSpace ℝ Y] |
| 21 | variable {x : E} {b t A C p : ℝ} {m j : ℕ} |
| 22 | |
| 23 | lemma nearby {f : E → F} (hf : Brush j A 1 f x) {A' : ℝ} (hp : A < A') : |
| 24 | ∀ᶠ y in 𝓝 x, Brush j A' 1 f y := by |
| 25 | have hh (i : Fin (j+1)) : ∀ᶠ y in 𝓝 x, normJ i f y < A' := |
| 26 | (hf.smooth.continuousAt_iteratedFDeriv (by exact_mod_cast (show i.val ≤ j from Nat.lt_succ_iff.mp i.isLt))).norm.eventually (gt_mem_nhds (((Brush.offer.1 hf).2 _ (Nat.lt_succ_iff.mp i.isLt)).trans_lt hp)) |
| 27 | filter_upwards [eventually_all.mpr hh,hf.smooth.eventually (by simp)] with y hy h |
| 28 | exact Brush.offer.2 ⟨h,fun i hi=> (hy ⟨i,Nat.lt_succ_iff.mpr hi⟩).le⟩ |
| 29 | |
| 30 | /-- Homogeneous vertical derivative; no factorial. -/ |
| 31 | def plain (f : ℝ×E→F) (m : ℕ) (x : ℝ×E) : F:= |
| 32 | iteratedFDeriv ℝ m f x (fun _=> (1,0)) |
| 33 | def coefficient (f : ℝ×E→F) (k : ℕ) (x : E) : F := (k.factorial:ℝ)⁻¹ • plain f k (0,x) |
| 34 | def polyeval (m : ℕ) (a : ℕ→E→F) (x : ℝ × E) := ∑ i∈range (m+1), x.1^i • a i x.2 |
| 35 | def trunc (m : ℕ) (f : ℝ×E→F) : ℝ×E→ F := polyeval m (coefficient f) |
| 36 | |
| 37 | lemma normalized_fact (i : ℕ) : ‖(i.factorial:ℝ)⁻¹‖ ≤ 1 := by |
| 38 | have hp : 1 ≤ (i.factorial:ℝ):= Nat.one_le_cast.mpr (Nat.factorial_pos i) |
| 39 | rw [Real.norm_of_nonneg (by positivity)] |
| 40 | exact inv_le_one_of_one_le₀ hp |
| 41 | |
| 42 | private lemma brush_iso {f : E→F} (h : Brush j C 1 f x) (L : F ≃ₗᵢ[ℝ] Y) : Brush j C 1 (L ∘ f) x := |
| 43 | (h.report L.toLinearIsometry.toContinuousLinearMap L.toLinearIsometry.norm_toContinuousLinearMap_le).climb (by rw [one_mul]) le_rfl |
| 44 | |
| 45 | lemma budgetJ {f : E→F} (h : Brush (j + m) C 1 f x) : Brush j C 1 (iteratedFDeriv ℝ m f) x := by |
| 46 | induction m generalizing j with |
| 47 | | zero => |
| 48 | let L := continuousMultilinearCurryFin0 ℝ E F |
| 49 | rw [iteratedFDeriv_zero_eq_comp] |
| 50 | exact brush_iso h L.symm |
| 51 | | succ i ih => |
| 52 | rw [iteratedFDeriv_succ_eq_comp_left] |
| 53 | let L:= continuousMultilinearCurryLeftEquiv ℝ (fun _:Fin (i+1)=>E) F |
| 54 | have hp : Brush j C 1 (fderiv ℝ (iteratedFDeriv ℝ i f)) x:= Lantern.norm_F (ih (by rw [show j+1+i=j+(i+1) by omega]; exact h)) |
| 55 | exact brush_iso hp L.symm |
| 56 | |
| 57 | lemma plain_jet {x : ℝ×E} {f : ℝ×E→F} (h : Brush (j+m) C 1 f x) : Brush j C 1 (plain f m) x := by |
| 58 | let L:= ContinuousMultilinearMap.apply ℝ (fun _:Fin m=>ℝ×E) F (fun _ : Fin m=> ((1:ℝ),(0:E))) |
| 59 | have hp : ‖L‖ ≤ 1:= ContinuousLinearMap.opNorm_le_bound _ zero_le_one fun z=> by |
| 60 | have h:= z.le_opNorm (fun _=> (1,0)) |
| 61 | change ‖z _‖ ≤ _; simpa using h |
| 62 | exact (Brush.report (budgetJ h) L hp).climb (by rw [one_mul]) le_rfl |
| 63 | |
| 64 | lemma trace_arc {t : ℝ} {f : ℝ×E→F} (h : Brush j C 1 f (t,x)) : Brush j C 1 (fun y=> f (t,y)) x := by |
| 65 | have he v : (t,v)=(t,(0:E))+ Lantern.hook E v:= by simp |
| 66 | rw [show (fun y=> f (t,y))=(fun y:E=> f ((t,(0:E))+Lantern.hook E y)) from funext fun i=> congr_arg f (he i)] |
| 67 | exact Lantern.skim _ (by rw [← he]; exact h) Lantern.n_hook |
| 68 | |
| 69 | lemma sample {f : ℝ×E→F} (h : Brush (j+m) C 1 f (0,x)) : Brush j C 1 (coefficient f m) x := |
| 70 | ((trace_arc (plain_jet h)).smul ((m.factorial:ℝ)⁻¹)).climb (mul_le_of_le_one_left h.nonneg (normalized_fact _)) le_rfl |
| 71 | |
| 72 | omit [NormedAddCommGroup E] [NormedSpace ℝ E] in |
| 73 | lemma polyeval_zero (a : ℕ→E→F) (m : ℕ) (x : E) : polyeval m a (0,x) = a 0 x := by |
| 74 | unfold polyeval; rw [sum_eq_single (0:ℕ)] |
| 75 | · simp |
| 76 | · intro b _ hb; rw [zero_pow hb, zero_smul] |
| 77 | simp |
| 78 | |
| 79 | variable (f : ℝ×E→F) (m : ℕ) |
| 80 | local notation "win" => Icc (0:ℝ) 1 |
| 81 | local notation "Zₘ" => Measure.restrict (volume (α:=ℝ)) (Ioc (0:ℝ) 1) |
| 82 | |
| 83 | def toll (i : ℕ) (v : ℝ×E) (t : ℝ) := (1-t)^i • plain f (i+1) (t*v.1,v.2) |
| 84 | /-- Integral remainder coefficient, including at b=0 (= first omitted coefficient). -/ |
| 85 | def pending (m : ℕ) (v : ℝ×E) := (m.factorial:ℝ)⁻¹ • ∫ t in (0:ℝ)..1, toll f m v t |
| 86 | |
| 87 | section receipt |
| 88 | variable [CompleteSpace F] |
| 89 | lemma quote (hp : ∀ t∈win, ContDiffAt ℝ (↑(m+1:ℕ)) f (t*b,x)) : |
| 90 | f (b,x)= trunc m f (b,x) + b^(m+1) • pending f m (b,x) := by |
| 91 | let z:=((0:ℝ),x); let p:ℝ×E:=(b,0) |
| 92 | have hx t : z+t • p=(t*b,x):=by simp [z,p] |
| 93 | have he (t) (h:t∈win) : ContDiffAt ℝ (↑m+1) f (z+t • p):= by rw [hx]; exact_mod_cast hp t h |
| 94 | rw [show f (b,x)=f (z+p) from congr_arg f (by simp [z,p]), map_add_eq_sum_add_integral_iteratedFDeriv he] |
| 95 | have hh i (v: ℝ×E): (iteratedFDeriv ℝ i f v) (fun _=> p)= b^i • plain f i v:= by |
| 96 | rw [show p= b • (1,(0:E)) from (by simp [p] : p=b • ((1:ℝ),(0:E))),ContinuousMultilinearMap.map_smul_univ] |
| 97 | unfold plain; rw [prod_const,card_univ,Fintype.card_fin] |
| 98 | apply congr_arg₂ (fun a c : F=> a+c) |
| 99 | · unfold trunc polyeval; refine sum_congr rfl (fun i _=>?_) |
| 100 | unfold coefficient; rw [hh i]; exact smul_comm .. |
| 101 | unfold pending; rw [smul_comm (b^(m+1))]; apply congr_arg; rw [← intervalIntegral.integral_smul]; refine intervalIntegral.integral_congr fun i _=>?_ |
| 102 | unfold toll; dsimp only; rw [hx,hh]; exact smul_comm .. |
| 103 | end receipt |
| 104 | |
| 105 | def crossing (t : ℝ) : (ℝ×E)→L[ℝ] (ℝ×E):= (t • ContinuousLinearMap.fst ℝ ℝ E).prod (ContinuousLinearMap.snd ℝ ℝ E) |
| 106 | lemma fare (t : ℝ) (ht:t∈win) : ‖crossing (E:=E) t‖ ≤ 1:= |
| 107 | ContinuousLinearMap.opNorm_le_bound _ zero_le_one fun i=> by |
| 108 | rw [one_mul]; change max ‖t • i.1‖ ‖i.2‖ ≤ _ |
| 109 | rw [norm_smul,Real.norm_of_nonneg ht.1]; exact max_le ((mul_le_of_le_one_left (norm_nonneg _) ht.2).trans (norm_fst_le _)) (norm_snd_le _) |
| 110 | lemma rotate {v : ℝ×E} (hp : t∈win) (he : Brush (j+(m+1)) A 1 f (crossing t v)) : |
| 111 | Brush j A 1 (fun y=> toll f m y t) v := by |
| 112 | have hu := plain_jet he |
| 113 | have hh := Brush.reading (crossing (E:=E) t) hu (fare (E:=E) t hp); rw [one_mul] at hh |
| 114 | apply (hh.smul ((1-t)^m)).climb _ le_rfl |
| 115 | have h : 0≤1-t:= sub_nonneg.mpr hp.2 |
| 116 | rw [Real.norm_of_nonneg (pow_nonneg h _)] |
| 117 | exact mul_le_of_le_one_left hu.nonneg (pow_le_one₀ h (sub_le_self _ hp.1)) |
| 118 | |
| 119 | section wallet |
| 120 | variable [FiniteDimensional ℝ E] [SecondCountableTopology F] -- only strong meas wrapper; possibly remove |
| 121 | variable [CompleteSpace F] |
| 122 | lemma work (u : ℝ×E) (h : ∀ᶠ y in 𝓝 u, ∀ t∈win, Brush (j+(m+1)) A 1 f (crossing t y)) : |
| 123 | Brush j A 1 (pending f m) u := by |
| 124 | let P:= win |
| 125 | let H y := P.indicator (toll f m y) |
| 126 | have hf :0≤A := (h.self_of_nhds _ (left_mem_Icc.mpr zero_le_one)).nonneg |
| 127 | have hp : ∀ᶠ y in 𝓝 u,∀ i, Brush j A 1 (fun y=> H y i) y := by |
| 128 | filter_upwards [h] with y hy i |
| 129 | by_cases ht:i∈P |
| 130 | · exact (rotate f m ht (hy i ht)).shimmy (Eventually.of_forall fun j=>indicator_of_mem ht _) |
| 131 | exact ((Brush.certified zero_le_one (k:=j) (x:=y) (0:F)).climb (by simpa using hf) le_rfl).shimmy (Eventually.of_forall fun _=> indicator_of_notMem ht _) |
| 132 | have ht : ∀ᶠ y in 𝓝 u, StronglyMeasurable (H y) := by |
| 133 | filter_upwards [h] with y hy |
| 134 | borelize F |
| 135 | apply Measurable.stronglyMeasurable |
| 136 | apply measurable_of_restrict_of_restrict_compl (s:=P) measurableSet_Icc |
| 137 | · rw [show P.restrict (H y)=P.restrict (toll f m y) from funext fun i=> indicator_of_mem i.2 _] |
| 138 | apply Continuous.measurable; apply continuousOn_iff_continuous_restrict.mp; intro t ht |
| 139 | apply ContinuousAt.continuousWithinAt; apply (show ContinuousAt (fun i:ℝ=> (1-i)^m) t by fun_prop).smul |
| 140 | exact (plain_jet (hy t ht)).smooth.continuousAt.comp (f:=fun i:ℝ=> (i*y.1,y.2)) (show ContinuousAt (fun i:ℝ=> (i*y.1,y.2)) t from by fun_prop) |
| 141 | rw [show Pᶜ.restrict (H y)=(fun _=>0) from funext fun i=> indicator_of_notMem i.2 _]; exact measurable_const |
| 142 | have hA : (Zₘ).real Set.univ=1:= by simp [Measure.real] |
| 143 | letI : IsFiniteMeasure Zₘ:= inferInstance |
| 144 | have hh := Relative.test_domination (μ:=Zₘ) (M:=fun _=>A) (integrable_const _) hp ht |
| 145 | have he: ∀ i: ℝ×E, (∫ t in (0:ℝ)..1, toll f m i t)= ∫ y, H i y ∂(Zₘ) := by |
| 146 | intro i; rw [intervalIntegral.integral_of_le zero_le_one]; apply integral_congr_ae |
| 147 | filter_upwards [ae_restrict_mem (μ:=volume) (s:=Ioc (0:ℝ) 1) measurableSet_Ioc] with y hy using Eq.symm (indicator_of_mem (Ioc_subset_Icc_self hy) _) |
| 148 | unfold pending; simp_rw [he] |
| 149 | exact (((hh.buds (fun _=> A) (integrable_const _) zero_le_one (by rw [integral_const,hA,one_smul]) (ae_of_all _ hp.self_of_nhds)).smul _).climb (mul_le_of_le_one_left hf (normalized_fact _)) le_rfl) |
| 150 | |
| 151 | lemma vertically {b : ℝ} {x : E} (h : ∀ᶠ y in 𝓝 (b,x), ∀ t∈win, Brush (j+(m+1)) A 1 f (crossing t y)) : |
| 152 | Brush j (|b|^(m+1)*A) 1 (fun y=> f (b,y)-trunc m f (b,y)) x := by |
| 153 | have he := (trace_arc (work f m _ h)).smul (b^(m+1)); rw [norm_pow,Real.norm_eq_abs] at he |
| 154 | refine he.shimmy ?_ |
| 155 | have hp := Tendsto.eventually (show Tendsto (fun i:E=>(b,i)) (𝓝 x) (𝓝 (b,x)) from continuousAt_const.prodMk continuousAt_id) h |
| 156 | filter_upwards [hp] with y hy |
| 157 | have h := quote f m (x:=y) (b:=b) (fun i hi=> ((hy i hi).smaller (show m+1≤j+(m+1) from Nat.le_add_left ..)).smooth) |
| 158 | rw [h, add_sub_cancel_left] |
| 159 | end wallet |
| 160 | end YM.RemainderComparison.Trace |