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.PhysicalNext.ACTUAL_SECTOR_FACTOR_DICTIONARY.Order |
| 2 | |
| 3 | /-! Raw physical addresses, compatibility & query margins. We use a |
| 4 | K-placeholder telling packet & q eligibility/address suppression and, |
| 5 | optional on the same stencil, a qualifier address telling which |
| 6 | polynomial alternative at that K (absence ⇒ vacuum alternative). Its |
| 7 | support forces these two addresses into the SAME component. No division |
| 8 | by K (which may of course be zero while its marked alternative is nonzero). |
| 9 | |
| 10 | The finite marker interface just names the primitive amplitudes & |
| 11 | placements of the hypotheses on the *incoming density*. Instantiate from |
| 12 | Overlay bands (and sleep it entirely for unmarked). Origins invariant |
| 13 | before projection. This is a pointwise untruncated dictionary; pass to |
| 14 | surviving marker monomials only, allowing arbitrary monomial *value* |
| 15 | zeroing in the input for excluded ones (not altering vacuum letter |
| 16 | organization). Do NOT infer unmarked estimates for such marker terms. |
| 17 | -/ |
| 18 | set_option autoImplicit false |
| 19 | set_option linter.unusedVariables false |
| 20 | noncomputable section |
| 21 | namespace YM.PhysicalNext.Dictionary |
| 22 | open Function Filter Set Lattice RG Wilson Pressure Pressure.Tube Pressure.Stores Tree Precision Exterior MeasureTheory Matrix Bloch |
| 23 | open Next.Fluctuations Next.SectorChange Next.SectorChange.Rows Push.SectorMeasure Push.SectorMeasure.Oriented |
| 24 | open AnalyticBridge.Annulus.Map |
| 25 | open AnalyticBridge.RelativeLogdet |
| 26 | open AnalyticBridge.LocalGaussian Spot |
| 27 | open scoped Topology BigOperators Classical Matrix.Norms.Frobenius ContDiff InnerProductSpace |
| 28 | |
| 29 | namespace Shipment |
| 30 | open Wires Geo Notify Voice Voice.Check Parcel SectorNext.Reconnect SectorNext.Reconnect.Words |
| 31 | variable {G : Gauge} {c f : Side} {S : StepData c f} (D : AnalyticBridge.LocalGaussian.Desk G S) |
| 32 | variable (I : Type*) -- actual markers |
| 33 | |
| 34 | /-- All on one incoming dictionary incl zero histories. -/ |
| 35 | structure Art (I : Type*) (D : AnalyticBridge.LocalGaussian.Desk G S) where |
| 36 | origin : I → Site f |
| 37 | names : ℕ → Finset I -- bulk marker alternative with its support |
| 38 | plot : ℕ → Support f |
| 39 | sig : ℕ → ℕ → Finset I -- K slot & variant |
| 40 | units : I → ℂ |
| 41 | score : ℕ → Config G f → ℂ -- pre regular mask |
| 42 | essay : ℕ → ℕ → Config G f → ℂ -- K variant |
| 43 | |
| 44 | -- primitive input premises as in WM. A zero-address forced padding variant |
| 45 | -- is allowed to omit the corresponding anchors in the forced address content |
| 46 | -- (Overlay interface); in that case still include them in its raw auxiliary |
| 47 | -- support. K itself still uses forced.support NOT that enlargement. |
| 48 | structure Valid (Z : Art I D) : Prop where |
| 49 | located i x : x∈ Z.names i → Z.origin x∈Z.plot i |
| 50 | registered i : Z.names i = ∅ → Z.score i=0 |
| 51 | bulk i : D.input.p.Regular (Z.plot i) (Z.score i) |
| 52 | frank i j : Z.sig i j = ∅ → Z.essay i j=0 |
| 53 | orders i j x : Z.essay i j≠0 → x∈Z.sig i j → Z.origin x∈ (D.labels.forced i).support |
| 54 | forced i j : UsesFinal D.input.p.threshold (D.labels.forced i).support (Z.essay i j) |
| 55 | meas i j : Measurable (Z.essay i j) |
| 56 | invariant i j : GaugeInvariant (Z.essay i j) |
| 57 | heads i j U : Z.essay i j U ≠ 0 → (D.labels.forced i).eligible D.input.p.threshold U |
| 58 | |
| 59 | abbrev Bills (S : StepData c f) (I : Type) := Voice.Check.Test c f ⊕ ((ListID S × Bool) ⊕ ((I ⊕ ℕ × Bool) ⊕ ℕ × ℕ)) |
| 60 | abbrev Bill (S : StepData c f) (I : Type) := Fleet.Label c f (Bills S I) |
| 61 | abbrev Subject (S : StepData c f) (I : Type) := Voice.Check.Test c f ⊕ ListID S ⊕ ((I ⊕ ℕ) ⊕ ℕ) |
| 62 | |
| 63 | section names |
| 64 | variable {ι : Type} |
| 65 | abbrev pack (p : Fleet.Packet c f) : Bill S ι := Sum.inl p |
| 66 | abbrev known (a : ℕ) : Bill S ι := Sum.inr (.inl a) |
| 67 | abbrev suggest (i : Bills S ι) : Bill S ι := Sum.inr (.inr i) |
| 68 | abbrev supplement (i : Voice.Check.Test c f) : Bills S ι := Sum.inl i |
| 69 | abbrev accent (i : ListID S) (b : Bool) : Bills S ι := Sum.inr (.inl (i,b)) |
| 70 | abbrev singleton (i : ι) : Bills S ι := Sum.inr (.inr (.inl (.inl i))) |
| 71 | abbrev bead (i : ℕ) (b : Bool) : Bills S ι := Sum.inr (.inr (.inl (.inr (i,b)))) |
| 72 | abbrev qualify (i j : ℕ) : Bills S ι := Sum.inr (.inr (.inr (i,j))) |
| 73 | |
| 74 | def question : Bills S ι → Subject S ι |
| 75 | | .inl i=>Sum.inl i |
| 76 | | .inr (.inl i)=>Sum.inr (.inl i.1) |
| 77 | | .inr (.inr (.inl (.inl i)))=>Sum.inr (.inr (.inl (.inl i))) |
| 78 | | .inr (.inr (.inl (.inr i)))=>Sum.inr (.inr (.inl (.inr i.1))) |
| 79 | | .inr (.inr (.inr i))=>Sum.inr (.inr (.inr i.1)) -- K variant, binder by slot |
| 80 | |
| 81 | variable [DecidableEq ι] (Z : Art ι D) |
| 82 | |
| 83 | def burns : Bills S ι → Finset ι |
| 84 | | .inl _ | .inr (.inl _) => ∅ |
| 85 | | .inr (.inr (.inl (.inl i)))=> {i} |
| 86 | | .inr (.inr (.inl (.inr i)))=> Z.names i.1 |
| 87 | | .inr (.inr (.inr i))=> Z.sig i.1 i.2 |
| 88 | |
| 89 | def burst : Bill S ι → Finset ι := Sum.elim (fun _=>∅) (Sum.elim (fun _=>∅) (burns D Z)) |
| 90 | |
| 91 | def pole (i : ι) : Site c := S.ratio.parent (Z.origin i) |
| 92 | |
| 93 | def logSites (i : ListID S) := Voice.native D i ∪ ask D i |
| 94 | |
| 95 | def sourceSites (i : ℕ) : Support c := (inspected (Z.plot i)).image S.ratio.parent |
| 96 | -- for a zero dummy alternative, pad to nonempty sets with the origin at |
| 97 | -- the very end (not to declare reads). Also add any marker posts for the degenerate |
| 98 | -- forced variant; if nonzero they are included anyway by Valid & Halo. |
| 99 | def sights (i : Bills S ι) : Support c := match i with |
| 100 | | .inl i => post S i |
| 101 | | .inr (.inl i)=>logSites D i.1 |
| 102 | | .inr (.inr (.inl (.inl i))) => {pole D Z i} |
| 103 | | .inr (.inr (.inl (.inr i))) => sourceSites D Z i.1 ∪ (Z.names i.1).image (pole D Z) |
| 104 | | .inr (.inr (.inr i)) => custody D i.1 ∪ (Z.sig i.1 i.2).image (pole D Z) |
| 105 | |
| 106 | local notation "B" => radiusB D.betaHat |
| 107 | |
| 108 | def wind (i : Bill S ι) : Support c := match i with |
| 109 | | .inl i => region (Fleet.spans S (500*B)) i |
| 110 | | .inr (.inl i)=> floor D (custody D i) |
| 111 | | .inr (.inr i)=> floor D (sights D Z i) |
| 112 | |
| 113 | def insure (X : Support c) := if X.Nonempty then X else {0} |
| 114 | lemma certain (X : Support c) : X ⊆ insure X := by unfold insure; split; rfl; rename_i hh; simp [Finset.not_nonempty_iff_eq_empty.mp hh] |
| 115 | lemma lives (X : Support c) : (insure X).Nonempty := by unfold insure; split; assumption; simp |
| 116 | |
| 117 | def coat (i : Bill S ι) : Support c := insure <| match i with |
| 118 | | .inl i=>region (Fleet.spans S (hump B)) i |
| 119 | | .inr (.inl i)=>halo (700*B) (custody D i) |
| 120 | | .inr (.inr i)=>halo (700*B) (sights D Z i) |
| 121 | |
| 122 | -- Held patch demand: for packet's hard U through 300 (& logs used at |
| 123 | -- inner rows), we can even hold *all* the links through 400, charged |
| 124 | -- by the preserved broad doors (both endpoint checks). |
| 125 | def handling (i : Bill S ι) : Finset (Bond f) := match i with |
| 126 | | .inl P=> Finset.univ.filter fun e=>portOf S e∈region (Fleet.spans S (400*B)) P |
| 127 | | .inr (.inl i)=>zone D (custody D i) |
| 128 | | .inr (.inr i)=> match i with |
| 129 | | .inl j=> if bare j then zone D (post S j) else ∅ |
| 130 | | .inr (.inl j)=> if Voice.Defenses.curtain j.1 then zone D (Voice.native D j.1) else ∅ |
| 131 | | .inr (.inr (.inl (.inr j)))=>zone D (sourceSites D Z j.1) |
| 132 | | _=>∅ |
| 133 | end names |
| 134 | |
| 135 | section prices |
| 136 | variable {ι : Type} [DecidableEq ι] (Z : Art ι D) |
| 137 | local notation "B" => radiusB D.betaHat |
| 138 | |
| 139 | lemma coat_full (i : Bill S ι) : (coat D Z i).Nonempty := lives _ |
| 140 | |
| 141 | private lemma expand {a b m z : ℕ} {X : Support c} (he : m+a ≤ b) : halo (m*z) (halo (a*z) X) ⊆ insure (halo (b*z) X) := |
| 142 | Finset.Subset.trans (Geo.halo_over ..) (Finset.Subset.trans (Corona.halo_mono (by rw [← Nat.add_mul]; gcongr) (Finset.Subset.refl _)) |
| 143 | (certain ..)) |
| 144 | |
| 145 | lemma spread_packet (P : Fleet.Packet c f) {u v a : ℕ} (h : a+u ≤ v) : |
| 146 | halo a (region (Fleet.spans S u) P) ⊆ region (Fleet.spans S v) P := by |
| 147 | intro i hi |
| 148 | obtain ⟨t,ht,hr⟩:=halo_spec.mp hi |
| 149 | obtain ⟨j,hj,hU⟩:=Finset.mem_biUnion.mp ht |
| 150 | obtain ⟨w,hw,hy⟩:=halo_spec.mp hU |
| 151 | exact Finset.mem_biUnion.mpr ⟨j,hj,halo_spec.mpr ⟨w,hw,(separation_triangle w t i).trans (by omega)⟩⟩ |
| 152 | |
| 153 | lemma wind_sewn (i : Bill S ι) : halo (20*B) (wind D Z i) ⊆ coat D Z i := by |
| 154 | rcases i with i|i|i |
| 155 | · exact Finset.Subset.trans (spread_packet (S:=S) i (by change 20*_+500*_≤700*B; omega)) (certain _) |
| 156 | · exact expand (by omega : 20+15≤700) |
| 157 | exact expand (by omega : 20+15≤700) |
| 158 | |
| 159 | lemma sources_touched (i : Bills S ι) (t : ι) (ht : t∈burns D Z i) : pole D Z t ∈ sights D Z i := by |
| 160 | rcases i with i|i|(i|j)|j <;> simp only [burns,sights] at ht ⊢ <;> |
| 161 | first | exact (Finset.notMem_empty _ ht).elim | rw [Finset.mem_singleton.mp ht]; exact Finset.mem_singleton_self .. | |
| 162 | exact Finset.mem_union_right _ (Finset.mem_image_of_mem _ ht) |
| 163 | |
| 164 | lemma owner_reserve (i : Bill S ι) (t) (ht : t∈burst D Z i) : pole D Z t∈coat D Z i := by |
| 165 | rcases i with i|i|i |
| 166 | · exact False.elim (Finset.notMem_empty _ ht) |
| 167 | · exact False.elim (Finset.notMem_empty _ ht) |
| 168 | exact certain _ (halo_subset _ _ (sources_touched D Z i t ht)) |
| 169 | |
| 170 | end prices |
| 171 | end Shipment |
| 172 | end YM.PhysicalNext.Dictionary |