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.ITERATION_NO_LOSS.TermNorm |
| 2 | import YM.PhysicalNext.ACTUAL_SECTOR_FACTOR_DICTIONARY.Voice |
| 3 | import YM.Push.LOCAL_SPLITTING.Orientation |
| 4 | |
| 5 | |
| 6 | |
| 7 | /-! |
| 8 | Whole path addresses (actual Slot.stencil, not endpoint distance; this |
| 9 | convention overcounts possible mask reads for the long labels). The |
| 10 | `PathData.kept` definition looks at all plaquettes, but payment height |
| 11 | proves every failure is in B-ball, which suffices for extensional |
| 12 | locality of the positive and negative answer. A receipt `LaneCounts` |
| 13 | for this in Map.Aperture. Don't introduce a global-good-field premise. |
| 14 | -/ |
| 15 | set_option autoImplicit false |
| 16 | noncomputable section |
| 17 | namespace YM.PhysicalNext.Dictionary.Voice |
| 18 | open Function Filter Set Lattice RG Wilson Pressure Pressure.Tube Pressure.Stores Tree Precision Exterior MeasureTheory Matrix Bloch |
| 19 | open Next.Fluctuations Next.SectorChange Next.SectorChange.Rows Push.SectorMeasure Push.SectorMeasure.Oriented |
| 20 | open AnalyticBridge.Annulus.Map |
| 21 | open AnalyticBridge.RelativeLogdet |
| 22 | open AnalyticBridge.LocalGaussian AnalyticBridge.LocalGaussian.Spot |
| 23 | open scoped Topology BigOperators Classical Matrix.Norms.Frobenius ContDiff InnerProductSpace |
| 24 | open Wires Geo |
| 25 | variable {G : Gauge} {c f : Side} {S : StepData c f} (d : AnalyticBridge.LocalGaussian.Desk G S) |
| 26 | |
| 27 | section ancestry |
| 28 | variable {n m : Side} {r : ℕ} {F : PathData G} (σ : Signed) (P : BudgetPoint) |
| 29 | (Q : Atom G r) |
| 30 | |
| 31 | def turn (n : Side) (s : Signed) (X : Support n) := X.image (Push.Local.turnSites s 0) |
| 32 | |
| 33 | |
| 34 | def catalog (x : Site n) := turn n σ (inspected (Q.footprint x)) |
| 35 | |
| 36 | private lemma masking {X : Type*} [Zero X] {Y : Support n} {t : ℝ} {Z : Config G n → X} (h : LocalOn Y Z) : |
| 37 | LocalOn (inspected Y) (masked t Y Z) := by |
| 38 | intro u v hu |
| 39 | have hv : Healthy t Y u ↔ Healthy t Y v := by |
| 40 | have he := flags_agree t u v Y hu |
| 41 | simp only [Healthy, disjoint_iff_inf_le,Finset.inf_eq_inter,he] |
| 42 | by_cases he : Healthy t Y u |
| 43 | · rw [masked_eq _ _ _ _ he,masked_eq _ _ _ _ (hv.mp he)] |
| 44 | apply h; apply agrees_mono hu |
| 45 | intro i hi; exact Finset.mem_union_left _ hi |
| 46 | rw [masked_ne _ _ _ _ he,masked_ne _ _ _ _ (mt hv.mpr he)] |
| 47 | |
| 48 | |
| 49 | |
| 50 | def lot (x : Site n) (i : Slot) := i.stencil.image (fun z => wrap n z+x) |
| 51 | |
| 52 | def spool (p : Cell n) (u : ℕ×ℕ) := lot p.1 (F.row p.2 u.1).2 ∪ lot p.1 (F.row p.2 u.2).2 |
| 53 | |
| 54 | lemma inside (i : Slot) (x : Site n) : LocalOn (lot x i) (fun V : Config G n => i.atSite V x) := by |
| 55 | intro U V hv |
| 56 | apply i.covered |
| 57 | -- or expandAt |
| 58 | intro e he hf |
| 59 | apply hv (wrap n e.1+x,e.2) ((Finset.mem_image_of_mem _ (show e.1∈i.stencil from he))) |
| 60 | have hg : e.1+step e.2 ∈ i.stencil:=hf |
| 61 | have hh := Finset.mem_image_of_mem (fun z => wrap n z+x) hg |
| 62 | simpa [lot, add_right_comm] using! hh |
| 63 | |
| 64 | -- Needed even for long tail kept decisions at their *physical |
| 65 | -- anchor* in the transformed orientation. |
| 66 | lemma keeper (p : Site n → Site m) (hp : ∀ x i, separation (p x) (p (x+step i)) ≤ 1) {G' : Gauge} (L : PathData G') (x t : ℝ) |
| 67 | (A : Clip) (R : ℕ) (o : Site n) |
| 68 | {e : ℝ} (h : Bid.LaneCounts L x t A e R p) (hb : 120≤radiusB x) (U V : Config G' n) |
| 69 | (hv : AgreeNear p (p o) (radiusB x) U V) : PathData.kept A t o U ↔ PathData.kept A t o V := by |
| 70 | have he (U V : Config G' n) (hv : AgreeNear p (p o) (radiusB x) U V) : |
| 71 | PathData.kept A t o U → PathData.kept A t o V := by |
| 72 | intro hw i; by_contra! hh |
| 73 | have hf := h.dropped V o i hh |
| 74 | rw [← face_near hp i U V (hv.shrink (by omega))] at hh |
| 75 | exact hh.not_ge (hw i) |
| 76 | exact ⟨he U V hv, he V U fun i hi => (hv i hi).symm⟩ |
| 77 | |
| 78 | lemma spooled {U V : Config G n} (a : Clip) (P' : BudgetPoint) (i : Cell n) (u : ℕ×ℕ) (k r : ℕ) |
| 79 | (h : Agrees (spool (F:=F) i u) U V) (ht : PathData.kept a P'.threshold i.1 U ↔ PathData.kept a P'.threshold i.1 V) : |
| 80 | labelPath k r F a U i P' u=labelPath k r F a V i P' u := by |
| 81 | have he (j : ℕ) (hj : lot i.1 (F.row i.2 j).2 ⊆ spool (F:=F) i u) : F.ellTerms i j U=F.ellTerms i j V := by |
| 82 | unfold PathData.ellTerms; exact congr_arg ((F.row i.2 j).1 • ·) (inside (G:=G) (F.row i.2 j).2 i.1 U V (agrees_mono h (fun i h=> hj h))) |
| 83 | have hc:=he u.1 Finset.subset_union_left; have hh:=he u.2 Finset.subset_union_right |
| 84 | unfold labelPath; rw [ht,hc,hh]; unfold shortenTerm; rw [hc,hh] |
| 85 | |
| 86 | lemma spooled_meas (k r : ℕ) (F : PathData G) (a : Clip) (i : Cell n) (P : BudgetPoint) (j : ℕ×ℕ) : |
| 87 | Measurable (fun U => labelPath k r F a U i P j) := by |
| 88 | unfold labelPath; apply Measurable.ite (PathData.kept_closed ..).measurableSet _ measurable_const |
| 89 | have hf (j : ℕ) : Continuous (fun U => F.ellTerms i j U) := by unfold PathData.ellTerms Slot.atSite expandAt; fun_prop |
| 90 | apply Continuous.measurable |
| 91 | unfold shortenTerm |
| 92 | split_ifs <;> fun_prop |
| 93 | end ancestry |
| 94 | |
| 95 | local notation "M" => till d.betaHat |
| 96 | local notation "P" => d.tube |
| 97 | local notation "x₀" => d.betaHat |
| 98 | local notation "B" => radiusB d.betaHat |
| 99 | |
| 100 | def chaperone : Spot.BasePosts c f → Support c |
| 101 | | .inl (σ,.inl (i,u)) => insert (σ.act (S.ratio.parent i.1)) ((turn f σ (spool (F:=d.input.path) i u)).image S.ratio.parent) |
| 102 | | .inl (σ,.inr (y,l)) => match l with |
| 103 | | .inl i => (catalog σ (d.input.path.cubic i) y).image S.ratio.parent |
| 104 | | .inr (.inl i) => (catalog σ (d.input.path.quartic i) y).image S.ratio.parent |
| 105 | | .inr (.inr i) => (catalog σ (d.input.path.loop i) y).image S.ratio.parent |
| 106 | | .inr (s,i,l) => insert (s.act i.1) (turn c s (spool (F:=(P).down) i l)) |
| 107 | |
| 108 | def cart (i : Spot.BasePosts c f) : Formula G S ℝ := fun F A b k V l => match i with |
| 109 | | .inl (σ,i) => (Fintype.card Signed:ℝ)⁻¹ * (-old (d:=d) i (pull σ 0 (skin d F A b k V l))) |
| 110 | | .inr (σ,i,j) => d.input.beta * ((Fintype.card Signed:ℝ)⁻¹ * labelPath M S.patch.L.val (P).down (P).low (pull σ 0 V) i d.out j) |
| 111 | |
| 112 | lemma supplied (h : Route.Badge.App d) (i : Spot.BasePosts c f) : Care d (chaperone d i) (cart d i) := by |
| 113 | obtain ⟨D,hP⟩:=h.valid.funds |
| 114 | have hm (σ : Signed) (F : Forest S.ratio) (A : Stores S) (b : Finset ℕ) (k : S.Choices) : |
| 115 | Measurable (fun y : Config G c × Refs G f=> pull σ 0 (skin d F A b k y.1 y.2)) := (continuous_pull σ 0).measurable.comp |
| 116 | (Print.printed_meas P x₀ d.broadCut d.radius d.g hP k A F h.valid.positive h.enough) |
| 117 | constructor |
| 118 | · intro F A b k |
| 119 | have hr := hm |
| 120 | have hl {r} (σ) (q : Atom G r) (y : Site f) : Measurable (fun p : Config G c × Refs G f=> q.placed d.input.p (pull σ 0 (skin d F A b k p.1 p.2)) y) := |
| 121 | (masked_measurable _ _ _ (q.unmasked_cont y).measurable).comp (hr σ F A b k) |
| 122 | rcases i with ⟨σ,i|i⟩|⟨σ,i,j⟩ |
| 123 | · exact measurable_const.mul (measurable_const.mul ((spooled_meas M 1 d.input.path d.input.clip i.1 d.input.p i.2).comp (hr σ F A b k))).neg |
| 124 | · rcases i with ⟨z,l|l|l⟩ |
| 125 | · exact measurable_const.mul (measurable_const.mul (hl σ (d.input.path.cubic l) z)).neg |
| 126 | · exact measurable_const.mul (measurable_const.mul (hl σ (d.input.path.quartic l) z)).neg |
| 127 | exact measurable_const.mul (hl σ (d.input.path.loop l) z).neg |
| 128 | exact measurable_const.mul (measurable_const.mul ((spooled_meas M S.patch.L.val (P).down (P).low i d.out j).comp |
| 129 | ((continuous_pull σ 0).measurable.comp measurable_fst))) |
| 130 | intro F F' A A' b b' k k' V V' p p' H |
| 131 | let U:=skin d F A b k V p; let U':=skin d F' A' b' k' V' p' |
| 132 | let Y:=chaperone d i |
| 133 | -- Keep both pullbacks of actual paths. For X⊆Y, X rotated is |
| 134 | -- already in our projection, no distance-to-seam test. |
| 135 | have hu (σ : Signed) (X : Support f) (hb : (turn f σ X).image S.ratio.parent ⊆ Y) : Agrees X (pull σ 0 U) (pull σ 0 U') := |
| 136 | Push.Local.agrees_pull σ 0 (ink d h H hb) |
| 137 | have hv (σ : Signed) (X : Support c) (hb : turn c σ X ⊆ Y) : Agrees X (pull σ 0 V) (pull σ 0 V') := |
| 138 | Push.Local.agrees_pull σ 0 (agrees_mono H.fields.configuration (fun i hi => halo_subset _ _ (hb (show i∈turn c σ X from hi)))) |
| 139 | have hf (σ : Signed) (q : Site c) (hY : σ.act q∈Y) := read_turn σ q (radiusB d.betaHat) V V' |
| 140 | (Geo.Reads.visit H.fields ((covers_shield (40*B) hY).shrink (by have ht:=h.aperture.scale; omega))) |
| 141 | have hz (σ : Signed) (q : Site f) (hY : σ.act (S.ratio.parent q)∈Y) : AgreeNear S.ratio.parent (S.ratio.parent q) B (pull σ 0 U) (pull σ 0 U') := |
| 142 | pulled_near U U' σ (S.ratio.parent q) B (anchored (daily d h H _ hY) (by have ht:=h.aperture.scale; omega)) |
| 143 | have hy {r} (q : Atom G r) (z : Site f) (σ : Signed) (hl : (catalog σ q z).image S.ratio.parent ⊆ Y) : |
| 144 | q.placed d.input.p (pull σ 0 U) z=q.placed d.input.p (pull σ 0 U') z := masking (Extra.Iteration.Derivs.atom_local q z) _ _ (hu σ _ hl) |
| 145 | unfold cart; rcases i with ⟨σ,⟨i,u⟩|⟨i,l⟩⟩|⟨σ,i,l⟩ |
| 146 | · unfold old; dsimp only |
| 147 | obtain ⟨C,hL⟩:=h.aperture.fine |
| 148 | rw [h.valid.same.path,h.valid.same.clip] |
| 149 | have hE:=keeper S.ratio.parent (Work.E03.parent_step S) (P).up x₀ (fiery ..) (P).high 1 i.1 hL h.aperture.scale _ _ |
| 150 | (hz σ i.1 (Finset.mem_insert_self ..)) |
| 151 | have he := spooled (U:=pull σ 0 U) (P).high (d.input.p) i u M 1 |
| 152 | (hu σ (spool (F:=(P).up) i u) ?_) ?_ |
| 153 | swap |
| 154 | · unfold Y chaperone; dsimp only; rw [h.valid.same.path]; exact Finset.subset_insert _ _ |
| 155 | swap |
| 156 | · rw [h.valid.same.temp]; exact hE |
| 157 | rw [show labelPath M 1 (P).up (P).high (pull σ 0 (skin d F A b k V p)) i d.input.p u=_ from he] |
| 158 | · cases l with |
| 159 | | inl j => |
| 160 | exact congr_arg (fun y : ℝ => (Fintype.card Signed:ℝ)⁻¹ * -(d.input.beta*y)) (hy _ i σ (show (catalog σ (d.input.path.cubic j) i).image _ ⊆ _ from Finset.Subset.refl _)) |
| 161 | | inr j => |
| 162 | cases j with |
| 163 | | inl j => exact congr_arg (fun y : ℝ => (Fintype.card Signed:ℝ)⁻¹ * -(d.input.beta*y)) (hy _ i σ (show (catalog σ (d.input.path.quartic j) i).image _ ⊆ _ from Finset.Subset.refl _)) |
| 164 | | inr j => exact congr_arg (fun y : ℝ => (Fintype.card Signed:ℝ)⁻¹ * -y) (hy _ i σ (show (catalog σ (d.input.path.loop j) i).image _ ⊆ _ from Finset.Subset.refl _)) |
| 165 | obtain ⟨C,hL⟩:=h.aperture.coarse |
| 166 | dsimp only |
| 167 | rw [spooled (F:=(P).down) (P).low d.out i l M _ (hv σ _ (Finset.subset_insert ..)) (by |
| 168 | rw [h.valid.coarse]; exact keeper id Work.E03.sep_step (P).down x₀ (temp x₀) (P).low S.patch.L.val i.1 hL h.aperture.scale _ _ |
| 169 | (hf σ i.1 (Finset.mem_insert_self ..))) ] |
| 170 | end YM.PhysicalNext.Dictionary.Voice |