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.Render |
| 2 | |
| 3 | |
| 4 | /-! |
| 5 | # Fixed source-history tangents, no probes inserted at other steps |
| 6 | -/ |
| 7 | |
| 8 | set_option autoImplicit false |
| 9 | noncomputable section |
| 10 | namespace YM.Multi |
| 11 | open RG Wilson Lattice Function Filter Finset Pack MeasureTheory Source Marker Labels |
| 12 | open scoped Topology Matrix.Norms.Frobenius BigOperators Classical |
| 13 | variable {G : Gauge} {n : Side} {P : Rep G n} |
| 14 | variable {d : ℕ} {F : Frame G d} |
| 15 | |
| 16 | namespace BranchOne |
| 17 | |
| 18 | variable (k : Coefficient F n) (C : SectionData F) (o : Site n) |
| 19 | |
| 20 | def center (P : Rep G n) : Pulse G n := (k.exponentialEntry o C P, fun p U => Pack.collect P (fun i => k.forced i U) p) |
| 21 | |
| 22 | private lemma as_pair (R : Census Unit) (x y : ℂ) (p : Poly R) : |
| 23 | p.part R.quiet=x → p.part (R.fire ())=y → p=Poly.send R.quiet x+ Poly.send (R.fire ()) y := by |
| 24 | intro hx hy; ext i |
| 25 | by_cases he : i=R.quiet |
| 26 | · subst i; rw [hx]; simp [Ne.symm (R.fire_hot ())] |
| 27 | have he : i = R.fire () := by |
| 28 | obtain ⟨a,ha⟩ := Finset.nonempty_iff_ne_empty.mpr (show i.val≠∅ from fun H => he (Subtype.ext H)) |
| 29 | cases a; apply Subtype.ext; change i.val = {()}; ext x; cases x; simp [ha] |
| 30 | subst i; rw [hy]; simp [R.fire_hot] |
| 31 | |
| 32 | lemma present {σ x Λ δ w a b : ℝ} (h : P.Lawful σ x Λ δ w) (he : k.remBound o P a b) : |
| 33 | tangent P (center k C o P)= k.density o C P := by |
| 34 | let R := Stock.census Unit |
| 35 | let q := sendC R.quiet |
| 36 | let j := sendC (R.fire ()) |
| 37 | funext U |
| 38 | let A i := (P.activities.K i U:ℂ) |
| 39 | let v i := k.forced i U |
| 40 | let a i := q (A i) + j (v i) |
| 41 | let W (i : Finset ℕ) : Poly R := if P.activities.admissible P.p U i then ∏ l∈i,a l else 0 |
| 42 | have hA : Summable A := by |
| 43 | refine Complex.summable_ofReal.mpr ?_ |
| 44 | obtain ⟨B,hS,hB⟩ := Activities.K_total h.labels.boundK |
| 45 | exact (hS.of_nonneg_of_le (fun i => norm_nonneg (P.activities.K i U)) (fun i => (hB i).2 U)).of_norm |
| 46 | have hv : Summable v := by |
| 47 | obtain ⟨x,y,-,-,-,-,-,f,hf,H⟩ := he |
| 48 | exact (hf.2.1.of_nonneg_of_le (fun i => norm_nonneg (v i)) fun i => ((H i).2 _).trans ( |
| 49 | P.p.loMass _ _ (H i).1)).of_norm |
| 50 | have hw : Summable a := ((hA.hasSum.map q q.continuous).add (hv.hasSum.map j j.continuous)).summable |
| 51 | have hQ (i) : W i=q (P.activities.gasOccurrence P.p i U) + j (k.marked P i U) := by |
| 52 | unfold Activities.gasOccurrence W Coefficient.marked |
| 53 | split_ifs with h |
| 54 | · apply as_pair; rw [quiet_of_prod,Complex.ofReal_prod]; unfold a |
| 55 | · refine Finset.prod_congr rfl fun i _ => ?_ |
| 56 | change (Poly.send _ _ + Poly.send _ _).part _ = A i |
| 57 | simp [Ne.symm (R.fire_hot ())] |
| 58 | rw [first_of_prod]; unfold a |
| 59 | change ∑ b∈ i,(Poly.send R.quiet (A b)+Poly.send (R.fire ()) (v b)).part _* |
| 60 | ∏ x∈i.erase b,(Poly.send R.quiet (A x)+Poly.send (R.fire ()) (v x)).part _=_ |
| 61 | simp only [Poly.part_plus, Poly.part_send, R.fire_hot, Ne.symm (R.fire_hot ()),↓reduceIte, zero_add,add_zero] |
| 62 | rfl |
| 63 | simp |
| 64 | have hW : Summable W := by |
| 65 | obtain H := Complex.summable_ofReal.mpr ((Activities.gasSeries h.labels).summable U) |
| 66 | have he := (Coefficient.marked_series h he).summable U |
| 67 | rw [show W=_ from funext hQ] |
| 68 | exact ((H.hasSum.map q q.continuous).add (he.hasSum.map j j.continuous)).summable |
| 69 | have hb (p) : Pack.collect P a p=q (incumbent P U p)+j ((center k C o P).2 p U) := by |
| 70 | unfold Pack.collect a |
| 71 | have ht := Pack.access P A hA p; have hz := Pack.access P v hv p |
| 72 | change _ = q (Pack.collect P A p) + j (Pack.collect P v p) |
| 73 | unfold Pack.collect |
| 74 | have hsum := ((ht.hasSum.map q q.continuous).add (hz.hasSum.map j j.continuous)).tsum_eq |
| 75 | refine Eq.trans (tsum_congr (g:=_ + _) ?_) hsum |
| 76 | intro i; simp only [Pi.add_apply, comp_apply]; split <;> simp |
| 77 | have ht := Pack.regroup P U a hw hW |
| 78 | have hx := congrArg (fun x : Poly R => x.part (R.fire ())) ht |
| 79 | change (∑' i,W i).part _=_ at hx |
| 80 | rw [Poly.share hW, Poly.part_sum] at hx |
| 81 | simp_rw [hb,first_of_prod,hQ] at hx |
| 82 | have hi (x y) : (q x+j y).part R.quiet=x := by change (Poly.send _ _ + Poly.send _ _).part _=_; simp [Ne.symm (R.fire_hot ())] |
| 83 | have ho (x y) : (q x+j y).part (R.fire ())=y := by change (Poly.send _ _ + Poly.send _ _).part _=_; simp [R.fire_hot] |
| 84 | simp_rw [hi,ho] at hx |
| 85 | unfold Coefficient.density; rw [hx]; rfl |
| 86 | |
| 87 | lemma costs {a b : ℝ} (L : Hol G) (h : k.Format o L P) (hh : k.remBound o P a b) |
| 88 | (r t : ℝ) (hu : ‖k.x 0‖ ≤ r) (hv : Banked P.p 0 {o} (masked P.p.threshold (C.footprint o) |
| 89 | (C.places (F.scaled (P.p.threshold)⁻¹ (F.core k.x)) o)) t) (ht : b+t ≤ r) (hp : b ≤ r) : |
| 90 | Credit P.p 0 a {o} (center k C o P) r := by |
| 91 | obtain ⟨x,y,hx,hy,hR,ha,⟨m,hm,Hm⟩, f,hf,H⟩ := hh |
| 92 | let g j := k.maskedTerm P j |
| 93 | let K := ofAddress P.activities |
| 94 | let A q := Pack.collect P f q |
| 95 | let Q U i := k.forced i U |
| 96 | have he (i) := h.origin i |
| 97 | refine ⟨singleton_nonempty _,le_rfl,ha, (norm_nonneg _).trans hu, |
| 98 | ⟨k.x 0,_ + (fun U => ∑' i, g i U), ?_,by simp,hu, Banked.enlarge (Banked.add hv (b:=x) ?_ (singleton_nonempty _) le_rfl) ?_⟩, A, ?_⟩ |
| 99 | · funext i; exact add_assoc _ _ _ |
| 100 | · refine ⟨k.support,k.regular,m,fun i => ⟨by simp [h.origin],h.smooth i,(Hm i).1,?_ |
| 101 | ⟩,?_,fun _ => rfl⟩ |
| 102 | · intro j hj; exact (mem_singleton.mp hj) ▸ Hm i |
| 103 | simp_rw [burn_zero]; exact hm |
| 104 | · linarith |
| 105 | have hs : Summable f := hf.2.1.of_nonneg_of_le (fun i => (H i).1) fun i => P.p.loMass _ _ (H i).1 |
| 106 | have hA q := Pack.access P f hs q |
| 107 | constructor |
| 108 | · let B i := burn P.p 0 (K i).zone |
| 109 | have he : (∑ i : Pack n, burn P.p 0 i.zone * A i) = ∑' i, B i * f i := by |
| 110 | unfold A Pack.collect; simp_rw [← tsum_mul_left]; rw [← Summable.tsum_finsetSum ?_] |
| 111 | · apply tsum_congr; intro i; rw [sum_eq_single (K i)] |
| 112 | · unfold B K; simp |
| 113 | · intro j _ hj; rw [if_neg (show ¬ _ from Ne.symm hj),mul_zero] |
| 114 | simp |
| 115 | intro i hi; exact (hA i).mul_left _ |
| 116 | rw [he]; unfold B; simp_rw [burn_zero]; exact hf.2.2.trans (by gcongr; linarith) |
| 117 | intro i |
| 118 | refine ⟨gathers_legible P k.forced (fun j => ⟨h.borel j,h.invariant j,h.supported j, |
| 119 | fun U hu => (h.forcing j U hu).1⟩) i,?_,tsum_nonneg (fun j => by split; exact (H _).1; exact le_rfl), fun U => |
| 120 | collects_bound P f _ hs (fun i => (H i).2 U) _⟩ |
| 121 | intro hH; rw [singleton_subset_iff]; by_contra hn |
| 122 | apply hH; funext U; change Pack.collect P (Q U) i=0 |
| 123 | unfold Pack.collect; refine (tsum_congr (g:=fun _ : ℕ => (0:ℂ)) ?_).trans tsum_zero |
| 124 | intro j; split_ifs with hz; swap; rfl |
| 125 | change k.forced j U=0 |
| 126 | by_contra hi; apply hn; rw [← hz]; exact h.carried j fun H => hi (by rw [H]; rfl) |
| 127 | end BranchOne |
| 128 | end YM.Multi |