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.FullVolume.Region |
| 2 | |
| 3 | /-! |
| 4 | # Full real Gate. Only need point Cauchy from physical dynamics at generic |
| 5 | (non-tie) probes. Recovery here for all compacts in torus separation. No |
| 6 | diagonal in this lemma, nor any additional mesh selection in PointPurchased. |
| 7 | -/ |
| 8 | set_option autoImplicit false |
| 9 | noncomputable section |
| 10 | namespace YM.FullVolume |
| 11 | open Function Set Filter Metric MeasureTheory Lattice RG Wilson Extraction Extraction.Lease Difference Gaps Cells |
| 12 | open scoped Topology Matrix.Norms.Frobenius BigOperators ContDiff |
| 13 | variable {G:Gauge}{C:Family G} (M : FixedBounds C)(e : Extraction.Sequence) {v : Fin 0 → C.book.Token} |
| 14 | variable {n:ℕ}(p : ℕ)(v : Fin n → C.book.Token)(l:List (MotionIndex n)) |
| 15 | |
| 16 | def evaluate (C:Family G)(e:Extraction.Sequence)(p:ℕ)(v: Fin n→C.book.Token)(l:List (MotionIndex n)) |
| 17 | (i:ℕ)(x:Points n):= gKernel C v l (e i) p (address (C.S.a (e i)) x) |
| 18 | |
| 19 | def Tuned (C:Family G)(e:Extraction.Sequence)(p:ℕ)(v: Fin n→C.book.Token)(l:List (MotionIndex n)) (g:Points n→ℂ) := Meets (NoHit C.S p n) (evaluate C e p v l) g |
| 20 | |
| 21 | lemma returns {f:Points n→ℂ}(h:Tuned C e p v l f) {x:Points n} (hx:x∈NoHit C.S p n) {q : ℕ → Positions n} (he:Tendsto (fun i=> tag (C.S.a (e i)) (q i)) atTop (𝓝 x)) : |
| 22 | Tendsto (fun i=> gKernel C v l (e i) p (q i)) atTop (𝓝 (f x)):=by |
| 23 | obtain ⟨K,hK,hT,hV⟩:=exists_compact_subset (nohitOpen C.S p n) hx |
| 24 | let u i:= tag (C.S.a (e i)) (q i) |
| 25 | have hv: Tendsto (fun i=> f (u i)) atTop (𝓝 (f x)):= |
| 26 | ((h.continuousOn.continuousAt ((nohitOpen C.S p n).mem_nhds hx)).tendsto.comp he) |
| 27 | refine hv.congr_dist (Metric.tendsto_nhds.mpr ?_) |
| 28 | intro ε hε |
| 29 | filter_upwards [h.uniform K hV hK ε hε, he.eventually (mem_interior_iff_mem_nhds.mp hT)] with i hi hp |
| 30 | rw [dist_zero_right, Real.norm_of_nonneg (by positivity), dist_comm] |
| 31 | have he:=hi (u i) hp; unfold evaluate u at he; rwa [address_matched (C.S.a_pos ..)] at he |
| 32 | |
| 33 | lemma nearest {v:ℝ}(hv:0<v): ∀ᶠ i in atTop, ∀ x:Points n, dist (tag (C.S.a (e i)) (address (C.S.a (e i)) x)) x< v:=by |
| 34 | have hl: Tendsto (fun i=> (4*n:ℝ)*C.S.a (e i)) atTop (𝓝 0):= by simpa using! ((C.S.shrinks.comp e.cofinal).const_mul (4*n:ℝ)) |
| 35 | filter_upwards [hl.eventually (gt_mem_nhds hv)] with i hi x using (approximate (C.S.a_pos _) x).trans_lt hi |
| 36 | |
| 37 | include M |
| 38 | lemma circulating : oscillation (NoHit C.S p n) (evaluate C e p v l):= by |
| 39 | intro K hU hK ε hε |
| 40 | obtain ⟨t,ht,hT⟩:= hK.exists_cthickening_subset_open (nohitOpen ..) hU |
| 41 | obtain ⟨r,B,hr,hB,H⟩:= M.localLip v l p hT hK.cthickening |
| 42 | let g:= min r (ε/(B+1)) |
| 43 | have hg: 0<g := lt_min hr (by positivity) |
| 44 | have hv: 0<g/4:= by positivity |
| 45 | refine ⟨g/4,hv,?_⟩ |
| 46 | filter_upwards [e.cofinal.eventually H,nearest (n:=n) (C:=C) e ht, nearest (n:=n) (C:=C) e hv] with i hi he hF x hx y hy hw |
| 47 | let a:= C.S.a (e i); let f x := tag a (address a (x: Points n)) |
| 48 | have hl : f y∈ cthickening t K:= mem_cthickening_of_dist_le _ _ _ _ hy (he y).le |
| 49 | have hz : dist (f x) (f y) < g := by |
| 50 | have hv' := hF y; change dist (f y) y<g/4 at hv'; rw [dist_comm] at hv' |
| 51 | have ht:=hF x; change dist (f x) x<_ at ht; linarith [dist_triangle (f x) x y, dist_triangle (f x) y (f y)] |
| 52 | apply lt_of_le_of_lt (hi _ _ hl (hz.le.trans (min_le_left ..))); change B*dist (f x) _ < _ |
| 53 | apply lt_of_le_of_lt (mul_le_mul_of_nonneg_left hz.le hB); have hw:= (le_div_iff₀' (by positivity : 0 < B+1)).1 (min_le_right r (ε/(B+1))) |
| 54 | change (B+1)*g ≤ ε at hw; linarith |
| 55 | |
| 56 | omit M in |
| 57 | /-- Main gate. Point data may use ordinary Representatives. -/ |
| 58 | def Purchased (C:Family G)(e: Extraction.Sequence) : Prop:= ∀ (n p:ℕ) (v: Fin n→ C.book.Token) x, x∈Cyclic C.S p n → CauchySeq (fun i=> evaluate C e p v [] i x) |
| 59 | |
| 60 | lemma established (hp:Purchased C e):∃ f,Tuned C e p v [] f:= by |
| 61 | exact growFrom (nohitOpen ..) (circulating M e p v []) (Cyclic C.S p n) (MeasureTheory.Measure.dense_of_ae (almostCyclic C.S p n)) (fun x hx=>hp _ _ _ x hx.1) |
| 62 | |
| 63 | omit M in |
| 64 | lemma forwardPrice {t : ℝ}(ht:0<t):Tendsto (fun N=> (steps C.S t N:ℝ)*C.S.a N) atTop (𝓝 t):=by |
| 65 | have he:= tendsto_const_nhds (f:=atTop) (x:=t) |>.add (C.S.shrinks) |
| 66 | rw [add_zero] at he; refine tendsto_of_tendsto_of_tendsto_of_le_of_le' (g:=fun _ :ℕ=> t) tendsto_const_nhds he ((step_upper C.S ht).mono ?_) (Eventually.of_forall (fun i=>?_)) |
| 67 | · intro i hi; exact hi.2.1 |
| 68 | have hp:= C.S.a_pos i |
| 69 | exact (mul_le_mul_of_nonneg_right (Nat.ceil_lt_add_one (div_nonneg ht.le hp.le)).le hp.le).trans_eq (by rw [add_mul,one_mul,div_mul_cancel₀ _ hp.ne']) |
| 70 | |
| 71 | set_option maxHeartbeats 600000 in |
| 72 | lemma from_previous {f : Points n→ℂ}(h:Tuned C e p v l f) (a:MotionIndex n) : ∃ g,Tuned C e p v (a::l) g:=by |
| 73 | apply growFrom (nohitOpen ..) (circulating M e p v (a::l)) univ dense_univ |
| 74 | rintro x ⟨-,hx⟩ |
| 75 | obtain ⟨K,hK,hT,hU⟩:= exists_compact_subset (nohitOpen ..) hx |
| 76 | obtain ⟨B,r,hB,hr,H⟩:= M.taylor v l p hU hK |
| 77 | obtain ⟨t,ht,hS⟩:= Metric.nhds_basis_closedBall.mem_iff.mp (mem_interior_iff_mem_nhds.mp hT) |
| 78 | rw [Metric.cauchySeq_iff] |
| 79 | intro ε hε |
| 80 | let q:= min (t/2) (min (r/3) (ε/(8*(B+1)))) |
| 81 | have hp:0<q:= lt_min (by positivity) (lt_min (by positivity) (by positivity)) |
| 82 | have ht': 2*q ≤ t:= by have h' : q≤t/2 := min_le_left ..; linarith |
| 83 | obtain ⟨hr',hb'⟩ : q ≤ r/3 ∧ q ≤ ε/(8*(B+1)):= le_min_iff.mp (min_le_right ..) |
| 84 | let T N:= e N; let Y i:= address (C.S.a (T i)) x |
| 85 | let b N:= steps C.S q N; let s i:=C.S.a (T i) |
| 86 | let k i:ℝ:= b (T i)*s i; let z i:=Y i + b (T i) • drive a; let w:=x+q • Dir a |
| 87 | let F i:= gKernel C v l (T i) p |
| 88 | let D i:=evaluate C e p v (a::l) i x |
| 89 | have hg:Tendsto k atTop (𝓝 q) := (forwardPrice hp (C:=C)|>.comp e.cofinal) |
| 90 | have hh:Tendsto (fun i=> tag (s i) (Y i)) atTop (𝓝 x):=(Extraction.chosen x).comp e.cofinal |
| 91 | have hy:Tendsto (fun i=> tag (s i) (z i)) atTop (𝓝 w):= by |
| 92 | simp_rw [z,taggedN]; exact hh.add (hg.smul_const _) |
| 93 | have he i: dist (tag (s i) (z i)) (tag (s i) (Y i))=k i:=paidDist _ _ (C.S.a_pos _) _ _ |
| 94 | have hw : w∈ NoHit C.S p n:= by |
| 95 | refine hU (hS (mem_closedBall.mpr ?_)) |
| 96 | apply le_of_tendsto (hy.dist hh) |
| 97 | filter_upwards [e.cofinal.eventually (step_upper C.S hp)] with i hi |
| 98 | rw [he]; exact hi.2.2.trans ht' |
| 99 | have hW:Tendsto (fun i=> F i (z i)) atTop (𝓝 (f w)):= returns e p v l h hw hy |
| 100 | have hY:Tendsto (fun i=> F i (Y i)) atTop (𝓝 (f x)):= returns e p v l h hx hh |
| 101 | let W (i : ℕ):= (k i)⁻¹ • (F i (z i)- F i (Y i)) |
| 102 | have hP := Metric.cauchySeq_iff.mp (((hg.inv₀ hp.ne').smul (hW.sub hY)).cauchySeq) (ε/2) (half_pos hε) |
| 103 | obtain ⟨L,hL⟩:=hP |
| 104 | have heq : ∀ᶠ i in atTop, dist (W i) (D i) ≤ ε/4:=by |
| 105 | filter_upwards [hh.eventually (mem_interior_iff_mem_nhds.mp hT),e.cofinal.eventually (step_upper C.S hp), e.cofinal.eventually H] with i hi h hp' |
| 106 | have hk: q ≤ k i ∧ k i ≤ 2*q := h.2 |
| 107 | have h0:0<k i:=hp.trans_le hk.1 |
| 108 | have hq: ‖F i (z i)- F i (Y i)- k i • D i‖≤ B*(k i)^2:=by |
| 109 | have hv:= hp' (Y i) (z i) hi (show dist (tag (s i) (z i)) (tag (s i) (Y i)) ≤ r from (he i).trans_le (by linarith only [hk.2,hr',hr])) |
| 110 | dsimp only at hv |
| 111 | rw [show dist _ _ = k i from he i, taggedN,add_sub_cancel_left,map_smul,loyal] at hv -- anchor z unfolding |
| 112 | exact hv |
| 113 | rw [dist_eq_norm,show W i-D i= (k i)⁻¹ • (F i (z i)-F i (Y i)-k i • D i) by rw [smul_sub,inv_smul_smul₀ h0.ne'], |
| 114 | norm_smul,Real.norm_of_nonneg (inv_pos.mpr h0).le] |
| 115 | calc |
| 116 | _ ≤ _ := mul_le_mul_of_nonneg_left hq (inv_pos.mpr h0).le |
| 117 | _ = B*k i:=by field_simp |
| 118 | _ ≤ ε/4:=by |
| 119 | have hev:= (le_div_iff₀' (by positivity : 0<8*(B+1))).1 hb'; nlinarith only [hev, hp,hk.2,hB,mul_le_mul_of_nonneg_left hk.2 hB] |
| 120 | obtain ⟨j,hj⟩:= eventually_atTop.mp ((eventually_ge_atTop L).and heq) |
| 121 | refine ⟨j,fun m hm n hn=>?_⟩ |
| 122 | change dist (D m) (D n)< _ |
| 123 | obtain ⟨he,hM⟩:=hj m hm; obtain ⟨hf,hN⟩:=hj n hn |
| 124 | have h:= hL m he n hf; change dist (W m) (W n)< _ at h; rw [dist_comm] at hM |
| 125 | linarith [dist_triangle (D m) (W m) (W n),dist_triangle (D m) (W n) (D n)] |
| 126 | end YM.FullVolume |