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.Extra.SOURCE_HISTORIES.Merge |
| 2 | import YM.Next.FOUNDATIONS.Regular |
| 3 | |
| 4 | /-! Scalar and finite linear superposition operators on exact addresses. -/ |
| 5 | set_option autoImplicit false |
| 6 | noncomputable section |
| 7 | namespace YM.Extra.Histories |
| 8 | open Function Filter MeasureTheory Set Lattice Wilson RG Source Labels |
| 9 | open scoped Topology BigOperators Matrix.Norms.Frobenius ContDiff |
| 10 | |
| 11 | variable {n : Side} {d : ℕ} {ι : Type*} {G : Gauge} {F : Labels.Frame G d} {o : Site n} |
| 12 | variable {R : Rep G n} {H : Hol G} |
| 13 | |
| 14 | /-- No reassigning supports based on coefficient values. -/ |
| 15 | def stretch (c : ℂ) (P : Coefficient F n) : Coefficient F n where |
| 16 | x := c • P.x |
| 17 | support := P.support |
| 18 | regular := c • P.regular |
| 19 | forced := c • P.forced |
| 20 | |
| 21 | lemma masked_scale (c : ℂ) (f : Config G n → ℂ) (t : ℝ) (S : Support n) (U) : |
| 22 | masked t S (c • f) U = c • (masked t S f U) := by |
| 23 | by_cases hu : Healthy t S U <;> simp [hu] |
| 24 | |
| 25 | theorem stretch_density (S : SectionData F) (R : Rep G n) (o : Site n) (c : ℂ) (P : Coefficient F n) (U) : |
| 26 | (stretch c P).density o S R U = c * P.density o S R U := by |
| 27 | let Q := stretch c P |
| 28 | have hb (j) : Q.maskedTerm R j U = c * P.maskedTerm R j U := masked_scale .. |
| 29 | have he : Q.exponentialEntry o S R U = c * P.exponentialEntry o S R U := by |
| 30 | change part S o R U (c • P.x) + ∑' j, Q.maskedTerm R j U = c * ((part S o R U) P.x + ∑' j, P.maskedTerm R j U) |
| 31 | simp only [map_smul, hb, smul_eq_mul,tsum_mul_left, mul_add] |
| 32 | have hf (b) : Q.marked R b U = c * P.marked R b U := by |
| 33 | rw [marked_as,marked_as, ← tsum_mul_left] |
| 34 | refine tsum_congr fun i => ?_ |
| 35 | change (c*_) * _ = c * (_ * _); ring |
| 36 | unfold Coefficient.density |
| 37 | change _ * Q.exponentialEntry .. + _ * ∑' b, Q.marked R b U = _ |
| 38 | simp only [he,hf,tsum_mul_left]; ring |
| 39 | |
| 40 | theorem stretch_format {P : Coefficient F n} (c : ℂ) (h : P.Format o H R) : |
| 41 | (stretch c P).Format o H R where |
| 42 | origin := h.origin |
| 43 | identity_null i := by simp [stretch, h.identity_null] |
| 44 | projects i he := by |
| 45 | intro J |
| 46 | let F := fun r : ℝ => P.regular i (H.testLinks d o J r) |
| 47 | obtain ⟨ht,hk⟩ := h.projects i he J |
| 48 | refine ⟨(show ContDiffAt ℝ _ F 0 from ht).const_smul c,fun j hj => ?_⟩ |
| 49 | change iteratedDeriv j (c • F) 0 = 0 |
| 50 | rw [iteratedDeriv_const_smul (ht.of_le (Nat.cast_le.mpr hj)), show iteratedDeriv j F 0 = 0 from hk j hj, smul_zero] |
| 51 | smooth i := Next.Foundations.regular_smul _ (h.smooth i) |
| 52 | forcing i U hu := h.forcing i U fun he => hu (by simp [stretch,he]) |
| 53 | carried i hi := h.carried i fun he => hi (by simp [stretch,he]) |
| 54 | borel i := (h.borel i).const_smul c |
| 55 | invariant i k U := congr_arg (c • ·) (h.invariant i k U) |
| 56 | supported i U V hA hF := congr_arg (c • ·) (h.supported i U V hA hF) |
| 57 | |
| 58 | lemma mass_scale (p : BudgetPoint) (X : Support n) (a b : ℝ) : p.mass X (a*b) = a * p.mass X b := by |
| 59 | unfold BudgetPoint.mass; ring |
| 60 | |
| 61 | theorem stretch_rem {P : Coefficient F n} {t v : ℝ} (c : ℂ) (h : P.remBound o R v t) : |
| 62 | (stretch c P).remBound o R v (‖c‖ * t) := by |
| 63 | obtain ⟨a,b,ha,hb,hw,h₀,⟨e,he,ht⟩,f,hf,hy⟩ := h |
| 64 | have hl i := Next.Foundations.bound_smul c (ht i) |
| 65 | refine ⟨‖c‖*a,‖c‖*b,mul_nonneg (norm_nonneg _) ha,mul_nonneg (norm_nonneg _) hb,?_,h₀, |
| 66 | ⟨fun i => ‖c‖*e i,?_,hl⟩,fun i => ‖c‖*f i,?_,fun i => ⟨mul_nonneg (norm_nonneg _) (hy i).1,fun U => ?_⟩⟩ |
| 67 | · rw [← mul_add]; exact mul_le_mul_of_nonneg_left hw (norm_nonneg _) |
| 68 | · simp_rw [mass_scale]; exact budget_scale he (norm_nonneg _) |
| 69 | · simp_rw [mass_scale, mul_left_comm v ‖c‖ b]; exact budget_scale hf (norm_nonneg _) |
| 70 | rw [show (stretch c P).forced i U=c • P.forced i U from rfl,norm_smul] |
| 71 | exact mul_le_mul_of_nonneg_left ((hy i).2 U) (norm_nonneg _) |
| 72 | |
| 73 | section Pencil |
| 74 | variable (e : ℕ ≃ ι × ℕ) (P : ι → Coefficient F n) (w : F.Coeff →ₗ[ℂ] ι → ℂ) |
| 75 | |
| 76 | def pencil (v : F.Coeff) := merge e (fun i => stretch (w v i) (P i)) |
| 77 | |
| 78 | variable [Fintype ι] |
| 79 | |
| 80 | theorem pencil_x (v : F.Coeff) : (pencil e P w v).x = ∑ i, w v i • (P i).x := tsum_fintype _ |
| 81 | |
| 82 | /-- `Paper.Clocks.linear` on a manufactured column family. -/ |
| 83 | structure Ledger (F : Labels.Frame G d) (n : Side) (P : F.Coeff → Coefficient F n) : Prop where |
| 84 | x : IsLinearMap ℂ fun v => (P v).x |
| 85 | reg : IsLinearMap ℂ fun v => (P v).regular |
| 86 | f : IsLinearMap ℂ fun v => (P v).forced |
| 87 | tags v : (P v).support = (P 0).support |
| 88 | |
| 89 | theorem pencil_ledger : Ledger F n (pencil e P w) := by |
| 90 | have hk (v : F.Coeff) (j) (U) : (pencil e P w v).forced j U = ∑ i, w v i • (P i).forced j U := tsum_fintype _ |
| 91 | refine ⟨⟨?_,?_⟩,⟨?_,?_⟩,⟨?_,?_⟩,fun _ => rfl⟩ |
| 92 | · intro x y; simp only [pencil_x,map_add, Pi.add_apply, add_smul, Finset.sum_add_distrib] |
| 93 | · intro x y; simp only [pencil_x, map_smul,Pi.smul_apply,Finset.smul_sum,smul_assoc] |
| 94 | · intro x y; funext j U; simp [pencil,merge,stretch,add_mul] |
| 95 | · intro x y; funext j U; simp [pencil,merge,stretch,mul_assoc] |
| 96 | · intro x y; funext j U; simp only [hk, map_add, Pi.add_apply, add_smul, Finset.sum_add_distrib] |
| 97 | intro x y; funext j U; simp only [hk, map_smul, Pi.smul_apply, smul_assoc]; simp only [Finset.smul_sum] |
| 98 | |
| 99 | theorem pencil_cost {X : ι → ℝ} {v : ℝ} (hp : 0 < v) (h : ∀ i, (P i).Format o H R ∧ |
| 100 | (P i).remBound o R v (X i)) (u : F.Coeff) : (pencil e P w u).Format o H R ∧ |
| 101 | (pencil e P w u).remBound o R v (∑ i, ‖w u i‖ * X i) := by |
| 102 | classical |
| 103 | refine ⟨merge_format e _ (fun i => stretch_format _ (h i).1),?_⟩ |
| 104 | let V i := stretch (w u i) (P i) |
| 105 | have hx i := stretch_rem (w u i) (h i).2 |
| 106 | simpa only [tsum_fintype,pencil,V] using (merge_budget e V hp hx (hasSum_fintype _).summable).1 |
| 107 | |
| 108 | theorem pencil_density {X : ι → ℝ} {v : ℝ} {σ C Λ δ w' : ℝ} |
| 109 | (hr : R.Lawful σ C Λ δ w') (hp : 0 < v) (h : ∀ i, (P i).remBound o R v (X i)) (u : F.Coeff) |
| 110 | (B : SectionData F) (U) : |
| 111 | (pencil e P w u).density o B R U = ∑ i, w u i * (P i).density o B R U := by |
| 112 | classical |
| 113 | let V i := stretch (w u i) (P i) |
| 114 | rw [show (pencil e P w u).density o B R U = ∑' i, (V i).density o B R U from (merge_density e V hp hr |
| 115 | (fun i => stretch_rem _ (h i)) (hasSum_fintype _).summable (hasSum_fintype _).summable B U).tsum_eq.symm,tsum_fintype] |
| 116 | exact Finset.sum_congr rfl fun i _ => stretch_density .. |
| 117 | |
| 118 | end Pencil |
| 119 | end YM.Extra.Histories |