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.Det.Piper |
| 2 | |
| 3 | /-! |
| 4 | # Project/extras alike. Pet bounds for beam and larch. |
| 5 | -/ |
| 6 | set_option autoImplicit false |
| 7 | noncomputable section |
| 8 | namespace YM.Trace.Det |
| 9 | open Function Filter Matrix Lattice Precision Laurent Stationary Perfect Bloch Exterior Tree RG Wilson Finset Push.Uniform |
| 10 | open scoped BigOperators Topology ContDiff Matrix.Norms.Frobenius Classical |
| 11 | variable {G:Gauge}{f:Side}{p:Clip}{M:PathData G} |
| 12 | {X:Type}[NormedAddCommGroup X][NormedSpace ℝ X] |
| 13 | {k m n:ℕ}{α C D A:ℝ}{Y:Gal G f} |
| 14 | variable (o:Site f) |
| 15 | section peering |
| 16 | variable (F:Acr G f→X) |
| 17 | def snip (x:Link G f)(z:Link G f):= F ((bite G f).symm (x,z)) |
| 18 | lemma soft_snip (h:ContDiffAt ℝ ω F 0): ∀ᶠ x:Link G f in 𝓝 0, |
| 19 | ContDiffAt ℝ ω (snip F x) 0 ∧ fderiv ℝ (snip F x) 0= (fderiv ℝ F (takea G f x)) ∘L ((bite G f).symm.toContinuousLinearMap ∘L ContinuousLinearMap.inr ℝ _ _):=by |
| 20 | filter_upwards [(show Tendsto (takea G f) (𝓝 0) (𝓝 0) from by simpa using (takea G f).continuous.tendsto 0).eventually (h.eventually (by simp))] with x hx |
| 21 | let L:= ContinuousLinearMap.inr ℝ (Link G f) (Link G f) |
| 22 | let P:= (bite G f).symm.toContinuousLinearMap |
| 23 | let K(z:Link G f):= P (x,z) |
| 24 | have h0: K 0=takea G f x:=rfl |
| 25 | have ht: ContDiffAt ℝ ω K 0:=by unfold K; fun_prop |
| 26 | have hK: HasFDerivAt K (P ∘L L) 0:= P.hasFDerivAt.comp 0 ((hasFDerivAt_const x (0:Link G f)).prodMk (hasFDerivAt_id _)) |
| 27 | have hf : ContDiffAt ℝ ω F (K 0):= h0.symm ▸ hx; exact ⟨hf.comp 0 ht, ( (hf.differentiableAt (by simp)).hasFDerivAt.comp _ hK).fderiv⟩ |
| 28 | lemma soft_hx [CompleteSpace X] (h:ContDiffAt ℝ ω F 0): ∀ᶠ x:Link G f in 𝓝 0,∀ i j:Lines G f 1, iteratedFDeriv ℝ 2 (snip F x) 0 ![bolt i,bolt j]=fderiv ℝ (fun z=> fderiv ℝ F z (bolt (.inr j))) (takea G f x) (bolt (.inr i)):=by |
| 29 | filter_upwards [(show Tendsto (takea G f) (𝓝 0) (𝓝 0) from by simpa using (takea G f).continuous.tendsto 0).eventually (h.eventually (by simp))] with x hx i j |
| 30 | let L:= ContinuousLinearMap.inr ℝ (Link G f) (Link G f);let P:= (bite G f).symm.toContinuousLinearMap; let A:= P ∘L L; let V:= takea G f x |
| 31 | have he : snip F x=(fun z=> F (V+z)) ∘ A:=by funext i; change F (P (x,i))=F (P (x,(0:Link G f))+P (0,i));rw[← map_add]; simp |
| 32 | have hv(t): A (bolt t)=bolt (Sum.inr t):=by |
| 33 | apply (bite G f).injective; change bite G f ((bite G f).symm ((0,_)))=_; rw [(bite G f).apply_symm_apply]; exact Prod.ext (bite_lr ..).symm (bite_r ..).symm |
| 34 | rw[divided (h:=hx),he,wired A ?_,map_zero,iteratedFDeriv_comp_add_left,add_zero]; swap |
| 35 | · rw [map_zero]; exact AnalyticAt.comp (x:=(0:Acr G f)) (g:=F) (f:=fun z=>V+z) (by rw [add_zero]; exact hx.analyticAt) (by fun_prop) |
| 36 | congr 1; ext1 q; fin_cases q; exact hv _; exact hv _ |
| 37 | lemma Pet.picked {F:Acr G f→X}(h:Pet (af G f) o F α C (m+1))(i:Lines G f 1): Pet Prod.fst o (fun z=> fderiv ℝ (snip F z) 0 (bolt i)) α (C*Decay α o i.1) m:=by |
| 38 | refine ((h.halp (Sum.inr i)).compL (taken G f)).grows ?_ |
| 39 | filter_upwards [soft_snip F h.1] with x hx; simp only[Function.comp_apply,hx.2]; change _= fderiv ℝ F (takea G f _) ((bite G f).symm (0,bolt i)); congr 1; apply (bite G f).injective; rw [(bite G f).apply_symm_apply]; exact Prod.ext (bite_lr ..) (bite_r ..) |
| 40 | lemma Pet.prickle [CompleteSpace X] {F:Acr G f→X}(h:Pet (af G f) o F α C (m+2))(i j:Lines G f 1): Pet Prod.fst o (fun z=> iteratedFDeriv ℝ 2 (snip F z) 0 ![bolt i,bolt j]) α (C*Decay α o j.1*Decay α o i.1) m:= (((h.halp (Sum.inr j)).halp (Sum.inr i)).compL (taken G f)).grows (by filter_upwards [soft_hx F h.1] with x hx; exact (hx i j).symm) |
| 41 | end peering |
| 42 | abbrev WildM (G:Gauge)(f:Side)(r b:ℕ):=Link G f→ Matrix (Lines G f r) (Lines G f b) ℝ |
| 43 | def PetW {r b:ℕ}(V:WildM G f r b)(α C:ℝ)(m:ℕ): Prop:= ∀ i j, Pet Prod.fst o (fun z=> V z i j) α (C*Decay α o i.1*Decay α o j.1) m |
| 44 | lemma bockat (i:Lines G f n) : bolt i=(pocket _) i:=by |
| 45 | ext a;by_cases e:i=a |
| 46 | · simp [e,bolt] |
| 47 | simp [bolt,Ne.symm e] |
| 48 | lemma beamer (G:Gauge)(m:ℕ): ∃ E:ℝ,0≤E ∧∀ f:Side,∀ (x:Site f)(F:Peat G f)(α C:ℝ),0≤α→0≤C → Pet Prod.fst x (F ∘ input G f) α C (m+2)→ PetW x (beamH F ∘ input G f) (α/(m+2+1:ℝ)) (E*C) m:=by |
| 49 | obtain ⟨E,hE,h⟩:= cocoa_m (X:=ℝ) G (m+2); refine ⟨E,hE,fun f x F a C ha hC hf i j=>?_⟩ |
| 50 | have ht:=Pet.prickle (G:=G) x (h f x F a C hC ha hf) i j; simp only[Nat.cast_add,Nat.cast_ofNat,bockat] at ht |
| 51 | rw[mul_right_comm _ (Decay _ _ _),mul_comm C] at ht |
| 52 | refine ht.grows (F:=fun z=> iteratedFDeriv ℝ 2 (snip (F ∘ splitp G f) z) 0 ![(pocket _) i,(pocket _) j]) ?_ |
| 53 | refine Eventually.of_forall fun v=>?_ |
| 54 | simp only[Function.comp_apply,beam_p]; congr 2 |
| 55 | lemma tidal_pay (h:Cloaked Y)(he:∀ i, Pet (af G f) o (fun z=> larch Y z i) α (C*Decay α o i.1) (m+1)): PetW o (tidal Y ∘ input G f) α C m:=by |
| 56 | intro i j; let F(z:Acr G f):= larch Y z i |
| 57 | refine (Pet.picked o (he i) j).grows ?_; let L:Link G f→L[ℝ] ℝ:= ContinuousLinearMap.proj i |
| 58 | have ht:=tune_n h (input G f) (Army.powL (v:=id) contDiffAt_id) (input_zero _ _) |
| 59 | filter_upwards [ht] with x hx |
| 60 | let U:= input G f x; let K:=lyre Y U |
| 61 | have hp: snip F x=L ∘ K:=by ext1 j; unfold F larch snip; simp[aleft,aright]; rfl |
| 62 | change fderiv ℝ (snip F x) 0 _ = _; rw [hp,fderiv_comp _ L.differentiableAt ((show ContDiffAt ℝ ω K 0 from keep_l (tune_diff _ hx) 1).differentiableAt (by simp)), L.fderiv] |
| 63 | rw [Function.comp_apply,tidal,bill_def,cash_pocket, bockat]; rfl |
| 64 | lemma refrain_pay (h:Cloaked Y)(he:∀ i,Pet (af G f) o (fun z=> larch Y z i) α (C*Decay α o i.1) (m+2))(b i j:Lines G f 1) : Pet Prod.fst o (fun z=> refrain Y (input G f z) i j b) α (C*Decay α o b.1*Decay α o j.1*Decay α o i.1) m:=by |
| 65 | let F(z:Acr G f):=larch Y z b; let L : Link G f→L[ℝ] ℝ:= ContinuousLinearMap.proj b |
| 66 | refine (Pet.prickle o (he b) i j).grows ?_ |
| 67 | filter_upwards [tune_n h (input G f) (Army.powL (v:=id) contDiffAt_id) (input_zero _ _)] with x hx |
| 68 | let K:= lyre Y (input G f x); have hp: snip F x=L ∘ K:=by ext1 j; unfold F larch snip; simp[aleft,aright]; rfl |
| 69 | change iteratedFDeriv ℝ 2 (snip F x) _ _=_; rw [hp,L.iteratedFDeriv_comp_left (show ContDiffAt ℝ ω K 0 from keep_l (tune_diff _ hx) _) le_top,bockat,bockat];rfl |
| 70 | lemma pet_lush (h:PetW o (tidal Y ∘ input G f) α C m)(ha:0 < α)(hp:0≤C): Pet Prod.fst o (lush Y ∘ input G f) α (C*(Fintype.card (Loc G 1))*countCost α) m:=by |
| 71 | let F i(z:Link G f):= tidal Y (input G f z) i i |
| 72 | have ht(i): Pet Prod.fst o (F i) α (C*Decay α o i.1) m:= (h i i).tilt (mul_le_of_le_one_right (mul_nonneg hp (decay_pos ..).le) (decay_le ha.le ..)) le_rfl le_rfl |
| 73 | have hh: Beacon Prod.fst α m (fun z=> ∑ i:Lines G f 1,F i z) o 0 (∑ i:Lines G f 1,C*Decay α o i.1):= beacon_sum (fun i _=>(ht i).2) (fun i _=>(ht i).1) |
| 74 | refine ⟨ContDiffAt.sum (f:=F) (fun i _=>(ht i).1),hh.mono ?_⟩ |
| 75 | rw[← mul_sum,mul_assoc];exact mul_le_mul_of_nonneg_left ((pay_gate G f|>.count _ ha o)) hp |
| 76 | end YM.Trace.Det |