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.TraceExtension.Perfect.Chaff |
| 2 | |
| 3 | /-! # Mean-transpose probe as ink of weight 3 (shift by one extra due continuum response rooting). -/ |
| 4 | set_option autoImplicit false |
| 5 | noncomputable section |
| 6 | namespace YM.Trace.Perfect |
| 7 | open Function Matrix Lattice Precision Laurent Stationary Bloch Next.Free Exterior Finset RG |
| 8 | open YM.AnalyticNext.QuarticMatch.Hessian |
| 9 | open Tracks |
| 10 | open scoped BigOperators Topology ContDiff |
| 11 | variable {c f:Side} |
| 12 | def trench (S:StepData c f)(x:Site f)(j:Body 1 f):= (mean S).transpose (x,j.2) |
| 13 | |
| 14 | lemma polar_bud (α T:ℝ)(t j:ℕ)(hα:0≤α)(hT:0≤T): ∃ C:ℝ,0 ≤ C ∧ ∀ (c f:Side)(S:StepData c f),S.patch.J=j → ∀ (v:Site c)(x:Site f),(separation (S.ratio.embed v) x:ℝ) ≤ T*S.ratio.count.val→ |
| 15 | Settle (roof v) (fun p:Body 1 f=> separation p.1 x) (mean S).transpose 0 (trench S x) α t S.ratio.count.val C:=by |
| 16 | let K:ℕ:=small j |
| 17 | let W:=shelter α t (T+K+5) |
| 18 | have htℓ:0≤T+K+5:=by positivity |
| 19 | have hW:0 ≤ W:= (shelter_pos α t htℓ).le |
| 20 | refine ⟨8*W,mul_nonneg (by norm_num) hW, fun c f S e v x h =>?_⟩ |
| 21 | let L:ℝ:=S.ratio.count.val; have hp:1 ≤ L:= by unfold L; exact_mod_cast (show 1≤S.ratio.count.val from S.ratio.count.property) |
| 22 | have hL : 0<L:=lt_of_lt_of_le zero_lt_one hp |
| 23 | let A(p:Body 1 c):=roof v p |
| 24 | let g:=S.ratio |
| 25 | have hA(z:Site f)(r:ℝ)(y : TypeFace 1)(p:Body 1 c)(hw:mean S p (z,y)≠0)(hz:(separation x z:ℝ) ≤ L*(5+r)) : spot α t r (separation v p.1) ≤ W:=by |
| 26 | have h' : L*separation v p.1 ≤ (separation (g.embed v) x:ℝ)+(separation x z:ℝ)+(separation z (g.embed p.1):ℝ):=by |
| 27 | have he:= (Corona.below g v p.1).trans (le_trans (separation_triangle _ z _) (Nat.add_le_add_right (separation_triangle _ x z) _)); change (g.count.val:ℝ)*_≤_; exact_mod_cast he |
| 28 | have hs : (separation z (g.embed p.1):ℝ) ≤ K*L := by |
| 29 | rw [separation_comm]; by_contra! hn; apply hw; apply mean_radius S |
| 30 | unfold L K at hn; rw [e]; exact_mod_cast hn |
| 31 | refine shelter_top hα le_rfl (le_max_left ..) (max_le htℓ ?_) le_rfl |
| 32 | apply le_of_mul_le_mul_left _ hL; change (separation (g.embed v) x:ℝ) ≤ T*L at h; nlinarith only[h,hz,h',hs] |
| 33 | have hc (z:Site f)(r:ℝ)(y: TypeFace 1)(hz:(separation x z:ℝ) ≤ L*(5+r)): sh A α t r ((mean S).transpose (z,y))≤W/L^3:=by |
| 34 | unfold sh; apply le_trans (sum_le_sum (g:=fun i=> W*mean S i (z,y)) ?_) |
| 35 | · rw [← mul_sum,mean_columns]; change W*(L^3)⁻¹ ≤ _; rw [← div_eq_mul_inv] |
| 36 | intro i _; rw [transpose_apply, Real.norm_of_nonneg (mean_pos ..)]; by_cases hw: mean S i (z,y)=0 |
| 37 | · simp [hw] |
| 38 | exact mul_le_mul_of_nonneg_right (hA z r y i hw hz) (mean_pos ..) |
| 39 | refine ⟨fun p=> ?_, fun p=> ?_, fun p=> ?_, fun p hp'=> ?_⟩ |
| 40 | · let r:= separation p.1 x; apply (hc p.1 (r/L) p.2 (by rw [separation_comm]; change (r:ℝ) ≤ _; field_simp; nlinarith only [hL])).trans |
| 41 | have hx : L⁻¹ ≤ min 1 ((1+r)/L):= le_min (inv_le_one_of_one_le₀ hp) (by rw [← one_div]; gcongr; simp) |
| 42 | change W/L^3≤8*W*rush L r |
| 43 | refine le_trans ?_ (mul_le_mul_of_nonneg_left (mul_le_mul_of_nonneg_left hx (inv_nonneg.mpr hL.le)) (mul_nonneg (by norm_num : (0:ℝ)≤8) hW)) |
| 44 | field_simp; nlinarith only[hW,hp, mul_le_mul_of_nonneg_right hp hW] |
| 45 | · change sh A α t 0 0 ≤_ ; rw [sh_zero]; positivity |
| 46 | · apply (hc x 0 p.2 (by rw [separation_self,Nat.cast_zero]; positivity)).trans |
| 47 | change W/L^3≤ 8*W*((1+(separation p.1 x:ℝ))^2/L^3); field_simp; have he:= one_le_pow₀ (show 1 ≤ 1+(separation p.1 x:ℝ) by simp) (n:=2); nlinarith only [mul_le_mul_of_nonneg_left he hW,hW] |
| 48 | rcases p with ⟨q,a⟩; let r:= separation q x |
| 49 | let F (i:Cover):=(mean S).transpose (wrap f i+x,a); let z:= lift (q-x); have hs:(size z:ℝ)≤4*r:=by exact_mod_cast ambient_size (q-x) |
| 50 | have he:F z=(mean S).transpose (q,a):=by simp [F,z] |
| 51 | have hv(y:Cover)(hy:size y≤ size z)(i:Axis): sh A α t 0 (move F i y) ≤ W*(2/L^4):=by |
| 52 | unfold F move; dsimp only; erw [map_add, wrap_step, add_right_comm] |
| 53 | let b:= wrap f y+x |
| 54 | have hN : sh A α t 0 ((mean S).transpose (b+step i,a)-(mean S).transpose (b,a)) = |
| 55 | ∑ p:Body 1 c, spot α t 0 (A p)* |mean S p (b+step i,a) - mean S p (b,a)|:= rfl |
| 56 | rw [hN] |
| 57 | refine le_trans ?_ (mul_le_mul_of_nonneg_left (mean_motion S a b i) hW); rw [mul_sum]; apply Finset.sum_le_sum; intro p _ |
| 58 | have hf : (separation x b:ℝ) ≤ 4*L := calc |
| 59 | _ ≤ (size y:ℝ):=by unfold b; rw [separation_comm, separation, add_sub_cancel_right]; exact_mod_cast within_size .. |
| 60 | _ ≤ (size z:ℝ) := Nat.cast_le.mpr hy |
| 61 | _ ≤ _:= hs.trans (mul_le_mul_of_nonneg_left hp' (by norm_num)) |
| 62 | by_cases he: mean S p (b,a)=0 |
| 63 | · by_cases ht: mean S p (b+step i,a)=0 |
| 64 | · simp [he,ht] |
| 65 | apply mul_le_mul_of_nonneg_right (hA _ _ _ _ ht ?_) (abs_nonneg _) |
| 66 | have hh : separation b (b+step i) ≤ 1 := by rw [separation_comm,separation, add_comm b,add_sub_cancel_right]; exact pdist_step _ |
| 67 | have hz : (separation x (b+step i):ℝ) ≤ (separation x b:ℝ)+1 := by exact_mod_cast (separation_triangle x b (b+step i)).trans (Nat.add_le_add_left hh _) |
| 68 | linarith only [hz,hf,hp] |
| 69 | exact mul_le_mul_of_nonneg_right (hA _ _ _ _ he (by linarith only[hf,hp])) (abs_nonneg _) |
| 70 | have hz:=walk_tiny F (R:=size z) (W*(2/L^4)) hv z le_rfl |
| 71 | change sh A α t 0 ((mean S).transpose (q,a) - 0 -(mean S).transpose (x,a))≤ 8*W*((1+r)^3/L^4); rw [← he,sub_zero, show (mean S).transpose (x,a)=F 0 by simp [F]] |
| 72 | refine hz.trans ((mul_le_mul_of_nonneg_right hs (show 0≤W*(2/L^4) by positivity)).trans ?_) |
| 73 | field_simp; have hf : (r:ℝ) ≤ (1+r)^3:=by |
| 74 | refine le_trans (le_add_of_nonneg_left (by norm_num : (0:ℝ)≤1)) ?_ |
| 75 | conv_lhs=> rw [← pow_one (1+(r:ℝ))]; |
| 76 | apply pow_le_pow_right₀ (by simp); norm_num |
| 77 | nlinarith only [mul_le_mul_of_nonneg_left hf hW] |
| 78 | end YM.Trace.Perfect |