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.Gates |
| 2 | import YM.PhysicalNext.ACTUAL_SECTOR_FACTOR_DICTIONARY.Legends |
| 3 | import YM.SectorNext.RECONNECTED_LOCALITY.Fleet |
| 4 | |
| 5 | /-! |
| 6 | Use the same 200 for residuals and |
| 7 | 300 for default fine/noise/q tests, enlarge broad and frozen list and |
| 8 | whole support (chart protection of all hard stencils, doesn't ask annular energy |
| 9 | on all those rows). We also keep the actual likelihoods instead of proving |
| 10 | that they may be written identically one above H₁: they stay compulsory |
| 11 | through 300B and expand beyond (with protections before expansion). No claims of their quantitative bill here. |
| 12 | -/ |
| 13 | set_option autoImplicit false |
| 14 | noncomputable section |
| 15 | namespace YM.PhysicalNext.Dictionary.Parcel |
| 16 | open Function Filter Set Lattice RG Wilson Pressure Pressure.Tube Pressure.Stores Tree Precision Exterior MeasureTheory Matrix Bloch |
| 17 | open Next.Fluctuations Next.SectorChange Next.SectorChange.Rows Push.SectorMeasure Push.SectorMeasure.Oriented |
| 18 | open AnalyticBridge.Annulus.Map |
| 19 | open AnalyticBridge.RelativeLogdet |
| 20 | open AnalyticBridge.LocalGaussian Spot |
| 21 | open scoped Topology BigOperators Classical Matrix.Norms.Frobenius ContDiff InnerProductSpace |
| 22 | open Wires Geo Notify Voice Voice.Check SectorNext.Reconnect SectorNext.Reconnect.Words |
| 23 | variable {G : Gauge} {c f : Side} {S : StepData c f} (D : AnalyticBridge.LocalGaussian.Desk G S) |
| 24 | {F : Forest S.ratio} {A : Stores S} {k : S.Choices} |
| 25 | |
| 26 | def hump (B : ℕ) := 700 * B |
| 27 | |
| 28 | |
| 29 | |
| 30 | def borders (S : StepData c f) (e : Bond f) := post S (Test.screen e) |
| 31 | |
| 32 | lemma crossing (e : Bond f) (i : Site c) : i ∈ borders S e ↔ i∈Next.SectorChange.points S e := by |
| 33 | simp [borders,post,pinPos,Next.SectorChange.points]; try tauto |
| 34 | |
| 35 | -- `charge` scale separates address qualification from all possible |
| 36 | -- query footprints (origin-set assigned e.g. even when a q default is |
| 37 | -- numerically suppressed). |
| 38 | def address (S : StepData c f) : Voice.Check.Test c f → Support c |
| 39 | | .void i=>{S.ratio.parent i} |
| 40 | | i => post S i |
| 41 | |
| 42 | def fee : Voice.Check.Test c f → ℕ |
| 43 | | .screen _=>400 |
| 44 | | _=>300 |
| 45 | |
| 46 | lemma address_post (i : Voice.Check.Test c f) : location S i ∈ address S i := by |
| 47 | cases i <;> first | exact Finset.mem_singleton_self _ | exact at_post (S:=S) _ |
| 48 | |
| 49 | lemma address_le (i : Voice.Check.Test c f) : address S i ⊆ post S i := by |
| 50 | cases i <;> first | exact Finset.Subset.refl _ | exact Finset.singleton_subset_iff.mpr (at_post (S:=S) (Test.void _)) |
| 51 | |
| 52 | lemma test_range (i : Voice.Check.Test c f) (x y : Site c) (hx : x ∈ post S i) (hy : y ∈ post S i) : separation x y ≤ 18 := by |
| 53 | have he : ∀ x∈post S i, separation (location S i) x ≤ 9 := by |
| 54 | intro j hj |
| 55 | cases i with |
| 56 | | void i=> |
| 57 | obtain ⟨z,hz,rfl⟩ := Finset.mem_image.mp hj |
| 58 | obtain ⟨w,hh,hl⟩:= halo_spec.mp (Geo.inspected_radius {i} hz) |
| 59 | rw [Finset.mem_singleton.mp hh] at hl |
| 60 | have ht := Work.E04.parent_separation S.ratio i z |
| 61 | change separation (S.ratio.parent _) _ ≤ _; omega |
| 62 | | fine i=>exact (Physical.start_diam i (at_post (S:=S) (Test.fine i)) hj).trans (by omega) |
| 63 | | noise i=>exact (Physical.pin_diam i (at_post (S:=S) (Test.noise i)) hj).trans (by omega) |
| 64 | | predictor i=>exact (Physical.pin_diam i (at_post (S:=S) (Test.predictor i)) hj).trans (by omega) |
| 65 | | frame i=>rw [show j=i from Finset.mem_singleton.mp hj]; simp [location] |
| 66 | | screen i=>exact (meetings _ ((crossing ..).mp hj)).trans (by omega) |
| 67 | exact (separation_triangle _ (location S i) _).trans (Nat.add_le_add ((separation_comm ..).trans_le (he _ hx)) (he _ hy)) |
| 68 | |
| 69 | /-- finite override for potential paired base-log compulsory rows. |
| 70 | Unused indices have ∅ location. -/ |
| 71 | def ask (D : AnalyticBridge.LocalGaussian.Desk G S) : ListID S → Support c |
| 72 | | .row i => {i.1.act (hinge S i.2)} |
| 73 | | .glaze i | .deficit i => borders S i |
| 74 | | .folio n => decodePlace (fun z : Dots f=>z.elim (borders S) (fun _=>∅)) n |
| 75 | | .thin i => {spot S i} |
| 76 | | _=>∅ |
| 77 | |
| 78 | def askRate : ListID S → ℕ |
| 79 | | .row _ | .folio _ | .thin _=>200 |
| 80 | | _=>400 |
| 81 | |
| 82 | -- twinned location query still close with oriented endpoints. |
| 83 | lemma asked_range (i : ListID S) (x y : Site c) (hx : x∈ask D i) (hy : y∈ask D i) : separation x y ≤ 2 := by |
| 84 | have ht (i : Bond f) (h : x∈borders S i) (hh : y∈borders S i) := (separation_triangle x (portOf S i) y).trans |
| 85 | (Nat.add_le_add ((separation_comm ..).trans_le (meetings _ ((crossing ..).mp h))) (meetings _ ((crossing ..).mp hh))) |
| 86 | cases i with |
| 87 | | folio n=> |
| 88 | by_cases hr : n ∈ Set.range (barcode (Dots f)) |
| 89 | · obtain ⟨e|e,rfl⟩:=hr <;> simp only [ask,placed] at hx hy <;> first | exact ht _ hx hy | exact False.elim (Finset.notMem_empty _ hx) |
| 90 | simp only [ask,decodePlace] at hx |
| 91 | rw [Function.extend_apply' _ _ _ hr] at hx; exact False.elim (Finset.notMem_empty _ hx) |
| 92 | | _ => first | exact ht _ hx hy | exfalso; exact Finset.notMem_empty x hx | |
| 93 | rw [show x=y from (Finset.mem_singleton.mp hx).trans (Finset.mem_singleton.mp hy).symm]; simp |
| 94 | |
| 95 | -- computed on full typed A and F (F later for active membership). This |
| 96 | -- is *one* demand no matter how many seeds meeting this location. |
| 97 | def recorded (S : StepData c f) (P : Support c) (r : ℕ) (A : Stores S) : Prop := ¬Disjoint P (A.dome r) |
| 98 | |
| 99 | lemma records (S : StepData c f) (P : Support c) (r : ℕ) (A : Stores S) : recorded S P r A ↔ ∃ x∈P,∃ y∈A.place,separation y x ≤ r := by |
| 100 | simp [recorded,Stores.dome,Finset.not_disjoint_iff,halo_spec] |
| 101 | |
| 102 | def levied (S : StepData c f) (P : Support c) (r : ℕ) (u : Fleet.Packet c f) : Prop := ¬Disjoint P (region (Fleet.spans S r) u) |
| 103 | |
| 104 | lemma manifest_spot (x : Site c) (A : Stores S) : x∈A.place ↔ ∃ a∈Fleet.manifest A,x∈Fleet.whereAt S a := by |
| 105 | simp only [Stores.place, Finset.mem_union,Finset.mem_biUnion] |
| 106 | constructor |
| 107 | · rintro ((h|h)|h) |
| 108 | · obtain ⟨i,hi,hj⟩:=h; exact ⟨.inl i,(by simpa [Fleet.manifest]),hj⟩ |
| 109 | · obtain ⟨i,hi,hj⟩:=h; exact ⟨.inr (.inl i),(by simpa [Fleet.manifest]),hj⟩ |
| 110 | exact ⟨.inr (.inr x),(by simpa [Fleet.manifest]),Finset.mem_singleton_self _⟩ |
| 111 | rintro ⟨i|i|i,hi,hz⟩ <;> simp only [Fleet.manifest,Finset.inl_mem_disjSum,Finset.inr_mem_disjSum] at hi |
| 112 | · exact Or.inl (Or.inl ⟨_,hi,hz⟩) |
| 113 | · exact Or.inl (Or.inr ⟨_,hi,hz⟩) |
| 114 | exact Or.inr ((Finset.mem_singleton.mp hz).symm ▸ hi) |
| 115 | |
| 116 | lemma scanned (P : Support c) (r : ℕ) (u : Fleet.Packet c f) : levied S P r u ↔ recorded S P r (Fleet.scan u) := by |
| 117 | unfold levied; rw [Finset.not_disjoint_iff,records] |
| 118 | have he (i : Site c) : i∈region (Fleet.spans S r) u ↔ ∃ y∈(Fleet.scan (S:=S) u).place,separation y i ≤ r := by |
| 119 | simp only [region,Fleet.spans,Finset.mem_biUnion,halo_spec,manifest_spot,Fleet.record] |
| 120 | grind |
| 121 | simp_rw [he] |
| 122 | |
| 123 | lemma packets_levied (A : Stores S) (P : Support c) (g r : ℕ) : recorded S P r A ↔ ∃ p∈Fleet.packs S g (Fleet.manifest A),levied S P r p := by |
| 124 | let v:=Fleet.packs S g (Fleet.manifest A) |
| 125 | rw [← Fleet.scanned A,← scanned, Fleet.scanned] |
| 126 | have he := after_union (Fleet.spans S r) v |
| 127 | change region _ ((Fleet.packs ..).biUnion id)=_ at he |
| 128 | rw [Fleet.seeds] at he |
| 129 | simp only [levied,he,Finset.not_disjoint_iff,Finset.mem_biUnion]; grind |
| 130 | |
| 131 | lemma answer (i : ListID S) : askRate i ≤ 400 := by cases i <;> simp [askRate] |
| 132 | lemma fare (i : Voice.Check.Test c f) : fee i ≤ 400 := by cases i <;> simp [fee] |
| 133 | |
| 134 | /-- Space into the compulsory packet's own join halo. B-agreement |
| 135 | need not be retested when merging compulsory terms. We choose 700B |
| 136 | join charge (pay in cover exponents accordingly). -/ |
| 137 | lemma preside {P : Support c} {r b : ℕ} {u : Fleet.Packet c f} (hr : r ≤ 400) |
| 138 | (hb : 120≤b) (hz : ∀ x∈P,∀ y∈P, separation x y ≤ 200*b) (ht : levied S P (r*b) u) : |
| 139 | halo (100*b) P ⊆ region (Fleet.spans S (hump b)) u := by |
| 140 | obtain ⟨j,hj,hq⟩:=Finset.not_disjoint_iff.mp ht |
| 141 | obtain ⟨a,ha,hv⟩:=Finset.mem_biUnion.mp hq |
| 142 | obtain ⟨s,hs,hj'⟩:=halo_spec.mp hv |
| 143 | intro i hi |
| 144 | obtain ⟨l,hl,hi⟩:=halo_spec.mp hi |
| 145 | refine Finset.mem_biUnion.mpr ⟨a,ha,halo_spec.mpr ⟨s,hs, (separation_triangle s j i).trans ?_⟩⟩ |
| 146 | have ht := (separation_triangle j l i).trans ((Nat.add_le_add (hz j hj l hl) hi).trans (by change _≤200*b+100*b; omega)) |
| 147 | unfold hump; have hy := Nat.mul_le_mul_right b hr; omega |
| 148 | |
| 149 | lemma no_repeat {b r : ℕ} (hb : 120 ≤ b) (hr : r≤400) {P : Support c} (hz : ∀ x∈P,∀ y∈P,separation x y≤200*b) |
| 150 | {O : Finset (Fleet.Packet c f)} (hO : Apart (Fleet.spans S (hump b)) O) |
| 151 | {u v} (hu : u∈O) (hv : v∈O) (hi : levied S P (r*b) u) (hj : levied S P (r*b) v) : u=v := by |
| 152 | obtain ⟨x,hx,-⟩:= Finset.not_disjoint_iff.mp hi |
| 153 | have he (u : Fleet.Packet c f) (h : levied S P (r*b) u) := preside hr hb hz h (halo_subset _ _ hx) |
| 154 | by_contra hd |
| 155 | exact Finset.disjoint_left.mp (hO hu hv hd) (he _ hi) (he _ hj) |
| 156 | end YM.PhysicalNext.Dictionary.Parcel |