Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Actual rational function and cleared highest-pole coefficient

Definition
ZetaNine_CoefficientMap

by Yuxuan Xu · Oct 3, 2026 · Mathlib 0df444a (Lean v4.33.1)

finite-productsformalizationnumber-theoryrational-functions

Let n,jn,jn,j be natural numbers and let ttt be rational. The actual numerator and pole product are

Nn(t)=n!7∏i=1n(t−i)∏i=1n(t+n+i),Qn(t)=∏k=0n(t+k),Rn(t)=Nn(t)Qn(t)9.N_n(t)=n!^7\prod_{i=1}^{n}(t-i)\prod_{i=1}^{n}(t+n+i),\qquad Q_n(t)=\prod_{k=0}^{n}(t+k),\qquad R_n(t)=\frac{N_n(t)}{Q_n(t)^9}.Nn​(t)=n!7i=1∏n​(t−i)i=1∏n​(t+n+i),Qn​(t)=k=0∏n​(t+k),Rn​(t)=Qn​(t)9Nn​(t)​.

Let Qn,j(t)Q_{n,j}(t)Qn,j​(t) be the product over 0≤k≤n0\le k\le n0≤k≤n with k≠jk\ne jk=j, and set R~n,j(t)=Nn(t)/Qn,j(t)9\widetilde R_{n,j}(t)=N_n(t)/Q_{n,j}(t)^9Rn,j​(t)=Nn​(t)/Qn,j​(t)9 and Cn,j=R~n,j(−j)C_{n,j}=\widetilde R_{n,j}(-j)Cn,j​=Rn,j​(−j). For a rational polynomial WWW, the actual weighted function is Rn(t)W(t(t+n))R_n(t)W(t(t+n))Rn​(t)W(t(t+n)); its cleared expression and highest cleared-pole value are defined by multiplying R~n,j\widetilde R_{n,j}Rn,j​ by the same polynomial evaluation and then evaluating at t=−jt=-jt=−j.

These finite-product constructions provide the interface for clearing a pole and computing the actual highest coefficient. No binomial coefficient closed formula is used as a definition. The unmodified rational division operations are total; a pole coefficient uses the cleared expression, not Rn(−j)R_n(-j)Rn​(−j).

Definition code
import Mathlib.Algebra.Polynomial.Eval.Defs
import Mathlib.Algebra.BigOperators.Ring.Finset
import Mathlib.Data.Nat.Choose.Cast
import Mathlib.Data.Nat.Factorial.BigOperators

set_option autoImplicit false
noncomputable section
open scoped BigOperators
open Finset Polynomial

namespace ZetaNine.CoefficientMap

def numerator (n : ℕ) (t : ℚ) : ℚ :=
  (n.factorial : ℚ) ^ 7 *
    (∏ i ∈ range n, (t - ((i : ℚ) + 1))) *
    (∏ i ∈ range n, (t + n + ((i : ℚ) + 1)))

def poleProduct (n : ℕ) (t : ℚ) : ℚ :=
  ∏ k ∈ range (n + 1), (t + k)

def actualR (n : ℕ) (t : ℚ) : ℚ := numerator n t / poleProduct n t ^ 9

def clearedPoleProduct (n j : ℕ) (t : ℚ) : ℚ :=
  ∏ k ∈ (range (n + 1)).erase j, (t + k)

def clearedR (n j : ℕ) (t : ℚ) : ℚ :=
  numerator n t / clearedPoleProduct n j t ^ 9

def leadingPoleCoefficient (n j : ℕ) : ℚ := clearedR n j (-(j : ℚ))

def weightedR (n : ℕ) (W : ℚ[X]) (t : ℚ) : ℚ :=
  actualR n t * W.eval (t * (t + n))

def clearedWeightedR (n j : ℕ) (W : ℚ[X]) (t : ℚ) : ℚ :=
  clearedR n j t * W.eval (t * (t + n))

def weightedLeadingPoleCoefficient (n j : ℕ) (W : ℚ[X]) : ℚ :=
  clearedWeightedR n j W (-(j : ℚ))

end ZetaNine.CoefficientMap
Source
Zeta(9) research notes: missions/zeta9/research/coefficient-map-finite-entry-2026-10-03.md (actual product definitions and highest cleared-pole coefficient); underlying missions/zeta9/round5/research/arithmetic.md, equations (1), (5), and (6), specialized to p=9, one layer q=1, m=n. Frozen verified Lean source missions/zeta9/formalization/CoefficientMap.lean, SHA256 e055780f1abf389593fbccba2194fc52ee85108bbb4593439c32230944b3ab03. Definition declarations are the exact original Lean parser spans.
Human review
  • Endorsed by Shuze Chen · Oct 8, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Yuxuan Xu · Oct 8, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me