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.Multi.Plant |
| 2 | import YM.MergeProof.West.Sally |
| 3 | import YM.MergeProof.North.Cent |
| 4 | import YM.MergeProof.North.Brim |
| 5 | import YM.Extraction.Held |
| 6 | /-! Bringing finite physical configurations to common tilings on cofinal cutoff tails. -/ |
| 7 | set_option autoImplicit false |
| 8 | set_option maxHeartbeats 2300000 |
| 9 | noncomputable section |
| 10 | namespace YM.MultipleContact.Terrain |
| 11 | open Function Filter Set MeasureTheory Lattice Cells Extraction Extraction.Around MergeProof.Ribbons Wilson Arbor |
| 12 | open Gaps |
| 13 | open scoped Topology BigOperators Classical |
| 14 | variable {G:Gauge} {S:Schedule}{N p:ℕ}{n t:ℕ} |
| 15 | local notation "Λ" => S.side N p |
| 16 | private lemma toDepth_list (x:Fin n → Cover) (h:t≤N): |
| 17 | tag (S.a N) (fun i=> (span S h p)• x i) = points (S.gridPoint t ∘ x):=by |
| 18 | have ht:=S.embeds_scale (S.toDepth h p); ext i s |
| 19 | change S.a N * (↑(((span S h p) • x i:Cover) s) :ℝ) = _ |
| 20 | simp only [Pi.smul_apply,nsmul_eq_mul] |
| 21 | change S.a N * _=S.a t*(x i s:ℝ) |
| 22 | push_cast |
| 23 | rw [← ht]; dsimp only [Cells.span]; ring |
| 24 | private lemma pdist_physical (z:Cover)(h:t≤N):S.a N*pdist (location S t N p z) ≤ ‖S.gridPoint t z‖:=by |
| 25 | let y:=Cells.span S h p • z |
| 26 | rw [location,dif_pos h,Ratio.embed_wrap] |
| 27 | change S.a N * (pdist (wrap (S.side N p) y) :ℝ) ≤ _ |
| 28 | have ht:= S.embeds_scale (S.toDepth h p); have hpos:= S.a_pos N |
| 29 | let g(s:Axis):=(lift (wrap (S.side N p) y) s).natAbs |
| 30 | obtain ⟨i,hi,hq⟩:=Finset.exists_mem_eq_sup' Finset.univ_nonempty g |
| 31 | rw [Finset.sup'_eq_sup] at hq |
| 32 | change _ = _ at hq |
| 33 | unfold pdist |
| 34 | rw [hq]; change S.a _ * (g i:ℝ) ≤ ‖_‖ |
| 35 | have he:g i ≤ ((Cells.span S h p) * (z i).natAbs):=by |
| 36 | have he := Lattice.Corona.lap (n:=S.side N p) y i |
| 37 | have he' : (y i).natAbs = (span S h p) * (z i).natAbs:=by change ((span S h p) • (z i:ℤ)).natAbs=_; simp only [nsmul_eq_mul]; exact Int.natAbs_mul (span S h p : ℤ) (z i) |>.trans (by simp) |
| 38 | exact he.trans_eq he' |
| 39 | calc _ ≤ S.a t*((z i).natAbs:ℕ):=by |
| 40 | calc _ ≤ S.a N * (Cells.span S h p *(↑(z i).natAbs : ℝ)) := mul_le_mul_of_nonneg_left (by exact_mod_cast he) hpos.le |
| 41 | _ = _:= by rw [← ht]; dsimp only [span]; ring |
| 42 | _ = |S.gridPoint t z i|:=by |
| 43 | change _=|S.a _ * (z i:ℝ)| |
| 44 | rw [abs_mul,abs_of_pos (S.a_pos _), show ((↑(z i).natAbs:ℕ):ℝ)=|(z i:ℝ)| from ((by rw [← Int.cast_natCast, Int.natCast_natAbs, Int.cast_abs]))] |
| 45 | _ ≤ _:=by rw [← Real.norm_eq_abs]; exact PiLp.norm_apply_le .. |
| 46 | lemma wide {μ:ℕ}(x:Fin n → Cover) |
| 47 | (hsep:∀i j:Fin n,i≠j → 4*S.a μ < ‖S.gridPoint t (x j)-S.gridPoint t (x i)‖): |
| 48 | ∀ᶠ p in atTop,∀ N:ℕ, ∀ (hm:μ≤N)(_:t≤N), let y:=location S t N p ∘ x; ∀i j:Fin n,i≠j → Cells.span S hm p < separation (y i) (y j):=by |
| 49 | let z:= points (S.gridPoint t ∘ x); have hh:=Gaps.expand_equivalent S (isCompact_singleton (x:=z)) |
| 50 | filter_upwards [hh] with p hp N hμ ht y i j hij |
| 51 | obtain ⟨a,ha⟩:=above_coord (S.a μ) (S.gridPoint t (x j)-S.gridPoint t (x i)) (hsep i j hij) |
| 52 | change _ < |distances z i j a| at ha |
| 53 | have hD:=hp z (Set.mem_singleton z) i j a; let u(k:Fin n):= (span S ht p) • x k |
| 54 | have hz:z=tag (S.a N) u:= (toDepth_list (p:=p) x ht).symm |
| 55 | have hy(k):y k=wrap (S.side N p) (u k):=by dsimp only [y,u,Function.comp_apply,location]; rw [dif_pos ht,Ratio.embed_wrap] |
| 56 | let w := lift (y j - y i) a |
| 57 | have hw:wrap (S.side N p) (u j-u i) a = (↑w:Per (S.side N p)):=by |
| 58 | change _= wrap (S.side N p) (lift (y j-y i)) a |
| 59 | rw [map_sub,← hy,← hy,wrap_lift] |
| 60 | have hT : |distances z i j a| ≤ S.a N * |(w:ℝ)|:= Gaps.torus S w hw (hz ▸ hD) |
| 61 | have hh:= component_le (y j - y i) a |
| 62 | change w.natAbs ≤ separation (y j) (y i) at hh |
| 63 | rw [show |(w:ℝ)|=(w.natAbs:ℝ) from (by rw [← Int.cast_natCast,Int.natCast_natAbs,Int.cast_abs])] at hT -- no separation in hT! remove |
| 64 | have hw' := S.embeds_scale (S.toDepth hμ p) |
| 65 | have hi':(w.natAbs:ℝ) ≤ ((separation (y i) (y j)):ℝ):= by |
| 66 | exact_mod_cast hh.trans_eq (separation_comm ..) |
| 67 | apply Nat.cast_lt (α:=ℝ) |>.mp |
| 68 | exact lt_of_mul_lt_mul_left (show S.a N*(Cells.span S hμ p:ℝ)< _ from hw'.trans_lt (ha.trans_le (hT.trans (mul_le_mul_of_nonneg_left hi' (S.a_pos _).le)))) (S.a_pos _).le |
| 69 | |
| 70 | lemma rendezvous {G:Gauge}(C:Family G)(hC:C.Makes)(k μ:ℕ)(hC0:μ ≤ k)(x:Fin n → Cover) |
| 71 | (hR:(n:ℝ)*(6*C.S.a k) < C.S.a μ) |
| 72 | (hs:∀i j:Fin n,i≠j → 4*C.S.a μ < ‖C.S.gridPoint t (x j)-C.S.gridPoint t (x i)‖): |
| 73 | ∀ᶠ p:ℕ in atTop,∀ᶠ N:ℕ in atTop,∃ h:k≤N,∀ Gm:Fin n→ Config G (C.side N p)→ℂ,∀ A:Fin n→ℝ,(∀i,Interior ((center C.S p h 0).chamber 0) (Gm i) ∧ (center C.S p h 0).rootTest (C.beta N p) (Gm i)≤ A i) → |
| 74 | ‖moment (C.beta N p) (fun U=>∏ i:Fin n, Gm i (translate (Cells.location C.S t N p (x i)) U))‖≤ ∏ i:Fin n,A i:=by |
| 75 | filter_upwards [wide x hs] with p hp |
| 76 | filter_upwards [eventually_ge_atTop k,(eventually_ge_atTop t:∀ᶠ j in atTop,t ≤ j)] with N hk hj |
| 77 | let hm:=hC0.trans hk; let T:=center C.S p hm 0 |
| 78 | let hK':=C.S.embeds_scale (C.S.toDepth hk p); have he':=C.S.embeds_scale (C.S.toDepth hm p) |
| 79 | have hK:n*(2*(3*Cells.span C.S hk p)) < T.side.val:=by |
| 80 | apply Nat.cast_lt (α:=ℝ) |>.mp |
| 81 | apply lt_of_mul_lt_mul_left _ (C.S.a_pos N).le |
| 82 | change C.S.a N * _ < C.S.a N*(↑(span C.S hm p):ℝ); rw [he']; push_cast |
| 83 | rw [← hK'] at hR; dsimp [span]; linarith |
| 84 | refine ⟨hk,fun Gm A ha=>?_⟩ |
| 85 | exact Arbor.simultaneous (seamless hC N p) (T:=T) (fun _=>k) (fun _=>hk) (fun _=>inherits hC0 hk) A Gm ha _ (fun i=> (Cells.span C.S hj p) • x i) (fun i=>by rw [location,dif_pos hj,Ratio.embed_wrap]) (hp N hm hj) (by have := (C.S.toDepth hk p).count.pos; positivity) hK (fun _=>le_refl _) |
| 86 | |
| 87 | lemma micro_actual {G:Gauge}(C:Family G)(hC:C.Makes)(k μ m:ℕ)(hC0:μ ≤ m)(hC':k≤ μ)(x:Fin n→ Cover) |
| 88 | (hSmall:∀i,8*‖C.S.gridPoint t (x i)‖ ≤ C.S.a k) |
| 89 | (hsep:∀i j:Fin n,i≠j → 4*C.S.a μ < ‖C.S.gridPoint t (x j)-C.S.gridPoint t (x i)‖) |
| 90 | (hR:(Fintype.card (Signed×Fin n):ℝ)*(6*C.S.a m) < C.S.a μ)(hc: 2*C.S.a μ < C.S.a k)(d:Fin n→ℕ): |
| 91 | ∀ᶠ p:ℕ in atTop,∀ᶠ N:ℕ in atTop,∃ h:k≤N,∃ hm:m≤N, let T:=center C.S p h 0;let T1:=center C.S p hm 0;let β:= C.beta N p; |
| 92 | ∀ V:∀i,C.book.Ref (d i),∀ A:Fin n→ℝ,(∀i,Interior (T1.chamber 0) (C.O N p (d:=d i) (V i) 0) ∧ T1.rootTest β (C.O N p (d:=d i) (V i) 0)≤ A i) → let cfg(U:Config G (C.side N p)):= ∏ i:Fin n, C.O N p (d:=d i) (V i) (location C.S t N p (x i)) U; Interior (T.chamber 0) cfg ∧ T.rootTest β cfg ≤ ∏ i:Fin n,A i:=by |
| 93 | filter_upwards [wide x hsep, eventually_all.mpr fun i=>faraway C t (x i)] with p hp hf |
| 94 | filter_upwards [eventually_ge_atTop m,(eventually_ge_atTop t:∀ᶠ i:ℕ in atTop,t ≤ i),eventually_all.mpr fun v=>near_center C k (d v) hC] with N hm ht hq |
| 95 | let U:=C.S; let hμ:=hC0.trans hm; let hk:=hC'.trans hμ |
| 96 | refine ⟨hk,hm,?_⟩; let X:=center U p hμ 0 -- notation |
| 97 | have hsN(j)(hj:j≤N):C.S.a N*span C.S hj p=C.S.a j:=C.S.embeds_scale (C.S.toDepth hj p) |
| 98 | have hN:=C.S.a_pos N |
| 99 | let g:= location C.S t N p ∘ x |
| 100 | intro T T1 β V A hBudget cfg |
| 101 | have hz(i):U.place (m:=N) (p:=p) (g i)=U.gridPoint t (x i):=by dsimp only [location,Function.comp,g,U]; rw [dif_pos ht,C.S.embeds_place,hf] |
| 102 | have he(i):4*pdist (g i) ≤ T.side.val:=by |
| 103 | apply Nat.cast_le (α:=ℝ) |>.mp; apply le_of_mul_le_mul_left _ hN |
| 104 | push_cast |
| 105 | change _ ≤ C.S.a N*(span U hk p) |
| 106 | have h0:= pdist_physical (p:=p) (x i) (t:=t) (S:=C.S) ht; rw [hsN]; unfold g; dsimp only [Function.comp_apply]; linarith only [h0,norm_nonneg (U.gridPoint t (x i)),hSmall i] |
| 107 | have h1: X.side.val ∣ T.side.val := Extraction.Around.inherits hC' hμ |
| 108 | have h2: Cells.span U hm p ∣ X.side.val:=Extraction.Around.inherits hC0 hm |
| 109 | have h3: Fintype.card (Signed×Fin n)*(2*(3*Cells.span U hm p)) < X.side.val:= by |
| 110 | apply Nat.cast_lt (α:=ℝ) |>.mp; apply lt_of_mul_lt_mul_left _ hN.le |
| 111 | push_cast; change _ < C.S.a N*(span U hμ p:ℝ) |
| 112 | rw [← hsN _ hm, ← hsN _ hμ] at hR; unfold U; linarith only [hR] |
| 113 | have h4: 2*X.side.val < T.side.val:=by |
| 114 | apply Nat.cast_lt (α:=ℝ) |>.mp |
| 115 | apply lt_of_mul_lt_mul_left _ hN.le |
| 116 | push_cast |
| 117 | change C.S.a N*(2*(span U hμ p:ℝ)) < C.S.a N*(span U hk p:ℝ) |
| 118 | rw [← hsN _ hk,← hsN _ hμ] at hc; unfold U; linarith only [hc] |
| 119 | have hcQ:= Arbor.micro hk (T:=X) (Y:=T) rfl hm h2 h1 h4 g he (hp N hμ ht) (seamless hC N p) h3 A (fun i=>C.O N p (d:=d i) (V i) 0) hBudget |
| 120 | |
| 121 | have hb' (l:Finset (Fin n)): Interior (T.chamber 0) (fun v=>l.prod fun i=> C.O N p (d:=d i) (V i) (g i) v):=by |
| 122 | induction l using Finset.induction with |
| 123 | | empty=> simpa using (Interior.constant (T.chamber 0) (1:ℂ) (G:=G)) |
| 124 | | insert i l hi ih=> simpa [Finset.prod_insert hi] using! Interior.times (hq i hk p (g i) (hz i ▸ hSmall i) (V i)) ih |
| 125 | refine ⟨hb' _, hcQ.trans' ?_⟩ |
| 126 | exact le_of_eq (congrArg (T.rootTest β) (funext fun v=>Finset.prod_congr rfl fun i hi=>by rw [C.translation,zero_add];rfl)) |
| 127 | end YM.MultipleContact.Terrain |