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.MULTISOURCE_BOUNDS.Columns |
| 2 | import YM.Extra.MULTISOURCE_BOUNDS.Forest |
| 3 | import YM.Next.FOUNDATIONS.Primary |
| 4 | import YM.Work.B16 |
| 5 | import YM.Work.F05.Jacobian |
| 6 | |
| 7 | /-! |
| 8 | # Putting the singleton receipts into Overlay currency |
| 9 | |
| 10 | This implementation takes a precise common-address comparison. Each nonzero |
| 11 | singleton occurrence in the many-source density is matched at its physical |
| 12 | support to a *distinct* address of the corresponding translated origin |
| 13 | presentation (plus per marker canonical terms using disjoint sets of basis |
| 14 | components, e.g. a single precombined term). |
| 15 | Different markers' maps needn't be injective jointly. Active, alignment, |
| 16 | shipping, equality of the full signals are still separate. A variant using |
| 17 | only numerical single-source domination is also possible by `solo_bundle`. |
| 18 | -/ |
| 19 | |
| 20 | set_option autoImplicit false |
| 21 | noncomputable section |
| 22 | namespace YM.Extra.Multi |
| 23 | open Set Function Filter Lattice RG Wilson Overlay Source Marker Labels Finset |
| 24 | open scoped Topology BigOperators Matrix.Norms.Frobenius ContDiff Classical |
| 25 | |
| 26 | variable {G : Gauge} {C : Family G} {d m N p : ℕ} {V ι : Type*} [DecidableEq V] {R : Census V} |
| 27 | |
| 28 | abbrev PiecesAt (F : Labels.Frame G d) := ℕ → Finset F.Index |
| 29 | |
| 30 | def partialCore (F : Labels.Frame G d) (t : Finset F.Index) (x : F.Coeff) : F.Coeff := fun i => if i∈t then F.core x i else 0 |
| 31 | |
| 32 | def portion (C : Family G) (N p m : ℕ) (o : Site (C.side m p)) (v : C.label d) (t : Finset (C.labels.level d).Index) := |
| 33 | let F := C.labels.level d |
| 34 | (C.localSection d).places (F.scaled (point C m).threshold⁻¹ (partialCore F t (coord C N p m v).x)) o |
| 35 | |
| 36 | def Issued (A : Bands R (C.path.rep N p m)) (s : V) (v : C.label d) := ∃ (slots : PiecesAt (C.labels.level d)), |
| 37 | ∃ map : ℕ → ℕ ⊕ ℕ, |
| 38 | let used := {j | (A.rays j).val = {s} ∧ A.H j ≠ 0}; let y := A.origins s |
| 39 | let S := coord C N p m v |
| 40 | Pairwise (Function.onFun Disjoint slots) ∧ InjOn map used ∧ ∀ j ∈ used, match map j with |
| 41 | | .inl i => A.support j = (C.localSection d).footprint y ∧ A.H j = portion C N p m y v (slots i) |
| 42 | | .inr i => A.support j = Relocate.shift y (S.support i) ∧ A.H j = S.regular i ∘ translate y |
| 43 | |
| 44 | /-- Distinct-address comparison per singleton. The label lives at the very |
| 45 | same `Family` reference, and the term at a camp is compared to the positive |
| 46 | translate after any reflection/conjugation has been absorbed into that label |
| 47 | (up to the trajectory producer to get these presentations and actual full |
| 48 | signals). Zero entries can serve as padding at any valid addresses. -/ |
| 49 | structure Copied (A : Bands R (C.path.rep N p m)) (s : V) (v : C.label d) : Prop where |
| 50 | unit : A.units s = (coord C N p m v).x 0 |
| 51 | ex : Issued A s v |
| 52 | forced : ∃ map : ℕ × ℕ → ℕ, |
| 53 | let used := {j | (tags A j).val = {s} ∧ A.entries j.1 j.2 ≠ 0}; let S := coord C N p m v |
| 54 | InjOn map used ∧ ∀ j ∈ used, |
| 55 | Multi.forced (C.path.rep N p m) j = Relocate.shift (A.origins s) ((C.path.rep N p m).activities.forced (map j)).support ∧ |
| 56 | A.entries j.1 j.2 = S.forced (map j) ∘ translate (A.origins s) |
| 57 | |
| 58 | |
| 59 | |
| 60 | lemma pieces_sum (F : Labels.Frame G d) (slots : PiecesAt F) (h : Pairwise (Function.onFun Disjoint slots)) |
| 61 | (t : Finset ℕ) (x : F.Coeff) : ∑ i∈t,F.coeffSize (partialCore F (slots i) x) ≤ F.coeffSize x := by |
| 62 | refine le_trans ?_ (BasisCost.coeff_le x); unfold Labels.Frame.coeffSize partialCore; rw [sum_comm]; refine sum_le_sum fun i _ => ?_ |
| 63 | by_cases he : ∃ j∈t,i∈slots j |
| 64 | · obtain ⟨j,hj,hi⟩ := he |
| 65 | rw [sum_eq_single j,if_pos hi] |
| 66 | · intro b _ hb; rw [if_neg (Finset.disjoint_right.mp (h hb) hi),norm_zero] |
| 67 | exact fun hh => (hh hj).elim |
| 68 | push Not at he |
| 69 | exact (sum_eq_zero fun j hj => by simp [he j hj]).trans_le (norm_nonneg _) |
| 70 | |
| 71 | section Bundle |
| 72 | variable {n : Side} |
| 73 | |
| 74 | /-- Combine independent column majorants; no summing over the universe of |
| 75 | markers at a prescribed root. -/ |
| 76 | theorem solo_bundle {q : ι → R.Mode} {X : ι → Support n} {P : BudgetPoint} |
| 77 | {cap : V → ι → ℝ → Prop} {w c : V → ℝ} {K : ℝ} |
| 78 | (funds : ∀ v, ∃ f : ι → ℝ, (∀ i, (q i).val = {v} → 0 ≤ f i ∧ cap v i (f i)) ∧ |
| 79 | SumBudget (fun i => if (q i).val = {v} then P.mass (X i) (f i) else 0) (c v)) |
| 80 | (hw : ∀ v, 0≤w v) (hK : ∀ v, w v*c v ≤ K) : |
| 81 | ∃ f : ι → ℝ, (∀ i, 0 ≤ f i) ∧ (∀ i v, (q i).val = {v} → cap v i (f i)) ∧ Weighted q X P w 0 f K := by |
| 82 | choose f hf h using funds |
| 83 | let g i := if hi : ∃ v : V, (q i).val = {v} then f hi.choose i else 0 |
| 84 | have he i v (hi : (q i).val={v}) : g i = f v i := by |
| 85 | unfold g; split |
| 86 | next hh => |
| 87 | rw [show hh.choose = v from singleton_inj.mp (hh.choose_spec.symm.trans hi)] |
| 88 | next hh => exact (hh ⟨_,hi⟩).elim |
| 89 | have hg i : 0 ≤ g i := by |
| 90 | unfold g; split |
| 91 | next hh => exact (hf _ i hh.choose_spec).1 |
| 92 | exact le_rfl |
| 93 | refine ⟨g,hg,fun i v hi => by simpa only [he i v hi] using (hf v i hi).2,fun v => ?_⟩ |
| 94 | refine Budget.mono (Budget.scale (h v) (hw v)) (fun i => ?_) (fun i => ?_) (hK v) |
| 95 | · split |
| 96 | · exact mul_nonneg (Real.exp_pos _).le (mul_nonneg (prod_nonneg fun v _ => hw v : 0≤Poly.toll w _) (hg i)) |
| 97 | exact le_rfl |
| 98 | dsimp only; rw [add_zero]; split |
| 99 | next hh => |
| 100 | by_cases hx : (q i).val={v} |
| 101 | · simp [he i v hx, Poly.toll,hx, BudgetPoint.mass,mul_left_comm] |
| 102 | have hn : ¬ ∃ u : V, (q i).val={u} := by |
| 103 | rintro ⟨u,hu⟩; rw [hu] at hh; exact hx ((mem_singleton.mp hh).symm ▸ hu) |
| 104 | simp [g,hn,hx] |
| 105 | exact mul_nonneg (hw v) ((h v).1 i) |
| 106 | |
| 107 | end Bundle |
| 108 | |
| 109 | section Copy |
| 110 | variable (H : C.Makes) {A : Bands R (C.path.rep N p m)} {s : V} {v : C.label d} (h : Copied A s v) |
| 111 | (hm : C.ref d ≤ m) (hN : m ≤ N) |
| 112 | |
| 113 | abbrev allowance (C : Family G) (N p m) (v : C.label d) := col C m * (C.labels.level d).coeffSize (coord C N p m v).x |
| 114 | |
| 115 | include H hm hN in |
| 116 | lemma rem_of_coord : (coord C N p m v).remBound 0 (C.path.rep N p m) (divisor C m) (allowance C N p m v) := by |
| 117 | obtain ⟨a,b,ha,hb,he,hκ,hh,hg⟩ := (H.calibrated d N p (hm.trans hN)).cap m hm hN ((C.factory d N p).terminal.symm v) |
| 118 | exact ⟨a,b,ha,hb,he.trans (mul_le_mul_of_nonneg_left (BasisCost.coeff_le _) (zero_le_one.trans (col_ge ..))),hκ,hh,hg⟩ |
| 119 | |
| 120 | include H hm hN h |
| 121 | lemma Copied.ex_budget (hx : BasisCost.extent (C.localSection d) ≤ (point C m).B) : |
| 122 | let P := (C.path.rep N p m).p; let D := allowance C N p m v |
| 123 | ∃ f : ℕ → ℝ, (∀ i, (A.rays i).val = {s} → 0 ≤ f i ∧ P.supBounds (A.origins s) (A.support i) (A.H i) (f i)) ∧ |
| 124 | SumBudget (fun i => if (A.rays i).val = {s} then P.mass (A.support i) (f i) else 0) |
| 125 | ((1 + Real.exp P.supportExponent)*D) := by |
| 126 | intro P D |
| 127 | have hp : P = point C m := (H.wilson.represents _ p _ hN).vac |
| 128 | obtain ⟨a,b,ha,hb,hd,_,⟨e,he,he'⟩,_⟩ := rem_of_coord (v:=v) H hm hN |
| 129 | let S := coord C N p m v |
| 130 | let F := C.labels.level d |
| 131 | obtain ⟨slots,f,hf',hf,hr⟩ := h.ex |
| 132 | let y := A.origins s |
| 133 | let X := Sum.elim (fun _ : ℕ => (C.localSection d).footprint y) S.support |
| 134 | let part i := partialCore F (slots i) S.x |
| 135 | let k := Sum.elim (fun i => col C m * F.coeffSize (part i)) e |
| 136 | have hcol := zero_le_one.trans (col_ge C m) |
| 137 | have hD : 0≤D := (add_nonneg ha hb).trans hd |
| 138 | have hk : SumBudget (fun i => P.mass (X i) (k i)) ((1+Real.exp P.supportExponent)*D) := by |
| 139 | refine Budget.certify (fun i => ?_) fun t => ?_ |
| 140 | · cases i |
| 141 | next => exact mul_nonneg (Real.exp_pos _).le (mul_nonneg hcol (BasisCost.coeff_nonneg _)) |
| 142 | next i => exact he.1 i |
| 143 | rw [← toLeft_disjSum_toRight (u:=t),sum_disjSum] |
| 144 | have h1 : ∑ x∈t.toLeft,P.mass (X (.inl x)) (k (.inl x)) ≤ Real.exp P.supportExponent * D := by |
| 145 | dsimp only [X,k,BudgetPoint.mass,Sum.elim_inl]; rw [←mul_sum,←mul_sum] |
| 146 | gcongr |
| 147 | · exact mul_nonneg hcol (sum_nonneg fun _ _ => BasisCost.coeff_nonneg _) |
| 148 | · apply mul_le_of_le_one_right P.exponent_pos.le |
| 149 | rw [hp]; exact_mod_cast BasisCost.small_footprint (C.localSection d) y hx |
| 150 | · change col C m*_ ≤ D |
| 151 | exact mul_le_mul_of_nonneg_left (pieces_sum F slots hf' t.toLeft S.x) hcol |
| 152 | exact (add_le_add h1 (Budget.cap he t.toRight)).trans (by linarith only [hb,hd]) |
| 153 | let g i := if (A.rays i).val = {s} ∧ A.H i ≠ 0 then k (f i) else (0:ℝ) |
| 154 | have he i (hi : (A.rays i).val = {s}) : P.supBounds y (A.support i) (A.H i) (g i) := by |
| 155 | unfold g; split <;> rename_i hh |
| 156 | · have hn := hr i hh |
| 157 | cases hv : f i with |
| 158 | | inl j => rw [hv] at hn; rw [hn.1,hn.2,hp]; exact (BasisCost.analytic _ (point C m) (part j) y (H.priced d m p hm y)).2 |
| 159 | | inr j => rw [hv] at hn; rw [hn.1,hn.2] |
| 160 | simpa only [P,k,y,Sum.elim_inr,zero_add] using Relocate.sup_translate (y:=y) (he' j) |
| 161 | rw [show A.H i=0 by tauto]; exact supBounds_zero .. |
| 162 | refine ⟨g, fun i hi => ⟨(he i hi).1,he i hi⟩, Budget.pull_le (q:=f) |
| 163 | (p:=fun i => (A.rays i).val = {s} ∧ A.H i ≠ 0) hk ?_ ?_ hf ?_⟩ |
| 164 | · intro i; split |
| 165 | next hh => exact mul_nonneg (Real.exp_pos _).le (he i hh).1 |
| 166 | exact le_rfl |
| 167 | · intro i ht; contrapose! ht; simp [g,BudgetPoint.mass]; tauto |
| 168 | intro i hh; simp only [if_pos hh.1,g,if_pos hh] |
| 169 | have hn := hr i hh |
| 170 | cases ht : f i with |
| 171 | | inl j => rw [ht] at hn; rw [hn.1]; rfl |
| 172 | | inr j => |
| 173 | rw [ht] at hn; rw [hn.1]; unfold BudgetPoint.mass |
| 174 | refine mul_le_mul_of_nonneg_right (Real.exp_monotone ?_) (he' j).1 |
| 175 | apply mul_le_mul_of_nonneg_left _ P.exponent_pos.le |
| 176 | exact_mod_cast Relocate.cover_shift .. |
| 177 | |
| 178 | lemma Copied.gas_budget : |
| 179 | let Q := C.path.rep N p m |
| 180 | ∃ f : ℕ × ℕ → ℝ, (∀ i, (tags A i).val = {s} → 0 ≤ f i ∧ ∀ U, ‖A.entries i.1 i.2 U‖ ≤ f i) ∧ |
| 181 | SumBudget (fun i => if (tags A i).val = {s} then Q.p.mass (Multi.forced Q i) (f i) else 0) |
| 182 | (divisor C m * allowance C N p m v) := by |
| 183 | intro Q |
| 184 | obtain ⟨a,b,ha,_,hd,hκ,_,⟨k,hk,he⟩⟩ := rem_of_coord (v:=v) H hm hN |
| 185 | obtain ⟨f,hf,hr⟩ := h.forced |
| 186 | let g i := if (tags A i).val = {s} ∧ A.entries i.1 i.2 ≠ 0 then k (f i) else 0 |
| 187 | have hg i : 0 ≤ g i := by unfold g; split; exact (he _).1; exact le_rfl |
| 188 | have hk' := Budget.mono hk hk.1 (fun _ => le_rfl) (mul_le_mul_of_nonneg_left |
| 189 | ((le_add_of_nonneg_left ha).trans hd) hκ.le) |
| 190 | refine ⟨g, fun i hi => ⟨hg i,?_⟩, Budget.pull_le (q:=f) |
| 191 | (p:=fun i => (tags A i).val = {s} ∧ A.entries i.1 i.2 ≠ 0) hk' ?_ ?_ hf ?_⟩ |
| 192 | · intro U; unfold g; split <;> rename_i hh |
| 193 | · rw [(hr i hh).2]; exact (he (f i)).2 _ |
| 194 | rw [show A.entries i.1 i.2=0 by tauto]; simp |
| 195 | · intro i; split |
| 196 | next => exact mul_nonneg (Real.exp_pos _).le (hg i) |
| 197 | exact le_rfl |
| 198 | · intro i ht; contrapose! ht; simp [g,BudgetPoint.mass]; tauto |
| 199 | intro i hh; simp only [if_pos hh.1,g,if_pos hh] |
| 200 | rw [(hr i hh).1]; unfold BudgetPoint.mass |
| 201 | apply mul_le_mul_of_nonneg_right (Real.exp_monotone ?_) (he (f i)).1 |
| 202 | apply mul_le_mul_of_nonneg_left _ Q.p.exponent_pos.le |
| 203 | exact_mod_cast Relocate.cover_shift .. |
| 204 | |
| 205 | end Copy |
| 206 | |
| 207 | abbrev strength (F : Frames G) (d : ℕ) := BasisCost.slots (F.level d)+8 |
| 208 | abbrev radius (C : Family G) (d : ℕ) (r : ℝ) (m : ℕ) := Mix.width C r (strength C.labels d) m |
| 209 | |
| 210 | /-- This does not require separation. Prices at the designed final-or-smaller |
| 211 | rates at each marker; fixed family of labels can use different widths. -/ |
| 212 | theorem copied_price {A : Bands R (C.path.rep N p m)} (H : C.Makes) {D : V → ℕ} {u : ∀ i, C.label (D i)} |
| 213 | (h : ∀ i, Copied A i (u i)) (hm : ∀ i, C.ref (D i) ≤ m) (hN : m ≤ N) |
| 214 | {w : V → ℝ} {c : V→ℝ} (hc : ∀ i, 0<c i) (hr : ∀ i,(C.labels.level (D i)).coeffSize (u i) ≤ c i) |
| 215 | (hw : ∀ i, 0 ≤ w i) (price : ∀ i, w i ≤ radius C (D i) (c i) m) |
| 216 | (room : ∀ i,BasisCost.extent (C.localSection (D i)) ≤ (point C m).B) |
| 217 | (gate : (1+Real.exp (point C m).supportExponent)*gHat C m ≤ 1) : |
| 218 | (∀ i, w i * ‖A.units i‖ ≤ 1) ∧ Spent single A w 0 (divisor C m) (gHat C m ^ 4) := by |
| 219 | let Q := C.path.rep N p m; let g := gHat C m |
| 220 | let k := fun i => strength C.labels (D i) |
| 221 | have hg : 0 ≤ g := (gHat_pos C m).le |
| 222 | have hp (i) : g^k i ≤ g^5 := pow_le_pow_of_le_one hg (gHat_le_one C m) (by unfold k strength; omega) |
| 223 | have he (i) : w i * allowance C N p m (u i) ≤ g^k i := |
| 224 | (mul_le_mul_of_nonneg_right (price i) (mul_nonneg (zero_le_one.trans (col_ge C m)) (BasisCost.coeff_nonneg _))).trans |
| 225 | (pays_coord C N p m (hc i) (k i) H (u i) (hr i) (hm i) hN) |
| 226 | constructor |
| 227 | · intro i; rw [(h i).unit]; exact (mul_le_mul_of_nonneg_left ((BasisCost.coord_le _ _).trans |
| 228 | (le_mul_of_one_le_left (BasisCost.coeff_nonneg _) (col_ge ..))) (hw _)).trans ((he i).trans |
| 229 | (pow_le_one₀ hg (gHat_le_one ..))) |
| 230 | obtain ⟨f,hf,hf',hbudget⟩ := solo_bundle (fun i => (h i).ex_budget H (hm i) hN (room i)) hw (K:=g^4) fun i => (by |
| 231 | let B := 1+Real.exp (point C m).supportExponent |
| 232 | rw [(H.wilson.represents N p m hN).vac, mul_left_comm] |
| 233 | apply (mul_le_mul_of_nonneg_left ((he i).trans (hp i)) (by unfold B; positivity : 0≤B)).trans |
| 234 | calc |
| 235 | B*g^5 = (B*g)*g^4 := by ring |
| 236 | _ ≤ _ := mul_le_of_le_one_left (pow_nonneg hg _) gate) |
| 237 | obtain ⟨F,hF,hF',hcost⟩ := solo_bundle (cap:=fun (_ : V) (i : ℕ×ℕ) b => ∀ U, ‖A.entries i.1 i.2 U‖ ≤ b) (fun i => (h i).gas_budget H (hm i) hN) hw (K:=divisor C m*g^4) fun i => (by |
| 238 | rw [mul_left_comm]; exact mul_le_mul_of_nonneg_left (((he i).trans (hp i)).trans |
| 239 | (pow_le_pow_of_le_one hg (gHat_le_one C m) (by decide))) (divisor_pos ..).le) |
| 240 | refine ⟨⟨f,hf,fun i hi j hj => ?_,hbudget⟩,⟨F,hF,fun i hi => ?_,hcost⟩⟩ |
| 241 | · obtain ⟨v,hv⟩ := Finset.card_eq_one.mp hi |
| 242 | rw [hv] at hj; obtain rfl := mem_singleton.mp hj; exact hf' _ _ hv |
| 243 | obtain ⟨v,hv⟩ := Finset.card_eq_one.mp hi |
| 244 | exact hF' _ v hv |
| 245 | |
| 246 | end YM.Extra.Multi |