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.MultiNext.SIGNED_SOURCE_CONTINUATION.Averaging |
| 2 | import YM.MultiNext.SIGNED_SOURCE_CONTINUATION.Channel |
| 3 | |
| 4 | set_option warningAsError false |
| 5 | |
| 6 | /-! |
| 7 | # PMOM surjectivity of the linearized tested variations |
| 8 | |
| 9 | Jointly homogeneous and lower positions, to avoid differentiating |
| 10 | variable gauges. Includes constant-link fields absorbed into affine |
| 11 | site Color; d=0 handled later with empty input. Cost uniform as a |
| 12 | qualitative span (NOT estimates uniform in p). Lean test really reads |
| 13 | edge on sets, so screen variations off X to zero. -/ |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.MultiNext.SignedSource.Mom |
| 17 | open Function Filter Finset Tensor Work Set MeasureTheory RG Wilson Lattice Labels Source Drops Analysis |
| 18 | open Powers Mediator Next.Foundations Pattern Broadcast Averaging |
| 19 | open scoped Topology ContDiff Matrix.Norms.Frobenius BigOperators Classical |
| 20 | variable {G : Gauge} {d m : ℕ} {n : Side} (o : Site n) (X : Support n) |
| 21 | section |
| 22 | variable {V E : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 23 | lemma home_add {p q : V→E} {t : ℕ} (h : Powers.home p t) (ht : Powers.home q t) : Powers.home (p+q) t := |
| 24 | ⟨h.1.add ht.1, fun i v => by change p _ + q _=i^t • (p _+q _); rw [h.2,ht.2,smul_add]⟩ |
| 25 | lemma home_smul {p : V→E} {t : ℕ} (h : Powers.home p t) (r : ℝ) : Powers.home (r • p) t := |
| 26 | ⟨contDiff_const.smul h.1,fun i v => by change r • p _=_ • (r • p _); rw [h.2,smul_comm]⟩ |
| 27 | lemma home_zero (t : ℕ) : Powers.home (0 : V→E) t := ⟨contDiff_const,fun _ _ => by simp⟩ |
| 28 | |
| 29 | lemma roof {p : V → E} (h : p∈space V E (m+1)) : |
| 30 | ∃ f g, Powers.home f (m+1) ∧ g∈space V E m ∧ p=f+g := by |
| 31 | refine Powers.next (p:=fun p => ∃ f g, Powers.home f (m+1) ∧ g∈Powers.space V E m ∧ p=f+g) ?_ ⟨0,0,home_zero _,(Powers.space V E m).zero_mem,(add_zero _).symm⟩ ?_ ?_ h |
| 32 | · rintro q ⟨j,hj,H⟩ |
| 33 | rcases eq_or_lt_of_le hj with rfl|he |
| 34 | · exact ⟨q,0,H,(space V E m).zero_mem,(add_zero _).symm⟩ |
| 35 | exact ⟨0,q,home_zero _,residence H (Nat.le_of_lt_succ he), (zero_add _).symm⟩ |
| 36 | · rintro _ _ ⟨v,f,hv,hf,rfl⟩ ⟨w,p,hw,hp,rfl⟩; exact ⟨v+w,f+p, home_add hv hw,(space V E m).add_mem hf hp,by abel⟩ |
| 37 | rintro c _ ⟨v,f,hv,hf,rfl⟩; exact ⟨c • v,c • f,home_smul hv c,(space V E m).smul_mem _ hf, smul_add ..⟩ |
| 38 | |
| 39 | lemma base {p : V → E} (h : p∈space V E 0) : Powers.home p 0 := Powers.next (p:=fun i => Powers.home i 0) (k:=0) (fun _ ⟨i,hi,h⟩ => by rwa [show i=0 from Nat.eq_zero_of_le_zero hi] at h) (home_zero 0) (fun _ _ => home_add) |
| 40 | (fun r _ h => home_smul h r) h |
| 41 | end |
| 42 | |
| 43 | def brush (f : E4→G.Color) (J : Snap G d) : Slate G n d := (fun x => - f (stamp o x),J) |
| 44 | |
| 45 | lemma brushed (m : ℕ) (f : E4 → G.Color) (J : Snap G d) (h : f∈space E4 G.Color m) (hh : ∀ t : Fin (d-1),m < t.val+2 → J t=0) : |
| 46 | brush o f J ∈ Sites o X m := ⟨⟨-f,(space E4 G.Color m).neg_mem h,fun _ _ => rfl⟩,hh⟩ |
| 47 | lemma incurs (j : ℕ) (v : Labels.Taylor G j) (d : ℕ) (h : j < d-1) (x : Cover) (a : Axis) : |
| 48 | access (Pi.single (⟨j,h⟩ : Fin (d-1)) v : Snap G d) (x,a)=∫ t in (0:ℝ)..1,v.value a (xyz x+t • basis a) := by |
| 49 | let k := Pi.single (⟨j,h⟩ : Fin (d-1)) v (M:=fun i => Labels.Taylor G i.val) |
| 50 | have ht t : partConnection d (expand d k) 1 (x,a) t=v.value a (xyz x+t • basis a) := by |
| 51 | simp only [partConnection,potential,one_smul] |
| 52 | rw [Finset.sum_eq_single j] |
| 53 | · simp only [expand,k,dif_pos h,Pi.single_eq_same]; rfl |
| 54 | · intro i hi he; simp only [expand,k,dif_pos (mem_range.mp hi),Pi.single_eq_of_ne (show (⟨i,_⟩:Fin (d-1))≠⟨j,h⟩ from fun h => he (congr_arg Fin.val h))]; simp [Taylor.value,Tensor.diagonal]; try rfl |
| 55 | simp [h] |
| 56 | change (∫ t in (0:ℝ)..1,partConnection d (expand d k) 1 (x,a) t)=_; simp_rw [ht] |
| 57 | |
| 58 | variable (hX : Nonwrapping X o) (hn : 2 ≤ n.val) |
| 59 | include hn hX |
| 60 | private lemma price_stamp (x : Edge (Site n)) (h : needed X x) : stamp o (x.1+Lattice.step x.2) = stamp o x.1+basis x.2 := by |
| 61 | unfold stamp; rw [lift_end hn hX _ h.1,Pattern.xyz_step] |
| 62 | |
| 63 | lemma covers (i : ℕ) (hi : 0 < i) (hd : i ≤ d) (x : Directions G n) (hx : x∈ Maps o X i) : |
| 64 | ∃ u : Slate G n d,u∈Sites o X i ∧ fderiv ℝ (optic X o) 0 u=x := by |
| 65 | -- homogeneous split, represent the top weight by gradient & radial |
| 66 | -- (integration leaves error in lower powers); so true correction is |
| 67 | -- supplied by induction, without identifying higher nonlinear Hol terms |
| 68 | -- as polynomials in FORMAL gauges |
| 69 | induction i using Nat.strong_induction_on generalizing x with |
| 70 | | h i ih => |
| 71 | let L : Slate G n d →L[ℝ] Directions G n := fderiv ℝ (optic X o) 0 |
| 72 | obtain ⟨V,hV,ht⟩:=hx |
| 73 | change ∃ u,u∈ _ ∧ L u=x |
| 74 | rcases i with _|j |
| 75 | · omega |
| 76 | rcases j with _|k |
| 77 | · obtain ⟨r,hR,H⟩:= sheet0 (Q:=V) fun i => base (hV i) |
| 78 | refine ⟨brush o r 0, brushed o X _ _ _ (residence hR le_rfl) (by simp),?_⟩ |
| 79 | funext j; unfold L |
| 80 | rw [transmitted,ht]; split; swap; rfl |
| 81 | next h => |
| 82 | have hs : (∫ t in (0:ℝ)..1, D (basis j.2) r (stamp o j.1+t • basis j.2))=V j.2 (stamp o j.1) := by |
| 83 | letI := FiniteDimensional.complete ℝ G.Color |
| 84 | have he := (base (hV j.2)) -- scaling degree=0 |
| 85 | have hh v : V j.2 v=V j.2 (stamp o j.1) := by |
| 86 | have hs := he.2 0 v; have ht := he.2 0 (stamp o j.1); simp only [zero_smul,pow_zero,one_smul] at hs ht; rw [← hs, ht]; |
| 87 | calc |
| 88 | _ = ∫ t in (0:ℝ)..1,V j.2 (stamp o j.1) := intervalIntegral.integral_congr (fun t _ => (H ..).symm.trans (hh _)) |
| 89 | _ = _ := by simp |
| 90 | have he : access (0:Snap G d) (lift (j.1-o),j.2)=0 := by |
| 91 | unfold access; rw [humming,map_zero]; simp [field,Tensor.diagonal]; try rfl |
| 92 | rw [← hs, differential (k:=0) hR] |
| 93 | change access 0 _ + (-(r _) - -(r _))=_ |
| 94 | rw [he,price_stamp o X hX hn j h]; abel |
| 95 | -- engineering k+2 |
| 96 | choose P F hP hf hF using fun j => roof (m:=k) (hV j) |
| 97 | obtain ⟨r,T,hR,hA⟩:= Averaging.locale k (Q:=P) hP |
| 98 | have hk : k<d-1 := by omega |
| 99 | let τ : Snap G d := Pi.single (⟨k,hk⟩ : Fin (d-1)) T |
| 100 | let W := brush o r τ |
| 101 | have hT : W∈Sites o X (k+2) := brushed o X _ _ _ (residence hR le_rfl) (by |
| 102 | intro t h; unfold τ; exact Pi.single_eq_of_ne (show t≠(⟨k,hk⟩ : Fin (d-1)) by rintro rfl; simp at h) _) |
| 103 | -- leading identity modulo power k |
| 104 | let M a v := (∫ t in (0:ℝ)..1,P a (v+t • basis a)) - P a v |
| 105 | have hM a : M a∈space E4 G.Color k := by simpa using Averaging.buys (hP a) (basis a) |
| 106 | have ha : x-L W ∈ Maps o X (k+1) := by |
| 107 | refine Exists.intro (F-M) ⟨fun j => ?_,fun x' => ?_⟩ |
| 108 | · simpa using (show F j-M j∈space E4 G.Color k from (Powers.space E4 G.Color k).sub_mem (hf j) (hM j)) |
| 109 | let a := x'.2; let v := stamp o x'.1 |
| 110 | rw [Pi.sub_apply,ht]; unfold L; rw [transmitted]; split; swap; simp |
| 111 | next h => |
| 112 | change V a v - (access τ (lift (x'.1-o),a) + (-(r v) - -(r (stamp o _))))=(F a-M a) v |
| 113 | rw [price_stamp o X hX hn _ h, hF a] |
| 114 | -- integrals of radial + differences r = ∫ P |
| 115 | have hi : access τ (lift (x'.1-o),a)=∫ t in (0:ℝ)..1, T.value a (v+t • basis a) := incurs .. |
| 116 | have hp := differential hR (basis a) v |
| 117 | have he' : access τ (lift (x'.1-o),a)+ (r (v+basis a)-r v)=(∫ t in (0:ℝ)..1,P a (v+t • basis a)) := by |
| 118 | simp_rw [hA]; rw [hi,← hp, intervalIntegral.integral_add ?_ ?_] |
| 119 | · exact (((diag_smooth (T.val a) 1).continuous).comp (by fun_prop : Continuous fun i : ℝ => v+i • basis a)).intervalIntegrable _ _ |
| 120 | exact (((graded hR (basis a)).1.continuous).comp (by fun_prop : Continuous fun i : ℝ => v+i • basis a)).intervalIntegrable _ _ |
| 121 | simp only [Pi.add_apply,Pi.sub_apply,M,←he',v,a] |
| 122 | abel |
| 123 | obtain ⟨R',hL,H⟩:= ih (k+1) (by omega) (by omega) (by omega) _ ha |
| 124 | refine ⟨W+R',(Sites o X (k+2)).add_mem hT ?_,?_⟩ |
| 125 | · obtain ⟨⟨p,hs,hh⟩,hb⟩:=hL |
| 126 | exact ⟨⟨p,widen _ _ (by omega) hs,hh⟩,fun i hi => hb _ (by omega)⟩ |
| 127 | rw [map_add,H]; abel |
| 128 | end YM.MultiNext.SignedSource.Mom |