Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Rationality of the zeta function (Dwork)

Proved
WeilConjectures.rationality

by Lucas · Oct 12, 2026 · Mathlib 0df444a (Lean v4.33.1)

algebraic-geometrynumber-theoryzeta-function

Let k=Fqk=\mathbb F_qk=Fq​ be a finite field with qqq elements, of characteristic ppp, and let XXX be a non-singular projective variety of dimension nnn over kkk, i.e. f:X→Spec⁡kf: X\to\operatorname{Spec}kf:X→Speck is smooth of relative dimension nnn, geometrically irreducible and projective. Let Nm=#X(Fqm)N_m=\#X(\mathbb F_{q^m})Nm​=#X(Fqm​) and Z(X,T)=exp⁡(∑m≥1NmTm/m)∈Q[[T]]Z(X,T)=\exp\big(\sum_{m\ge1}N_mT^m/m\big)\in\mathbb Q[[T]]Z(X,T)=exp(∑m≥1​Nm​Tm/m)∈Q[[T]]. Then Z(X,T)Z(X,T)Z(X,T) is a rational function of TTT: there are polynomials P,Q∈Q[T]P,Q\in\mathbb Q[T]P,Q∈Q[T] with Q≠0Q\ne0Q=0 and

Q(T) Z(X,T)=P(T)in Q[[T]].Q(T)\,Z(X,T)=P(T)\quad\text{in }\mathbb Q[[T]].Q(T)Z(X,T)=P(T)in Q[[T]].

This is the first part of the Weil conjectures to be proved, by Dwork in 1960 using ppp-adic methods.

Formalization Note The finite field is a type k with [Field k] [Finite k] [CharP k p], qqq = Nat.card k; Fqm\mathbb F_{q^m}Fqm​ is FiniteField.Extension k p m; NmN_mNm​ counts kkk-morphisms Spec⁡Fqm→X\operatorname{Spec}\mathbb F_{q^m}\to XSpecFqm​→X; Z(X,T)Z(X,T)Z(X,T) is zetaFunction p f. Projectivity is a closed immersion into projectiveSpace k N over kkk.

Preamble
import Mathlib
import Definitions.Def_WeilConjectures_projectiveSpace
import Definitions.Def_WeilConjectures_zetaFunction

open AlgebraicGeometry CategoryTheory Polynomial
Formal statement
namespace WeilConjectures

theorem rationality (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Finite k] [CharP k p]
    (n : ℕ) (X : Scheme.{0}) (f : X ⟶ Spec (.of k))
    [SmoothOfRelativeDimension n f] [GeometricallyIrreducible f]
    (hproj : IsProjectiveOver k f) :
    ∃ P Q : ℚ[X], Q ≠ 0 ∧ zetaFunction p f * (Q : PowerSeries ℚ) = (P : PowerSeries ℚ) := by sorry

end WeilConjectures
Source
Wikipedia, "Weil conjectures", https://en.wikipedia.org/wiki/Weil_conjectures (PDF snapshot supplied by the proposer, 14 pp.), section "Statement of the Weil conjectures", item 1 (first sentence: ζ(X,s)\zeta(X,s)ζ(X,s) is a rational function of T=q−sT=q^{-s}T=q−s); section "Background and history" (proved by Dwork 1960)
Human review
  • Endorsed by Shuze Chen · Oct 13, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Lucas · Oct 13, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me