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.Aggregate |
| 2 | |
| 3 | /-! |
| 4 | Apply `AtomStep` to a column, rebased so its current x *is* a basis |
| 5 | vector. Summation costs & actual push identities on the column. No |
| 6 | assumption of coherent choices even *within* calculation of this column. |
| 7 | -/ |
| 8 | set_option autoImplicit false |
| 9 | noncomputable section |
| 10 | namespace YM.Extra.Histories |
| 11 | open Lattice Wilson RG Source Function Filter Set MeasureTheory Bid Labels Motion |
| 12 | open scoped Topology BigOperators Matrix.Norms.Frobenius ContDiff |
| 13 | |
| 14 | variable {G : Gauge} {d : ℕ} |
| 15 | variable {F : Labels.Frame G d} (B : SectionData F) (H : History G) (N p m : ℕ) (A : Hol G) |
| 16 | |
| 17 | namespace InputColumn |
| 18 | -- root sum on One ⊕ (regular ⊕ forced) |
| 19 | abbrev Listing : Type := Unit ⊕ (ℕ ⊕ ℕ) |
| 20 | |
| 21 | def consist {E : Type*} (x : E) (u v : ℕ → E) : Listing → E := Sum.elim (fun _ => x) (Sum.elim u v) |
| 22 | |
| 23 | lemma added {E : Type*} [AddCommMonoid E] [TopologicalSpace E] [ContinuousAdd E] {f : Listing → E} |
| 24 | {U V} (hp : HasSum (fun i => f (.inr (.inl i))) U) (hq : HasSum (fun i => f (.inr (.inr i))) V) : |
| 25 | HasSum f (f (Sum.inl ()) + (U+V)) := by |
| 26 | have h : HasSum (f ∘ Sum.inl) (f (Sum.inl ())) := by simpa using hasSum_fintype (f ∘ Sum.inl) |
| 27 | exact h.sum (HasSum.sum hp hq) |
| 28 | |
| 29 | lemma dominated {W : Type*} {f : Listing → W → ℂ} (ht : ∃ c : ℝ, ∀ i, ‖f (.inl ()) i‖ ≤ c) |
| 30 | (hp : Dominated fun i => f (.inr (.inl i))) (hq : Dominated fun i => f (.inr (.inr i))) : Dominated f := by |
| 31 | obtain ⟨c,hc⟩ := ht |
| 32 | obtain ⟨a,ha,hu⟩ := hp |
| 33 | obtain ⟨b,hb,hv⟩ := hq |
| 34 | refine ⟨consist c a b, (added (f:=consist c a b) ha.hasSum hb.hasSum).summable,?_⟩ |
| 35 | rintro (x | (y | z)) U |
| 36 | · exact hc _ |
| 37 | · exact hu .. |
| 38 | exact hv .. |
| 39 | |
| 40 | private lemma scalar_price {W : Type*} {u : W → ℂ} {f : ℕ → W → ℂ} (h : Dominated f) (hv : ∃ c : ℝ, ∀ x, ‖u x‖ ≤ c) : |
| 41 | Dominated fun i x => u x * f i x := by |
| 42 | obtain ⟨b,hb,hr⟩ := h |
| 43 | obtain ⟨c,hh⟩ := hv |
| 44 | refine ⟨_,hb.mul_left c,fun i x => ?_⟩ |
| 45 | rw [norm_mul] |
| 46 | exact mul_le_mul (hh x) (hr ..) (norm_nonneg _) ((norm_nonneg _).trans (hh x)) |
| 47 | |
| 48 | variable {T : Heading F} {C η t : ℝ} |
| 49 | |
| 50 | /-- The costs after merge. Cone on the input is not even needed yet. -/ |
| 51 | theorem individual (Q : Coefficient F (H.S.side (m+1) p)) (v : F.Coeff) (hr : H.Selected) (hM : m<N) |
| 52 | (hp : AtomStep B H N p m A T C η) (hd : 0 ≤ η) (hi : Q.x=v) |
| 53 | (h : Q.Format 0 A (H.rep N p (m+1))) |
| 54 | (hw : Q.remBound 0 (H.rep N p (m+1)) (Real.sqrt (H.levels.clock.forcedAllowance (m+1))) t) |
| 55 | (hPay : PaidAtom B H N p m A ((primary 0 v).density 0 B (H.rep N p (m+1))) |
| 56 | (T.leads (H.S.block m) v) (η*F.coeffSize (F.core v)) (C * F.coeffSize (vowel F (H.S.block m) (F.core v)))) : |
| 57 | let L := H.S.block m |
| 58 | PaidAtom B H N p m A (Q.density 0 B (H.rep N p (m+1))) (T.leads L v) |
| 59 | (η*(F.coeffSize (F.core v)+t)) (C*F.coeffSize (vowel F L (F.core v))+η*t) := by |
| 60 | intro L |
| 61 | let R := H.rep N p (m+1) |
| 62 | let y := Real.sqrt (H.levels.clock.forcedAllowance (m+1)) |
| 63 | let x := F.coeffSize (F.core v) |
| 64 | let D := F.coeffSize (vowel F L (F.core v)) |
| 65 | let f := consist ((primary 0 v).density 0 B R) (fun i => salary R (Q.support i) (Q.regular i)) (fun i => fare R i (Q.forced i)) |
| 66 | have hk := (hr.represents N p (m+1) hM).good |
| 67 | have h0 : 0 < y := Real.sqrt_pos.2 (forcedPos ..) |
| 68 | have he := Coefficient.envelope B hk (primary_rem v h0) (primary_format (o:=0) (H:=A) v) |
| 69 | have hE := Rep.envelope R hk |
| 70 | have hR := (Rep.exponentEnv R hk).exp |
| 71 | have hL := rem_dominated hw |
| 72 | have hu : Dominated f := by |
| 73 | refine dominated he.cost (scalar_price (Q.regular_series hw) ?_) (scalar_price (dress_abs hk hL) ?_) |
| 74 | · obtain ⟨c,hc⟩ := hE.cost; exact ⟨c, fun i => (Complex.norm_real _).trans_le (hc i)⟩ |
| 75 | obtain ⟨c,hc⟩ := hR.cost; exact ⟨c, fun i => (Complex.norm_real _).trans_le (hc i)⟩ |
| 76 | have hf (i : Listing) : Measurable (f i) := by |
| 77 | cases i with |
| 78 | | inl j => exact he.meas |
| 79 | | inr j => |
| 80 | cases j with |
| 81 | | inl i => exact (Complex.continuous_ofReal.measurable.comp hE.meas).mul (masked_measurable _ _ _ (h.smooth i).borel) |
| 82 | | inr i => exact (Complex.continuous_ofReal.measurable.comp hR.meas).mul ((h.borel i).mul (dressed_meas hk i)) |
| 83 | have hv : Q.density 0 B R = fun U => ∑' i, f i U := by |
| 84 | funext U |
| 85 | let a i := Q.maskedTerm R i U |
| 86 | let b i := Q.forced i U * dressed R i U |
| 87 | have hm : HasSum a (∑' i, a i) := ((Q.regular_series hw).summable U).hasSum |
| 88 | have hn : HasSum b (∑' i, b i) := ((dress_abs hk hL).summable U).hasSum |
| 89 | rw [(added (f:=fun i => f i U) (hm.mul_left (R.eval U:ℂ)) (hn.mul_left (Real.exp (R.exponent U):ℂ))).tsum_eq] |
| 90 | change _ = (primary 0 v).density 0 B R U + _ |
| 91 | rw [primary_density,Coefficient.density,dress_eq hk hL] |
| 92 | change (R.eval U:ℂ)*(part B 0 R U Q.x+∑' i,a i) + _ = _ |
| 93 | rw [show Q.x=v from hi]; unfold b; ring |
| 94 | obtain ⟨r,s,ha,hb,hS,-,⟨a,hA,hA'⟩,b,hB,hB'⟩ := hw |
| 95 | let u : Listing → F.Coeff := consist (T.leads L v) (fun _ => 0) (fun _ => 0) |
| 96 | let g i := R.p.mass (Q.support i) (a i) |
| 97 | let k i := (R.p.mass (R.activities.forced i).support (b i))/y |
| 98 | let V := consist (η*x) (fun i => η*g i) (fun i => η*k i) |
| 99 | let W := consist (C*D) (fun i => η*g i) (fun i => η*k i) |
| 100 | have ht (j : Listing) : PaidAtom B H N p m A (f j) (u j) (V j) (W j) := by |
| 101 | cases j with |
| 102 | | inl j => exact hPay |
| 103 | | inr j => |
| 104 | cases j with |
| 105 | | inl j => exact hp.regular _ _ _ ⟨h.smooth j,h.origin j,h.identity_null j,h.projects j⟩ (hA' j) |
| 106 | | inr j => |
| 107 | exact hp.forced _ _ _ ⟨h.invariant j,h.borel j,h.supported j,h.carried j,h.forcing j⟩ (hB' j).1 (hB' j).2 |
| 108 | have hi : HasSum u (T.leads L v) := by simpa [u,consist] using added (f:=u) hasSum_zero hasSum_zero |
| 109 | have hy : Summable fun i => F.coeffSize (u i) := Summable.sum _ (hasSum_fintype _).summable (by |
| 110 | apply Summable.sum; all_goals simp [u,consist,comp_def,Frame.coeffSize]) |
| 111 | have Hg : HasSum g (∑' i, g i) := hA.2.1.hasSum |
| 112 | have Hk : HasSum k (∑' i, k i) := (hB.2.1.div_const y).hasSum |
| 113 | let z := η * ∑' i, g i + η * ∑' i, k i |
| 114 | have hV : HasSum V (η*x + z) := added (f:=V) (Hg.mul_left η) (Hk.mul_left η) |
| 115 | have hW : HasSum W (C*D + z) := added (f:=W) (Hg.mul_left η) (Hk.mul_left η) |
| 116 | have hx : z ≤ η*t := by |
| 117 | refine le_trans ?_ (mul_le_mul_of_nonneg_left hS hd) |
| 118 | have hz : ∑' i, k i ≤ s := by |
| 119 | unfold k; rw [tsum_div_const] |
| 120 | exact (div_le_iff₀ h0).mpr (le_trans hB.2.2 (by dsimp [y]; rw [mul_comm])) |
| 121 | unfold z; rw [mul_add]; exact add_le_add (mul_le_mul_of_nonneg_left hA.2.2 hd) (mul_le_mul_of_nonneg_left hz hd) |
| 122 | have HH := atom_total B H N p m A hr hM.le ht hu hf hy hV.summable hW.summable |
| 123 | rw [← hv, hi.tsum_eq,hV.tsum_eq,hW.tsum_eq] at HH |
| 124 | apply atom_mono HH |
| 125 | · rw [mul_add]; exact add_le_add_right hx _ |
| 126 | exact add_le_add_right hx _ |
| 127 | |
| 128 | theorem main (Q : Coefficient F (H.S.side (m+1) p)) (i : F.Index) (hr : H.Selected) (hM : m<N) |
| 129 | (hp : AtomStep B H N p m A T C η) (hd : 0 ≤ η) (hi : Q.x=Size.axis F i) |
| 130 | (h : Q.Format 0 A (H.rep N p (m+1))) |
| 131 | (hw : Q.remBound 0 (H.rep N p (m+1)) (Real.sqrt (H.levels.clock.forcedAllowance (m+1))) t) : |
| 132 | let v := Size.axis F i |
| 133 | let L := H.S.block m |
| 134 | PaidAtom B H N p m A (Q.density 0 B (H.rep N p (m+1))) (T.leads L v) |
| 135 | (η*(F.coeffSize (F.core v)+t)) (C*F.coeffSize (vowel F L (F.core v))+η*t) := by |
| 136 | intro v L |
| 137 | apply individual B H N p m A Q v hr hM hp hd hi h hw |
| 138 | by_cases ht : i=0 |
| 139 | · subst i; exact paid_one B H N p m A T C η hr hM |
| 140 | exact hp.main i ht |
| 141 | |
| 142 | end InputColumn |
| 143 | end YM.Extra.Histories |