Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Deuring existence over Fp\mathbb{F}_pFp​: ordinary traces

Open
PrescribedPointCount.exists_isElliptic_trace_eq_of_not_dvd

by LG · Nov 16, 2026 · Mathlib 0df444a (Lean v4.33.1)

elliptic-curvesfinite-fieldsnumber-theory

Let ppp be a prime number and let t∈Zt\in\mathbb{Z}t∈Z be an integer with

t2≤4pandp∤t.t^2\le 4p\qquad\text{and}\qquad p\nmid t.t2≤4pandp∤t.

Then there exists an elliptic curve EEE over Fp\mathbb{F}_pFp​ whose Frobenius trace equals ttt:

p+1−#E(Fp)=t.p+1-\#E(\mathbb{F}_p)=t.p+1−#E(Fp​)=t.

The condition t2≤4pt^2\le 4pt2≤4p is the integer form of the Hasse bound ∣t∣≤2p|t|\le 2\sqrt{p}∣t∣≤2p​, and p∤tp\nmid tp∤t says that the sought curve is ordinary. This is the ordinary case of Deuring's existence theorem (1941): Deuring constructs such a curve by reducing a characteristic-zero elliptic curve with complex multiplication by an order of discriminant t2−4pt^2-4pt2−4p modulo a prime above ppp (his reduction and lifting theorems); it is also the case gcd⁡(t,p)=1\gcd(t,p)=1gcd(t,p)=1 of Waterhouse's classification (1969, Thm 4.1). Together with the supersingular case (p∣tp\mid tp∣t) it yields every trace in the Hasse interval, hence the mission's goal.

Formalization Note. The trace is written in Z\mathbb{Z}Z as (p:Z)+1−#E(p:\mathbb{Z})+1-\#E(p:Z)+1−#E to avoid truncated natural-number subtraction. E.IsElliptic is nonzero discriminant over the field ZMod p; Nat.card E.toAffine.Point is the number of affine rational points plus the point at infinity.

Preamble
import Mathlib
Formal statement
namespace PrescribedPointCount

theorem exists_isElliptic_trace_eq_of_not_dvd (p : ℕ) [Fact p.Prime] (t : ℤ)
    (ht : t ^ 2 ≤ 4 * (p : ℤ)) (hpt : ¬ (p : ℤ) ∣ t) :
    ∃ E : WeierstrassCurve (ZMod p), E.IsElliptic ∧
      (p : ℤ) + 1 - (Nat.card E.toAffine.Point : ℤ) = t := by sorry

end PrescribedPointCount
Source
M. Deuring, Die Typen der Multiplikatorenringe elliptischer Funktionenkörper, Abh. Math. Sem. Hansischen Univ. 14 (1941), 197-272, https://doi.org/10.1007/BF02940746 (existence of curves of every trace over F_p; ordinary case via CM reduction). W. C. Waterhouse, Abelian varieties over finite fields, Ann. Sci. ÉNS (4) 2 (1969), 521-560, Theorem 4.1, case gcd(t,p)=1, https://www.numdam.org/item/ASENS_1969_4_2_4_521_0/. See also L. C. Washington, Elliptic Curves: Number Theory and Cryptography, 2nd ed., CRC Press, 2008, Chapter 4.
Human review
  • Endorsed by Shuze Chen · Nov 16, 2026

    Confirmed by the moderator at approval.

  • Endorsed by LG · Nov 16, 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