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.AnalyticBridge.SELECTED_ORDERED_KERNELS.Books |
| 2 | |
| 3 | /-! |
| 4 | # Off-centre ordinary chart data |
| 5 | |
| 6 | Also convert from a supplied actual log chart of `exp B V₀` centred at V₀ |
| 7 | (possibly 1) but differentiated at B possibly **nonzero**. Uniform control |
| 8 | only for B linkwise in an internal safe radius, NOT at a pole. Need a |
| 9 | relative chart OR this estimate at each use on extended/group patches; |
| 10 | `plog` has not been assumed global. Surcharge and safe radius from just G |
| 11 | and orders. This step needs absolutely no agreement of direction-component |
| 12 | frames by moving-chart fiat. Like the centred costs it cannot manufacture |
| 13 | pre-L ordinary chart estimates for `Higher` and friends! |
| 14 | -/ |
| 15 | |
| 16 | set_option autoImplicit false |
| 17 | noncomputable section |
| 18 | namespace YM.SelectedOrderedKernels |
| 19 | open Lattice Wilson RG Function Filter Topology WardBin.Lies Exterior FreeResolvent Affine Mark TestD |
| 20 | open scoped BigOperators Topology Matrix.Norms.Frobenius ContDiff |
| 21 | variable {G : Gauge} {n : Side} {j k : ℕ} |
| 22 | |
| 23 | def displace (G : Gauge) (j : ℕ) (b : G.Color × Panel G j) := chain G j b.2 * G.lieExp b.1 |
| 24 | def moved (G : Gauge) (j : ℕ) (b : G.Color × Panel G j) := G.plog (G.mat (displace G j b)) |
| 25 | |
| 26 | def siteFrame (B : Directions G n) (j : ℕ) (e : Edge (Site n)) (a : Panel G j) := moved G j (B e,a) |
| 27 | |
| 28 | def charge (G : Gauge) (j i : ℕ) := 1+‖iteratedFDeriv ℝ i (moved G j) 0‖ |
| 29 | def offFee (G : Gauge) (j : ℕ) := fare G j (charge G j) |
| 30 | lemma charge_nn (G : Gauge) (j i : ℕ) : 0 ≤ charge G j i := by unfold charge; positivity |
| 31 | lemma offFee_nn (G : Gauge) (j : ℕ) : 0 ≤ offFee G j := fare_nonneg _ _ _ (charge_nn G j) |
| 32 | |
| 33 | lemma moved_smooth (G : Gauge) (j : ℕ) : ContDiffAt ℝ ω (moved G j) 0 := by |
| 34 | have he : ContDiff ℝ ω (fun b : G.Color × Panel G j => G.mat (displace G j b)) := |
| 35 | ((chain_smooth G j).comp contDiff_snd).mul (G.exp_jet.comp contDiff_fst) |
| 36 | exact (show ContDiffAt ℝ ω G.plog (G.mat (displace G j 0)) by simpa [displace] using G.plog_diff).comp (f:=fun b => G.mat (displace G j b)) _ he.contDiffAt |
| 37 | |
| 38 | /-- Domain/cost predicates before using at any links. Discharged below. -/ |
| 39 | structure SafeAt (G : Gauge) (k : ℕ) (y : G.Color) : Prop where |
| 40 | left : G.plog (G.mat (G.lieExp y))=y |
| 41 | smooth j : j ≤ k+1 → ContDiffAt ℝ ω (moved G j) (y,0) |
| 42 | right j : j ≤ k+1 → ∀ᶠ w in 𝓝 (y,0), G.lieExp (moved G j w) = displace G j w |
| 43 | norm (j i) : j ≤ k+1 → i ≤ j → ‖iteratedFDeriv ℝ i (moved G j) (y,0)‖ ≤ charge G j i |
| 44 | |
| 45 | lemma frame_zone (G : Gauge) (k : ℕ) : ∃ r : ℝ, 0 < r ∧ ∀ y : G.Color, ‖y‖ < r → SafeAt G k y := by |
| 46 | have h (j i : ℕ) : ∀ᶠ y : G.Color in 𝓝 0, ContDiffAt ℝ ω (moved G j) (y,0) ∧ |
| 47 | (∀ᶠ w in 𝓝 (y,0), G.lieExp (moved G j w) = displace G j w) ∧ |
| 48 | ‖iteratedFDeriv ℝ i (moved G j) (y,0)‖ ≤ charge G j i := by |
| 49 | suffices h : ∀ᶠ z : G.Color × Panel G j in 𝓝 0, ContDiffAt ℝ ω (moved G j) z ∧ |
| 50 | (∀ᶠ w in 𝓝 z, G.lieExp (moved G j w) = displace G j w) ∧ ‖iteratedFDeriv ℝ i (moved G j) z‖ ≤ charge G j i from |
| 51 | (continuous_id.prodMk (continuous_const (y:=(0:Panel G j))) |>.tendsto 0).eventually h |
| 52 | have hs := moved_smooth G j |
| 53 | have he : ∀ᶠ w in 𝓝 0, G.lieExp (moved G j w) = displace G j w := by |
| 54 | apply Filter.Tendsto.eventually _ G.plog_right |
| 55 | rw [← show displace G j 0=1 by simp [displace]]; apply Continuous.tendsto |
| 56 | unfold displace |
| 57 | exact ((chain_cont G j).comp continuous_snd).mul (G.lieExp_cont.comp continuous_fst) |
| 58 | exact (hs.eventually (by simp)).and ((eventually_eventually_nhds.mpr he).and |
| 59 | ((hs.continuousAt_iteratedFDeriv le_top).norm.tendsto.eventually (ge_mem_nhds (show ‖iteratedFDeriv ℝ i (moved G j) 0‖ < charge G j i by unfold charge; linarith)))) |
| 60 | have hb (j : ℕ) : ∀ᶠ y : G.Color in 𝓝 0, ∀ i ≤ j, ContDiffAt ℝ ω (moved G j) (y,0) ∧ |
| 61 | (∀ᶠ w in 𝓝 (y,0), G.lieExp (moved G j w)=displace G j w) ∧ ‖iteratedFDeriv ℝ i (moved G j) (y,0)‖ ≤ charge G j i := by |
| 62 | filter_upwards [eventually_all.mpr (fun i : Fin (j+1) => h j i.val)] with y hy i hi |
| 63 | exact hy ⟨i, Nat.lt_succ_of_le hi⟩ |
| 64 | have ht : ∀ᶠ y in 𝓝 0, SafeAt G k y := by |
| 65 | filter_upwards [G.plog_left,eventually_all.mpr (fun j : Fin (k+1+1) => hb j.val)] with y hy hh |
| 66 | exact ⟨hy,fun j hj => (hh ⟨j,Nat.lt_succ_of_le hj⟩ j le_rfl).1, fun j hj => (hh ⟨j,Nat.lt_succ_of_le hj⟩ j le_rfl).2.1, |
| 67 | fun j i hj hi => (hh ⟨j,Nat.lt_succ_of_le hj⟩ i hi).2.2⟩ |
| 68 | simpa only [Set.subset_def, Metric.mem_ball, dist_zero_right,Set.mem_setOf_eq] using Metric.mem_nhds_iff.mp ht |
| 69 | |
| 70 | def radius (G : Gauge) (k : ℕ) : ℝ := (frame_zone G k).choose |
| 71 | lemma radius_pos (G : Gauge) (k : ℕ) : 0 < radius G k := (frame_zone G k).choose_spec.1 |
| 72 | |
| 73 | variable {B : Directions G n} (hb : ∀ e, ‖B e‖ < radius G k) |
| 74 | include hb |
| 75 | lemma initial (j : ℕ) : through (siteFrame B j) 0=B := by |
| 76 | funext e; simpa only [through,siteFrame,moved,displace, show (fun i : Fin j => (0:Slab G n j) i e)=(0 : Panel G j) from rfl, |
| 77 | chain_zero,one_mul] using ((frame_zone G k).choose_spec.2 _ (hb e)).left |
| 78 | lemma reframe (hj : j ≤ k+1) (e : Edge (Site n)) : ContDiffAt ℝ ω (siteFrame B j e) 0 := |
| 79 | (((frame_zone G k).choose_spec.2 _ (hb e)).smooth j hj).comp (f:=fun v : Panel G j => (B e,v)) _ (contDiffAt_const.prodMk contDiffAt_id) |
| 80 | |
| 81 | lemma ordered_chug (hj : j ≤ k+1) (U : Config G n) : |
| 82 | chug j (increment U B) =ᶠ[𝓝 0] increment U ∘ through (siteFrame B j) := by |
| 83 | have he (e : Edge (Site n)) := ((frame_zone G k).choose_spec.2 _ (hb e)).right j hj |
| 84 | have ht (e : Edge (Site n)) : Tendsto (fun v : Slab G n j => (B e, fun i => v i e)) (𝓝 0) (𝓝 (B e,0)) := |
| 85 | (continuous_const.prodMk (continuous_pi fun i => (continuous_apply e).comp (continuous_apply i))).tendsto (0:Slab G n j) |
| 86 | filter_upwards [eventually_all.mpr fun e => (ht e).eventually (he e)] with y hy |
| 87 | funext e; rw [comp_apply, increment,through,siteFrame,hy e,chug_apply,displace,mul_assoc]; rfl |
| 88 | |
| 89 | lemma reframe_cost {i : ℕ} (hj : j ≤ k+1) (hi : i ≤ j) (e : Edge (Site n)) : |
| 90 | ‖iteratedFDeriv ℝ i (siteFrame B j e) 0‖ ≤ charge G j i := by |
| 91 | let L := ContinuousLinearMap.inr ℝ G.Color (Panel G j) |
| 92 | have hL : ‖L‖ ≤ 1 := ContinuousLinearMap.opNorm_le_bound _ zero_le_one fun v => by |
| 93 | change ‖((0:G.Color),v)‖ ≤ _; simp |
| 94 | let F := moved G j |
| 95 | let x : G.Color × Panel G j := (B e,0) |
| 96 | obtain ⟨_,hs,_,ht⟩ := (frame_zone G k).choose_spec.2 _ (hb e) |
| 97 | have hF : ContDiffAt ℝ i (fun v => F (x+v)) (L 0) := by |
| 98 | apply ContDiffAt.comp (g:=F) (f:=fun v => x+v) _ _ (contDiffAt_const.add contDiffAt_id) |
| 99 | rw [map_zero,add_zero]; exact (hs j hj).of_le le_top |
| 100 | have he : siteFrame B j e = (fun v => F (x+v)) ∘ L := by |
| 101 | funext a; simp only [comp_apply]; rw [show x + L a = (B e,a) from by simp [x,L]]; rfl |
| 102 | rw [he,liner L hF,iteratedFDeriv_comp_add_left,map_zero,add_zero]; exact ContinuousMultilinearMap.norm_compContinuousLinearMap_le .. |>.trans |
| 103 | ((mul_le_of_le_one_right (norm_nonneg _) ((by simpa using pow_le_one₀ (norm_nonneg _) hL (n:=i)))).trans (ht j i hj hi)) |
| 104 | |
| 105 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] {F : Config G n → E} {U : Config G n} |
| 106 | (h : ContDiffAt ℝ k (over F U) ((paint G n).symm B)) |
| 107 | include h |
| 108 | |
| 109 | omit hb in |
| 110 | lemma chart_at_log : ContDiffAt ℝ k (F ∘ increment U) B := by |
| 111 | convert h.comp B (paint G n).symm.contDiff.contDiffAt using 1 |
| 112 | ext1 a; simp [over] |
| 113 | lemma germ_at_field : WardBin.Lies.Germ k F (increment U B) := by |
| 114 | have ht := ordered_chug (j:=1) hb (by omega) U |
| 115 | have he := (((initial hb 1).symm ▸ chart_at_log h).comp (0:Slab G n 1) |
| 116 | (through_smooth fun e => (reframe hb (by omega) e).of_le le_top)).congr_of_eventuallyEq (ht.fun_comp F) |
| 117 | exact he.comp (f:=fun y : Directions G n => (fun _ : Fin 1 => y)) (0:Directions G n) (contDiffAt_pi.mpr fun _ => contDiffAt_id) |
| 118 | |
| 119 | theorem expand_at_field (hj : j ≤ k) (A : Slab G n j) : |
| 120 | leftDerivs F (List.ofFn A) (increment U B) = ∑ p : OrderedFinpartition j, |
| 121 | iteratedFDeriv ℝ p.length (over F U) ((paint G n).symm B) ((paint G n).symm ∘ term (siteFrame B j) p A) := by |
| 122 | have he : j ≤ k+1 := Nat.le_succ_of_le hj |
| 123 | rw [expand_local (F:=F) (f:=F ∘ increment U) (siteFrame B j) (fun e => (reframe hb he e).of_le le_top) |
| 124 | (by rw [initial hb]; exact smooth_of_le (chart_at_log h) hj) ((ordered_chug hb he U).fun_comp F),initial hb] |
| 125 | have hr : F ∘ increment U = over F U ∘ ⇑(paint G n).symm.toContinuousLinearMap := by |
| 126 | ext a; exact congr_arg (fun z => F (increment U z)) ((paint G n).apply_symm_apply a).symm |
| 127 | refine Finset.sum_congr rfl fun p _ => ?_; rw [hr,liner _ (a:=B) (smooth_of_le h (p.length_le.trans hj))]; rfl |
| 128 | |
| 129 | variable {X ι κ : Type*} {a : Edge (Site n) → X} {D : Cost X} {x : X} {d δ γ M : ℝ} |
| 130 | |
| 131 | theorem offCenter_pay (z : Pins G n j) (N : Seminorm ℝ E) (hj : j ≤ k) (hδ : 0 ≤ δ) |
| 132 | (hd : j*δ ≤ d) (hM : 0 ≤ M) (hf : ∀ (p : OrderedFinpartition j) (w : Pins G n p.length), |
| 133 | due D a d x w * N (jet (ray G n) (over F U) (List.ofFn w) ((paint G n).symm B)) ≤ M) : |
| 134 | due D a δ x z * N (ordered F (increment U B) z) ≤ offFee G j * M := by |
| 135 | rw [ordered,expand_at_field hb h hj,offFee,fare,Finset.sum_mul] |
| 136 | apply (mul_le_mul_of_nonneg_left (Finset.le_sum_of_subadditive N (map_zero N).le (map_add_le_add N) _ _) |
| 137 | (show 0 ≤ due D a δ x z from (pay_pos ..).le)).trans |
| 138 | rw [Finset.mul_sum]; simp_rw [Stars.list_result] at hf |
| 139 | exact Finset.sum_le_sum fun p _ => partition_pay (siteFrame B j) _ z N _ hδ hd hM (fun b => reframe_cost hb (by omega) (p.partSize_le b)) (hf p) |
| 140 | |
| 141 | omit h |
| 142 | variable [Fintype ι] [Fintype κ] {F : Config G n → Matrix ι κ ℝ} |
| 143 | (hh : ContDiffAt ℝ k (over F U) ((paint G n).symm B)) |
| 144 | {a₁ : ι → X} {b : κ → X} {M : ℕ → ℝ} |
| 145 | include hh |
| 146 | |
| 147 | theorem offCenter_book (hδ : 0 ≤ δ) (hd : k*δ ≤ d) (hM : ∀ j ≤ k, 0 ≤ M j) |
| 148 | (hf : ∀ j ≤ k, ∀ (p : OrderedFinpartition j) (w : Pins G n p.length), Bill (positions D (a ∘ edge) d) D a₁ b (List.ofFn w) γ (M j) |
| 149 | (jet (ray G n) (over F U) (List.ofFn w) ((paint G n).symm B))) : |
| 150 | Book D a₁ b a k δ γ (fun j => offFee G j*M j) F (increment U B) := by |
| 151 | refine ⟨germ_at_field hb hh,fun j hj => mul_nonneg (offFee_nn ..) (hM j hj),fun j z hj => ?_⟩ |
| 152 | have he := (mul_le_mul_of_nonneg_right (Nat.cast_le (α:=ℝ).mpr hj) hδ).trans hd |
| 153 | constructor <;> constructor <;> intro i |
| 154 | · exact offCenter_pay hb hh z (reader (fun q => D.weight γ (a₁ i) (b q)) (fun _ => D.weight_nn ..) (fun _ => i) id) |
| 155 | hj hδ he (hM j hj) (fun p w => ((hf j hj) p w).row.rows i) |
| 156 | exact offCenter_pay hb hh z (reader (fun q => D.weight γ (b i) (a₁ q)) (fun _ => D.weight_nn ..) id (fun _ => i)) |
| 157 | hj hδ he (hM j hj) (fun p w => ((hf j hj) p w).col.rows i) |
| 158 | |
| 159 | theorem offCenter_entry (hδ : 0 ≤ δ) (hd : k*δ ≤ d) (hM : ∀ j ≤ k, 0 ≤ M j) {η : ℝ} {v : X} |
| 160 | (hf : ∀ j ≤ k, ∀ (p : OrderedFinpartition j) (w : Pins G n p.length), |
| 161 | Noticed D a₁ b (positions D (a ∘ edge) d) η γ v (List.ofFn w) (M j) (jet (ray G n) (over F U) (List.ofFn w) ((paint G n).symm B))) : |
| 162 | ChangedBook D a₁ b a k δ η γ v (fun j => offFee G j*M j) F (increment U B) := by |
| 163 | refine ⟨germ_at_field hb hh,fun j hj => mul_nonneg (offFee_nn ..) (hM j hj),fun j z hj => ?_⟩ |
| 164 | constructor; intro i q |
| 165 | let N (x y : X) : Seminorm ℝ (Matrix ι κ ℝ) := reader (fun _ : Unit => D.weight η x v * D.weight γ x y) |
| 166 | (fun _ => mul_nonneg (D.weight_nn ..) (D.weight_nn ..)) (fun _ => i) (fun _ => q) |
| 167 | have he (x y : X) {j : ℕ} (z : Pins G n j) (δ : ℝ) T : |
| 168 | D.weight η x v * (positions D (a ∘ edge) δ).pay (List.ofFn z) x * (D.weight γ x y * |T i q|) = |
| 169 | due D a δ x z * N x y T := by |
| 170 | have : N x y T = ∑ _u : Unit, (D.weight η x v * D.weight γ x y) * |T i q| := rfl |
| 171 | simp only [this,Fintype.sum_unique,due]; ring |
| 172 | have hu := (mul_le_mul_of_nonneg_right (Nat.cast_le (α:=ℝ).mpr hj) hδ).trans hd |
| 173 | constructor |
| 174 | · rw [he]; apply offCenter_pay hb hh z _ hj hδ hu (hM j hj) (fun p w => by rw [← he]; exact ((hf j hj p w).test i q).1) |
| 175 | rw [he]; apply offCenter_pay hb hh z _ hj hδ hu (hM j hj) (fun p w => by rw [← he]; exact ((hf j hj p w).test i q).2) |
| 176 | end YM.SelectedOrderedKernels |