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.Push.ABSOLUTE_SUMS.Copies |
| 2 | |
| 3 | set_option warningAsError false |
| 4 | |
| 5 | /-! |
| 6 | # Absolute exponential-list identities |
| 7 | |
| 8 | For actual summable real activities, at one finite torus. Multiplicities |
| 9 | at repeated address occurrences tracked in `Multiple.Reps` (one inverse |
| 10 | factorial per distinct address), or MAY choose a given optional h |
| 11 | parent only once (then it's an ordinary finset). Integrals separately. |
| 12 | -/ |
| 13 | |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.Push.LogIdentity |
| 17 | |
| 18 | open Lattice Wilson RG AbsoluteSums AbsoluteSums.Multiple Finset Filter Function |
| 19 | open scoped Classical BigOperators Topology |
| 20 | |
| 21 | variable {ι κ : Type*} |
| 22 | |
| 23 | /-- absolute product series (convenience). -/ |
| 24 | lemma abs_mul_pair {g : ι → ℝ} {f : κ → ℝ} |
| 25 | (h : Summable fun x => ‖g x‖) (l : Summable fun x => ‖f x‖) : |
| 26 | Summable fun p : ι × κ => ‖g p.1 * f p.2‖ := by |
| 27 | simp only [norm_mul] |
| 28 | apply summable_mul_of_summable_norm (f:=fun a => ‖g a‖) (g:=fun a => ‖f a‖) <;> simp <;> assumption |
| 29 | |
| 30 | universe u |
| 31 | private def Claim (α : Type u) [hF : Fintype α] : Prop := ∀ w : α → ι → ℝ, (∀ i, Summable fun j => ‖w i j‖) → |
| 32 | let p z := ∏ i : α, w i (z i) |
| 33 | Summable (fun z : α → ι => ‖p z‖) ∧ (∑' z : α → ι, p z) = ∏ i : α, ∑' j, w i j |
| 34 | private theorem pi_claim (α : Type u) [hF : Fintype α] : @Claim ι α hF := by |
| 35 | refine Fintype.induction_empty_option (P:=@fun α h => @Claim ι α h) ?_ ?_ ?_ α (h_fintype:=hF) |
| 36 | · intro a b hb e ih w h |
| 37 | letI : Fintype a := Fintype.ofEquiv _ e.symm |
| 38 | have hi := ih (fun i j => w (e i) j) (fun i => h (e i)) |
| 39 | let d : (a → ι) ≃ (b → ι) := Equiv.arrowCongr e (.refl _) |
| 40 | intro p |
| 41 | have hh (x : a → ι) : p (d x) = ∏ i, w (e i) (x i) := by |
| 42 | unfold p; rw [← e.prod_comp]; simp [d] |
| 43 | constructor |
| 44 | · rw [← d.summable_iff]; change Summable (fun z => ‖p (d z)‖); simp_rw [hh]; exact hi.1 |
| 45 | rw [← d.tsum_eq _] |
| 46 | simp_rw [hh]; rw [hi.2]; exact Fintype.prod_equiv e _ _ (fun i => rfl) |
| 47 | · intro w h |
| 48 | exact ⟨.of_finite, by simp [tsum_fintype]⟩ |
| 49 | · intro a ha ih w h |
| 50 | have hi := ih (fun i j => w (some i) j) (fun i => h (some i)) |
| 51 | let d : ((Option a) → ι) ≃ (ι × (a → ι)) := Equiv.piOptionEquivProd |
| 52 | intro p |
| 53 | let f (z : a → ι) := ∏ i, w (some i) (z i) |
| 54 | change Summable (fun z => ‖f z‖) ∧ (∑' z, f z) = _ at hi |
| 55 | have hh (z : ι × (a → ι)) : p (d.symm z) = w none z.1 * f z.2 := by |
| 56 | unfold p f; rw [Fintype.prod_option]; rfl |
| 57 | constructor |
| 58 | · rw [← d.symm.summable_iff]; change Summable (fun z => ‖p (d.symm z)‖); simp_rw [hh] |
| 59 | exact abs_mul_pair (h none) hi.1 |
| 60 | rw [← d.symm.tsum_eq _, Fintype.prod_option] |
| 61 | simp_rw [hh]; rw [← tsum_mul_tsum_of_summable_norm (h none) hi.1,hi.2] |
| 62 | |
| 63 | /-- Finitely many independent address counters (Fintype over KEYS; values |
| 64 | can be infinite). -/ |
| 65 | theorem pi_series (α : Type u) [hF : Fintype α] (w : α → ι → ℝ) (h : ∀ i, Summable fun j => ‖w i j‖) : |
| 66 | let p z := ∏ i : α, w i (z i) |
| 67 | Summable (fun z : α → ι => ‖p z‖) ∧ (∑' z : α → ι, p z) = ∏ i : α, ∑' j, w i j := pi_claim α w h |
| 68 | |
| 69 | lemma mayer_abs (x : ℝ) : |Real.exp x-1| ≤ |x| *Real.exp |x| := by |
| 70 | have ht : 0 ≤ |x| *Real.exp |x| := by positivity |
| 71 | by_cases h : 0 ≤ x |
| 72 | · rw [abs_of_nonneg (sub_nonneg.mpr (Real.one_le_exp h)),abs_of_nonneg h] |
| 73 | have he := Real.add_one_le_exp (-x) |
| 74 | rw [Real.exp_neg, ← one_div, le_div_iff₀ (Real.exp_pos _)] at he |
| 75 | linarith |
| 76 | rw [abs_of_nonpos (sub_nonpos.mpr (by |
| 77 | rw [show (1:ℝ)=Real.exp 0 from Real.exp_zero.symm]; exact Real.exp_monotone (le_of_not_ge h)))] |
| 78 | have he := Real.add_one_le_exp x |
| 79 | have hh : |x| ≤ |x| * Real.exp |x| := le_mul_of_one_le_right (abs_nonneg _) (Real.one_le_exp (abs_nonneg _)) |
| 80 | linarith [neg_le_abs x] |
| 81 | |
| 82 | theorem mayer_summable (w : ι → ℝ) (h : Summable fun i => ‖w i‖) : |
| 83 | Summable fun i => ‖Real.exp (w i)-1‖ := by |
| 84 | let C := ∑' i, ‖w i‖ |
| 85 | have he i : ‖w i‖ ≤ C := by |
| 86 | exact h.le_tsum i (fun i _ => norm_nonneg _) |
| 87 | apply (h.mul_right (Real.exp C)).of_nonneg_of_le (fun _ => norm_nonneg _) |
| 88 | intro i; exact (mayer_abs (w i)).trans (mul_le_mul_of_nonneg_left (Real.exp_monotone (he i)) (abs_nonneg _)) |
| 89 | |
| 90 | /-- The Mayer product formula, incl $∅$. -/ |
| 91 | theorem mayer (w : ι → ℝ) (h : Summable fun i => ‖w i‖) : |
| 92 | let f i := Real.exp (w i)-1 |
| 93 | Summable (fun s : Finset ι => ‖∏ i∈s,f i‖) ∧ |
| 94 | Real.exp (∑' i,w i) = ∑' s : Finset ι,∏ i∈s,f i := by |
| 95 | intro f; have he : Summable (fun i => ‖f i‖) := mayer_summable w h |
| 96 | have hf : Summable (fun s : Finset ι => ‖∏ i∈s,f i‖) := by |
| 97 | simpa only [norm_prod] using summable_finsetProd_of_summable_nonneg (fun i => norm_nonneg (f i)) he |
| 98 | refine ⟨hf,?_⟩ |
| 99 | rw [← tprod_one_add hf.of_norm] |
| 100 | have hh : (fun i => Real.log (1+f i)) = w := by ext; simp [f] |
| 101 | have hg i : 0 < 1+f i := by simpa [f,add_sub_cancel_left] using Real.exp_pos (w i) |
| 102 | rw [← Real.rexp_tsum_eq_tprod hg (hh.symm ▸ h.of_norm)]; change Real.exp _ = Real.exp (tsum (fun _ => _)); rw [hh] |
| 103 | |
| 104 | private lemma powers (x : ℝ) : HasSum (fun n : ℕ => x^(n+1) / (n+1).factorial) (Real.exp x - 1) := by |
| 105 | have ht : HasSum (fun n : ℕ => x^n / n.factorial) (Real.exp x) := by |
| 106 | rw [Real.exp_eq_exp_ℝ]; exact NormedSpace.expSeries_div_hasSum_exp x |
| 107 | simpa using (hasSum_nat_add_iff' 1).mpr ht |
| 108 | |
| 109 | private lemma powers_norm (x : ℝ) : Summable fun n : ℕ => ‖x^(n+1) / (n+1).factorial‖ := by |
| 110 | simpa [Real.norm_eq_abs] using (powers |x|).summable |
| 111 | |
| 112 | private lemma fibre (w : ι → ℝ) (s : Finset ι) : |
| 113 | Summable (fun p : ↥s → ℕ => ‖manyW w ⟨s,p⟩‖) ∧ |
| 114 | (∑' p, manyW w ⟨s,p⟩) = ∏ i∈s,(Real.exp (w i)-1) := by |
| 115 | obtain ⟨hl,hg⟩ := pi_series (↥s) (fun i (n : ℕ) => w i.val^(n+1)/(n+1).factorial) (fun i => powers_norm _) |
| 116 | rw [Finset.prod_subtype s (p:=(·∈s)) (fun _ => Iff.rfl)] |
| 117 | refine ⟨hl,hg.trans (prod_congr rfl fun i _ => ?_)⟩ |
| 118 | exact (powers _).tsum_eq |
| 119 | |
| 120 | lemma manyW_norm (w : ι → ℝ) (r : Reps ι) : ‖manyW w r‖ = manyW (fun i => ‖w i‖) r := by |
| 121 | simp [manyW,Real.norm_eq_abs] |
| 122 | |
| 123 | /-- Multiset-form exponential. No price threshold required for this |
| 124 | reordering. -/ |
| 125 | theorem exponential (w : ι → ℝ) (h : Summable fun i => ‖w i‖) : |
| 126 | Summable (fun r : Reps ι => ‖manyW w r‖) ∧ |
| 127 | Real.exp (∑' i,w i) = ∑' r : Reps ι, manyW w r := by |
| 128 | let g (i : ι) := ‖w i‖ |
| 129 | have hf i : ‖g i‖ = g i := Real.norm_of_nonneg (norm_nonneg _) |
| 130 | have hi i : 0 ≤ Real.exp (g i) - 1 := sub_nonneg.mpr (Real.one_le_exp (norm_nonneg _)) |
| 131 | have he : Summable (fun r : Reps ι => ‖manyW w r‖) := by |
| 132 | apply (summable_sigma_of_nonneg (f:=fun r : Reps ι => ‖manyW w r‖) (fun _ => norm_nonneg _)).mpr |
| 133 | constructor |
| 134 | · intro i; exact (fibre w i).1 |
| 135 | simp_rw [manyW_norm, fun i => (fibre (fun i => ‖w i‖) i).2] |
| 136 | change Summable (fun s : Finset ι => ∏ i∈s,(Real.exp (g i)-1)) |
| 137 | apply summable_finsetProd_of_summable_nonneg hi |
| 138 | exact (mayer_summable g (by simpa only [hf] using h)).of_norm |
| 139 | refine ⟨he,?_⟩; rw [he.of_norm.tsum_sigma,(mayer w h).2]; apply tsum_congr; intro s; exact (fibre w s).2.symm |
| 140 | end YM.Push.LogIdentity |