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.MultipleContact.Pair.Request |
| 2 | import YM.MultipleContact.Total |
| 3 | |
| 4 | /-! Unconditional activation of exact-order extension estimates on the pair. -/ |
| 5 | set_option autoImplicit false |
| 6 | set_option maxHeartbeats 800000 |
| 7 | noncomputable section |
| 8 | namespace YM.MultipleContact.Two |
| 9 | open Function Set Filter MeasureTheory Metric Table Power Direct Extraction Spec |
| 10 | open scoped Topology BigOperators ContDiff Filter Classical |
| 11 | variable {G:Gauge}{C:Family G}{L:Register G}{T:Table L}{S:Table C.book}{F:Order}{P:DiffPlan S} {n k:ℕ} |
| 12 | variable (H:Data C F S P)(A B:S.Tag) |
| 13 | |
| 14 | /-- The kernel reads the product with the other positions relative to the designated center. -/ |
| 15 | def measurePair (t:Target C.book) (y:E4):ℂ:=kernelPair A B t.1 t.2 y (relative t.2) |
| 16 | |
| 17 | private lemma visit_path {W:Type*}[TopologicalSpace W]{E:Type*}[TopologicalSpace E]{z:W}{g:E4→E}{y:E4}{f:E4× W× E→ℂ}(hf:ContinuousAt f ((0:E4),z,g y))(he:ContinuousAt g y):ContinuousAt (fun a:E4×W=>f (0,a.2,g a.1)) (y,z):=by |
| 18 | exact hf.comp_of_eq (continuousAt_const.prodMk (continuousAt_snd.prodMk (he.comp continuousAt_fst)) : ContinuousAt (fun a:E4 × W=> ((0:E4),a.2,g a.1)) (y,z)) rfl |
| 19 | |
| 20 | lemma eval_continuous {S:Table L}(H:S.Smooth)(q:Fin n→L.Token){k:ℕ}{y:E4}{z:Points n}{g:E4 → S.Field k}(he:ContinuousAt g y)(hz:Safe 0 z):ContinuousAt (fun a:E4× Points n=> siteValue S q k (g a.1) 0 a.2) (y,z) := by |
| 21 | let f(p:E4 × Points n × S.Field k):=siteValue S q k p.2.2 p.1 p.2.1 |
| 22 | have hf:=site_continuous H q k 0 z hz (g y) |
| 23 | have h : ContinuousAt (fun a:E4×Points n=>f (0,a.2,g a.1)) (y,z) := visit_path (z:=z) (f:=f) (y:=y) (g:=g) hf he |
| 24 | exact h |
| 25 | |
| 26 | include H in |
| 27 | lemma estimate_targets (D:∀k,Detector S k) (Q:Splitting P){ι:Type*}[Fintype ι](u:ι→Profile C.book)(Hmax:ℕ)(e:Eligible u)(hh:∀k, k ≤ Hmax→∀x:(D k).probes,⟨S,x.val⟩∈targets S u): |
| 28 | ∃r:ℝ, Estimates P D (massDeg A B) Hmax r (measurePair A B) (targets S u):=by |
| 29 | let U:=targets S u |
| 30 | let Y:=measurePair A B |
| 31 | obtain ⟨R,hr,hR⟩:=Eligible.pick e |
| 32 | let r:=min 1 (R/2) |
| 33 | have hR':∀y∈closedBall (0:E4) (2*r),∀i,∀z∈(u i).support,y≠0 → away y z∈conf _:=fun y hy=> hR _ ((closedBall_subset_closedBall (by unfold r; linarith only [min_le_right (1:ℝ) (R/2)])) hy) |
| 34 | let W:=closedBall (0:E4) (2*r) \ ({0}:Set E4) |
| 35 | let Gv := kernelPair A B S |
| 36 | have hg(i)(y:E4)(hy:y∈W)(z)(hz:z∈(u i).support):ContinuousAt (fun p:E4 × Points _=>Gv (u i).e p.1 p.2) (y,z):= continuous_value S H.seed.kernel.smooth A B _ (hR' y hy.1 i z hz (fun e=> hy.2 (Set.mem_singleton_iff.mpr e))) |
| 37 | have he(t:Target C.book)(ht:t∈U):∃(i:ι)(z:Points (u i).e.n)(hz:z∈(u i).support), Y t=(fun y=>Gv (u i).e y z) ∧ ∀k:ℕ,∀v:S.Field k,response t.1 k t.2 v=siteValue S (u i).e.letter k v 0 z:=by |
| 38 | obtain ⟨i,z,hz,h,x⟩:=(show ∃i, (u i).covers t.2 from ht.2) |
| 39 | refine ⟨i,z,hz,?_,?_⟩ |
| 40 | · change measurePair A B t=_ |
| 41 | unfold measurePair; rw [ht.1,← x,paint_self];rfl |
| 42 | intro k v; rw [ht.1,← x,← site_orig S (H.seed.kernel.translations) _ _ _ H.seed.kernel.laws.toSymmetric (fun _=>le_rfl)] |
| 43 | erw [paint_self]; rfl |
| 44 | -- observations at core probes always among these readings |
| 45 | have hcont(i) : ContinuousOn (fun p:E4 × Points _=>Gv (u i).e p.1 p.2) (W×ˢ (u i).support):= continuousOn_of_forall_continuousAt (fun p hp=>hg _ p.1 hp.1 p.2 hp.2) |
| 46 | have hcG(k:ℕ)(hk:k≤Hmax)(y)(hy:y∈W) : ContinuousAt (pull k (D k) Gv) y:=by |
| 47 | apply (D k).decode.continuous_of_finiteDimensional.continuousAt.comp_of_eq (continuousAt_pi.mpr fun x=>?_) rfl |
| 48 | let t:Target C.book:=⟨S,x⟩; obtain ⟨i,z,hz,eq,hz'⟩:=he t (hh _ hk _) |
| 49 | change ContinuousAt (Y t) y |
| 50 | have hu':ContinuousAt (fun v:E4=>(v,z)) y:= (continuous_id.prodMk continuous_const).continuousAt |
| 51 | have ht:= (hg i _ hy _ hz).comp_of_eq hu' (by rfl) |
| 52 | exact (congr_arg (ContinuousAt · y) eq.symm).mp ht |
| 53 | have hcontMiss (k:ℕ)(hk:k≤Hmax)(i):ContinuousOn (fun p:E4×Points (u i).e.n=>missAt k (D k) Gv (u i).e p.2 p.1) (W×ˢ (u i).support):=by |
| 54 | refine continuousOn_of_forall_continuousAt (fun p hp=>(hg i p.1 hp.1 _ hp.2).sub ?_) |
| 55 | exact eval_continuous H.seed.kernel.smooth (u i).e.letter (hcG k hk p.1 hp.1) (e.room i p.2 hp.2) |
| 56 | -- hh maps all active probes. Responses bound on relative catalogs. |
| 57 | refine ⟨r,lt_min zero_lt_one (half_pos hr),min_le_left ..,H.seed.kernel.laws.toSymmetric,H.inclusion,(fun t ht=>filtered t (ht.1.symm ▸ H.seed.kernel.laws.toSymmetric) (by rw [ht.1]; exact fun _=>le_rfl) (ht.1.symm ▸ H.inclusion)),hh,?_,?_,?_⟩ |
| 58 | · intro k hk |
| 59 | choose b hb hw using fun i=>site_bound H.seed.kernel.smooth (u i).e.letter k _ (e.compact i) (e.room i) |
| 60 | obtain ⟨c₀,Hc⟩:=Finite.bddAbove_range b |
| 61 | refine ⟨max 1 c₀,lt_of_lt_of_le zero_lt_one (le_max_left ..),fun t ht v=>?_⟩ |
| 62 | obtain ⟨i,z,hz,h₁,h₂⟩:=he t ht; rw [h₂ k _]; exact (hw _ z hz _).trans (mul_le_mul_of_nonneg_right ((Hc (Set.mem_range_self _)).trans (le_max_right ..)) (norm_nonneg _)) |
| 63 | · intro ε hz |
| 64 | obtain ⟨c₁,hp⟩:=quota e (lt_min zero_lt_one (half_pos hr)) hR' (pair_price H A B ε hz) hcont |
| 65 | exact ⟨c₁,fun t ht=>by obtain ⟨i,z,hz,h₁,h₂⟩:=he t ht; rw [show measurePair A B t=_ from h₁]; exact hp _ _ hz⟩ -- `` invalid |
| 66 | intro k hk |
| 67 | -- center miss corresponds |
| 68 | obtain ⟨a,ha⟩:=quota e (lt_min zero_lt_one (half_pos hr)) hR' (center_miss H A B k Q D) (hcontMiss k hk) |
| 69 | refine ⟨a,gain,gain_pos,fun t ht=>?_⟩ |
| 70 | obtain ⟨i,z,hz,h₁,h₂⟩:=he t ht |
| 71 | have ex(y):readField D (measurePair A B) k y = pull k (D k) Gv y:=rfl |
| 72 | have ht : miss D k (measurePair A B) t = (fun y=>missAt k (D k) Gv (u i).e z y):=by |
| 73 | funext y |
| 74 | change Y t y-response t.1 k t.2 (readField D _ k y) = _ |
| 75 | rw [h₁,h₂,ex]; rfl |
| 76 | rw [ht]; exact ha _ _ hz |
| 77 | |
| 78 | include H in |
| 79 | lemma estimate_batch (D:∀k,Detector S k)(Q:Splitting P) {ι:Type*}[Fintype ι](u:ι→Profile C.book)(Hmax:ℕ)(e:Eligible u):∃r:ℝ, Estimates P D (massDeg A B) Hmax r (measurePair A B) (targets S (includeIndexes D Hmax u)):=by |
| 80 | let U:= includeIndexes D Hmax u |
| 81 | exact estimate_targets H A B D Q U Hmax (eligible_total D Hmax e) (fun _=>active_total D Hmax) |
| 82 | end YM.MultipleContact.Two |