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.Next.SCHEDULE.SlotPay |
| 2 | |
| 3 | /-! |
| 4 | # One atom all repeats/fixed order |
| 5 | |
| 6 | Cost reference PRE L. Invokes path bound of the actual input shape (if |
| 7 | verified). Simultaneous sup test through the stage order, genuine left |
| 8 | ordered derivatives in any directions from the resulting anchor. With |
| 9 | this support-length polynomial tested we can move to a shorter width, |
| 10 | not needing any j-dependent growth threshold from post-L for these |
| 11 | factors. Subsequent interacting or integral-estimate costs are |
| 12 | not this lemma. |
| 13 | -/ |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.Next.Scheduling.Wages |
| 17 | open Work.G07 Lattice RG Wilson Finset |
| 18 | open scoped Matrix.Norms.Frobenius ContDiff BigOperators |
| 19 | |
| 20 | variable {G : Gauge} {n : Side} {k : ℕ} |
| 21 | |
| 22 | private lemma constPay {D : Directions G n → Prop} {Z : Config G n → Prop} (f : ℝ) (k : ℕ) : |
| 23 | LeftBound k D Z 1 |f| (fun _ => f) := LeftBound.const zero_le_one _ |
| 24 | |
| 25 | private lemma pairs {D : Directions G n → Prop} {Z : Config G n → Prop} (k : ℕ) {m : ℕ} (q : Finset (Fin m)) |
| 26 | {x : Fin m → Config G n → ℝ} {f : ℝ} (h : ∀ i, LeftBound k D Z 1 f (x i)) : |
| 27 | LeftBound k D Z 1 ((2^k*f)^q.card) (fun U => ∏ i∈q,x i U) := by |
| 28 | induction q using Finset.induction_on with |
| 29 | | empty => simpa using constPay (D:=D) (Z:=Z) 1 k |
| 30 | | @insert i v hi ih => |
| 31 | have he := (h i).mul ih (by norm_num) |
| 32 | rw [card_insert_of_notMem hi, pow_succ']; simp_rw [prod_insert hi]; exact he |
| 33 | |
| 34 | private lemma lanes {D : Directions G n → Prop} {Z : Config G n → Prop} (k : ℕ) {ι : Type*} [DecidableEq ι] |
| 35 | (q : Finset ι) (x : ι → Config G n → ℝ) (f : ι → ℝ) (h : ∀ i, LeftBound k D Z 1 (f i) (x i)) : |
| 36 | LeftBound k D Z 1 (∑ i∈q, f i) (fun U => ∑ i∈q,x i U) := by |
| 37 | induction q using Finset.induction_on with |
| 38 | | empty => simpa using constPay (D:=D) (Z:=Z) 0 k |
| 39 | | @insert i v hi ih => |
| 40 | have he := (h i).add ih; simpa [hi,Finset.sum_insert] using he |
| 41 | |
| 42 | theorem extracts {f : Config G n → G.Color} {D Z c} (h : LeftBound k D Z 1 c f) (i : G.ColorIndex) : |
| 43 | LeftBound k D Z 1 c fun U => f U i := by |
| 44 | let L := (EuclideanSpace.proj i : G.Color →L[ℝ] ℝ) |
| 45 | refine ⟨h.smooth.postcomp L,h.nonneg,fun l hl hd U hU => ?_⟩ |
| 46 | have ht : leftDerivs (fun U => f U i) l U=(leftDerivs f l U) i := congr_fun (left_linear h.smooth L hl) U |
| 47 | rw [ht]; refine le_trans ?_ (h.bound l hl hd U hU) |
| 48 | let X:=leftDerivs f l U |
| 49 | have hh := abs_real_inner_le_norm (EuclideanSpace.basisFun G.ColorIndex ℝ i) X |
| 50 | rw [OrthonormalBasis.norm_eq_one, one_mul,EuclideanSpace.basisFun_inner] at hh; exact hh |
| 51 | |
| 52 | def price (b : BudgetPoint) (a : Atom G k) := |
| 53 | let v:=slotCost G b.power b.order a.length; let c : ℝ:=2^b.order |
| 54 | a.magnitude*c*((c*v*b.threshold)^k) |
| 55 | |
| 56 | theorem fin (b : BudgetPoint) (a : Atom G k) (o : Site n) : |
| 57 | LeftBound b.order (b.dirBound o) (Healthy b.threshold (a.footprint o)) 1 (price b a) fun U => a.unmasked U o := by |
| 58 | let d:=(slotCost G b.power b.order a.length) |
| 59 | let c:= (2^b.order : ℝ) |
| 60 | have hs i : LeftBound (G:=G) b.order (b.dirBound o) (Healthy b.threshold (a.footprint o)) 1 (d*b.threshold) fun U => (a.leg i).atSite U o := by |
| 61 | have hx : (a.leg i).length ≤ a.length := Finset.single_le_sum (f:=fun i => (a.leg i).length) (fun _ _=>Nat.zero_le _) (mem_univ i) |
| 62 | refine slotPays (a.leg i) a.stencil ?_ a.length hx o b |
| 63 | exact fun x hh => mem_insert_of_mem (mem_biUnion.mpr ⟨i,mem_univ i,hh⟩) |
| 64 | let u := fun i (U : Config G n) => a.coeff i*∏ j,(a.leg j).atSite U o (i j) |
| 65 | let z := fun i => |a.coeff i| *c*(c*d*b.threshold)^k |
| 66 | have hi i : LeftBound b.order (b.dirBound o) (Healthy b.threshold (a.footprint o)) 1 (z i) (u i) := by |
| 67 | have he := (constPay (a.coeff i) b.order).mul (pairs b.order univ fun j => extracts (hs j) (i j)) zero_le_one |
| 68 | rw [card_univ,Fintype.card_fin] at he |
| 69 | dsimp only [z,u]; rw [mul_comm _ c,mul_assoc c d]; exact he |
| 70 | have he : ∑ i,z i=price b a := by unfold z; simp only [← sum_mul]; rfl |
| 71 | rw [← he]; exact lanes b.order univ u z hi |
| 72 | |
| 73 | lemma total (b : BudgetPoint) (a : Atom G k) (o : Site n) : b.supBounds o (a.footprint o) (fun U => a.unmasked U o) (price b a) := by |
| 74 | have h:= fin b a o; exact ⟨h.nonneg,fun U hU l hl hD => by simpa using h.bound _ hl hD U hU⟩ |
| 75 | |
| 76 | /-- Express c*threshold^k*magnitude*(1+length)^degree exactly with PURE |
| 77 | constant c. -/ |
| 78 | def startup (G : Gauge) (k P i : ℕ) : ℝ := 2^i*(2^i*slotCost G P i 0)^k |
| 79 | |
| 80 | def grade (k P i : ℕ) := ((P+1)*i)*k |
| 81 | |
| 82 | private lemma slotCost_shape (G : Gauge) (k P l : ℕ) : |
| 83 | slotCost G P k l = slotCost G P k 0 *((l:ℝ)+1)^((P+1)*k) := by simp only [slotCost,margin]; simp [mul_pow,pow_mul,mul_assoc] |
| 84 | |
| 85 | lemma scan (b : BudgetPoint) (a : Atom G k) : price b a=startup G k b.power b.order * b.threshold^k * |
| 86 | a.magnitude *((a.length:ℝ)+1)^grade k b.power b.order := by |
| 87 | unfold price startup grade |
| 88 | simp only |
| 89 | rw [slotCost_shape G b.order b.power a.length, pow_mul (n:=k)]; simp only [mul_pow]; ring |
| 90 | end YM.Next.Scheduling.Wages |