Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Cohomology of a smooth projective variety over a finite field: trace formula, Poincaré duality and Deligne's bound ∣α∣≤qi/2|\alpha|\le q^{i/2}∣α∣≤qi/2 on HiH^iHi

Open
WeilConjectures.exists_frobenius_cohomology_weight_bound

by emmgaml · Nov 22, 2026 · Mathlib 0df444a (Lean v4.33.1)

algebraic-geometryweil-conjectures

Let k=Fqk=\mathbb{F}_qk=Fq​ be a finite field of characteristic ppp and let XXX be a non-singular projective variety of dimension nnn over kkk: the structure morphism f:X→Spec⁡kf:X\to\operatorname{Spec}kf:X→Speck is smooth of relative dimension nnn, geometrically irreducible and projective. For m≥1m\ge1m≥1 let Nm=#X(Fqm)N_m=\#X(\mathbb{F}_{q^m})Nm​=#X(Fqm​).

Theorem. There exist a field KKK of characteristic zero and finite-dimensional KKK-vector spaces H0,…,H2nH^0,\dots,H^{2n}H0,…,H2n with endomorphisms Fi:Hi→HiF_i:H^i\to H^iFi​:Hi→Hi such that:

  1. Lefschetz trace formula. For all m≥1m\ge1m≥1,
Nm=∑i=02n(−1)iTr⁡(Fi m∣Hi)in K.N_m=\sum_{i=0}^{2n}(-1)^i\operatorname{Tr}\big(F_i^{\,m}\mid H^i\big)\qquad\text{in }K.Nm​=i=0∑2n​(−1)iTr(Fim​∣Hi)in K.
  1. Poincaré duality. For every 0≤i≤2n0\le i\le2n0≤i≤2n there is a perfect bilinear pairing ⟨ , ⟩:Hi×H2n−i→K\langle\ ,\ \rangle:H^i\times H^{2n-i}\to K⟨ , ⟩:Hi×H2n−i→K with ⟨Fix,F2n−iy⟩=qn⟨x,y⟩\langle F_ix,F_{2n-i}y\rangle=q^n\langle x,y\rangle⟨Fi​x,F2n−i​y⟩=qn⟨x,y⟩.
  2. H0H^0H0. H0H^0H0 is one-dimensional and F0F_0F0​ is the identity.
  3. Weights (Deligne). For every 0≤i≤2n0\le i\le2n0≤i≤2n, every eigenvalue α\alphaα of FiF_iFi​ is algebraic over Q\mathbb{Q}Q, and every complex conjugate zzz of α\alphaα satisfies
∣z∣≤qi/2.|z|\le q^{i/2}.∣z∣≤qi/2.

Precisely: there is a nonzero Wi∈Q[T]W_i\in\mathbb{Q}[T]Wi​∈Q[T] such that the characteristic polynomial det⁡(T−Fi)\det(T-F_i)det(T−Fi​) divides WiW_iWi​ in K[T]K[T]K[T] and all complex roots of WiW_iWi​ have absolute value at most qi/2q^{i/2}qi/2.

With K=QℓK=\mathbb{Q}_\ellK=Qℓ​ for a prime ℓ≠p\ell\ne pℓ=p, Hi=Heˊti(Xkˉ,Qℓ)H^i=H^i_{\text{ét}}(X_{\bar k},\mathbb{Q}_\ell)Hi=Heˊti​(Xkˉ​,Qℓ​) and FiF_iFi​ the action of the Frobenius endomorphism, items 1 and 2 are Grothendieck's trace formula and Poincaré duality, item 3 holds because XXX is geometrically connected, and item 4 follows from Deligne's theorem that the eigenvalues of FiF_iFi​ are algebraic integers all of whose complex conjugates have absolute value exactly qi/2q^{i/2}qi/2; one may take WiW_iWi​ to be the product of the minimal polynomials over Q\mathbb{Q}Q of the eigenvalues, with multiplicities.

Only the upper bound is asked for in item 4. Together with items 1 to 3 it implies the equality ∣α∣=qi/2|\alpha|=q^{i/2}∣α∣=qi/2, the integrality of the polynomials det⁡(1−TFi)\det(1-TF_i)det(1−TFi​) and the Riemann hypothesis for XXX in the form of WeilConjectures.riemann_hypothesis; this implication is the Proved node WeilConjectures.weil_riemann_hypothesis_of_cohomology_weight_bound. Items 1 and 2 alone are the node WeilConjectures.exists_frobenius_cohomology_poincare_duality.

Formalization Note The hypotheses are exactly those of WeilConjectures.riemann_hypothesis; NmN_mNm​ is pointCount p f m and qqq is Nat.card k. The spaces HiH^iHi are given in coordinates: di=dim⁡Hid_i=\dim H^idi​=dimHi is d i and FiF_iFi​ is a square matrix Φ i of size d i; the indices i>2ni>2ni>2n are not constrained. The pairing on Hi×H2n−iH^i\times H^{2n-i}Hi×H2n−i is given by its Gram matrix G with a two-sided inverse H, and the compatibility with Frobenius reads ΦiT G Φ2n−i=qn G\Phi_i^{\mathsf T}\,G\,\Phi_{2n-i}=q^n\,GΦiT​GΦ2n−i​=qnG. Item 3 is d 0 = 1 ∧ Φ 0 = 1. In item 4, "complex root of WWW" is aeval z W = 0 for z : ℂ and qi/2q^{i/2}qi/2 is the real power (Nat.card k : ℝ) ^ ((i : ℝ) / 2). The field K lives in Type.

Preamble
import Mathlib
import Definitions.Def_WeilConjectures_projectiveSpace
import Definitions.Def_WeilConjectures_zetaFunction

open AlgebraicGeometry CategoryTheory Polynomial
open WeilConjectures
Formal statement
theorem WeilConjectures.exists_frobenius_cohomology_weight_bound (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) :
    ∃ (K : Type) (_ : Field K) (_ : CharZero K) (d : ℕ → ℕ)
      (Φ : (i : ℕ) → Matrix (Fin (d i)) (Fin (d i)) K),
      (∀ m : ℕ, 0 < m → (pointCount p f m : K) =
        ∑ i ∈ Finset.range (2 * n + 1), (-1 : K) ^ i * ((Φ i) ^ m).trace) ∧
      (∀ i ≤ 2 * n, ∃ (G : Matrix (Fin (d i)) (Fin (d (2 * n - i))) K)
          (H : Matrix (Fin (d (2 * n - i))) (Fin (d i)) K),
          G * H = 1 ∧ H * G = 1 ∧
          (Φ i).transpose * G * Φ (2 * n - i) = (Nat.card k : K) ^ n • G) ∧
      (d 0 = 1 ∧ Φ 0 = 1) ∧
      (∀ i ≤ 2 * n, ∃ W : ℚ[X], W ≠ 0 ∧ (Φ i).charpoly ∣ W.map (algebraMap ℚ K) ∧
        ∀ z : ℂ, aeval z W = 0 → ‖z‖ ≤ (Nat.card k : ℝ) ^ ((i : ℝ) / 2)) := by sorry
Source
Wikipedia, *Weil conjectures*, https://en.wikipedia.org/wiki/Weil_conjectures, sections "Grothendieck's proofs of three of the four conjectures" and "Deligne's first proof of the Riemann hypothesis conjecture"; P. Deligne, *La conjecture de Weil. I*, Publ. Math. IHÉS 43 (1974), 273–307, https://www.numdam.org/item/PMIHES_1974__43__273_0/, §1, (1.5.1) (Lefschetz formula), §2, Théorème (2.3) and (2.5) (Poincaré duality, F∗=qnF^*=q^nF∗=qn on H2nH^{2n}H2n), and §1, Théorème (1.6) with Lemme (1.7) (the eigenvalues of F∗F^*F∗ on Hi(X,Qℓ)H^i(X,\mathbb{Q}_\ell)Hi(X,Qℓ​) are algebraic numbers all of whose complex conjugates have absolute value qi/2q^{i/2}qi/2); P. Deligne, *Cohomologie étale* (SGA 4½), Lecture Notes in Math. 569 (1977), « Rapport sur la formule des traces ».

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