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.MULTISOURCE.Collateral |
| 2 | |
| 3 | /-! Actual coefficients against the fixed link measures are integrable. -/ |
| 4 | |
| 5 | set_option autoImplicit false |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace YM.Multi |
| 9 | open RG Wilson Lattice Marker Function MeasureTheory Filter |
| 10 | open scoped Topology Matrix.Norms.Frobenius BigOperators |
| 11 | variable {V : Type*} [DecidableEq V] {n : Side} {G : Gauge} |
| 12 | |
| 13 | lemma gathers_legible (P : Rep G n) (f : ℕ→Config G n→ℂ) |
| 14 | (h : ∀ i, Legible P.p (Pack.ofAddress P.activities i) (f i)) (q : Pack n) : |
| 15 | Legible P.p q (fun U => Pack.collect P (fun i => f i U) q) := by |
| 16 | unfold Pack.collect |
| 17 | constructor |
| 18 | · apply Measurable.tsum; intro i |
| 19 | split; exact (h i).borel; exact measurable_const |
| 20 | · intro i x; apply tsum_congr; intro j |
| 21 | split |
| 22 | · exact (h j).symmetry i x |
| 23 | rfl |
| 24 | · intro U V H H' |
| 25 | apply tsum_congr; intro i |
| 26 | split <;> rename_i he |
| 27 | · have hh := (h i).reads U V (by rw [he]; exact H) (by rw [he]; exact H') |
| 28 | exact hh |
| 29 | rfl |
| 30 | intro U H |
| 31 | by_contra he |
| 32 | apply H |
| 33 | refine (tsum_congr (g:=fun _ : ℕ => (0:ℂ)) ?_).trans tsum_zero; intro i |
| 34 | split <;> rename_i hu |
| 35 | · by_contra hk |
| 36 | apply he; rw [← hu]; exact (h i).inventory U hk |
| 37 | rfl |
| 38 | |
| 39 | lemma collects_bound (P : Rep G n) (k : ℕ → ℝ) (f : ℕ→ℂ) (hs : Summable k) (h : ∀ i,‖f i‖≤k i) (b : Pack n) : |
| 40 | ‖Pack.collect P f b‖ ≤ Pack.collect P k b := by |
| 41 | have he := Pack.access P k hs b |
| 42 | unfold Pack.collect |
| 43 | let r (i) := if Pack.ofAddress P.activities i=b then f i else 0 |
| 44 | have hf (i) : ‖r i‖ ≤ if Pack.ofAddress P.activities i=b then k i else 0 := by |
| 45 | unfold r; split; exact h i; exact (norm_zero).le |
| 46 | have hx := he.of_nonneg_of_le (fun i => norm_nonneg (r i)) hf |
| 47 | exact (norm_tsum_le_tsum_norm hx).trans (hx.tsum_le_tsum hf he) |
| 48 | |
| 49 | lemma incumbent_legible (P : Rep G n) (q : Pack n) (H : P.activities.ForcedFamily P.p) : |
| 50 | Legible P.p q (fun U => incumbent P U q) := by |
| 51 | refine gathers_legible P (fun i U => _) (fun i => ?_) q |
| 52 | exact ⟨Complex.continuous_ofReal.measurable.comp (H.meas i), |
| 53 | fun t U => congrArg Complex.ofReal (H.sym i t U), |
| 54 | fun U V hx hv => congrArg Complex.ofReal (H.reads i U V hx hv), |
| 55 | fun U he => (H.permit i U (fun h => he (h.symm ▸ Complex.ofReal_zero))).1⟩ |
| 56 | |
| 57 | lemma Credit.integrand {P : BudgetPoint} {q : Support n} {r κ B : ℝ} {D : Pulse G n} (h : Credit P r κ q D B) : |
| 58 | Envelope D.1 ∧ ∀ i, Envelope (D.2 i) := by |
| 59 | obtain ⟨hx,h,-,-,⟨i,F,hi,-,-,W,H,f,hf,Hf,hW⟩,g,_,hg⟩ := h |
| 60 | constructor |
| 61 | · obtain ⟨C,hC⟩ := (Banked.reserve hx h (fun j => (hf j).2.2.2) Hf).bound |
| 62 | rw [hi,(show F = _ from funext hW)] |
| 63 | exact ⟨measurable_const.add (Measurable.tsum fun j => masked_measurable _ _ _ (hf j).2.1.borel), ‖i‖+C, |
| 64 | fun x => (norm_add_le ..).trans (by simpa only [add_le_add_iff_left] using hC x)⟩ |
| 65 | intro i |
| 66 | exact ⟨(hg i).1.borel,_,(hg i).2.2.2⟩ |
| 67 | |
| 68 | namespace Leaf |
| 69 | variable {X : Type*} [MeasurableSpace X] {f g : X→ℂ} {R : Census V} {T B : X → Poly R} |
| 70 | lemma atom (a : ℂ) : Envelope (fun _ : X => a) := ⟨measurable_const, _, fun _ => le_rfl⟩ |
| 71 | lemma combine (h : Envelope f) (k : Envelope g) : Envelope fun x => f x+g x := by |
| 72 | obtain ⟨A,hA⟩ := h.cost; obtain ⟨B,hB⟩ := k.cost |
| 73 | exact ⟨h.meas.add k.meas,_, fun x => (norm_add_le ..).trans (add_le_add (hA _) (hB _))⟩ |
| 74 | lemma multiply (h : Envelope f) (k : Envelope g) : Envelope fun x => f x*g x := by |
| 75 | obtain ⟨A,hA⟩ := h.cost; obtain ⟨B,hB⟩ := k.cost |
| 76 | exact ⟨h.meas.mul k.meas, _, fun x => (norm_mul ..).trans_le (mul_le_mul (hA x) (hB x) |
| 77 | (norm_nonneg _) ((norm_nonneg _).trans (hA x)))⟩ |
| 78 | lemma amounts {I : Type*} (s : Finset I) (F : I→X→ℂ) (h : ∀ i, Envelope (F i)) : |
| 79 | Envelope fun x => ∑ i∈s,F i x := by |
| 80 | classical |
| 81 | induction s using Finset.induction with |
| 82 | | empty => simp only [Finset.sum_empty]; exact atom 0 |
| 83 | | insert i s ih hv => simp only [Finset.sum_insert ih]; exact combine (h i) hv |
| 84 | |
| 85 | def All (f : X → Poly R) := ∀ T, Envelope fun x => (f x).part T |
| 86 | lemma save (f : Poly R) : All (fun _ : X => f) := fun _ => atom _ |
| 87 | lemma insert_ (h : Envelope f) (q : R.Mode) : All fun x => Poly.send q (f x) := by |
| 88 | intro i; simp only [Poly.part_send] |
| 89 | split; exact h; exact atom _ |
| 90 | lemma add (h : All T) (k : All B) : All fun x => T x+B x := fun i => combine (h i) (k i) |
| 91 | lemma mul (h : All T) (k : All B) : All fun x => T x*B x := by |
| 92 | intro i; simp only [Poly.part_mul] |
| 93 | refine amounts _ _ fun j => amounts _ _ fun y => ?_ |
| 94 | split; exact multiply (h j) (k y); exact atom _ |
| 95 | lemma smul (h : Envelope f) (k : All T) : All fun x => f x • T x := fun i => multiply h (k i) |
| 96 | lemma sum {I : Type*} (s : Finset I) (F : I → X→Poly R) (h : ∀ i, All (F i)) : |
| 97 | All fun x => ∑ i∈s,F i x := fun j => by simp_rw [Poly.part_sum]; exact amounts s _ fun i => h i j |
| 98 | lemma prod {I : Type*} (s : Finset I) (F : I → X→Poly R) (h : ∀ i, All (F i)) : |
| 99 | All fun x => ∏ i∈s,F i x := by |
| 100 | classical |
| 101 | induction s using Finset.induction with |
| 102 | | empty => simp only [Finset.prod_empty]; exact save 1 |
| 103 | | insert i s hi ih => simp only [Finset.prod_insert hi]; exact mul (h i) ih |
| 104 | lemma pow (h : All T) (i : ℕ) : All fun x => T x^i := by |
| 105 | induction i with |
| 106 | | zero => simp only [pow_zero]; exact save 1 |
| 107 | | succ i ih => simp only [pow_succ]; exact mul ih h |
| 108 | lemma trigger (p : X → Prop) [DecidablePred p] (H : MeasurableSet {x | p x}) (h : All T) : |
| 109 | All fun x => if p x then T x else 0 := by |
| 110 | intro i |
| 111 | obtain ⟨hs,A,hA⟩ := h i |
| 112 | simp only [apply_ite Poly.part,ite_apply,Poly.part_nil] |
| 113 | refine ⟨hs.ite H measurable_const, max A 0, fun x => ?_⟩ |
| 114 | split; exact (hA _).trans (le_max_left ..); exact (norm_zero).le.trans (le_max_right ..) |
| 115 | end Leaf |
| 116 | |
| 117 | variable [Fintype V] |
| 118 | |
| 119 | lemma throughJet (P : Rep G n) {σ C Λ δ w : ℝ} (H : P.Lawful σ C Λ δ w) {R : Census V} |
| 120 | (f : Config G n → Poly R) (k : Pack n → Config G n → Poly R) (he : Leaf.All f) (hv : ∀ i, Leaf.All (k i)) : |
| 121 | Leaf.All fun x => composeAt P x (f x) (fun j => k j x) := by |
| 122 | classical |
| 123 | unfold composeAt; refine Leaf.smul ?_ (Leaf.mul ?_ ?_) |
| 124 | · obtain ⟨he,c,hc⟩ := (P.exponentEnv H).exp |
| 125 | exact ⟨Complex.continuous_ofReal.measurable.comp he,c, fun x => by |
| 126 | rw [Complex.norm_real]; exact hc x⟩ |
| 127 | · refine Leaf.sum _ _ (fun i => Leaf.smul (Leaf.atom _) (Leaf.pow he i)) |
| 128 | obtain ⟨p,hp,hP⟩ := Activities.K_total H.labels.boundK |
| 129 | simp_rw [Pack.clears, Finset.sum_filter] |
| 130 | refine Leaf.sum _ _ fun i => ?_ |
| 131 | apply Leaf.trigger |
| 132 | · simpa only [Pack.clears,Finset.mem_filter,Finset.mem_univ,true_and] |
| 133 | using Pack.neighborhood (G:=G) i P.p.threshold |
| 134 | refine Leaf.prod _ _ fun j => Leaf.add (Leaf.insert_ ?_ _) (hv _) |
| 135 | refine ⟨(incumbent_legible P j H.labels.forced).borel, _, fun x => collects_bound P p (fun i => (P.activities.K i x:ℂ)) hp (fun i => ?_) j⟩ |
| 136 | rw [Complex.norm_real]; exact (hP i).2 x |
| 137 | |
| 138 | lemma evaluate_int (P : Rep G n) {σ C Λ δ w : ℝ} (H : P.Lawful σ C Λ δ w) {R : Census V} (D : V → Pulse G n) |
| 139 | {r κ : ℝ} {X : V → Support n} {h : V → ℝ} (he : ∀ i, Credit P.p r κ (X i) (D i) (h i)) (T : R.Mode) : |
| 140 | Integrable (jet P R D T) (prior G n) := by |
| 141 | have hg : Leaf.All (polar P R D) := throughJet P H _ _ |
| 142 | (Leaf.sum _ _ fun i => Leaf.insert_ ((he i).integrand.1) _) fun i => |
| 143 | Leaf.sum _ _ fun j => Leaf.insert_ ((he j).integrand.2 _) _ |
| 144 | obtain ⟨hu,C,hC⟩ := hg T |
| 145 | exact Integrable.of_bound hu.aestronglyMeasurable C (Eventually.of_forall hC) |
| 146 | end YM.Multi |