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.Next.RANK.ParticleGate |
| 2 | |
| 3 | /-! |
| 4 | # Check separation and period costs for Fourier-port outputs |
| 5 | |
| 6 | Translate by normalization BEFORE taking limit. Don't interchange N estimates with |
| 7 | those after going to period. Take A start and rounding, any distinct probe pair. |
| 8 | Include offsets even out to *all* high residual lookup points admitted at that |
| 9 | probe's W0 test (on lifted street ball, including winding declarations). |
| 10 | -/ |
| 11 | set_option autoImplicit false |
| 12 | noncomputable section |
| 13 | namespace YM.Next.Rank.Wall |
| 14 | open Function Set Lattice Wilson RG Normal Perch Atlas Station CellsInt Configuration Glimmer Filter Beamer |
| 15 | open scoped Topology BigOperators Classical |
| 16 | |
| 17 | variable {G : Gauge} {n d p k v j : ℕ} |
| 18 | |
| 19 | lemma norm_road (x : Cover) : ‖mapZ x‖ ≤ (street x:ℝ) := by |
| 20 | have he : mapZ x=∑ i : Axis,(x i:ℝ) • basis i := by ext1 i; simp [mapZ, apply_ite] |
| 21 | rw [he]; apply (norm_sum_le ..).trans |
| 22 | simp only [norm_smul,basis_norm,mul_one,Real.norm_eq_abs,← Int.cast_abs, Int.abs_eq_natAbs,Int.cast_natCast,street,Nat.cast_sum]; exact le_rfl |
| 23 | lemma sends_map (x y : Cover) : mapZ (x+y)=mapZ x+mapZ y := by ext1 i; simp [mapZ] |
| 24 | lemma sends_sub (x y : Cover) : mapZ (x-y)=mapZ x-mapZ y := by ext1 i; simp [mapZ] |
| 25 | |
| 26 | |
| 27 | -- k-relative physical displacement. measurement on $ρ$ scale, not a_l. |
| 28 | |
| 29 | def moved (x : Points n) (A : Levels G) (b : ℝ) (i j : Fin n) (k : ℕ) (L S : Cover) : E4 := |
| 30 | let f:= Station.choose A b k x; mapZ ((f i+L)-(f j+S)) |
| 31 | lemma settled (x : Points n) (A : Levels G) (b : ℝ) (i j) k L S : (mag A b k)⁻¹ • moved x A b i j k L S = |
| 32 | ((tested A b k x) i-(tested A b k x) j)+ (mag A b k)⁻¹ • (mapZ L-mapZ S) := by |
| 33 | unfold moved; rw [sends_sub,sends_map,sends_map, add_sub_add_comm,smul_add,smul_sub _ (mapZ ((choose A b k x) i)) (mapZ ((choose A b k x) j))] |
| 34 | congr 1; rw [reading]; rfl |
| 35 | |
| 36 | -- decay of sum of offset costs. no supports after reading omitted. |
| 37 | |
| 38 | lemma near_offsets (x : Points n) (A : Levels G) {b : ℝ} (hp : 0<b) (i j : Fin n) (hg : G.Simple) (ε : ℝ) (he : 0<ε) : |
| 39 | ∀ᶠ k in atTop, ∀ a c : Cover, street a≤ wood A k → street c≤ wood A k → dist ((mag A b k)⁻¹ • moved x A b i j k a c) (x i - x j)<ε := by |
| 40 | let f (k) := tested A b k x i-tested A b k x j |
| 41 | have ht : Tendsto f atTop (𝓝 (x i-x j)) := |
| 42 | (show Continuous (fun x : Points n => x i-x j) from by fun_prop).continuousAt.tendsto.comp (tuning A x hg hp) |
| 43 | let Y k := wood A k |
| 44 | filter_upwards [ht.eventually (Metric.ball_mem_nhds _ (half_pos he)), |
| 45 | (hat_rate A hg).eventually (transports (show b/2<b by linarith) (4/ε)), |
| 46 | (hat_rate A hg).eventually (zone_power 1 (show 0<b/2 by linarith))] with k hk h1 h2 a c ha hc |
| 47 | let M:=Station.mag A b k |
| 48 | have hv : 0<M := mag_pos .. |
| 49 | simp only [pow_one] at h2 |
| 50 | let w := M⁻¹ • (mapZ a-mapZ c) |
| 51 | have hy : ‖mapZ a-mapZ c‖ ≤ 2*↑(Y k) := by |
| 52 | apply (norm_sub_le ..).trans; linarith only [le_trans (norm_road a) (show (street a:ℝ) ≤ Y k by exact_mod_cast ha),le_trans (norm_road c) (show (street c:ℝ) ≤ Y k by exact_mod_cast hc)] |
| 53 | have hh : ‖w‖ ≤ ε/2 := by |
| 54 | unfold w; rw [norm_smul,norm_inv, Real.norm_of_nonneg hv.le] |
| 55 | apply (mul_le_mul_of_nonneg_left hy (inv_pos.mpr hv).le).trans |
| 56 | rw [← div_eq_inv_mul, div_le_iff₀ hv]; unfold Y; field_simp at h1; change (↑(lengthW _):ℝ) ≤ _ at h2; unfold M; rw [mag_bill]; nlinarith only [h1,h2] |
| 57 | rw [settled]; change dist (f k+w) _< ε |
| 58 | have ht : dist (f k+w) (f k) ≤ ε/2 := by rw [dist_eq_norm, add_comm,add_sub_cancel_right]; exact hh |
| 59 | exact lt_of_le_of_lt (dist_triangle _ (f k) _) (by linarith only [ht, Metric.mem_ball.mp hk]) |
| 60 | |
| 61 | -- grow any fixed power of p vs side on original clock, uniform all periods without selecting larger p. |
| 62 | lemma beyond_hat (A : Levels G) (hg : G.Simple) (b : ℝ) : Tendsto (fun k => bill b (clim A k)*A.S.a k) atTop (𝓝 0) := by simp_rw [← mag_bill]; simpa only [mul_comm] using! gap_rate A hg b |
| 63 | lemma far (A : Levels G) (hg : G.Simple) (b C : ℝ) : ∀ᶠ k in atTop,∀ p : ℕ, C*bill b (clim A k)/(A.S.side k p).val ≤ 1 := by |
| 64 | rcases le_or_gt C 0 with H|H |
| 65 | · refine Eventually.of_forall fun k p => ?_ |
| 66 | exact (div_nonpos_of_nonpos_of_nonneg (mul_nonpos_of_nonpos_of_nonneg H (Real.exp_pos _).le) (by positivity)).trans zero_le_one |
| 67 | have he := (beyond_hat A hg b).const_mul C; rw [mul_zero] at he |
| 68 | filter_upwards [he.eventually (ge_mem_nhds zero_lt_one)] with i hi p |
| 69 | rw [div_le_one (show 0<((A.S.side i p).val:ℝ) by positivity)] |
| 70 | let u:= A.S.denominator i |
| 71 | have hp : u.val ≤ (A.S.side i p).val := Nat.le_mul_of_pos_left _ (A.S.period p).property |
| 72 | refine le_trans ?_ (Nat.cast_le.mpr hp) |
| 73 | have hr : A.S.a i=(u.val:ℝ)⁻¹ := rfl |
| 74 | change C*(_*A.S.a i) ≤ _ at hi; rw [hr,← mul_assoc,← div_eq_mul_inv,div_le_one (by positivity)] at hi; exact hi |
| 75 | |
| 76 | -- normalized kpcu error primitive. `e0` actual promised coefficient (tested uniformly through rack), costs exponent. |
| 77 | |
| 78 | def stature (D : ℕ) (z : E4) (p : ℝ) := 1/‖z‖^(D+5)+(1+‖z‖)/p |
| 79 | |
| 80 | end YM.Next.Rank.Wall |