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.Push.FREE_RESOLVENT.Views |
| 2 | |
| 3 | /-! |
| 4 | # Genuine Q jet comparisons |
| 5 | |
| 6 | Price a single finite patch before varying volume. Covers include every frame |
| 7 | argument, along corresponding displaced patches and connectors. `Align` |
| 8 | always means the actual U,V axes coincide. At the flat field (where we take |
| 9 | Taylor coefficients here) tags not required to match: the unique optimizing |
| 10 | branches apply *on a neighborhood for each test*. In particular results work |
| 11 | on ANY actual shared tag specification; no likelihood manipulation, no trying |
| 12 | to differentiate across switches. Compare kinematic square with no holes only. |
| 13 | -/ |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.FreeResolvent.Affine.View |
| 17 | open Lattice Wilson RG Matrix Laurent Bloch Exterior Precision Tree Bid Work.F03 TestD Filter Function Set |
| 18 | open Work.F08 Lifted |
| 19 | open scoped Topology Matrix.Norms.Frobenius ContDiff BigOperators InnerProductSpace |
| 20 | variable {G : Gauge} {f c f' c' : Side} {S : StepData c f} {P : Patch} {K : KernelChoices} |
| 21 | variable {h : f.val=c.val*P.L.val} {h' : f'.val=c'.val*P.L.val} |
| 22 | |
| 23 | |
| 24 | def haze (P : Patch) := Finset.univ.sup fun i : P.Points => size i.val |
| 25 | def cross (P : Patch) := Finset.univ.sup fun i : P.Points => Finset.univ.sup fun j : P.Points => |
| 26 | Finset.univ.sup fun k : Lattice.Order => (route i.val j.val k).length |
| 27 | |
| 28 | def reach (P : Patch) := haze P+cross P+P.L.val |
| 29 | |
| 30 | def Watch (S : StepData c f) (k : S.Choices) (p : pair G c f) := |
| 31 | (∀ x, S.patch.usesMin S.kernel (expandAt (S.ratio.embed x) (unwrapped S p))) ∧ |
| 32 | ∀ e, S.patch.usesBest S.kernel (S.connector (unwrapped S p) k.1 e) |
| 33 | |
| 34 | lemma watches (S : StepData c f) (k : S.Choices) (hb : S.patch.Branches S.kernel G) : |
| 35 | ∀ᶠ p : pair G c f in 𝓝 0, Watch S k p := by |
| 36 | -- use actual represent/log chart identification on this neighborhood. No uniform radius asserted/needed for jets. |
| 37 | let L (x : pair G c f) : Dir G f := fun i => G.plog (G.mat (unwrapped S x (i.1,axisEquiv.symm i.2))) |
| 38 | have hz : unwrapped S (0 : pair G c f)=1 := (white _).trans (back_flat ..) |
| 39 | have ht : ∀ e : Edge (Site f), Tendsto (fun p : pair G c f => unwrapped S p e) (𝓝 0) (𝓝 1) := fun e => by |
| 40 | have h : ContinuousAt (fun p => unwrapped S p e) (0 : pair G c f) := |
| 41 | (G.continuous_mat.isClosedEmbedding G.mat_injective).isEmbedding.tendsto_nhds_iff.mpr (active_smooth e).continuous.continuousAt.tendsto |
| 42 | convert! h.tendsto; rw [hz]; rfl |
| 43 | have hv : Tendsto L (𝓝 0) (𝓝 0) := tendsto_pi_nhds.mpr fun i => by |
| 44 | have he := G.plog_diff.continuousAt.tendsto; rw [G.plog_one] at he |
| 45 | exact he.comp ((G.continuous_mat.tendsto 1).comp (ht _)) |
| 46 | have hf : ∀ᶠ x in 𝓝 0, ∀ e : Edge (Site f), G.lieExp (G.plog (G.mat (unwrapped S x e)))=unwrapped S x e := |
| 47 | eventually_all.mpr fun e => (ht e).eventually G.plog_right |
| 48 | have h1 : ∀ᶠ x in 𝓝 (0 : Dir G f), ∀ y : Site c, S.patch.usesMin S.kernel (expandAt (S.ratio.embed y) (represent x)) := |
| 49 | eventually_all.mpr fun y => Push.threshold S y |
| 50 | have h2 : ∀ᶠ x in 𝓝 (0 : Dir G f), ∀ e : Edge (Site c), S.patch.usesBest S.kernel (S.connector (represent x) k.1 e) := by |
| 51 | refine eventually_all.mpr fun e => ?_ |
| 52 | have he : ContinuousAt (Push.deck (G:=G) S e k.1) 0 := continuousAt_pi.mpr fun i => |
| 53 | (G.continuous_mat.isClosedEmbedding G.mat_injective).isEmbedding.tendsto_nhds_iff.mpr (Push.builds S hb _ k.1 i).continuousAt.tendsto |
| 54 | apply he.tendsto.eventually (S.patch.best_open.mem_nhds ?_) |
| 55 | apply lt_of_le_of_lt ((S.patch.bond_min _).choose_spec 1) |
| 56 | simpa [Patch.bondCost, Push.deck_zero S hb _ k.1] using S.kernel.predictor_cut_pos |
| 57 | filter_upwards [hv.eventually h1,hv.eventually h2,hf] with p hp hq hP |
| 58 | rw [Watch,← show represent (L p)=unwrapped S p from ?_]; exact ⟨hp,hq⟩ |
| 59 | ext1 i; rw [represent_link]; unfold L; rw [← coord_map, axisEquiv.symm_apply_apply]; exact hP i |
| 60 | |
| 61 | variable {o : Site c} {o' : Site c'} {R : ℕ} {p : pair G c f} {p' : pair G c' f'} |
| 62 | variable (hc : 1<c.val) (hc' : 1<c'.val) |
| 63 | |
| 64 | lemma ground (S : StepData c f) (o : Site c) (z : Cover) (x : Cover) : |
| 65 | wrap f x+S.ratio.embed (addr o z)=bottom S o (z+carry (0:Site S.patch.L) x) (arrives (0:Site S.patch.L) x) := by |
| 66 | rw [add_comm,← bottom_root, bottom_adv] |
| 67 | |
| 68 | lemma frame_cost (P : Patch) (a b : P.Points) (k : Lattice.Order) (z : Cover) : |
| 69 | size (z+carry (0:Site P.L) a.val)+(route a.val b.val k).length ≤ size z+View.reach P := by |
| 70 | have he : size (z+carry (0:Site P.L) a.val) ≤ size z+haze P := (size_add ..).trans (Nat.add_le_add_left |
| 71 | ((carry_size ..).trans (Finset.le_sup (f:=fun i : P.Points => size i.val) (Finset.mem_univ a))) _) |
| 72 | have hh : (route a.val b.val k).length ≤ cross P := |
| 73 | (Finset.le_sup (f:=fun j => (route a.val b.val j).length) (Finset.mem_univ k)).trans <| |
| 74 | (Finset.le_sup (f:=fun i : P.Points => Finset.univ.sup fun j : Lattice.Order => (route a.val i.val j).length) (Finset.mem_univ b)).trans <| |
| 75 | (Finset.le_sup (f:=fun x : P.Points => Finset.univ.sup fun i : P.Points => |
| 76 | Finset.univ.sup fun j : Lattice.Order => (route x.val i.val j).length) (Finset.mem_univ a)) |
| 77 | unfold reach; omega |
| 78 | |
| 79 | variable {k : (data h K).Choices} {k' : (data h' K).Choices} |
| 80 | |
| 81 | include hc hc' |
| 82 | lemma closeFrame (z : Cover) (hb : P.Branches K G) (H : Reads p p' h h' K o o' R) |
| 83 | (hx : size z+reach P ≤ R) (hp : Watch _ k p) (hp' : Watch _ k' p') : |
| 84 | (data h K).frames (unwrapped (data h K) p) k.1 (addr o z)=(data h' K).frames (unwrapped (data h' K) p') k'.1 (addr o' z) := by |
| 85 | let U := expandAt ((data h K).ratio.embed (addr o z)) (unwrapped (data h K) p) |
| 86 | let V := expandAt ((data h' K).ratio.embed (addr o' z)) (unwrapped (data h' K) p') |
| 87 | have he (a b : P.Points) (k : Lattice.Order) : travel U a.val (route a.val b.val k)=travel V a.val (route a.val b.val k) := by |
| 88 | unfold U V; rw [travel_at,travel_at, ground,ground] |
| 89 | exact H.march hc hc' (z+carry (0:Site P.L) a.val) _ _ ((frame_cost P a b k z).trans hx) |
| 90 | have hh (w : P.Frame G) : P.score U w=P.score V w := by simp only [Patch.score,Patch.average,Patch.via,he] |
| 91 | have hw (X : P.Frame G) (h : P.minimizing U X) : P.minimizing V X := ⟨h.1,fun A ha => by rw [← hh, ← hh]; exact h.2 A ha⟩ |
| 92 | have hu : P.usesMin K U := hp.1 (addr o z) |
| 93 | have hv : P.usesMin K V := hp'.1 (addr o' z) |
| 94 | change P.frame K U _ = P.frame K V _ |
| 95 | simp only [Patch.frame, if_pos hu,if_pos hv] |
| 96 | exact (hb.frame_unique V hv).unique (hw _ (P.min_exists U).choose_spec) (P.min_exists V).choose_spec |
| 97 | |
| 98 | lemma prognosis (z : Cover) (hb : P.Branches K G) (H : Reads p p' h h' K o o' R) |
| 99 | (hx : size z+reach P+1 ≤ R) (hp : Watch _ k p) (hp' : Watch _ k' p') (i : Axis) : |
| 100 | (data h K).prediction (unwrapped (data h K) p) k (addr o z,i)=(data h' K).prediction (unwrapped (data h' K) p') k' (addr o' z,i) := by |
| 101 | have he (t : Site c) : addr t z+step i=addr t (z+step i) := by simp [addr,add_assoc] |
| 102 | have he' : addr o' z+step i=addr o' (z+step i) := by simp [addr,add_assoc] |
| 103 | let X := (data h K).connector (unwrapped (data h K) p) k.1 (addr o z,i) |
| 104 | let X' := (data h' K).connector (unwrapped (data h' K) p') k'.1 (addr o' z,i) |
| 105 | have hh : X=X' := by |
| 106 | funext w |
| 107 | unfold X X' StepData.connector |
| 108 | have hz : size (z+step i) ≤ size z+1 := (size_add ..).trans (Nat.add_le_add_left (by |
| 109 | simp [size,apply_ite Int.natAbs]) _) |
| 110 | rw [travel_at,travel_at] |
| 111 | simp only [he, he']; rw [closeFrame hc hc' z hb H (by omega) hp hp', closeFrame hc hc' (z+step i) hb H (by omega) hp hp',ground,ground] |
| 112 | congr 2 |
| 113 | have ht : size (z+carry (0:Site P.L) w.val) ≤ size z+haze P := |
| 114 | (size_add ..).trans (Nat.add_le_add_left ((carry_size ..).trans (Finset.le_sup (f:=fun i : P.Points => size i.val) (Finset.mem_univ w))) _) |
| 115 | exact H.march hc hc' (z+carry (0:Site P.L) w.val) _ (List.replicate P.L.val (posDir i)) (by rw [List.length_replicate]; unfold reach at hx; omega) |
| 116 | have hq : P.usesBest K X := hp.2 _ |
| 117 | change P.predict K X _ = P.predict K X' _ |
| 118 | rw [← hh]; simp only [Patch.predict,hq,↓reduceIte] |
| 119 | |
| 120 | /-- Member `PAC 1` includes global rotation action with backward site shift |
| 121 | for a negative positive-row representative. Prove equality of the oriented |
| 122 | prediction first. V_0 multiplied and inverted on the same channel. -/ |
| 123 | lemma rotor (s : Signed) (z : Cover) (w : PAC G 1) (hb : P.Branches K G) (H : Reads p p' h h' K o o' R) |
| 124 | (hx : size z+reach P+2 ≤ R) (hp : Watch _ k p) (hp' : Watch _ k' p') : |
| 125 | pull s 0 ((data h K).prediction (unwrapped (data h K) p) k) |
| 126 | (which ((coarseHere s o z w).1,w.1))= |
| 127 | pull s 0 ((data h' K).prediction (unwrapped (data h' K) p') k') |
| 128 | (which ((coarseHere s o' z w).1,w.1)) := by |
| 129 | unfold which pull |
| 130 | simp only |
| 131 | rw [show affine s 0 (coarseHere s o z w).1 = _ from coarse_here s o z w, show affine s 0 (coarseHere s o' z w).1 = _ from coarse_here s o' z w] |
| 132 | cases hs : Step.rotate (posDir (axisEquiv.symm w.1)) s with |
| 133 | | mk i b => |
| 134 | cases b |
| 135 | · exact prognosis hc hc' z hb H (by omega) hp hp' i |
| 136 | simp only [Step.read,Step.used,↓reduceIte] |
| 137 | rw [show addr o z-step i=addr o (z-step i) by unfold addr; rw [map_sub,wrap_step]; abel, |
| 138 | show addr o' z-step i=addr o' (z-step i) by unfold addr; rw [map_sub,wrap_step]; abel] |
| 139 | have he : size (z-step i) ≤ size z+1 := by |
| 140 | rw [sub_eq_add_neg]; apply (size_add ..).trans; rw [size_neg]; simp [size,apply_ite Int.natAbs] |
| 141 | rw [prognosis hc hc' (z-step i) hb H (by omega) hp hp' i] |
| 142 | |
| 143 | lemma responseView (s : Signed) (z : Cover) (w : PAC G 1) (hb : P.Branches K G) (H : Reads p p' h h' K o o' R) |
| 144 | (hx : size z+reach P+2 ≤ R) (hp : Watch _ k p) (hp' : Watch _ k' p') (hf : Watch _ k (p.1,0)) (hf' : Watch _ k' (p'.1,0)) : |
| 145 | gaugeQ (data h K) s k p (coarseHere s o z w) = gaugeQ (data h' K) s k' p' (coarseHere s o' z w) := by |
| 146 | have he := rotor hc hc' s z w hb H hx hp hp' |
| 147 | have hh := rotor hc hc' s z w hb H.blank hx hf hf' |
| 148 | rw [white,white] at hh |
| 149 | exact congr_arg (fun v : G.El => G.projectColor (G.mat v) w.2) (congr_arg₂ _ he (congr_arg (fun v : G.El => v⁻¹) hh)) |
| 150 | end YM.FreeResolvent.Affine.View |