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.Further.THRESHOLD_SOURCE_RESTART.Blaze |
| 2 | import YM.Further.THRESHOLD_SOURCE_RESTART.Narrow |
| 3 | /-! |
| 4 | # Sums are exact kit balances by old choices |
| 5 | |
| 6 | The threshold-change data actually give the full account required for a |
| 7 | `Narrows`. Reindex all admissible covers using the old choices, even for old |
| 8 | zero-amplitude carriers: important, since `Narrows.award` may price these |
| 9 | carriers on a source-bearing payload. |
| 10 | -/ |
| 11 | set_option autoImplicit false |
| 12 | noncomputable section |
| 13 | namespace YM.Further.ThresholdSourceRestart.Sluice.Menu |
| 14 | open Function Set Filter MeasureTheory Wilson RG Lattice Marker Overlay |
| 15 | open Push.Corrected Work.H03 WilsonStartup Finset |
| 16 | open scoped Topology BigOperators Matrix.Norms.Frobenius Classical |
| 17 | variable {G : Gauge} {α : Type} {n : Side} {H : Rep G n} {q : BudgetPoint} (L : Menu H q α) |
| 18 | |
| 19 | def accounted (t : Finset ℕ) (U : Config G n) (B : Finset L.Record) := |
| 20 | if (L.alloted B).toLeft=t ∧ L.Mass B U then ∏ i ∈ B,L.solid i U else 0 |
| 21 | |
| 22 | private lemma berserk {e : α → ℝ} (h : Summable e) : |
| 23 | HasSum (fun B : Finset α => ∏ i∈B,(Real.exp (e i)-1)) (Real.exp (∑' i,e i)) := by |
| 24 | let f i := Real.exp (e i)-1 |
| 25 | let g (i : Finset α) := ∏ j∈i,f j |
| 26 | have he : Summable f := by |
| 27 | refine (h.norm.mul_left 2).of_norm_bounded_eventually ?_ |
| 28 | have he := h.norm.tendsto_cofinite_zero.eventually (ge_mem_nhds (show (0:ℝ)<1 by norm_num)) |
| 29 | exact he.mono fun i hi => Real.abs_exp_sub_one_le hi |
| 30 | have hP : Summable g := by |
| 31 | refine Summable.of_norm ?_; simp only [g,Real.norm_eq_abs,Finset.abs_prod] |
| 32 | exact summable_finsetProd_of_summable_nonneg (fun i => abs_nonneg (f i)) he.norm |
| 33 | have hp : Tendsto (Finset.powerset (α:=α)) atTop atTop := by |
| 34 | apply tendsto_atTop_atTop.mpr |
| 35 | intro B |
| 36 | exact ⟨B.biUnion id,fun a ha s hs => mem_powerset.mpr (fun x hx => ha (Finset.mem_biUnion.mpr ⟨s,hs,hx⟩))⟩ |
| 37 | apply hP.hasSum_iff.mpr |
| 38 | refine tendsto_nhds_unique (hP.hasSum.comp hp) ((Real.continuous_exp.continuousAt.tendsto.comp h.hasSum).congr fun s => ?_) |
| 39 | change Real.exp _ = ∑ i∈s.powerset,g i |
| 40 | unfold g; rw [Real.exp_sum,← Finset.prod_one_add]; exact Finset.prod_congr rfl fun i _ => by unfold f; ring |
| 41 | |
| 42 | private lemma all_has {t : Finset ℕ} {U} (h : H.activities.admissible H.p U t) (h' : ∀ i∈t,permits H i U) : |
| 43 | HasSum (L.accounted t U) (Real.exp (H.exponent U-(wished q H).exponent U)) := by |
| 44 | let X B := L.accounted t U B |
| 45 | let αi (B : Finset α) := Real.exp (∑ i∈listAll q U,L.flare.charge i U)*∏ i∈B,(Real.exp (L.more.leaf i U)-1) |
| 46 | let W := Function.support X |
| 47 | let f : W → Finset α := fun s => L.solicit (L.alloted s.val) |
| 48 | have hT (x : W) : (L.alloted x.val).toLeft=t ∧ L.Mass x.val U := by_contra fun h => x.property (show X x.val=0 from if_neg h) |
| 49 | have ht (x : W) i (hi : i∈x.val) : (L.sole i).eligible q.threshold U := by_contra fun e => x.property |
| 50 | (show X x.val=0 from (if_pos (hT _)).trans (Finset.prod_eq_zero hi (show L.solid i U=0 from if_neg e))) |
| 51 | let a (B : Finset α) := t.disjSum ((listAll q U).disjSum B) |
| 52 | have he (x : W) : L.alloted x.val=a (f x) := eq_disjSum_iff.mpr ⟨(hT x).1, eq_disjSum_iff.mpr |
| 53 | ⟨L.all_of_it (hT _).2 (fun i h => (ht _ _ h).2),rfl⟩⟩ |
| 54 | have hh (B : Finset L.Record) (p) (hf : L.Mass B U) (hi : ∀ i∈B,(L.sole i).eligible q.threshold U) |
| 55 | (hP : L.alloted B=a p) : X B=αi p := by |
| 56 | unfold X accounted |
| 57 | rw [if_pos ⟨(eq_disjSum_iff.mp hP).1,hf⟩] |
| 58 | calc |
| 59 | _ = ∏ i∈L.alloted B,L.glow i U := by |
| 60 | rw [alloted, prod_biUnion] |
| 61 | · exact Finset.prod_congr rfl fun i h => if_pos (hi i h) |
| 62 | intro i h j hh he; refine Finset.disjoint_left.mpr fun k hx ht => ?_ |
| 63 | obtain ⟨x,hp⟩ := L.zone_ne k |
| 64 | exact Finset.disjoint_left.mp (hf.1 h hh he) (mem_biUnion.mpr ⟨_,hx,hp⟩) (mem_biUnion.mpr ⟨_,ht,hp⟩) |
| 65 | _ = _ := by unfold αi; rw [hP,Real.exp_sum]; simp only [a,Finset.prod_disjSum,glow, Sum.elim_inl, prod_const_one,one_mul,Sum.elim_inr] |
| 66 | have hp (B) (h : L.Mass B U) : Ac.Parts L.zone (L.alloted B)= B.image Subtype.val := by |
| 67 | rw [show L.alloted B=(B.image Subtype.val).biUnion id by ext; simp [alloted]] |
| 68 | apply Ac.separates _ _ |
| 69 | · intro p hp; obtain ⟨i,-,rfl⟩ := mem_image.mp hp; exact i.property.1 |
| 70 | intro p hp j hj he; obtain ⟨i,hi,rfl⟩ := mem_image.mp hp; obtain ⟨b,hb,rfl⟩ := mem_image.mp hj |
| 71 | exact h.1 hi hb fun h => he (congr_arg Subtype.val h) |
| 72 | have hX : Injective f := by |
| 73 | intro s t H; refine Subtype.ext (Finset.image_injective (f:= (Subtype.val : L.Record → _)) Subtype.val_injective ?_) |
| 74 | rw [← hp s.val (hT s).2,←hp t.val (hT t).2,he s,H,← he t] |
| 75 | have hY : Function.support αi ⊆ Set.range f := by |
| 76 | intro p hp |
| 77 | obtain ⟨B,hb,hE,hV⟩ := L.takeoff h h' (A:=p) fun i he => fun e => hp (by |
| 78 | unfold αi; rw [Finset.prod_eq_zero he (show Real.exp (L.more.leaf i U)-1=0 from e),mul_zero]) |
| 79 | refine ⟨⟨B, fun z => hp ((hh B _ hb hE hV).symm.trans z)⟩,(eq_disjSum_iff.mp (eq_disjSum_iff.mp hV).2).2⟩ |
| 80 | have hx : HasSum αi (Real.exp (H.exponent U-(wished q H).exponent U)) := by |
| 81 | rw [L.cut U, Real.exp_add]; exact (berserk (L.absolute U)).mul_left _ |
| 82 | exact (hasSum_iff_hasSum_of_ne_zero_bij f hX hY (fun x => (hh x.val _ (hT _).2 (ht _) (he x)).symm)).mp hx |
| 83 | |
| 84 | variable [Countable α] |
| 85 | |
| 86 | def shelf (i : L.Record) := L.label.symm (Sum.inl i) |
| 87 | lemma scan : Injective L.shelf := L.label.symm.injective.comp Sum.inl_injective |
| 88 | |
| 89 | def face (i : ℕ) := L.party (L.label i) |
| 90 | def gain (i : ℕ) := L.busy (L.label i) |
| 91 | |
| 92 | private lemma pay (U) {B : Finset ℕ} (h : ∀ i∈B,L.gain i U ≠ 0) : B∈ Set.range (Finset.image L.shelf) := by |
| 93 | apply Pad.inclusive |
| 94 | intro i hi; have he := h i hi; cases ht : L.label i |
| 95 | next b => exact ⟨b,L.label.symm_apply_eq.mpr ht.symm⟩ |
| 96 | next b => exact (he (by rw [gain,ht]; rfl)).elim |
| 97 | lemma coins (i : L.Record) (U) : L.gain (L.shelf i) U=L.solid i U := by rw [gain,shelf,Equiv.apply_symm_apply]; rfl |
| 98 | lemma ram (B : Finset L.Record) : (B.image L.shelf).biUnion L.face=(L.alloted B).toLeft := by |
| 99 | ext x; rw [L.quota]; simp [face,shelf,party] |
| 100 | lemma living (B : Finset L.Record) (U) : L.printer.activities.admissible q U (B.image L.shelf) ↔ L.Mass B U := by |
| 101 | unfold Activities.admissible Mass |
| 102 | have he (i : L.Record) : L.printer.activities.forced (L.shelf i)=L.sole i := L.kept_entry i |
| 103 | rw [show (B.image L.shelf).biUnion (claims L.printer) =B.biUnion (fun i => L.inv i.val) by |
| 104 | ext x; simp only [claims,Finset.mem_biUnion, Finset.mem_image, exists_exists_and_eq_and,he,sole]] |
| 105 | apply and_congr_left; intro h; constructor |
| 106 | · intro H i hi j hj h |
| 107 | change Disjoint (L.sole i).support (L.sole j).support |
| 108 | rw [← he,←he]; exact H (mem_image_of_mem L.shelf hi) (mem_image_of_mem L.shelf hj) (L.scan.ne h) |
| 109 | intro h i hi j hj H; obtain ⟨x,hx,rfl⟩ := mem_image.mp hi; obtain ⟨y,hy,rfl⟩ := mem_image.mp hj |
| 110 | rw [he,he]; exact h hx hy fun e => H (congr_arg L.shelf e) |
| 111 | |
| 112 | /-- Narrows construction and physical density delivery output on this |
| 113 | level, before any normalization, on the same domain (even with compulsory |
| 114 | short-row stencils). -/ |
| 115 | def world {u v : ℝ} (h : H.activities.Valid H.p u v) : Sill.Narrows H L.printer where |
| 116 | lowers := L.shrinks |
| 117 | sites := L.face |
| 118 | contains i j he := by |
| 119 | unfold face at he; change _ ⊆ (L.stamp (L.label i)).support |
| 120 | cases H : L.label i <;> rw [H] at he |
| 121 | · exact L.halo_charge _ _ he |
| 122 | exact absurd he (Finset.notMem_empty _) |
| 123 | step := L.gain |
| 124 | registers i := by |
| 125 | unfold gain; change UsesFinal q.threshold (L.stamp (L.label i)).support _ |
| 126 | cases e : L.label i |
| 127 | next p => exact (L.real_solid h p).2.2 |
| 128 | next p => exact fun _ _ _ _ => rfl |
| 129 | measurable i := by unfold gain; cases L.label i; exact (L.real_solid h _).1; exact measurable_const |
| 130 | gauge i := by unfold gain; cases L.label i; exact (L.real_solid h _).2.1; exact fun _ _ => rfl |
| 131 | admitted i U hu := by |
| 132 | unfold gain at hu; change (L.stamp (L.label i)).eligible q.threshold U |
| 133 | cases he : L.label i <;> rw [he] at hu |
| 134 | next p => exact show (L.sole p).eligible q.threshold U from by_contra fun H => hu (if_neg H) |
| 135 | exact (hu rfl).elim |
| 136 | priced _ _ := rfl |
| 137 | sent s U he H := by |
| 138 | obtain ⟨p,rfl⟩ := pay L U H; rw [L.ram] |
| 139 | refine L.old_survives ((L.living p U).mp he) fun i hi => ?_ |
| 140 | have hx := H (L.shelf i) (mem_image_of_mem _ hi) |
| 141 | rw [coins] at hx |
| 142 | exact (show (L.sole i).eligible q.threshold U from by_contra fun e => hx (if_neg e)).2 |
| 143 | balance p U he hv := by |
| 144 | let f (s : Finset ℕ) := if s.biUnion L.face=p ∧ L.printer.activities.admissible q U s then ∏ i∈s,L.gain i U else 0 |
| 145 | change HasSum f _; rw [new_power] |
| 146 | have hX : Function.support f ⊆ Set.range (Finset.image L.shelf) := fun s hs => |
| 147 | L.pay U fun i hi h => hs (by unfold f; rw [Finset.prod_eq_zero hi h]; split <;> rfl) |
| 148 | apply ((Finset.image_injective L.scan).hasSum_iff (fun x hx => by_contra fun h => hx (hX h))).mp |
| 149 | refine (L.all_has he hv).congr_fun fun a => ?_ |
| 150 | unfold f accounted comp |
| 151 | dsimp only; rw [ram,living] |
| 152 | split |
| 153 | · rw [prod_image L.scan.injOn]; exact prod_congr rfl fun i _ => L.coins _ _ |
| 154 | rfl |
| 155 | end YM.Further.ThresholdSourceRestart.Sluice.Menu |