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.Dressing |
| 2 | |
| 3 | /-! |
| 4 | # Countable labeled superposition |
| 5 | |
| 6 | To integrate a history one needs to sum actual paid coefficient families with |
| 7 | the same vacuum. Give genuinely countable operations: keep separate copies of |
| 8 | *regular* atoms, even zero ones; but when two *forced* operations pay the |
| 9 | same address (which may also be used by the vacuum!), add their coefficients, |
| 10 | keeping that address, hence its SAME exclusions/support/inventory. All |
| 11 | equalities are pointwise, including at the indicators. Absolute budget proven, |
| 12 | not `tsum` conditional rearrangement. |
| 13 | -/ |
| 14 | |
| 15 | set_option autoImplicit false |
| 16 | noncomputable section |
| 17 | namespace YM.Extra.Histories |
| 18 | open Function Filter MeasureTheory Set Lattice Wilson RG Source Labels |
| 19 | open scoped Topology BigOperators Matrix.Norms.Frobenius ContDiff |
| 20 | |
| 21 | variable {n : Side} {d : ℕ} {ι : Type*} {G : Gauge} {F : Labels.Frame G d} |
| 22 | variable {o : Site n} {R : Rep G n} {σ C Λ δ w : ℝ} |
| 23 | |
| 24 | variable (e : ℕ ≃ ι × ℕ) (P : ι → Coefficient F n) |
| 25 | |
| 26 | def merge : Coefficient F n where |
| 27 | x := ∑' i, (P i).x |
| 28 | regular k := (P (e k).1).regular (e k).2 |
| 29 | support k := (P (e k).1).support (e k).2 |
| 30 | forced k U := ∑' i, (P i).forced k U |
| 31 | |
| 32 | /-- Format proof, incl predicate reads under *fixed* vacuum. Algebraic; |
| 33 | also need price proof to ensure the tsum actually converges. -/ |
| 34 | theorem merge_format [Countable ι] {H : Hol G} (h : ∀ i, (P i).Format o H R) : |
| 35 | (merge e P).Format o H R where |
| 36 | origin k := (h _).origin (e k).2 |
| 37 | identity_null k := (h _).identity_null (e k).2 |
| 38 | projects k := (h _).projects (e k).2 |
| 39 | smooth k := (h _).smooth (e k).2 |
| 40 | forcing k U hU := by |
| 41 | contrapose! hU |
| 42 | have he (i) : (P i).forced k U = 0 := not_not.mp (fun w => hU ((h i).forcing k U w)) |
| 43 | simp [merge, he] |
| 44 | carried k hk := by |
| 45 | contrapose! hk |
| 46 | have he (i) : (P i).forced k = 0 := not_not.mp fun w => hk ((h i).carried k w) |
| 47 | funext U |
| 48 | simp [merge, he] |
| 49 | borel k := Measurable.tsum fun i => (h i).borel k |
| 50 | supported k U V hA hF := tsum_congr fun i => (h i).supported k U V hA hF |
| 51 | invariant k u U := tsum_congr fun i => (h i).invariant k u U |
| 52 | |
| 53 | /-- Charge exactly even when some labels wrap (or have zero coefficients), |
| 54 | in the actual grown `mass` (including its positive exponent and cover size). |
| 55 | No sharing of λ-orders implicit. -/ |
| 56 | theorem merge_budget {t : ι → ℝ} {v : ℝ} (hp : 0 < v) (h : ∀ i, (P i).remBound o R v (t i)) (ht : Summable t) : |
| 57 | (merge e P).remBound o R v (∑' i, t i) ∧ |
| 58 | Dominated (fun x : ι×ℕ => (P x.1).maskedTerm R x.2) ∧ Dominated (fun x : ι×ℕ => (P x.1).forced x.2) := by |
| 59 | classical |
| 60 | unfold Coefficient.remBound at h |
| 61 | choose a b ha hb hw hv hR' hK' using h |
| 62 | choose E hE hR using hR' |
| 63 | choose D hD hK using hK' |
| 64 | have h₁ : Summable a := .of_nonneg_of_le ha (fun i => le_trans (le_add_of_nonneg_right (hb i)) (hw i)) ht |
| 65 | have h₂ : Summable b := .of_nonneg_of_le hb (fun i => le_trans (le_add_of_nonneg_left (ha i)) (hw i)) ht |
| 66 | let xmass (x : ι × ℕ) := R.p.mass ((P x.1).support x.2) (E x.1 x.2) |
| 67 | let fmass (x : ι × ℕ) := R.p.mass (R.activities.forced x.2).support (D x.1 x.2) |
| 68 | have hx := budget_prod (f:=xmass) hE h₁ |
| 69 | have hf := budget_prod (f:=fmass) hD (h₂.mul_left v) |
| 70 | have hu (x : ι×ℕ) (U) : ‖(P x.1).forced x.2 U‖ ≤ D x.1 x.2 := (hK x.1 x.2).2 U |
| 71 | have hh (x : ι×ℕ) : D x.1 x.2 ≤ fmass x := R.p.loMass _ _ (hK x.1 x.2).1 |
| 72 | have hj (j : ℕ) : Summable fun i => D i j := .of_nonneg_of_le (fun i => (hK i j).1) |
| 73 | (fun i => hh (i,j)) (hf.2.1.prod_symm.prod_factor j) |
| 74 | refine ⟨?_,⟨xmass,hx.2.1,?_⟩,fmass,hf.2.1,fun i U => (hu i U).trans (hh _)⟩ |
| 75 | · refine ⟨∑' i, a i,∑' i, b i,tsum_nonneg ha,tsum_nonneg hb, ?_, hp,⟨fun k => E (e k).1 (e k).2, ?_, |
| 76 | fun k => hR (e k).1 (e k).2⟩, fun k => ∑' i, D i k, ?_, fun j => ⟨tsum_nonneg (fun i => (hK i j).1),?_⟩⟩ |
| 77 | · rw [← h₁.tsum_add h₂]; exact (h₁.add h₂).tsum_le_tsum hw ht |
| 78 | · change SumBudget (fun k => xmass (e k)) _ |
| 79 | exact ⟨fun k => hx.1 _, hx.2.1.comp_injective e.injective,(e.tsum_eq xmass).trans_le hx.2.2⟩ |
| 80 | · have hy (j : ℕ) : R.p.mass (R.activities.forced j).support (∑' i, D i j) = ∑' i, fmass (i,j) := by |
| 81 | unfold fmass BudgetPoint.mass; rw [← tsum_mul_left] |
| 82 | simp_rw [hy] |
| 83 | refine ⟨fun j => tsum_nonneg (fun i => hf.1 _), hf.2.1.prod_symm.prod,?_⟩ |
| 84 | calc |
| 85 | _ = ∑' i, ∑' j, fmass (i,j) := Summable.tsum_comm hf.2.1 |
| 86 | _ = ∑' x, fmass x := hf.2.1.tsum_prod.symm |
| 87 | _ ≤ _ := hf.2.2.trans_eq tsum_mul_left |
| 88 | intro U |
| 89 | have hs : Summable fun i => ‖(P i).forced j U‖ := .of_nonneg_of_le |
| 90 | (fun _ => norm_nonneg _) (fun i => hu (i,j) U) (hj j) |
| 91 | exact (norm_tsum_le_tsum_norm hs).trans (hs.tsum_le_tsum (fun i => hu (i,j) U) (hj j)) |
| 92 | intro i U |
| 93 | refine le_trans (b:=E i.1 i.2) ?_ (R.p.loMass _ _ (hR i.1 i.2).1) |
| 94 | dsimp only [Coefficient.maskedTerm] |
| 95 | by_cases hu : Healthy R.p.threshold ((P i.1).support i.2) U |
| 96 | · rw [masked_eq _ _ _ _ hu]; exact (hR ..).2 U hu [] (Nat.zero_le _) (by simp) |
| 97 | rw [masked_ne _ _ _ _ hu,norm_zero]; exact (hR i.1 i.2).1 |
| 98 | |
| 99 | /-- The linear primary *piece*, incl unit as a global coefficient. -/ |
| 100 | def part (S : SectionData F) (o : Site n) (R : Rep G n) (U : Config G n) : F.Coeff →ₗ[ℂ] ℂ where |
| 101 | toFun x := x 0 + masked R.p.threshold (S.footprint o) |
| 102 | (S.places (F.scaled R.p.threshold⁻¹ (F.core x)) o) U |
| 103 | map_add' x y := by |
| 104 | by_cases he : Healthy R.p.threshold (S.footprint o) U |
| 105 | · simp only [Pi.add_apply,masked_eq _ _ _ _ he, map_add, SectionData.places, S.eval_linear.map_add]; abel |
| 106 | simp [he] |
| 107 | map_smul' x y := by |
| 108 | by_cases he : Healthy R.p.threshold (S.footprint o) U |
| 109 | · simp only [Pi.smul_apply,masked_eq _ _ _ _ he,map_smul,SectionData.places,S.eval_linear.map_smul,smul_add,RingHom.id_apply] |
| 110 | simp [he] |
| 111 | |
| 112 | /-- Merge is pointwise linear at density level. Finite or countable. |
| 113 | Note needs REAL activities lawful with summability even to conclude here. -/ |
| 114 | theorem merge_density {t : ι → ℝ} {v : ℝ} (hp : 0 < v) (hr : R.Lawful σ C Λ δ w) |
| 115 | (h : ∀ i, (P i).remBound o R v (t i)) (ht : Summable t) (hx : Summable fun i => F.coeffSize (P i).x) |
| 116 | (B : SectionData F) (U) : |
| 117 | HasSum (fun i => (P i).density o B R U) ((merge e P).density o B R U) := by |
| 118 | obtain ⟨hh,hA,hK⟩ := merge_budget e P hp h ht |
| 119 | have he (i : Coefficient F n) : i.exponentialEntry o B R U = part B o R U i.x + ∑' j, i.maskedTerm R j U := rfl |
| 120 | have hs : HasSum (fun i => (P i).exponentialEntry o B R U) ((merge e P).exponentialEntry o B R U) := by |
| 121 | let f (x : ι × ℕ) := (P x.1).maskedTerm R x.2 U |
| 122 | have hj : Summable f := hA.summable U |
| 123 | simp_rw [he] |
| 124 | have hu : ∑' j, (merge e P).maskedTerm R j U = ∑' x, f x := e.tsum_eq f |
| 125 | rw [hu, hj.tsum_prod] |
| 126 | exact ((part B o R U).toContinuousLinearMap.hasSum (Size.series F hx).of_norm.hasSum).add hj.prod.hasSum |
| 127 | have hq : HasSum (fun i => ∑' j, (P i).marked R j U) (∑' j, (merge e P).marked R j U) := by |
| 128 | let f := fun x : ι×ℕ => (P x.1).forced x.2 U * dressed R x.2 U |
| 129 | have hl : Summable f := by |
| 130 | obtain ⟨c,-,-,hc⟩ := dressed_budget hr |
| 131 | obtain ⟨a,ha,hk⟩ := hK |
| 132 | apply Summable.of_norm_bounded (ha.mul_right c) |
| 133 | intro i; unfold f |
| 134 | rw [norm_mul]; exact mul_le_mul (hk i U) (hc ..) (norm_nonneg _) ((norm_nonneg _).trans (hk i U)) |
| 135 | have hj (i : ι) := dress_eq hr (rem_dominated (h i)) U |
| 136 | simp_rw [hj, dress_eq hr (rem_dominated hh) U] |
| 137 | change HasSum (fun i => ∑' j, f (i,j)) (∑' j, (∑' i,(P i).forced j U)*dressed R j U) |
| 138 | simp_rw [← tsum_mul_right] |
| 139 | rw [show ∑' j : ℕ, ∑' i, (P i).forced j U * dressed R j U = ∑' i, ∑' j : ℕ, f (i,j) from |
| 140 | Summable.tsum_comm hl] |
| 141 | exact hl.prod.hasSum |
| 142 | exact (hs.mul_left (R.eval U : ℂ)).add (hq.mul_left (Real.exp (R.exponent U) : ℂ)) |
| 143 | |
| 144 | /-- Regular address constructor for merges, independent of the coefficients. -/ |
| 145 | def code (ι : Type*) [Nonempty ι] [Countable ι] : ℕ ≃ ι × ℕ := by |
| 146 | letI : Encodable (ι × ℕ) := Encodable.ofCountable _ |
| 147 | letI : Denumerable (ι × ℕ) := Denumerable.ofEncodableOfInfinite _ |
| 148 | exact (Denumerable.eqv (ι × ℕ)).symm |
| 149 | |
| 150 | end YM.Extra.Histories |