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.RG08.Room.Refresh |
| 2 | import Mathlib.Analysis.Calculus.FDeriv.Symmetric |
| 3 | |
| 4 | /-! |
| 5 | # Series photography for finite-dimensional chart germs, all positive jets. |
| 6 | -/ |
| 7 | set_option autoImplicit false |
| 8 | noncomputable section |
| 9 | namespace YM.RG08.Camera |
| 10 | open Glyph Cloud Room MvPolynomial Finset Filter Function |
| 11 | open scoped ContDiff Topology BigOperators PowerSeries Classical |
| 12 | variable {I J:Type} [Fintype I] [Fintype J] |
| 13 | set_option linter.unusedSectionVars false |
| 14 | abbrev Cellar (I:Type):= I→ℝ |
| 15 | abbrev Still (I:Type):=Cellar I→ℝ |
| 16 | |
| 17 | def wedge (i:I) (f:Still I)(x:Cellar I):= (fderiv ℝ f x) (Pi.single i 1) |
| 18 | abbrev Pace {X:Type} [NormedAddCommGroup X] [NormedSpace ℝ X] {B:Type} [NormedAddCommGroup B][NormedSpace ℝ B](f:X→B):=ContDiffAt ℝ ω f 0 |
| 19 | |
| 20 | lemma Pace.wedge (i:I){f:Still I}(h:Pace f):Pace (wedge i f):=(h.fderiv_right (m:=ω) (by simp)).clm_apply contDiffAt_const |
| 21 | |
| 22 | lemma Pace.diff {f:Still I}(h:Pace f): ∀ᶠ x:Cellar I in 𝓝 0,DifferentiableAt ℝ f x:= (h.eventually (by simp)).mono (fun x hx=> hx.differentiableAt (by simp)) |
| 23 | lemma wedge_eq (i:I){f g:Still I}(h:f=ᶠ[𝓝 0] g):wedge i f=ᶠ[𝓝 0] wedge i g:=(h.fderiv (𝕜:=ℝ)).mono (fun _ hx=>congrArg (fun z : Cellar I→L[ℝ]ℝ => z (Pi.single i 1)) hx) |
| 24 | lemma commutes (i j:I){f:Still I}(h:Pace f):wedge i (wedge j f)=ᶠ[𝓝 0] wedge j (wedge i f):= (h.eventually (by simp)).mono (fun x hx=>by |
| 25 | have he (i j:I):wedge i (wedge j f) x= fderiv ℝ (fderiv ℝ f) x (Pi.single i 1) (Pi.single j 1):=by |
| 26 | have hf:DifferentiableAt ℝ (fderiv ℝ f) x := (hx.fderiv_right (m:=ω) (by simp)).differentiableAt (by simp) |
| 27 | unfold wedge;rw [fderiv_clm_apply hf (differentiableAt_const _)]; simp |
| 28 | rw [he,he,hx.isSymmSndFDerivAt_of_omega.eq]) |
| 29 | |
| 30 | -- height n, divide by n!, cross terms via ordinary derivative; left variation |
| 31 | |
| 32 | def print (n:ℕ)(f:Still I):Inn I:= match n with |
| 33 | | 0=>C (f 0) |
| 34 | | n+1=>(n+1:ℝ)⁻¹ • ∑ i,X i * print n (wedge i f) |
| 35 | def flask (f:Still I):Port I:=PowerSeries.mk (fun n=>print n f) |
| 36 | lemma flute (f:Still I)(n:ℕ):tap n (flask f)=print n f:=PowerSeries.coeff_mk .. |
| 37 | |
| 38 | lemma same (n:ℕ){f g:Still I}(h:f=ᶠ[𝓝 0] g):print n f=print n g:=by |
| 39 | induction n generalizing f g with |
| 40 | | zero=>simp only [print];rw [h.self_of_nhds] |
| 41 | | succ n ih=>simp only [print];simp_rw [ih (wedge_eq _ h)] -- wedge Eq metavars maybe |
| 42 | |
| 43 | lemma beats (n:ℕ)(f:Still I):(n+1:ℝ) • print (n+1) f=∑ i,X i*print n (wedge i f):=by rw [print,smul_smul,mul_inv_cancel₀ (by positivity),one_smul] |
| 44 | |
| 45 | lemma constant (n:ℕ)(a:ℝ):print n (fun _:Cellar I=>a)=if n=0 then C a else 0:=by |
| 46 | induction n generalizing a with |
| 47 | | zero=>rfl |
| 48 | | succ n ih=> |
| 49 | rw [if_neg (by omega),print];simp_rw [show ∀ i:I,wedge i (fun _=>a)=fun _=>0 from fun i=>by ext; simp [wedge],ih 0];simp |
| 50 | lemma flask_constant (a:ℝ):flask (fun _:Cellar I=>a)=liftInn (C a):=by ext n :1; rw [flask,PowerSeries.coeff_mk,constant,PowerSeries.coeff_C] |
| 51 | |
| 52 | lemma print_add (n:ℕ){f g:Still I}(h:Pace f)(hp:Pace g): print n (f+g)=print n f+print n g:=by |
| 53 | induction n generalizing f g with |
| 54 | | zero=>simp [print] |
| 55 | | succ n ih=> |
| 56 | have he (i:I):wedge i (f+g)=ᶠ[𝓝 0] wedge i f + wedge i g:=( (Pace.diff h).and (Pace.diff hp)).mono (fun x ⟨hh,hj⟩=>by unfold wedge;rw [fderiv_add hh hj];rfl) |
| 57 | simp only [print]; simp_rw [same n (he _),ih (Pace.wedge _ h) (Pace.wedge _ hp),mul_add,Finset.sum_add_distrib,smul_add] |
| 58 | lemma flask_add {f g:Still I}(h:Pace f)(hp:Pace g):flask (f+g)=flask f+flask g:=by ext e :1; simp [flask,print_add e h hp] |
| 59 | lemma slurry (s:Finset J)(f:J→Still I)(h:∀ j∈s,Pace (f j)): flask (∑ i∈s,f i)=∑ i∈s,flask (f i):=by |
| 60 | induction s using Finset.induction_on with |
| 61 | | empty=>rw [sum_empty,sum_empty,show (0:Still I)=(fun _=>0) from rfl,flask_constant];simp |
| 62 | | insert i s hi he=>rw [sum_insert hi,sum_insert hi,flask_add (h i (mem_insert_self i s)) (show Pace (s.sum f) by have ht : Pace (fun x=>∑ i∈s,f i x):=ContDiffAt.sum fun _ hv=>h _ (mem_insert_of_mem hv); simpa only [←Finset.sum_apply] using ht),he (fun _ hx=>h _ (mem_insert_of_mem hx))] |
| 63 | |
| 64 | lemma oneEye (i:I){f:Still I}(h:Pace f)(n:ℕ):pderiv i (print (n+1) f)=print n (wedge i f):=by |
| 65 | induction n generalizing f with |
| 66 | | zero=>simp only [print,map_sum,pderiv_mul,pderiv_X,pderiv_C,Pi.single_apply,ite_mul,mul_zero,add_zero,one_mul,zero_mul,sum_ite_eq',if_pos (mem_univ _),Nat.cast_zero,zero_add,inv_one,one_smul] |
| 67 | | succ n hx=> |
| 68 | let z (k:I):=print (n+1) (wedge k f) |
| 69 | apply untangle (by positivity: ((↑(n+1:ℕ)+1:ℝ))≠0) |
| 70 | rw [←Derivation.map_smul,beats,map_sum] |
| 71 | simp only [pderiv_mul,pderiv_X,Pi.single_apply,ite_mul,one_mul,zero_mul,hx (Pace.wedge _ h),Finset.sum_add_distrib,sum_ite_eq',if_pos (mem_univ i)] |
| 72 | have he(k:I):print n (wedge i (wedge k f))=print n (wedge k (wedge i f)):=same n (commutes _ _ h) |
| 73 | simp_rw [he,←beats,Nat.cast_add,Nat.cast_one,add_smul,one_smul];abel |
| 74 | |
| 75 | theorem shutter (i:I){f:Still I}(h:Pace f):pin i (flask f)=PowerSeries.X*flask (wedge i f):=by |
| 76 | ext e :1;rw [flight_apply] |
| 77 | rcases e with _|e |
| 78 | · simp [flask,print] |
| 79 | simp [flask,oneEye i h,PowerSeries.coeff_succ_X_mul] -- lemma? |