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.Cells.Packing |
| 2 | import YM.Overlay.Engine |
| 3 | import YM.TimeKernel.Trace |
| 4 | import YM.Vac.Treasury |
| 5 | |
| 6 | |
| 7 | |
| 8 | /-! |
| 9 | # Center cell application |
| 10 | |
| 11 | For chosen stop r, one implementation of ALL copies down to r on THE history |
| 12 | and spin-bearing probes. Cost independent of N,p provided input is so. Use |
| 13 | coarser cell level m≤r. Even powers on these probes from Tiling. |
| 14 | No assertion of arbitrary interval tiling phase alignment; origin only for |
| 15 | joint push here. Other translations passed using physical Wilson symmetry. |
| 16 | -/ |
| 17 | set_option autoImplicit false |
| 18 | noncomputable section |
| 19 | namespace YM.Stock |
| 20 | open Lattice Wilson RG Marker Cells MeasureTheory Filter Set Function Overlay |
| 21 | open scoped Topology Matrix.Norms.Frobenius BigOperators ENNReal ContDiff |
| 22 | |
| 23 | variable {G : Gauge} {C : Family G} {m N p r : ℕ} |
| 24 | |
| 25 | def census (V : Type*) [DecidableEq V] [Fintype V] : Census V := |
| 26 | { choices := Finset.univ, blank := Finset.mem_univ _, solo := fun _ => Finset.mem_univ _, down := fun _ _ _ => Finset.mem_univ _ } |
| 27 | |
| 28 | def final (V : Type*) [DecidableEq V] [Fintype V] : (census V).Mode := ⟨Finset.univ, Finset.mem_univ _⟩ |
| 29 | |
| 30 | lemma tallies (T : Schedule) (m r p : ℕ) : (Fintype.card (Site (T.side r p)) : ℝ)= (Fintype.card (Site (T.side m p)) : ℝ) * (T.a m/T.a r)^4 := by |
| 31 | simp only [site_card,Nat.cast_pow] |
| 32 | rw [← mul_pow] |
| 33 | congr 1 |
| 34 | field_simp |
| 35 | rw [eq_div_iff (T.a_pos r).ne',mul_comm (↑(T.side r p).val:ℝ),T.span_side,mul_comm, T.span_side] |
| 36 | |
| 37 | lemma spacer (a b c : ℝ) (n : ℕ) (ha : 0≤a) (hb : 0<c) (hn : 0<n) (ht : a*c^n ≤ Real.exp (n*b)) : a^((n:ℝ)⁻¹) ≤ Real.exp b/c := by |
| 38 | rw [le_div_iff₀ hb] |
| 39 | have hg : 0 < (n:ℝ) := by exact_mod_cast hn |
| 40 | refine le_of_pow_le_pow_left₀ (Nat.ne_of_gt hn) (Real.exp_pos _).le ?_ |
| 41 | rw [mul_pow,← Real.rpow_mul_natCast ha,inv_mul_cancel₀ hg.ne',Real.rpow_one,← Real.exp_nat_mul]; exact ht |
| 42 | |
| 43 | |
| 44 | lemma a_log (S : Schedule) (n : ℕ) : S.a n = Real.exp (-S.scale n) := by |
| 45 | rw [Schedule.scale,Real.exp_neg,Real.exp_log (inv_pos.2 (S.a_pos _)),inv_inv] |
| 46 | |
| 47 | def expPrice (C : Family G) (m r d : ℕ) (W u c d' b : ℝ) := |
| 48 | ((C.S.a m/C.S.a r)^4)* YM.Vac.treasury C.path.levels r + u+c+d'*b+ |
| 49 | d*C.S.scale r-Real.log W |
| 50 | |
| 51 | lemma est (hN : m≤ N) (h : C.Makes) (F : C.book.Token) |
| 52 | (L : Lane C.path (census (Site (C.side m p))) N p) (hh : L.Works r) (W u c d' b : ℝ) |
| 53 | (he : (L.sites r).Radial (fun _ => W) u c d' b) (hW : 0<W) (hq : ∀ i, L.load i=F.1) |
| 54 | (hx : ∀ i,L.uses i=(center C.S p hN 0).copy i (C.O N p F.2 0)) : |
| 55 | (center C.S p hN 0).rootTest (C.beta N p) (C.O N p (d:=F.1) F.2 0) ≤ Real.exp (expPrice C m r F.1 W u c d' b) := by |
| 56 | let T := Site (C.side m p) |
| 57 | let V := final T |
| 58 | let n := Fintype.card T |
| 59 | have h1 : ‖Ride.bump (C.S.a r) V L.load‖=((C.S.a r)^F.1)^n := by |
| 60 | unfold Ride.bump V final |
| 61 | simp_rw [hq,norm_prod,norm_pow,Complex.norm_real, Real.norm_of_nonneg (C.S.a_pos r).le,Finset.prod_const,Finset.card_univ]; rfl |
| 62 | have h2 : Poly.toll (fun _ => W) V=W^n := by simp [Poly.toll,n,V,final] |
| 63 | let a := C.S.a r |
| 64 | let X := a^F.1*W |
| 65 | let b' := ((C.S.a m/C.S.a r)^4)*YM.Vac.treasury C.path.levels r + (u+c+d'*b) |
| 66 | let M := moment (C.path.β N p N) (Ride.Product L.uses V) |
| 67 | have H := L.pays h.wilson hh he V |
| 68 | have H' := H.trans (Real.exp_monotone (YM.Vac.suffices_bill h.wilson hh.admits n ..)) |
| 69 | have e : ‖M‖*X^n ≤ Real.exp ((n:ℝ)*b') := by |
| 70 | rw [← show C.path.S=C.S from rfl] at h1 |
| 71 | rw [h1] at H' |
| 72 | have hx₁ : _ ≤ Real.exp (↑(Fintype.card (Site (C.path.levels.clock.schedule.side r p))) * YM.Vac.treasury C.path.levels r + |
| 73 | ↑n*(u+c+d'*b)) := H' |
| 74 | change (a^F.1)^n*‖M‖*Poly.toll (R:=(census _)) (fun _ => W) V ≤ _ at hx₁ |
| 75 | rw [show Fintype.card (Site (C.path.levels.clock.schedule.side r p)) = Fintype.card (Site (C.S.side r p)) from rfl, tallies C.S m r p] at hx₁ |
| 76 | change (a^F.1)^n*‖M‖*Poly.toll (R:=(census _)) (fun _ => W) V ≤ Real.exp ((n:ℝ)*_*_ + n*(u+c+d'*b)) at hx₁ |
| 77 | rw [h2,mul_comm _ ‖M‖,mul_assoc, ← mul_pow] at hx₁ |
| 78 | apply hx₁.trans_eq; congr 1; unfold b'; ring |
| 79 | |
| 80 | |
| 81 | |
| 82 | have hv := C.S.a_pos r |
| 83 | have hP : (center C.S p hN (0:Site (C.side N p))).rootTest (C.beta N p) (C.O N p (d:=F.1) F.2 0)=‖M‖^(n:ℝ)⁻¹ := by |
| 84 | unfold M Ride.Product |
| 85 | simp_rw [hx]; rfl |
| 86 | apply hP.le.trans |
| 87 | have hw := spacer _ _ X n (norm_nonneg _) (mul_pos (pow_pos hv _) hW) Fintype.card_pos e |
| 88 | refine hw.trans_eq ?_ |
| 89 | unfold X a expPrice b' |
| 90 | rw [a_log C.S r, ← Real.exp_nat_mul, show W=Real.exp (Real.log W) from (Real.exp_log hW).symm] -- rewrite both; handle log |
| 91 | rw [Real.log_exp,←Real.exp_add, ← Real.exp_sub]; congr 1; ring |
| 92 | |
| 93 | lemma rolled (hN : m≤N) (v : C.book.Token) (o i) : |
| 94 | (center C.S p hN o).copy i (C.O N p v.2 o) = fun U => |
| 95 | (center C.S p hN 0).copy i (C.O N p v.2 0) (translate o U) := by |
| 96 | let X := center C.S p hN o |
| 97 | let Y := center C.S p hN 0 |
| 98 | have he : X.base=Y.base+o := by ext; simp [X,Y,Cells.center]; abel |
| 99 | have ht : X.starts i=Y.starts i+o := by |
| 100 | unfold Tiling.starts; rw [he]; abel |
| 101 | have ha : X.translateBy i=Y.translateBy i+o-(Y.omega i).act o := by |
| 102 | unfold Tiling.translateBy |
| 103 | rw [ht,he]; change Y.starts i+_-(Y.omega i).act _+ Y.bias i=_; rw [Signed.act_add]; abel |
| 104 | funext U |
| 105 | have hh : translate o (pull (X.omega i) (X.translateBy i) U)=pull (Y.omega i) (Y.translateBy i) (translate o U) := by |
| 106 | simp only [←pull_one,pull_pull] |
| 107 | rw [affine,affine,ha]; change pull ((Y.omega i)*1) _ _ = _; rw [mul_one,one_mul,Signed.act_one]; rw [show X.omega i=Y.omega i from rfl]; congr 1; abel |
| 108 | have H : C.O N p v.2 o (pull (X.omega i) (X.translateBy i) U)=_ := calc |
| 109 | _ = C.O N p v.2 0 (translate o (pull (X.omega i) (X.translateBy i) U)) := by rw [C.translation,zero_add] |
| 110 | _ = C.O N p v.2 0 (pull (Y.omega i) (Y.translateBy i) (translate o U)) := by rw [hh] |
| 111 | classical |
| 112 | unfold Tiling.copy; by_cases hx : X.hand i |
| 113 | · have hy : Y.hand i := hx |
| 114 | rw [if_pos hx,if_pos hy,H] |
| 115 | have hy : ¬ Y.hand i := hx; rw [if_neg hx,if_neg hy,H] |
| 116 | |
| 117 | lemma translate_s (hn : m≤N) (o) (v : C.book.Token) (hi : Interior ((center C.S p hn 0).chamber 0) (C.O N p v.2 0)) : |
| 118 | (center C.S p hn o).rootTest (C.beta N p) (C.O N p v.2 o)=(center C.S p hn 0).rootTest (C.beta N p) (C.O N p v.2 0) := by |
| 119 | let X := Cells.center C.S p hn (0:Site (C.side N p)) |
| 120 | have he := X.manyIntegral (C.beta N p) (fun _ => C.O N p v.2 0) (fun _ => hi) |
| 121 | have hh := moment_pull (C.beta N p) 1 o _ he |
| 122 | unfold Tiling.rootTest; apply congr_arg (fun a : ℂ => ‖a‖ ^ ((Fintype.card X.Cell:ℝ)⁻¹)) |
| 123 | simp_rw [rolled hn v o] |
| 124 | rw [show pull 1 o (K:=G.El)=translate o from funext fun U => pull_one o U] at hh |
| 125 | exact hh |
| 126 | |
| 127 | end YM.Stock |