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.Pace.Hush |
| 2 | import YM.RG08.Gaussian.TreeInverse |
| 3 | import YM.RG08.Gaussian.Regroup |
| 4 | import YM.RG08.Ballast.Jets |
| 5 | import YM.RG08.Ballast.Ribbons |
| 6 | |
| 7 | /-! # Input/output quadratic at the fixed point convention -/ |
| 8 | set_option autoImplicit false |
| 9 | noncomputable section |
| 10 | namespace YM.RG08 |
| 11 | open RG Laurent Lattice Wilson Exterior Precision Bloch Next.Free Push.AbsoluteSums Finset Function Filter |
| 12 | open Stationary UVExt.Paths Matrix |
| 13 | open scoped Topology ContDiff |
| 14 | variable {α : Type} {w τ C A B : ℝ} {G : Gauge} {r n : ℕ} {m : Side} |
| 15 | |
| 16 | -- avoid a score with width cost if symmetric |
| 17 | private def octoRaw {α : Type} (z : α) (b : Cover×α) : Beads α 2 := ![(0,z),b] |
| 18 | private def octo {α : Type} (R : Row α α) (z : α) := pool (fun i : Cover×α=> R z i.2 i.1) (octoRaw z) |
| 19 | def clipQ {α : Type} [Fintype α] (R : Row α α) : Shale α 2 := ((1/2:ℝ) • ∑ i,octo R i) |
| 20 | def quad (G : Gauge) (M : KRow) := clipQ (colored G M) |
| 21 | private lemma octo_price [Fintype α] (R : Row α α) (z : α) (hs : R.strip w A) : Charge |
| 22 | (fun x : Cover×α => ling w (octoRaw z x)) (fun i=> R z i.2 i.1) (Fintype.card α*A) := by |
| 23 | have he x : ling w (octoRaw z x)=Real.exp (w*size x.1) := by |
| 24 | unfold ling girth; rw [Fin.sum_univ_two]; simp [octoRaw,size] |
| 25 | unfold Charge; simp_rw [he]; exact row_fitter hs z |
| 26 | private lemma octo_sub [Fintype α] (R S : Row α α) (z : α) (hs : Whole R) (hh : Whole S) : |
| 27 | octo (R-S) z= octo R z- octo S z := by |
| 28 | obtain ⟨w,C,hp,h⟩ := hs; obtain ⟨σ,D,hq,h'⟩ := hh |
| 29 | exact pool_minus (octoRaw z) ((octo_price R z h).summable (fun i=> ling_one hp.le _)) ((octo_price S z h').summable (fun i=> ling_one hq.le _)) |
| 30 | private lemma sym_pair_hits (s : Equiv.Perm (Fin 2)) : s=Equiv.refl _ ∨ s=Equiv.swap 0 1 := by decide +revert |
| 31 | lemma clipQ_tunable [Fintype α] (R : Row α α) (h : R.strip w C) (hw : 0 ≤ w) (he : ∀ c, (R.acts c)ᵀ=R.acts c) : |
| 32 | Glow (clipQ R) w (‖(1/2 : ℝ)‖*((Fintype.card α)*(Fintype.card α*C))) ∧ Tunable (clipQ R) ∧ |
| 33 | ∀ m (v : Fin 2 → PAC α m), recital (clipQ R) m v= (1/2:ℝ)*(dotProduct (v 0) ((R.acts m)*ᵥ v 1)) := by |
| 34 | have hv (z : α) := (octo_price R z h).summable (fun i=> ling_one hw (octoRaw _ i)) |
| 35 | have hh (i : α) : Glow (octo R i) w (Fintype.card α*C) := Charge.poolage (octoRaw i) (ling_one hw) (octo_price R i h) |
| 36 | have hx := Charge.sums (w:=ling w) (fun i => (ling_pos _ _).le) (s:=univ) (fun i _=> hh i) |
| 37 | have ha : Glow (clipQ R) w (‖(1/2:ℝ)‖*((Fintype.card α)*(Fintype.card α*C))) := by |
| 38 | simp only [sum_const,card_univ,nsmul_eq_mul] at hx; exact hx.scale _ |
| 39 | have ht (m : Side) (v : Fin 2→PAC α m) : recital (clipQ R) m v= (1/2:ℝ)*(dotProduct (v 0) (R.acts m*ᵥ v 1)) := by |
| 40 | rw [clipQ,recital_scale _ (hx.summable (ling_one hw)),recital_sum _ _ (fun i _=> (hh i).summable (ling_one hw)),_root_.smul_apply,_root_.sum_apply,smul_eq_mul] |
| 41 | congr 1; unfold dotProduct octo; rw [Fintype.sum_prod_type,sum_comm]; apply sum_congr rfl; intro i _ |
| 42 | rw [recital_pool _ (hv i)]; apply sum_congr rfl; intro z _; rw [row_expand h hw, ← tsum_mul_left]; apply tsum_congr; intro b; unfold rosary; rw [Fin.prod_univ_two]; simp [silks,octoRaw]; ring |
| 43 | refine ⟨ha,⟨ha.summable (ling_one hw),?_,fun m v s=>?_⟩,ht⟩ |
| 44 | · intro i hi; by_contra hy; apply hi |
| 45 | have he z : octo R z i=0 := pool_eq_zero _ (fun j hj=> (hy (by rw [← hj]; exact rfl)).elim) |
| 46 | simp [clipQ,Finset.sum_apply,he] |
| 47 | rw [ht,ht]; rcases sym_pair_hits s with hS | hS |
| 48 | · rw [hS]; rfl |
| 49 | rw [hS]; congr 1; change dotProduct (v 1) _=dotProduct (v 0) _ |
| 50 | change dotProduct (v 1) (R.acts m*ᵥ v 0)=_ |
| 51 | rw [Matrix.dotProduct_mulVec,← Matrix.mulVec_transpose,he,dotProduct_comm] |
| 52 | |
| 53 | lemma quad_matches (G : Gauge) (M : KRow) (h : M.strip w C) (hw : 0 ≤ w) (he : ∀ c, (M.acts c)ᵀ=M.acts c) : |
| 54 | let Q := quad G M |
| 55 | Glow Q w (‖(1/2 : ℝ)‖*((Fintype.card (Loc G 1))*(Fintype.card (Loc G 1)*C))) ∧ Tunable Q ∧ |
| 56 | ∀ m (u v : PAC (Loc G 1) m), iteratedFDeriv ℝ 2 (stanza Q m) 0 ![u,v]= ∑ i, |
| 57 | parts G 1 (arm G m 1 u) i ⬝ᵥ ((M.acts m) *ᵥ parts G 1 (arm G m 1 v) i) := by |
| 58 | intro Q |
| 59 | obtain ⟨hh,hQ,H⟩ := clipQ_tunable (colored G M) (colored_price G h) hw fun c=> by rw [colored_acts,FreeResolvent.tensor_transpose,he] |
| 60 | refine ⟨hh,hQ,fun m u v=>?_⟩ |
| 61 | have hz : (1/2:ℝ)*iteratedFDeriv ℝ 2 (stanza Q m) 0 ![u,v]=(1/2:ℝ)*dotProduct u (FreeResolvent.tensor G (M.acts m) *ᵥ v) := by |
| 62 | have he := (DFunLike.congr_fun (Tunable.pick hQ m) ![u,v]).trans (H m _) |
| 63 | norm_num [Tensor.coeff,Nat.factorial, colored_acts] at *; exact he |
| 64 | have he t : FreeResolvent.component u t ⬝ᵥ FreeResolvent.component (FreeResolvent.tensor G (M.acts m)*ᵥv) t = _ := (show _=parts G 1 (arm G m 1 u) t ⬝ᵥ ((M.acts m) *ᵥ parts G 1 (arm G m 1 v) t) by rw [FreeResolvent.component_mul]; rfl) |
| 65 | rw [FreeResolvent.component_dot] at hz; simp_rw [he] at hz; exact mul_left_cancel₀ (by norm_num : (1/2 : ℝ)≠0) hz |
| 66 | lemma quad_sub (G : Gauge) {M N : KRow} (h : Whole M) (e : Whole N) : |
| 67 | quad G (M-N)=quad G M-quad G N := by |
| 68 | rw [show quad G (_-_) = clipQ (colored G M-colored G N) from ?_]; swap |
| 69 | · unfold quad; congr 1; funext i j x; by_cases hi : i.2=j.2 <;> simp [colored,hi] |
| 70 | unfold quad clipQ; simp_rw [octo_sub _ _ _ (colored_whole _ h) (colored_whole _ e),sum_sub_distrib]; rw [smul_sub] |
| 71 | |
| 72 | lemma marked_units {G : Gauge} (i : G.ColorIndex) (B : FaceRow) (h : Whole B) (hv : ∀ m, (B.acts m)ᵀ=B.acts m) |
| 73 | (hs : B.read 0=1) : probeK i (quad G (hessian B))=1 := by |
| 74 | obtain ⟨w,C,hp,hG⟩ := hessian_whole h |
| 75 | let r := quad G (hessian B) |
| 76 | obtain ⟨hc,hR,H⟩ := quad_matches G (hessian B) hG hp.le fun m=> by rw [hessian_acts h]; exact k_symmetric (hv m) |
| 77 | have ha (m) : Recorded (slots B G) (stanza r m) 0 := by |
| 78 | apply according h.safe; intro p q; rw [← hessian_acts h]; exact H m p q |
| 79 | have he (b r₀) (p : Corn (Keys 1)) : gallery r b r₀ (axes p)=slots B G b r₀ (axes p) := by |
| 80 | let m (i : ℕ) : Side := ⟨i+1,Nat.succ_pos _⟩ |
| 81 | obtain ⟨P,V,H,e⟩ := fleet m (tendsto_add_atTop_nat _) (axes p) (axes_real p) |
| 82 | obtain ⟨s,D,hp',ht⟩ := h |
| 83 | refine tendsto_nhds_unique (harvest (f:=gallery r) (gallery_funds hc hp) (F:=fun i=>stanza r (m i)) (ε:=fun _=>0) (fun i=> ?_) tendsto_const_nhds p P V H e b r₀) |
| 84 | (harvest (slots_cost hp' ht) (F:=fun i=>stanza r (m i)) (ε:=fun _=>0) (fun i => by simp only [mul_zero]; exact ha _) tendsto_const_nhds p P V H e b r₀) |
| 85 | rw [mul_zero]; exact gallery_marks hR (hR.pick (m i)) |
| 86 | have hl : leapTip (gallery r) (step (0:Axis)) 1 ![i,i]=leapTip (slots B G) (step (0:Axis)) 1 ![i,i] := by |
| 87 | have ht : pressLens (gallery r) ![i,i] 1 1=pressLens (slots B G) ![i,i] 1 1 := funext fun _ => he .. |
| 88 | rw [leapTip,ht]; rfl |
| 89 | obtain ⟨v,D,hb,Hv⟩ := h |
| 90 | change alphaPay _ (gallery r)=_; rw [alphaPay,hl,tip_fuel i Hv hb hs]; norm_num |
| 91 | end YM.RG08 |