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.TraceExtension.Lamp.Rip |
| 2 | set_option autoImplicit false |
| 3 | noncomputable section |
| 4 | namespace YM.Trace.Lamp |
| 5 | open Function Filter Matrix Lattice Precision Laurent Stationary Perfect Bloch Exterior Tree RG Wilson Finset Push.Uniform Det MeasureTheory |
| 6 | open scoped BigOperators Topology ContDiff Matrix.Norms.Frobenius Classical |
| 7 | variable {G:Gauge}{f:Side}{p:Clip}{M:PathData G}{k m n r l:ℕ}{α σ μ a b c τ A C D:ℝ} |
| 8 | variable {W:Type*} {g:W→Side}{X:Type} [NormedAddCommGroup X][NormedSpace ℝ X]{L:Filter W} (d i b:Axis) (q:G.ColorIndex) {F H: Maze G f} |
| 9 | lemma clip_far (hd:F=ᶠ[𝓝 0] H)(x y): clipP i q F x y=clipP i q H x y:=clip_eq i q ((hd.iteratedFDeriv ℝ 2).eq_of_nhds) x y |
| 10 | lemma lux_a (h:ContDiffAt ℝ ω F 0)(p:ContDiffAt ℝ ω H 0) : lux d i q b (F+H)= lux d i q b F+lux d i q b H:=by |
| 11 | unfold lux cue;simp_rw[clip_add i q _ _ h p, mul_add]; exact map_add Deb (fun x:Dish=> _*cue _ _ q b F x) (fun x:Dish=> _*cue _ _ q b H x) |
| 12 | lemma lux_s (h:ContDiffAt ℝ ω F 0)(p:ContDiffAt ℝ ω H 0): lux d i q b (F-H)=lux d i q b F-lux d i q b H:=by |
| 13 | unfold lux cue; simp_rw[clip_sub i q _ _ h p,mul_sub]; exact map_sub Deb _ _ |
| 14 | lemma lux_c (t:ℝ)(h:ContDiffAt ℝ ω F 0):lux d i q b (t • F)=(t:ℂ)*lux d i q b F:=by unfold lux cue; simp_rw [clip_smul i q _ _ h t, mul_left_comm _ (t:ℂ)]; exact map_smul Deb (t:ℂ) _ |
| 15 | lemma lux_far (hd:F=ᶠ[𝓝 0] H): lux d i q b F=lux d i q b H:=by unfold lux cue;simp_rw [clip_far i q hd] |
| 16 | lemma clip_total {I:Type} [Fintype I]{F:I→ Maze G f}(u v:Site f)(h:∀ i,ContDiffAt ℝ ω (F i) 0) : clipP i q (∑ i,F i) u v=∑ j,clipP i q (F j) u v:=by |
| 17 | suffices hh :∀ s:Finset I, clipP i q (∑ i∈s,F i) u v=∑ j∈s,clipP i q (F j) u v from hh univ |
| 18 | intro s; induction s using Finset.induction with |
| 19 | | empty=> simp only[sum_empty]; simp [clipP,beat, enlarge,recording_apply] |
| 20 | | insert i' t hi hp=> rw[sum_insert hi,sum_insert hi,clip_add i q _ _ (h i'),hp]; have ht:ContDiffAt ℝ ω (fun x=> ∑ j∈t,F j x) 0:=ContDiffAt.sum fun i _=>h i; rw [show (∑ i∈t,F i)=_ from (show _= (fun x=> ∑ i∈t,F i x) from funext fun x=> Finset.sum_apply ..)]; exact ht |
| 21 | lemma lux_t {I:Type} [Fintype I]{F:I→ Maze G f}(h:∀ i,ContDiffAt ℝ ω (F i) 0): lux d i q b (∑ i,F i)=∑ j,lux d i q b (F j):=by |
| 22 | unfold lux cue; simp_rw [clip_total i q _ _ h,Finset.mul_sum]; exact (by |
| 23 | let P (j:I)(x:Dish):= ((pitchf f:ℂ)⁻¹)^ (3:ℕ)*cue d i q b (F j) x |
| 24 | change Deb (fun x=>∑ j,P j x)=∑ j,Deb (P j) |
| 25 | rw[show (fun x=>∑ j,P j x)=∑ j,P j from funext fun i=> (Finset.sum_apply ..).symm,map_sum]) |
| 26 | lemma cob_total {I:Type} [Fintype I]{F:I→ Maze G f}(h:∀ i,ContDiffAt ℝ ω (F i) 0): cob d i q (∑ i,F i)=∑ j,cob d i q (F j):=by |
| 27 | unfold cob; simp_rw[clip_total i q _ _ h,Finset.mul_sum]; exact (by |
| 28 | let P(j:I)(z:ℤ):= ((pitchf f:ℂ)⁻¹)^ (2:ℕ)*clipP i q (F j) (wrap f (ra d z)) (-(wrap f (ra d z))) |
| 29 | change PanZ (fun x=>∑ j,P j x)=∑ j,PanZ (P j) |
| 30 | rw [show (fun x=>∑ j,P j x)=∑ j,P j from funext fun i=> (Finset.sum_apply ..).symm,map_sum]) |
| 31 | -- local family moving on torus |
| 32 | structure Traverse (V:Site f→ Maze G f): Prop where |
| 33 | boot: ContDiffAt ℝ ω (V 0) 0 |
| 34 | pad s: V s=ᶠ[𝓝 0] V 0 ∘ rideC s |
| 35 | variable {A': Site f→ Maze G f} |
| 36 | lemma Traverse.team (h:Traverse A')(s): ContDiffAt ℝ ω (A' s) 0:= ((show ContDiffAt ℝ ω _ _ from ContDiffAt.comp (g:=A' 0) (f:=rideC s) 0 (by rw[map_zero]; exact h.boot) (rideC s).contDiff.contDiffAt)).congr_of_eventuallyEq (h.pad s) |
| 37 | lemma colb (h:Traverse A')(x y:Site f):clipP i q (A' x) y (-y)=clipP i q (A' 0) y (-y):=by rw[clip_far i q (h.pad _),clip_rot i q _ _ _ h.boot]; simp[cell_origin,cell_duality (0:Site f)] |
| 38 | lemma cob_in (h:Traverse A')(x): cob d i q (A' x)=cob d i q (A' 0):=by unfold cob; simp_rw[colb i q h] |
| 39 | lemma cob_s_tot (h:Traverse A') : cob d i q (∑ i,A' i)=(Fintype.card (Site f):ℂ)*cob d i q (A' 0):=by rw[cob_total d i q h.team,Finset.sum_congr rfl (g:=fun _=>cob d i q (A' 0)) (fun x _=>cob_in d i q h x),sum_const,card_univ,nsmul_eq_mul] |
| 40 | -- SBP step for anchor 0. taps. Needs only f germ under shift. book uses ∆ = elms |
| 41 | lemma Rose.sumX {X:Type}[NormedAddCommGroup X]{I:Type*}(s:Finset I){F H:I→ W→X}(h:∀ i∈s,Rose L (F i) (H i)) : Rose L (fun x=> ∑ i∈s,F i x) (fun x=>∑ i∈s,H i x):=by |
| 42 | induction s using Finset.induction with |
| 43 | | empty=> simp_rw [sum_empty]; exact Rose.const _ |
| 44 | | insert i s hi ih=> simp_rw[sum_insert hi]; exact Rose.inc (h _ (mem_insert_self ..)) (ih fun i hi=> h _ (mem_insert_of_mem hi)) |
| 45 | variable (Q:Tendsto (fun w=>(g w).val) L atTop){V:∀ w,Site (g w)→Maze G (g w)}(h:Pico (fun _=>0) (fun w=> V w 0) 2) (hp:∀ i, Traverse (V i)) |
| 46 | include Q h hp |
| 47 | lemma orb_pick (x:Cover): Rose L (fun w=> lux d i q b (V w (wrap (g w) x)-V w 0)) (fun w=> -(x b:ℂ)* cob d i q (V w 0)):= |
| 48 | Rose.chain (Rose.skip (Eventually.of_forall (fun j=> lux_far d i b q ((hp j|>.pad (wrap (g j) x)).sub EventuallyEq.rfl)))) (ride_l d i b q Q (fun w=>V w 0) h x) |
| 49 | lemma orb_debit (a:Axis): Rose L (fun w=> lux d i q b (elm a (V w) 0)) (fun w=> if a=b then -cob d i q (V w 0) else 0):=by |
| 50 | let S(j:Fin 4):Cover:= Pull.steps j • step a |
| 51 | let A(w)(j:Fin 4):= V w (wrap (g w) (S j))-V w 0; let B(w)(j:Fin 4):= V w (wrap (g w) (-S j))-V w 0 |
| 52 | have hx(w): elm a (V w) 0= ∑ j:Fin 4, (Pull.cash j) • (A w j-B w j):=by |
| 53 | unfold elm Pull.dTap; refine sum_congr rfl fun j _=> ?_; unfold A B S; rw[map_neg,map_nsmul,wrap_step]; simp |
| 54 | have hu(w j):ContDiffAt ℝ ω (A w j) 0:= by unfold A; exact ((hp w).team _).sub ((hp w).team _) |
| 55 | have hv(w j):ContDiffAt ℝ ω (B w j) 0:= by unfold B; exact ((hp w).team _).sub ((hp w).team _) |
| 56 | have hf: (fun w=>lux d i q b (elm a (V w) 0))=(fun w=>∑ j,(Pull.cash j:ℂ)*(lux d i q b (A w j)-lux d i q b (B w j))):=by |
| 57 | ext1 w; rw [hx,lux_t];swap; · exact fun j=> ((hu w j).sub (hv w j)).const_smul (Pull.cash j) |
| 58 | refine sum_congr rfl fun j _=>?_ ; rw [lux_c d i b q _ (F:= (A w j-B w j)) ((hu w j).sub (hv w j)), lux_s d i b q (F:= A w j) (H:= B w j) (hu w j) (hv w j)] |
| 59 | rw[hf]; refine Rose.chain (Rose.sumX _ (F:=fun j w=> _* (_-_)) (fun j _=>roseRate (Pull.cash j:ℂ) (Rose.dec (orb_pick d i b q Q h hp (S j)) (orb_pick d i b q Q h hp (-(S j)))))) ?_ |
| 60 | apply Rose.skip (Eventually.of_forall fun w=>?_); let x:= cob d i q (V w 0) |
| 61 | change ∑ j,(Pull.cash j:ℂ)*(-((S j b:ℤ):ℂ)*x- -((((-(S j)) b:ℤ):ℂ))*x)=_ |
| 62 | unfold S; split |
| 63 | next he=> subst b |
| 64 | have h:=Pull.credit 1 (by omega); simp only [pow_one,sub_neg_eq_add,if_true] at h |
| 65 | have ht: ∑ x,(Pull.cash x:ℂ)*((Pull.steps x:ℂ)+(Pull.steps x:ℂ))=1:=by exact_mod_cast h |
| 66 | rw[show -cob d i q (V w 0)= (∑ x,(Pull.cash x:ℂ)*((Pull.steps x:ℂ)+(Pull.steps x:ℂ)))*(-x) from by rw[ht,one_mul],Finset.sum_mul]; refine sum_congr rfl fun j _=>?_ ; simp [nsmul_eq_mul];ring |
| 67 | next he=> have hh:(step a:Cover) b=0:=by simp [Ne.symm he] |
| 68 | simp only [Pi.smul_apply,hh,smul_zero,Pi.neg_apply,neg_zero,Int.cast_zero,zero_mul,sub_zero,mul_zero,sum_const_zero] |
| 69 | end YM.Trace.Lamp |