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.AnalyticBridge.VERIFIED_RESET_STEP.Channels |
| 2 | import YM.AnalyticBridge.VERIFIED_RESET_STEP.Isotropy |
| 3 | import YM.AnalyticBridge.VERIFIED_RESET_STEP.Quotes |
| 4 | |
| 5 | |
| 6 | /-! |
| 7 | # Reset tap for the DirectedRecipe gathering algorithm |
| 8 | |
| 9 | `Listing` is the *early* negative-log and compulsory-family alphabet of |
| 10 | the represented Gaussian answer, with `Source` the actual coefficient |
| 11 | functions (E *before* normalization/subtraction). Its original forced |
| 12 | addresses and every additional discrepancy address enter H01 at once. No |
| 13 | claim that the Gaussian/local/sector estimates producing such a Listing |
| 14 | on the actual step have been proved. The book and e/k addresses need not |
| 15 | be universal across torus sizes, but are held fixed during a parameter |
| 16 | comparison. Extra apertures are then those of DirectedRecipe.finish. |
| 17 | -/ |
| 18 | set_option autoImplicit false |
| 19 | noncomputable section |
| 20 | namespace YM.AnalyticBridge.VerifiedReset |
| 21 | open Function Filter Set Lattice Wilson RG Ovens Quotes Residual WilsonStartup UVNext.PricedKernels Averaging Progress.DirectedRecipe Extra.Iteration |
| 22 | open scoped Topology Matrix.Norms.Frobenius ContDiff BigOperators Classical |
| 23 | variable {G : Gauge} {n : Side} {R : PathData G} {c : Clip} {p : BudgetPoint} {σ C Λ H w : ℝ} |
| 24 | namespace Collection |
| 25 | structure Listing (G : Gauge) (n : Side) where |
| 26 | reg : ℕ → RegularAddress n |
| 27 | hard : ℕ → ForcedAddress G n |
| 28 | |
| 29 | structure Source (G : Gauge) (n : Side) where |
| 30 | logRead : ℕ → Pot G n -- with NEGATIVE sign in exponent |
| 31 | hardRead : ℕ → Pot G n |
| 32 | |
| 33 | def Listing.read (X : Listing G n) (v : Source G n) : Activities G n := ⟨X.reg, X.hard, v.logRead, v.hardRead⟩ |
| 34 | |
| 35 | structure Local (X : Listing G n) (p : BudgetPoint) (v : Source G n) (H w : ℝ) : Prop where |
| 36 | smooth i : p.Regular (X.reg i).support (v.logRead i) |
| 37 | family : (X.read v).ForcedFamily p |
| 38 | transforms s b : Nonempty ((X.read v).Moves s b) |
| 39 | cheap : ∃ u, (∀ i, p.supBounds (X.reg i).site (X.reg i).support (v.logRead i) (u i)) ∧ Quotes.early p X.reg u H |
| 40 | expensive : ∃ k, (∀ i, 0 ≤ k i ∧ ∀ U, ‖v.hardRead i U‖ ≤ k i) ∧ Ac.Hit (fun i => (X.hard i).support) p.B k (p.supportExponent+1) w |
| 41 | |
| 42 | abbrev Faces (n : Side) := Seat n × Low |
| 43 | abbrev Spikes (n : Side) := Seat n × High |
| 44 | abbrev EKey (n : Side) := ℕ ⊕ (Faces n ⊕ Spikes n) |
| 45 | abbrev LKey (n : Side) := ℕ ⊕ Faces n |
| 46 | |
| 47 | def incoming (X : Listing G n) (R : PathData G) (p : BudgetPoint) : EKey n → RegularAddress n := Sum.elim (enlarges ∘ X.reg) |
| 48 | (Sum.elim (lowEntry G R p) (highEntry G R)) |
| 49 | def soft (X : Listing G n) (R : PathData G) (p : BudgetPoint) : LKey n → Support n := |
| 50 | Sum.elim (expand ∘ X.reg) fun i => (lowEntry G R p i).support |
| 51 | def shelves (X : Listing G n) (R : PathData G) (p : BudgetPoint) : Pipes G n where |
| 52 | reg := incoming X R p ∘ numbering (EKey n) |
| 53 | kernel := X.hard |
| 54 | softer := soft X R p ∘ numbering (LKey n) |
| 55 | sites i := by |
| 56 | dsimp only [comp_apply]; rcases numbering (LKey n) i with k|k |
| 57 | · exact ⟨_,(enlarges (X.reg k)).anchor⟩ |
| 58 | exact ⟨_,(lowEntry G R p k).anchor⟩ |
| 59 | |
| 60 | def archive (X : Listing G n) (R : PathData G) (c : Clip) (v : Source G n) (α Δ : ℝ) : EKey n → Pot G n := Sum.elim (fun i => rebate (X.reg i) (v.logRead i)) |
| 61 | (Sum.elim (fun i => i.2.fresh R c 0 (factor*Δ) ∘ i.1.view) (fun i => i.2.fresh R 0 (factor*α) (factor*Δ) ∘ i.1.view)) |
| 62 | def loses (X : Listing G n) (R : PathData G) (c : Clip) (p : BudgetPoint) (v : Source G n) (α Δ : ℝ) : LKey n → Pot G n := |
| 63 | Sum.elim (fun i => fault (X.reg i) (v.logRead i) p.threshold) (fun i => i.2.loan R c 0 p (factor*α) (factor*Δ) ∘ i.1.view) |
| 64 | |
| 65 | def fill (X : Listing G n) (R : PathData G) (c : Clip) (p : BudgetPoint) (v : Source G n) (α Δ : ℝ) : Tap G n where |
| 66 | regular := archive X R c v α Δ ∘ numbering _ |
| 67 | forced := v.hardRead |
| 68 | logarithm := loses X R c p v α Δ ∘ numbering _ |
| 69 | |
| 70 | variable {X : Listing G n} {v : Source G n} |
| 71 | lemma Local.unweighted (h : Local X p v H w) : (X.read v).EBound p H := by |
| 72 | obtain ⟨u,hu,h'⟩ := h.cheap |
| 73 | exact ⟨u,hu,Quotes.segment _ (fun i => (hu i).1) h'⟩ |
| 74 | lemma Local.projects (h : Local X p v H w) : Projects (X.read v) p H := ⟨h.smooth,h.unweighted⟩ |
| 75 | lemma Local.H_nonneg (h : Local X p v H w) : 0 ≤ H := by obtain ⟨_,_,he⟩ := h.cheap; exact Cost.nonneg (he 0) |
| 76 | |
| 77 | |
| 78 | private def spins (n : Side) (π : Equiv.Perm ℕ) (s : Signed) (b : Site n) : Equiv.Perm (EKey n) := |
| 79 | Equiv.sumCongr π (Equiv.sumCongr ((Seat.move s b).prodCongr (Equiv.refl _)) ((Seat.move s b).prodCongr (Equiv.refl _))) |
| 80 | private def knots (n : Side) (π : Equiv.Perm ℕ) (s : Signed) (b : Site n) : Equiv.Perm (LKey n) := |
| 81 | Equiv.sumCongr π ((Seat.move s b).prodCongr (Equiv.refl _)) |
| 82 | |
| 83 | namespace Local |
| 84 | variable (g : G.Simple) (h : Local X p v H w) (hx : R.Bounds c σ C Λ) (hc : Decent c p) (hn : 20 < n.val) (α Δ : ℝ) |
| 85 | include g h hx hc hn |
| 86 | lemma regFamily : ((shelves X R p).pours (fill X R c p v α Δ)).RegularFamily p := by |
| 87 | let F := archive X R c v α Δ; let D := incoming X R p |
| 88 | have hr (i : EKey n) : p.Regular (D i).support (F i) ∧ F i 1 = 0 := by |
| 89 | rcases i with i|⟨z,d⟩|⟨z,d⟩ |
| 90 | · exact ⟨rebate_regular _ (h.smooth i),rebate_one ..⟩ |
| 91 | · exact ⟨z.regular (d.fresh_regular R c 0 hc _),show d.fresh R c 0 _ (pull _ _ 1) = 0 by rw [pull_one_field,Low.fresh_one]⟩ |
| 92 | exact ⟨z.regular (d.fresh_regular R 0 hx p _ _), show d.fresh R 0 _ _ (pull _ _ 1) = 0 by rw [pull_one_field,High.fresh_one]⟩ |
| 93 | have hh (i : EKey n) (hi : Nonwrapping (D i).support (D i).site) : ∀ a b, IsAffineDirection (D i).site a → IsAffineDirection (D i).site b → |
| 94 | logHessian (F i) a b = 0 := by |
| 95 | rcases i with i|⟨z,d⟩|⟨z,d⟩ |
| 96 | · exact rebate_vanish (X.reg i) g (h.smooth i) hi hn |
| 97 | · apply affine_zero (hr _).1 |
| 98 | intro u; exact (z.hessian g (d.fresh_regular R c 0 hc _) hi (by omega) u u).trans (d.fresh_vanish R c 0 g hc (z.unwrapped hi) hn _ _ _ |
| 99 | ((LinearJet.isAffine ..).mpr ⟨_,rfl⟩) ((LinearJet.isAffine ..).mpr ⟨_,rfl⟩)) |
| 100 | apply affine_zero (hr _).1 |
| 101 | intro u; exact (z.hessian g (d.fresh_regular R 0 hx p _ _) hi (by omega) u u).trans (d.fresh_vanish R 0 g hx p _ _ _ _) |
| 102 | exact ⟨fun i => (hr _).1,fun i => (hr _).2,fun i => hh _⟩ |
| 103 | |
| 104 | omit g hx hc hn in |
| 105 | lemma hardFamily : ((shelves X R p).pours (fill X R c p v α Δ)).ForcedFamily p := |
| 106 | ⟨h.family.sym,h.family.symtest,h.family.meas,h.family.meas_test,h.family.reads,h.family.reads_test,h.family.permit⟩ |
| 107 | omit g hx hn in |
| 108 | lemma loose (i : LKey n) : let F := loses X R c p v α Δ i; let Z := soft X R p i |
| 109 | GaugeInvariant F ∧ UsesFinal p.threshold Z F ∧ Measurable F ∧ ∀ U, F U ≠ 0 → ¬Healthy p.threshold Z U := by |
| 110 | rcases i with i|⟨z,d⟩ |
| 111 | · exact ⟨fault_gauge _ _ (h.smooth i),fault_reads _ _ (h.smooth i),fault_meas _ _ (h.smooth i),fun _ => Residual.visits _ _⟩ |
| 112 | exact ⟨Push.Local.invariant_pull (d.loan_gauge R c 0 p _ _) _ _,Push.Local.uses_pull (d.loan_reads R c 0 hc _ _) _ _, |
| 113 | (d.loan_meas R c 0 p _ _).comp (continuous_pull ..).measurable,fun U he hh => d.visits R c _ p _ _ _ he ((z.healthy ..).1 hh)⟩ |
| 114 | |
| 115 | omit hx hc in |
| 116 | private lemma action (s : Signed) (b : Site n) (e : (X.read v).Moves s b) : |
| 117 | (∀ i : EKey n, let z := incoming X R p; let F := archive X R c v α Δ; let j := spins n e.ep s b i |
| 118 | (z j).site = affine s b (z i).site ∧ (z j).support = (z i).support.image (affine s b) ∧ F j = F i ∘ pull s b) ∧ |
| 119 | (∀ i : LKey n, let z := soft X R p; let F := loses X R c p v α Δ; let j := knots n e.ep s b i |
| 120 | z j = (z i).image (affine s b) ∧ F j = F i ∘ pull s b) := by |
| 121 | have ht (i : ℕ) := label_moves (X.reg i) p.threshold (h.smooth i) (by omega : 4 ≤ n.val) (e.reg_support i) (e.reg_site i) g |
| 122 | (h.smooth (e.ep i)) (funext (e.valuesE i)) |
| 123 | have he (z : Seat n) (f : Pot G n) : f ∘ (Seat.move s b z).view = (f ∘ z.view) ∘ pull s b := by rw [z.view_move]; rfl |
| 124 | constructor |
| 125 | · rintro (i|⟨z,d⟩|⟨z,d⟩) |
| 126 | · exact ⟨e.reg_site i, expand_moves _ _ s b (e.reg_support i) (e.reg_site i),funext fun U => (ht i U).1⟩ |
| 127 | · exact ⟨rfl, z.spread_move ..,he z (d.fresh R c 0 _)⟩ |
| 128 | exact ⟨rfl, z.spread_move ..,he z (d.fresh R 0 _ _)⟩ |
| 129 | rintro (i|⟨z,d⟩) |
| 130 | · exact ⟨expand_moves _ _ s b (e.reg_support i) (e.reg_site i),funext fun U => (ht i U).2⟩ |
| 131 | exact ⟨z.spread_move ..,he z (d.loan R c 0 p _ _)⟩ |
| 132 | |
| 133 | lemma fittings : Payments.Fittings (fill X R c p v α Δ) (shelves X R p) p := by |
| 134 | have he := h.loose (R:=R) hc α Δ |
| 135 | refine ⟨h.regFamily g hx hc hn α Δ, h.hardFamily α Δ,fun s b => ?_,fun i => (he _).2.2.2,fun i => (he _).1,fun i => (he _).2.1, |
| 136 | fun i => (he _).2.2.1,fun s b => ?_⟩ |
| 137 | · obtain ⟨e⟩ := h.transforms s b |
| 138 | let N := numbering (EKey n); let π := spins n e.ep s b; let u := (N.trans π).trans N.symm |
| 139 | have hN (i) : N (u i) = π (N i) := N.apply_symm_apply _ |
| 140 | have hj (i) := (h.action (R:=R) (c:=c) g hn α Δ s b e).1 (N i) |
| 141 | let Y := ((shelves X R p).pours (fill X R c p v α Δ)) |
| 142 | change Nonempty (Y.Moves s b) |
| 143 | refine ⟨⟨u,e.kp,fun i => ?_,fun i => ?_, e.forced_support, e.forced_inventory, e.forced_tests,fun i U => ?_, e.valuesK⟩⟩ |
| 144 | · change (incoming X R p (N (u i))).site = _; exact hN i ▸ (hj i).1 |
| 145 | · change (incoming X R p (N (u i))).support = _; exact hN i ▸ (hj i).2.1 |
| 146 | change archive X R c v α Δ (N (u i)) U = _; exact hN i ▸ congr_fun (hj i).2.2 U |
| 147 | obtain ⟨e⟩ := h.transforms s b |
| 148 | let N := numbering (LKey n); let π := knots n e.ep s b; let u := (N.trans π).trans N.symm |
| 149 | have hN (i) : N (u i) = π (N i) := N.apply_symm_apply _ |
| 150 | have hj (i) := (h.action (R:=R) (c:=c) g hn α Δ s b e).2 (N i) |
| 151 | exact ⟨u,fun i => by change soft X R p (N (u i)) = _; exact hN i ▸ (hj i).1,fun U i => by |
| 152 | change loses X R c p v α Δ (N (u i)) U = _; exact hN i ▸ congr_fun (hj i).2 U⟩ |
| 153 | end Local |
| 154 | end Collection |
| 155 | end YM.AnalyticBridge.VerifiedReset |