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.Next.EXTRACTION.Relay |
| 2 | |
| 3 | /-! |
| 4 | # A finite-family gate for the shortage premise of D04 |
| 5 | |
| 6 | Require quantitative detection on a finite physical family of tests of the |
| 7 | *actual* Wilson family, on the range of the finite cutoff projection. RShort |
| 8 | still has to address proving a bound like this; see for the |
| 9 | proposed source through weak comparison, not assumed to work. This version |
| 10 | can be asked before we have any chosen limit, or used at a particular |
| 11 | extraction already found to support the estimates -- it mentions *only* |
| 12 | cutoffs and order of quantifiers. |
| 13 | -/ |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.Next.Extract |
| 17 | open Function Filter Extraction Dash Set |
| 18 | open scoped Topology BigOperators |
| 19 | |
| 20 | variable {G : Gauge} {C : Family G} {b : Presentation C} {f g : Order} {d : ℕ} {S : Table C.book} |
| 21 | |
| 22 | /-- One fixed finite family at d (no bounded weight condition on its |
| 23 | spectators). `snapshots i d (N,p)` uses `Order.smears` on `Shot.record`: |
| 24 | update precisely `Shot.i` with the label of weight d, ordinary products, |
| 25 | against `Wilson.law G (C.side N p) (C.beta N p)` (normalized Wilson measure relative to |
| 26 | product Haar on the cutoff configurations), test `i.f`, mesh volume weight |
| 27 | `(C.S.a N)^(4*i.n)`. Includes tests with no other spectators, distinguished |
| 28 | slot is always present. Test is smooth, compact, supported off coincidences; |
| 29 | uses actual torus positions in the fundamental cell for p (each fixed test |
| 30 | fits eventually in the outer limit). Bound on ordered tails uniformly in v. |
| 31 | `c>0` fixed for these d and f. (Outer period |
| 32 | threshold before the mesh threshold.) |
| 33 | `I` permitted empty (force fixed space zero on these tails). -/ |
| 34 | def Detector (b : Presentation C) (f : Order) (d : ℕ) : Prop := |
| 35 | ∃ (I : Finset (Shot C.book)) (c : ℝ), 0 < c ∧ f.late fun N p => |
| 36 | ∀ v : C.label d, b.step d (N,p) v = v → c * ‖v‖ ≤ ∑ i ∈ I, ‖snapshots i d (N,p) v‖ |
| 37 | |
| 38 | lemma Tails.detects (h : Tails g f) (H : Detector b f d) : Detector b g d := by |
| 39 | obtain ⟨I,c,hc,hw⟩ := H |
| 40 | exact ⟨I,c,hc,h.late hw⟩ |
| 41 | |
| 42 | /-- Pass the finite lower bound on the varying projected vectors to the |
| 43 | limiting projection, using the actual test limits. -/ |
| 44 | theorem detection_limit {R : Bin S} (H : Live S) (ho : f.Ordered C S) (hm : Bin.Matrix R d f) |
| 45 | (hc : b.step d = (R d).step) {I : Finset (Shot C.book)} {c : ℝ} |
| 46 | (ht : f.late fun N p => ∀ v : C.label d, b.step d (N,p) v = v → c * ‖v‖ ≤ ∑ i ∈ I, ‖snapshots i d (N,p) v‖) |
| 47 | (x : C.label d) (hx : (R d).trueP x = x) : c * ‖x‖ ≤ ∑ i ∈ I, ‖i.core (d:=d) S H x‖ := by |
| 48 | let v (u : ℕ × ℕ) := b.step d u x |
| 49 | have hv : Tendsto v f.fuse (𝓝 x) := by |
| 50 | have hh : Tendsto (b.step d) f.fuse (𝓝 (R d).trueP) := by rw [hc]; exact hm |
| 51 | have he := Dash.arcing hh (tendsto_const_nhds (x := x)) |
| 52 | rwa [hx] at he |
| 53 | have hl (i : Shot C.book) : Tendsto (fun u : ℕ×ℕ => snapshots i d u (v u)) f.fuse (𝓝 (i.core S H x)) := |
| 54 | Dash.arcing (i.ready H ho d) hv |
| 55 | apply le_of_tendsto_of_tendsto (hv.norm.const_mul c) (tendsto_finsetSum I fun i _ => (hl i).norm) |
| 56 | change ∀ᶠ u in f.fuse, c * ‖v u‖ ≤ ∑ i ∈ I, ‖snapshots i d u (v u)‖ |
| 57 | rw [Order.fused] |
| 58 | unfold Order.late at * |
| 59 | filter_upwards [ht] with k hk |
| 60 | filter_upwards [hk] with j hj |
| 61 | exact hj _ (b.projected d _ _) |
| 62 | |
| 63 | /-- D04's shortage dimension inequality from a finite Wilson test |
| 64 | estimate and projection convergence. Does not require the upper-rank part |
| 65 | to use this estimate. -/ |
| 66 | theorem shortage_of_detector {R : Bin S} (H : Live S) (ho : f.Ordered C S) (hm : Bin.Matrix R d f) |
| 67 | (hc : b.step d = (R d).step) (h : Detector b f d) : Bin.shortage R H d := by |
| 68 | let m := monitor S H d |
| 69 | let p : C.label d →ₗ[ℂ] C.label d := (R d).trueP.toLinearMap |
| 70 | have he (x : C.label d) (hx : x ∈ m) (hp : p x = x) : x = 0 := by |
| 71 | obtain ⟨I,c,hc',hh⟩ := h |
| 72 | have hi := detection_limit H ho hm hc hh x hp |
| 73 | have hz (i : Shot C.book) : i.core (d:=d) S H x = 0 := |
| 74 | LinearMap.mem_ker.mp ((Submodule.mem_iInf _).mp hx i) |
| 75 | simp_rw [hz,norm_zero,Finset.sum_const_zero] at hi |
| 76 | by_contra hne |
| 77 | exact (mul_pos hc' (norm_pos_iff.mpr hne)).not_ge hi |
| 78 | -- monitor injects into the kernel by projection along p |
| 79 | let a : m →ₗ[ℂ] C.label d := (LinearMap.id - p).comp m.subtype |
| 80 | let w : m →ₗ[ℂ] LinearMap.ker p := a.codRestrict _ fun x => by |
| 81 | apply LinearMap.mem_ker.mpr |
| 82 | change p ((x : C.label d) - p (x : C.label d)) = 0 |
| 83 | rw [map_sub] |
| 84 | exact sub_eq_zero.mpr ((R d).final _).symm |
| 85 | have H0 (x : m) (hx : w x = 0) : x = 0 := by |
| 86 | have h0 : (x : C.label d) - p (x : C.label d) = 0 := congr_arg Subtype.val hx |
| 87 | exact Subtype.ext (he x x.property (sub_eq_zero.mp h0).symm) |
| 88 | have hw : Injective w := by |
| 89 | intro x y hxy |
| 90 | exact sub_eq_zero.mp (H0 _ (by rw [map_sub,hxy,sub_self])) |
| 91 | exact LinearMap.finrank_le_finrank_of_injective hw |
| 92 | |
| 93 | /-! |
| 94 | The Detector input is also precise if called later: once upper comparison |
| 95 | and rank succeed for an extraction, fixed finite detectors with uniform |
| 96 | quantitative lower bound are *provable* on that extraction. Thus it isn't |
| 97 | some extra completeness conjecture about the ranks. Of course we do not |
| 98 | appeal circularly to this direction in the construction. |
| 99 | -/ |
| 100 | |
| 101 | /-- A finite subfamily bound on a finite-dimensional level over ℂ. -/ |
| 102 | lemma finite_detectors {V ι : Type*} [NormedAddCommGroup V] [NormedSpace ℂ V] [FiniteDimensional ℂ V] |
| 103 | (p : V →L[ℂ] V) (A : ι → V →L[ℂ] ℂ) (H : ∀ x : V, p x = x → (∀ i, A i x = 0) → x = 0) : |
| 104 | ∃ (I : Finset ι) (c : ℝ), 0 < c ∧ ∀ x : V, c * ‖x‖ ≤ ‖p x-x‖ + ∑ i ∈ I, ‖A i x‖ := by |
| 105 | classical |
| 106 | let K : Set V := Metric.sphere 0 1 |
| 107 | have hk : IsCompact K := isCompact_sphere .. |
| 108 | let b (I : Finset ι) (x : V) := ‖p x-x‖ + ∑ i ∈ I, ‖A i x‖ |
| 109 | have hc I : Continuous (b I) := by unfold b; fun_prop |
| 110 | let u (I : Finset ι) : Set V := {x | 0 < b I x} |
| 111 | have ho I : IsOpen (u I) := isOpen_lt continuous_const (hc I) |
| 112 | have hh : K ⊆ ⋃ I, u I := by |
| 113 | intro x hx |
| 114 | have ht : ‖x‖ = 1 := by simpa [K,Metric.sphere] using hx |
| 115 | have hx : x ≠ 0 := fun e => one_ne_zero (ht.symm.trans (by rw [e,norm_zero])) |
| 116 | apply mem_iUnion.mpr |
| 117 | by_cases he : p x = x |
| 118 | · have hm : ∃ i, A i x ≠ 0 := not_forall.mp (fun w => hx (H x he w)) |
| 119 | obtain ⟨i,hi⟩ := hm |
| 120 | exact ⟨{i},by simp [u,b, he, norm_pos_iff,hi]⟩ |
| 121 | exact ⟨∅,by simp [u,b,norm_pos_iff, sub_ne_zero.mpr he]⟩ |
| 122 | obtain ⟨F,hF⟩ := hk.elim_finite_subcover u ho hh |
| 123 | let I := F.biUnion id |
| 124 | have ht : ∃ c : ℝ, 0 < c ∧ ∀ x ∈ K, c ≤ b I x := by |
| 125 | by_cases he : K.Nonempty |
| 126 | · obtain ⟨x,hx,h0⟩ := hk.exists_isMinOn he (hc I).continuousOn |
| 127 | obtain ⟨J,hJ⟩ := mem_iUnion.mp (hF hx) |
| 128 | obtain ⟨hp,hp'⟩ := mem_iUnion.mp hJ |
| 129 | refine ⟨b I x,lt_of_lt_of_le hp' ?_,fun _ hw => h0 hw⟩ |
| 130 | refine add_le_add_right ?_ _ |
| 131 | exact Finset.sum_le_sum_of_subset_of_nonneg (fun i hi => Finset.mem_biUnion.mpr ⟨J,hp,hi⟩) (fun _ _ _ => norm_nonneg _) |
| 132 | exact ⟨1,one_pos,fun x hx => (he ⟨x,hx⟩).elim⟩ |
| 133 | obtain ⟨c,hc,hu⟩ := ht |
| 134 | refine ⟨I,c,hc,fun x => ?_⟩ |
| 135 | by_cases he : x = 0 |
| 136 | · subst x; simp |
| 137 | have hq := norm_pos_iff.mpr he |
| 138 | let l := (‖x‖⁻¹ : ℝ) |
| 139 | have hv : ‖(l:ℂ)‖ = l := Complex.norm_real _ |>.trans (Real.norm_of_nonneg (inv_pos_of_pos hq).le) |
| 140 | have hd : (l:ℂ) • x ∈ K := by |
| 141 | suffices ‖(l:ℂ) • x‖ = 1 from (by simpa [K,Metric.sphere] using this) |
| 142 | rw [norm_smul,hv] |
| 143 | exact inv_mul_cancel₀ hq.ne' |
| 144 | have hi := hu ((l:ℂ) • x) hd |
| 145 | have hb : b I ((l:ℂ) • x) = l * b I x := by |
| 146 | simp only [b,map_smul,← smul_sub,norm_smul,hv,mul_add,Finset.mul_sum] |
| 147 | rw [hb, mul_comm, ← div_eq_mul_inv] at hi |
| 148 | exact (le_div_iff₀ hq).mp hi |
| 149 | |
| 150 | /-- With the projection data and actual kernels converging, `Good` |
| 151 | identification implies the finite quantitative bound at cutoffs. -/ |
| 152 | theorem detector_of_good {R : Bin S} (H : Live S) (ho : f.Ordered C S) (hm : Bin.Matrix R d f) |
| 153 | (hc : b.step d = (R d).step) (he : Bin.Good R H d) : Detector b f d := by |
| 154 | let q := (R d).trueP |
| 155 | let B (i : Shot C.book) := i.core (d:=d) S H |
| 156 | obtain ⟨I,c,hc',ht⟩ := finite_detectors q B (fun x hx h => by |
| 157 | have hv : x ∈ monitor S H d := (Submodule.mem_iInf _).2 fun i => LinearMap.mem_ker.mpr (h i) |
| 158 | have hw : x ∈ LinearMap.ker q.toLinearMap := he.symm ▸ hv |
| 159 | exact hx.symm.trans (LinearMap.mem_ker.mp hw)) |
| 160 | let p := b.step d |
| 161 | let A (i : Shot C.book) (u : ℕ×ℕ) := snapshots i d u |
| 162 | have hg : Tendsto p f.fuse (𝓝 q) := by rwa [show p = (R d).step from hc] |
| 163 | let E (u : ℕ×ℕ) := ‖q - p u‖ + ∑ i ∈ I, ‖B i - A i u‖ |
| 164 | have hv : Tendsto E f.fuse (𝓝 0) := by |
| 165 | have hr : Tendsto (fun u => ‖q - p u‖) f.fuse (𝓝 0) := by |
| 166 | simpa only [sub_self,norm_zero] using (tendsto_const_nhds (x := q) |>.sub hg).norm |
| 167 | have hb i : Tendsto (fun u => ‖B i - A i u‖) f.fuse (𝓝 0) := by |
| 168 | have ht : Tendsto (A i) f.fuse (𝓝 (B i)) := i.ready H ho d |
| 169 | simpa only [sub_self,norm_zero] using (tendsto_const_nhds (x := B i) |>.sub ht).norm |
| 170 | simpa only [Finset.sum_const_zero,add_zero] using hr.add (tendsto_finsetSum I fun i _ => hb i) |
| 171 | refine ⟨I,c/2,half_pos hc',(f.fused (fun u => ∀ v : C.label d, p u v = v → |
| 172 | c/2*‖v‖ ≤ ∑ i ∈ I, ‖A i u v‖)).mp ?_⟩ |
| 173 | filter_upwards [hv.eventually (gt_mem_nhds (half_pos hc'))] with u hu v hfix |
| 174 | have hs : c * ‖v‖ ≤ E u * ‖v‖ + ∑ i ∈ I, ‖A i u v‖ := by |
| 175 | refine le_trans (ht v) ?_ |
| 176 | have he : ‖q v-v‖ ≤ ‖q-p u‖ * ‖v‖ := by |
| 177 | simpa only [sub_apply,hfix] using (q - p u).le_opNorm v |
| 178 | have hb i : ‖B i v‖ ≤ ‖B i-A i u‖ * ‖v‖ + ‖A i u v‖ := calc |
| 179 | ‖B i v‖ = ‖(B i-A i u) v + A i u v‖ := by rw [sub_apply,sub_add_cancel] |
| 180 | _ ≤ _ := norm_add_le _ _ |
| 181 | _ ≤ _ := add_le_add_left ((B i-A i u).le_opNorm v) _ |
| 182 | have hl := add_le_add he (Finset.sum_le_sum (s := I) fun i _ => hb i) |
| 183 | dsimp only [E] |
| 184 | rw [add_mul, Finset.sum_mul,add_assoc] |
| 185 | simpa only [Finset.sum_add_distrib] using hl |
| 186 | have hE : E u * ‖v‖ ≤ c/2 * ‖v‖ := mul_le_mul_of_nonneg_right (show E u < c/2 from hu).le (norm_nonneg v) |
| 187 | linarith |
| 188 | |
| 189 | |
| 190 | end YM.Next.Extract |