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.Affordable |
| 2 | import YM.Work.I02 |
| 3 | |
| 4 | /-! |
| 5 | # Evaluate in the actual vacuum alphabet |
| 6 | -/ |
| 7 | |
| 8 | set_option autoImplicit false |
| 9 | noncomputable section |
| 10 | namespace YM.Multi |
| 11 | open RG Wilson Lattice Marker Function Finset Pack Overlay Mix |
| 12 | open scoped Topology Matrix.Norms.Frobenius Classical BigOperators |
| 13 | variable {V : Type} [Fintype V] [DecidableEq V] {R : Census V} |
| 14 | variable {n : Side} {G : Gauge} |
| 15 | variable {P : Rep G n} {o : V → Site n} {D : Hot R → Pulse G n} {k : Hot R → ℝ} {κ w : ℝ} |
| 16 | |
| 17 | omit [Fintype V] in |
| 18 | def sendC (x : R.Mode) : ℂ →L[ℂ] Poly R where |
| 19 | toFun := Poly.send x |
| 20 | map_add' := send_add x |
| 21 | map_smul' := send_scale x |
| 22 | cont := Bands.sends _ |
| 23 | |
| 24 | namespace Writers |
| 25 | variable (Y : Writers P κ D o k) |
| 26 | |
| 27 | lemma power (U : Config G n) (H : Summable fun i => Y.toBands.ray i U) : |
| 28 | Y.toBands.extra U=lit R (fun i => (D i).1 U) := by |
| 29 | unfold Bands.extra lit |
| 30 | let f ℓ := Y.toBands.ray ℓ U |
| 31 | let g (i : Hot R) j := masked P.p.threshold (Y.soil i j) (Y.crop i j) U |
| 32 | have h : Summable fun x => f (Y.code x) := Y.code.summable_iff.mpr (show Summable f from H) |
| 33 | have ht (i : Hot R) (ℓ : ℕ) : f (Y.code (i,ℓ)) = Poly.send i.val (g i ℓ) := by simp [f,Bands.ray,toBands,g] |
| 34 | have hg (i) : Summable (g i) := (Banked.reserve (i.property.image o) (le_refl 0) (fun j => |
| 35 | (Y.plots i j).2.2.2) (Y.finiteCost i)).summable U |
| 36 | have he (i) : (∑' j,f (Y.code (i,j)))=Poly.send i.val (∑' j, g i j) := by |
| 37 | simp_rw [ht]; exact ((sendC i.val).map_tsum (hg i)).symm |
| 38 | rw [← Y.code.tsum_eq f, h.tsum_prod, tsum_fintype] |
| 39 | simp_rw [he, Y.collects, send_add, Finset.sum_add_distrib] |
| 40 | refine congrArg (fun q => q+_) ?_ |
| 41 | let M := Finset.univ.image (Hot.one R) |
| 42 | rw [show (∑ i : V, Poly.send (R.fire i) (Y.toBands.units i)) = ∑ i∈ M, Poly.send i.val (Y.cash i) by |
| 43 | rw [Finset.sum_image (fun x _ y _ h => (Hot.one_inj ..).mp h)]; rfl] |
| 44 | refine Finset.sum_subset (Finset.subset_univ _) fun i _ hi => ?_ |
| 45 | have ht : 2 ≤ i.sites.card := by |
| 46 | by_contra h |
| 47 | have he : 0 < i.sites.card := card_pos.mpr i.property |
| 48 | obtain ⟨x,hx⟩ := Hot.one_of_card (x:=i) (show i.sites.card=1 by omega) |
| 49 | exact hi (mem_image.mpr ⟨x,mem_univ _,hx⟩) |
| 50 | rw [Y.singles i ht,Poly.send_zero] |
| 51 | |
| 52 | -- Only one selected slot for each pack is needed to recover all its rows together. |
| 53 | omit [Fintype V] in |
| 54 | lemma pressed (U : Config G n) (i : ℕ) : (∑' j,Y.toBands.tagged i j U)= |
| 55 | if Y.slot (ofAddress P.activities i)=i then lit R fun q => (D q).2 (ofAddress P.activities i) U else 0 := by |
| 56 | let f := fun j => Y.toBands.tagged i j U |
| 57 | by_cases h : Y.slot (ofAddress P.activities i)=i |
| 58 | · rw [if_pos h] |
| 59 | let r := fun j : Hot R => Y.code (j,0) |
| 60 | have hf (j : ℕ) (hj : j ∉ Finset.univ.image r) : f j=0 := by |
| 61 | have hz : (Y.code.symm j).2 ≠ 0 := by |
| 62 | intro he |
| 63 | apply hj; refine mem_image.mpr ⟨(Y.code.symm j).1,mem_univ _, ?_⟩ |
| 64 | unfold r; rw [← he]; exact Y.code.apply_symm_apply j |
| 65 | simp [f,Bands.tagged,toBands,hz] |
| 66 | rw [tsum_eq_sum hf, sum_image (fun i _ j _ h => (Prod.mk.inj (Y.code.injective h)).1)] |
| 67 | unfold lit; exact sum_congr rfl fun x _ => by simp [f,Bands.tagged,toBands,h] |
| 68 | simp [Bands.tagged,toBands,h] |
| 69 | |
| 70 | lemma food (U : Config G n) {δ r : ℝ} (hp : P.activities.Valid P.p δ r) |
| 71 | {s : V → ℝ} {u c d b : ℝ} (ht : Y.toBands.Radial s u c d b) : |
| 72 | Y.toBands.cluster U = ∑ l∈ Pack.clears (flags P.p.threshold U), ∏ q∈l, (Poly.send R.quiet (incumbent P U q)+ |
| 73 | lit R (fun T => (D T).2 q U)) := by |
| 74 | let A := Y.toBands |
| 75 | let f i := A.each i U |
| 76 | have hh := A.baseBound Y.active ht hp U |
| 77 | have hs : Summable f := (Poly.budgeted ht.pure (f:=f) hh.2.2.1 (fun i => le_rfl)).1 |
| 78 | unfold Bands.cluster; change (∑' l, A.packet l U) = _ |
| 79 | erw [Pack.regroup P U f hs (A.population Y.active ht hp U).1] |
| 80 | refine Finset.sum_congr rfl fun i hi => Finset.prod_congr rfl fun q _ => ?_ |
| 81 | let p (i : ℕ) := if ofAddress P.activities i = q then (P.activities.K i U:ℂ) else 0 |
| 82 | let E := lit R (fun T => (D T).2 q U) |
| 83 | have he j : (if ofAddress P.activities j=q then f j else 0) = |
| 84 | Poly.send R.quiet (p j) + if j = Y.slot q then E else 0 := by |
| 85 | unfold p |
| 86 | by_cases hj : ofAddress P.activities j=q |
| 87 | · simp only [hj, ↓reduceIte, f,A,Bands.each,Y.pressed, eq_comm (a:=Y.slot q)]; rfl |
| 88 | simp only [if_neg hj, Poly.send_zero, if_neg (show j ≠ Y.slot q from fun h => hj (h ▸ Y.valid _)),add_zero] |
| 89 | let T i := if i = Y.slot q then E else 0 |
| 90 | have hv : HasSum T E := by |
| 91 | have he := hasSum_single (f:=T) (Y.slot q) (fun j hj => if_neg hj) |
| 92 | simpa only [T, ↓reduceIte] using he |
| 93 | let k' i := P.activities.K i U |
| 94 | have hk : Summable k' := by |
| 95 | obtain ⟨b,hb,hB⟩ := Activities.K_total hp.boundK |
| 96 | exact (hb.of_nonneg_of_le (fun i => norm_nonneg (k' i)) fun i => (hB i).2 U).of_norm |
| 97 | have hx : HasSum p (incumbent P U q) := (Pack.access P _ (Complex.summable_ofReal.mpr hk) q).hasSum |
| 98 | unfold Pack.collect; simp_rw [he] |
| 99 | exact ((hx.map (sendC (R:=R) R.quiet) (sendC R.quiet).continuous).add hv).tsum_eq |
| 100 | end Writers |
| 101 | |
| 102 | lemma imprint [Nonempty V] (h : Room P) (H : Afield P.p κ o D k w) (hw : 0 < w) (hc : κ ≤ 1) (hs : Spaced o P.p.B) |
| 103 | (hB : 8 ≤ P.p.B) {δ r : ℝ} (hv : P.activities.Valid P.p δ r) : |
| 104 | ∃ A : Bands R P, A.origins=o ∧ Stubs.Holds A w ∧ A.density=many P R D := by |
| 105 | obtain ⟨Y⟩ := H.writers h (hs.injective P.p.B_pos) |
| 106 | have he := Y.honors H hw hc hs hB |
| 107 | have hf := Work.I02.answer Work.I01.answer G n V R P Y.toBands w hw he |
| 108 | refine ⟨Y.toBands,rfl,he,?_⟩ |
| 109 | funext U |
| 110 | unfold Bands.density |
| 111 | rw [Y.power _ (Y.toBands.bulkBound Y.active hf _).1,Y.food _ hv hf]; rfl |
| 112 | end YM.Multi |