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.SELECTED_ORDERED_KERNELS.Inverse |
| 2 | import YM.Next.EXTRACTION.Tails |
| 3 | |
| 4 | |
| 5 | /-! |
| 6 | # Uniform open small-field domain for the no-hole affine tests |
| 7 | |
| 8 | For use as an extra producer beyond the flat Taylor price. First localize |
| 9 | the branch hypotheses themselves by comparison to a single finite BUT |
| 10 | sufficiently large reference period. Only post-L. All connector choices can |
| 11 | be held simultaneously and the *same frames* are used on both sides of the |
| 12 | connector. Here no holes anywhere; both perturbed (coarse AND fine) positive |
| 13 | arrays are uniformly small globally in the same trivialization. |
| 14 | -/ |
| 15 | |
| 16 | set_option autoImplicit false |
| 17 | noncomputable section |
| 18 | namespace YM.SelectedOrderedKernels.Small |
| 19 | open Lattice Wilson RG Bloch Laurent Exterior Precision Tree Bid Filter Function Set Metric |
| 20 | FreeResolvent Affine View Lifted Work.F08 |
| 21 | open scoped Topology BigOperators ContDiff Matrix.Norms.Frobenius |
| 22 | variable {G : Gauge} {f c f' c' : Side} {S : StepData c f} {P : Patch} {K : KernelChoices} |
| 23 | variable {h : f.val=c.val*P.L.val} {h' : f'.val=c'.val*P.L.val} |
| 24 | |
| 25 | private lemma area_large (r : ℕ) : 1 < (area r).val := by change 1 < 2*r+2; omega |
| 26 | |
| 27 | section watch |
| 28 | variable {R : ℕ} {p : pair G c f} {p' : pair G c' f'} {o : Site c} {o' : Site c'} |
| 29 | {k : (data h K).Choices} {k' : (data h' K).Choices} |
| 30 | (hc : 1<c.val) (hc' : 1<c'.val) (H : Reads p p' h h' K o o' R) |
| 31 | include hc hc' H |
| 32 | private def watching (p : pair G c f) (y : Site c) := |
| 33 | expandAt ((data h K).ratio.embed y) (unwrapped (data h K) p) |
| 34 | |
| 35 | lemma frame_paths {z : Cover} (hx : size z+View.reach P ≤ R) (a b : P.Points) (l : Lattice.Order) : |
| 36 | travel (watching (h:=h) (K:=K) p (addr o z)) a.val (route a.val b.val l)= |
| 37 | travel (watching (h:=h') (K:=K) p' (addr o' z)) a.val (route a.val b.val l) := by |
| 38 | unfold watching; rw [travel_at, travel_at, ground, ground] |
| 39 | exact H.march hc hc' _ _ _ ((frame_cost P a b l z).trans hx) |
| 40 | |
| 41 | lemma usesMin_here {z : Cover} (hx : size z+View.reach P ≤ R) (hp' : Watch (data h' K) k' p') : |
| 42 | P.usesMin K (expandAt ((data h K).ratio.embed (addr o z)) (unwrapped (data h K) p)) := by |
| 43 | have hp := hp'.1 (addr o' z) |
| 44 | change P.usesMin K (watching _ _) |
| 45 | simp only [Patch.usesMin,Patch.via,Patch.axial,frame_paths hc hc' H hx] |
| 46 | exact hp |
| 47 | |
| 48 | lemma same_frame (z : Cover) (hb : P.Branches K G) (hx : size z+View.reach P ≤ R) (hp' : Watch (data h' K) k' p') : |
| 49 | (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 |
| 50 | let U := watching p (addr o z) (h:=h) (K:=K); let V := watching p' (addr o' z) (h:=h') (K:=K) |
| 51 | have hh (w : P.Frame G) : P.score U w=P.score V w := by simp only [U,V,Patch.score,Patch.average,Patch.via,frame_paths hc hc' H hx] |
| 52 | have hU := (P.min_exists U).choose_spec |
| 53 | have hw : P.minimizing V (P.selected U) := ⟨hU.1,fun h he => by rw [← hh,← hh]; exact hU.2 h he⟩ |
| 54 | have hu : P.usesMin K U := usesMin_here hc hc' H hx hp' |
| 55 | have hv : P.usesMin K V := hp'.1 _ |
| 56 | change P.frame K U _ = P.frame K V _ |
| 57 | unfold Patch.frame; rw [if_pos hu, if_pos hv] |
| 58 | exact (hb.frame_unique V hv).unique hw (P.min_exists V).choose_spec |
| 59 | |
| 60 | lemma usesBest_here (hb : P.Branches K G) {z : Cover} (hx : size z+View.reach P+1 ≤ R) (hp' : Watch (data h' K) k' p') (i : Axis) : |
| 61 | P.usesBest K ((data h K).connector (unwrapped (data h K) p) k.1 (addr o z,i)) := by |
| 62 | let V := unwrapped (data h K) p; let W := unwrapped (data h' K) p' |
| 63 | have hh : (data h K).connector V k.1 (addr o z,i)=(data h' K).connector W k'.1 (addr o' z,i) := by |
| 64 | funext w |
| 65 | unfold StepData.connector |
| 66 | have hz : size (z+step i) ≤ size z+1 := (size_add ..).trans (Nat.add_le_add_left (by simp [size,apply_ite Int.natAbs]) _) |
| 67 | rw [travel_at,travel_at]; dsimp only |
| 68 | have shift (c : Side) (t : Site c) : addr t z+step i=addr t (z+step i) := by simp [addr,add_assoc] |
| 69 | simp only [shift] |
| 70 | rw [same_frame hc hc' H z (k:=k) hb (by omega) hp', same_frame hc hc' H (z+step i) (k:=k) hb (by omega) hp',ground,ground] |
| 71 | congr 2 |
| 72 | have ht : size (z+carry (0:Site P.L) w.val) ≤ size z+haze P := (size_add ..).trans |
| 73 | (Nat.add_le_add_left ((carry_size ..).trans (Finset.le_sup (f:=fun i : P.Points => size i.val) (Finset.mem_univ w))) _) |
| 74 | exact H.march hc hc' _ _ (List.replicate P.L.val (posDir i)) (by rw [List.length_replicate]; unfold View.reach at hx; omega) |
| 75 | change P.usesBest K ((data h K).connector V k.1 (addr o z,i)); rw [hh]; exact hp'.2 _ |
| 76 | end watch |
| 77 | |
| 78 | lemma holdWatch (P : Patch) (G : Gauge) (K : KernelChoices) (hb : P.Branches K G) : ∃ r : ℝ, 0 < r ∧ |
| 79 | ∀ {c f : Side} {h : f.val=c.val*P.L.val} (_ : 1<c.val) (k : (data h K).Choices) (z : pair G c f), ‖z‖ < r → Watch (data h K) k z := by |
| 80 | let R := View.reach P+2; let S := refStep P K R; let t := Classical.arbitrary S.Choices |
| 81 | have hw := watches S t hb |
| 82 | obtain ⟨r,hr,he⟩ := Metric.mem_nhds_iff.mp hw |
| 83 | refine ⟨r,hr,?_⟩; intro c f h hc k z hz |
| 84 | have h' (y : Site c) := transported R y z (G:=G) (h:=h) (K:=K) |
| 85 | have H y : Watch S t ((sheet G R h K y) z) := he (by |
| 86 | rw [mem_ball,dist_zero_right] |
| 87 | exact lt_of_le_of_lt (((sheet G R h K y).le_opNorm z).trans (mul_le_of_le_one_left (norm_nonneg _) (transported_size ..))) hz) |
| 88 | refine ⟨fun y => ?_,fun ⟨y,i⟩ => ?_⟩ |
| 89 | · have hh := usesMin_here hc (area_large R) (h' y) (z:=0) (by unfold R; simp [size]) (H y) |
| 90 | simpa only [addr,map_zero,add_zero,Lifted.data] using! hh |
| 91 | have hh := usesBest_here hc (area_large R) (h' y) (k:=k) hb (z:=0) (by unfold R; simp [size]) (H y) i |
| 92 | simpa only [addr,map_zero,add_zero,Lifted.data] using! hh |
| 93 | |
| 94 | section regions |
| 95 | variable {α β X E : Type*} [Fintype α] [Fintype β] [NormedAddCommGroup X] [NormedSpace ℝ X] [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 96 | |
| 97 | lemma local_costs (F : α → E → β → ℝ) (k : ℕ) (hF : ∀ i, ContDiffAt ℝ ω (F i) 0) : ∃ r C : ℝ, 0 < r ∧ 0 < C ∧ |
| 98 | ∀ x : E, ‖x‖ < r → ∀ i, ContDiffAt ℝ ω (F i) x ∧ ∀ b j, j ≤ k → ‖iteratedFDeriv ℝ j (fun y => F i y b) x‖ ≤ C := by |
| 99 | let f i b (j : Fin (k+1)) := ‖iteratedFDeriv ℝ j.val (fun y => F i y b) 0‖ |
| 100 | let C := (∑ i, ∑ b, ∑ j : Fin (k+1), f i b j)+1 |
| 101 | have h i b j : f i b j < C := by |
| 102 | unfold C; apply lt_add_of_le_of_pos _ zero_lt_one |
| 103 | exact (Finset.single_le_sum (f:=f i b) (fun _ _ => norm_nonneg _) (Finset.mem_univ j)).trans |
| 104 | ((Finset.single_le_sum (f:=fun b => ∑ j, f i b j) (fun _ _ => Finset.sum_nonneg (fun _ _ => norm_nonneg _)) (Finset.mem_univ b)).trans |
| 105 | (Finset.single_le_sum (f:=fun i => ∑ b, ∑ j, f i b j) (fun _ _ => Finset.sum_nonneg (fun _ _ => Finset.sum_nonneg (fun _ _ => norm_nonneg _))) (Finset.mem_univ i))) |
| 106 | have hx (i b) (j : Fin (k+1)) := ((contDiffAt_pi.mp (hF i) b).continuousAt_iteratedFDeriv le_top).norm.tendsto.eventually (ge_mem_nhds (h i b j)) |
| 107 | obtain ⟨r,hr,he⟩ := Metric.mem_nhds_iff.mp ((eventually_all.mpr (fun i => (hF i).eventually (by simp))).and |
| 108 | (eventually_all.mpr fun i => eventually_all.mpr fun b => eventually_all.mpr fun j => hx i b j)) |
| 109 | exact ⟨r,C,hr,by unfold C f; positivity,fun x hx i => |
| 110 | ⟨(he (mem_ball_zero_iff.mpr hx)).1 i,fun b j hj => (he (mem_ball_zero_iff.mpr hx)).2 i b ⟨j,Nat.lt_succ_of_le hj⟩⟩⟩ |
| 111 | |
| 112 | omit [Fintype α] in |
| 113 | lemma transferred {r C : ℝ} (F : α → E → β → ℝ) {k : ℕ} (L : X →L[ℝ] E) (h : ‖L‖ ≤ 1) |
| 114 | (hp : ∀ x : E, ‖x‖ < r → ∀ i, ContDiffAt ℝ ω (F i) x ∧ ∀ b j, j ≤ k → ‖iteratedFDeriv ℝ j (fun y => F i y b) x‖ ≤ C) |
| 115 | (i : α) (b : β) (x : X) {f : X → ℝ} (hx : ‖x‖ < r) (he : f =ᶠ[𝓝 x] fun y => F i (L y) b) : |
| 116 | ContDiffAt ℝ ω f x ∧ ∀ j ≤ k, ‖iteratedFDeriv ℝ j f x‖ ≤ C := by |
| 117 | obtain ⟨h0,hy⟩ := hp (L x) (((L.le_opNorm x).trans (mul_le_of_le_one_left (norm_nonneg _) h)).trans_lt hx) i |
| 118 | have hh := contDiffAt_pi.mp h0 b; exact ⟨(hh.comp _ L.contDiff.contDiffAt).congr_of_eventuallyEq he,fun j hj => by |
| 119 | rw [(he.iteratedFDeriv ..).eq_of_nhds, show (fun y => F i (L y) b) = (fun y => F i y b) ∘ L from rfl, WardBin.Lies.liner L (hh.of_le le_top)] |
| 120 | exact ContinuousMultilinearMap.norm_compContinuousLinearMap_le .. |>.trans |
| 121 | ((mul_le_of_le_one_right (norm_nonneg _) (Finset.prod_le_one (fun _ _ => norm_nonneg _) (fun _ _ => h))).trans (hy b j hj))⟩ |
| 122 | end regions |
| 123 | end YM.SelectedOrderedKernels.Small |