---
title: 'PRIMES 2.0: CM-based Primality Proving'
url: https://www.emergentmind.com/topics/primes-2-0
type: topic
---

# PRIMES 2.0: CM-based Primality Proving

Searching arXiv for the specified paper and closely related work on deterministic primality proving with elliptic curves and CM.
PRIMES 2.0 denotes a deterministic primality-proving framework based on elliptic curves with complex multiplication (CM), introduced by Abatzoglou, Silverberg, Sutherland, and Wong in “A framework for deterministic primality proving using elliptic curves with complex multiplication” [1404.0107]. The framework applies to integers lying in special sequences and determines primality or compositeness in deterministic quasi-quadratic time. Its central mechanism is to construct CM elliptic curves modulo the candidate integer, predict the group order via CM theory, and certify primality through a point-multiplication relation of Pomerance type. In the formulation associated with [1404.0107], the method was used to find large primes, including a \(1\,392\,250\)-bit prime arising from a \(-15\)-CM sequence.

## 1. Conceptual basis in CM theory

The framework is built on the arithmetic of imaginary quadratic orders and the endomorphism theory of elliptic curves. Let \(K=\mathbf{Q}(\sqrt{D})\) be an imaginary quadratic field of discriminant \(D<0\), and let \(O=O_K\) be its full ring of integers, or an order of conductor \(f\mid D\). An elliptic curve \(E\) over a number field \(M\) is said to have CM by \(O\) if there is an isomorphism of rings
\[
\operatorname{End}_M(E)\simeq O\subset \operatorname{End}_{\overline M}(E).
\]
In the formulation given for PRIMES 2.0, this is also summarized as
\[
\mathrm{End}_M(E)\;\simeq\;O_K\;\subset\;\End_{\overline M}(E)\;\simeq\;O_K.
\]

A second foundational object is the Hilbert class polynomial. For the full ring of integers \(O_K\), the polynomial is
\[
H_D(X)\;=\;\prod_{[\mathfrak a]\in\operatorname{Cl}(O_K)}\bigl(X-j(\mathbf{C}/\mathfrak a)\bigr)\in\mathbf{Z}[X].
\]
Its degree is the class number \(h(D)=|\operatorname{Cl}(O_K)|\). Once \(H_D\) is known, by complex-analytic or CRT-based methods, it can be reduced modulo an arbitrary \(n\) to obtain candidate \(j\)-invariants in \(\mathbf{F}_n\) or, more generally, in \(\mathbf{Z}/n\mathbf{Z}\) [1404.0107].

These ingredients place CM theory at the center of the primality test. The class polynomial supplies algebraic moduli data, while the CM endomorphism structure supplies a priori information about Frobenius and hence the anticipated group order of the elliptic curve. This suggests that the method is not merely an elliptic-curve analogue of a probable-prime test, but a certificate-producing framework in which the arithmetic of the chosen CM field controls both construction and verification.

## 2. Algorithmic structure

The input is an odd integer \(n>2\) whose primality is to be decided. The procedure described in [1404.0107] is organized into a fixed sequence of steps.

First, one picks a suitable discriminant \(D<0\) of small class number \(h(D)\), and computes or retrieves the Hilbert class polynomial
\[
H_D(X)\in \mathbf{Z}[X],\qquad \deg H_D=h(D).
\]

Second, one reduces \(H_D\) modulo \(n\) and attempts to find a root
\[
j_0\in (\mathbf{Z}/n\mathbf{Z})\quad\text{satisfying}\quad H_D(j_0)\equiv 0\pmod n.
\]
If no such root exists, then \(n\) must be composite, because a prime \(p\equiv 1\pmod{|D|}\) always supports exactly \(h(D)\) roots. If a root does exist, one proceeds with one of the resulting \(j\)-invariants.

Third, from \(j_0\in\mathbf{F}_n\) one constructs an elliptic curve
\[
E/\mathbf{F}_n:\; y^2=x^3+Ax+B,\qquad j(E)=j_0,
\]
using the standard bijection between \(j\)-invariants and curve coefficients, for example Tate normal form or the classical formulas relating \(j\) and \((A,B)\). By construction,
\[
\operatorname{End}(E)\otimes \mathbf{Q}\simeq K
\]
and, in the formulation stated for the framework, in fact \(\operatorname{End}(E)\simeq O\) [1404.0107].

Fourth, if \(n\) is prime, the CM method identifies the absolute Frobenius endomorphism \(\pi\in O\) through
\[
\pi+\bar\pi=t,\qquad \pi\bar\pi=n,\qquad t^2-4n=D\cdot u^2
\]
for some integer \(u\). Consequently,
\[
\#E(\mathbf{F}_n)=n+1-t
\]
can be computed entirely in \(O(h(D)+\log n)\) time by solving the norm equation in \(O\), or by explicit evaluation of modular polynomials of small degree.

Fifth, one chooses a rational prime factor \(m\) of \(\#E(\mathbf{F}_n)\) that exceeds \(n^{1/4}\); the framework states that one is guaranteed to exist when \(n\) is prime. Let \(P\) be a random or small base point in \(E(\mathbf{F}_n)\). Under the assumption that \(n\) is prime one has
\[
[m]P=O\quad\text{in }E(\mathbf{F}_n),
\]
whereas for any prime divisor \(p\mid n\), if \(n\) were composite, the reduction modulo \(p\) would satisfy \(\gcd(m,\#E(\mathbf{F}_p))<m\), so that
\[
[m]P\neq O\quad\text{mod }p.
\]
Thus the single relation \([m]P=O\) in \(E(\mathbf{F}_n)\) certifies primality. If the test fails, the method can often extract a nontrivial factor of \(n\) from the false relation [1404.0107].

The output is either “\(n\) is composite” or “\(n\) is prime” together with the certificate consisting of the curve \(E\), the point \(P\), and the integer \(m\).

## 3. Complexity and computational profile

The framework states that all of its steps can be carried out in quasi-quadratic time,
\[
\widetilde O\bigl((\log n)^2\bigr),
\]
where \(\widetilde O\) suppresses factors polynomial in \(\log\log n\) [1404.0107]. In the notation used in the exposition of the method, this is also written as
\[
T(n)=\widetilde O\!\bigl((\log n)^2\bigr).
\]

The complexity decomposition given for the principal subroutines is as follows.

| Substep | Complexity |
|---|---|
| Precompute \(H_D\) | \(\widetilde O\bigl(h(D)^2\log^2 n\bigr)\) |
| Find \(j \pmod n\) | \(\widetilde O\bigl(h(D)\log n\bigr)\) |
| Curve construction and “CM-jump” | \(\widetilde O\bigl(\log^2 n\bigr)\) |
| Point multiplication | \(\widetilde O\bigl(\log n\cdot M(\log n)\bigr)=\widetilde O\bigl(\log^2 n\bigr)\) |

Here the dependence on the class number \(h(D)\) is explicit in the class-polynomial and root-finding stages. The requirement that \(D<0\) have small class number is therefore not incidental; it is a structural condition on the practical efficiency of the framework. This suggests that the “special sequences” to which the method applies are precisely those for which an appropriate CM discriminant with tractable class polynomial data can be integrated into the primality proof strategy.

Verification is correspondingly efficient. In the large-prime example described in the source, verifying the relation \([m]P=O\) requires only \(O(\log^2 F_k)\) bit-operations [1404.0107]. Within the intended setting, the certificate is therefore compact in the computational sense that its validation remains quasi-quadratic in the bit length.

## 4. The \(-15\)-CM example and explicit large-prime certification

A concrete illustration appears in §6 of [1404.0107]. The authors consider the sequence
\[
F_k=N_{K/\mathbf{Q}}\bigl(1-4\alpha^k\bigr)\subset \mathbf{Z},\qquad
K=\mathbf{Q}(\sqrt{-15}),\;\alpha=1+\sqrt{-15}.
\]
They show how to apply the framework with class number \(h=2\), so that the Hilbert class polynomial has degree \(2\).

After sieving and then applying the CM test, they obtain that for
\[
k=223\,021,
\]
the integer \(F_k\) is a \(1\,392\,250\)-bit prime, approximately \(419\,110\) decimal digits. The corresponding certificate consists of an elliptic curve \(E/\mathbf{F}_{F_k}\) with CM by \(O_K\), a base point \(P\), and an integer \(m\mid \#E(\mathbf{F}_{F_k})\) with
\[
m>F_k^{1/4}
\]
such that \([m]P=O\) [1404.0107].

The source characterizes this prime as the largest prime currently known whose primality cannot feasibly be proved using classical methods. It also states that the \(1\,392\,250\)-bit \(-15\)-CM prime is currently the largest prime whose primality cannot be proved by any non-elliptic-curve method. In the context of the framework, this example functions as more than an existence proof. It demonstrates that the method is capable of producing rigorous primality certificates for extremely large integers outside the classical families ordinarily associated with specialized tests.

## 5. Relation to earlier primality-proving methods

The framework is explicitly contrasted with both classical special-form tests and general deterministic or heuristic algorithms [1404.0107]. Classical Lucas–Lehmer or Pepin-type tests run in \(O(n^2)\) time, where \(n\) denotes the bit length, but they apply only to very special forms such as Fermat, Mersenne, and Proth numbers. By contrast, the CM framework applies to any \(n\) in a “CM-sequence,” namely a setting in which \(1\pm 4\alpha^k\) is integral in \(O_K\), and yields a full primality certificate.

The paper also positions the framework relative to AKS and Atkin–Morain ECPP. It states that the first general deterministic polynomial-time algorithm, AKS, runs in \(O(n^6)\), while the fastest known proof-found algorithms based on Atkin–Morain with random CM curves have heuristic cost approximately \(O(n^4)\). Against this background, PRIMES 2.0 achieves provable \(O(n^2\operatorname{polylog} n)\) on its special sequences [1404.0107].

These comparisons identify the method’s domain of strength with precision. It is not presented as a universal replacement for general-purpose primality proving, nor as a mere special-case analogue of Lucas–Lehmer. Rather, it occupies an intermediate position: more structured and sequence-dependent than general algorithms, but vastly more flexible than tests tied to a handful of classical number forms. A plausible implication is that the framework’s significance lies in converting algebraic structure from CM theory into deterministic complexity guarantees that remain unavailable for generic inputs.

## 6. Scope, certification logic, and interpretive boundaries

The certification logic is Pomerance-style in the sense stated in the source: primality is reduced to a single annihilation relation \([m]P=O\) on an elliptic curve whose order has been predicted from CM data [1404.0107]. The certificate is explicit and consists of the curve, the point, and the integer \(m\). This distinguishes the method from empirical prime-generating constructions and from tests that certify only probable primality.

A common misconception would be to treat the framework as a general deterministic quasi-quadratic primality test for arbitrary integers. The source does not make that claim. It states instead that the framework determines primality or compositeness of integers that lie in special sequences, and that it applies to \(n\) in a “CM-sequence.” Its deterministic quasi-quadratic complexity is therefore sequence-conditional rather than universal [1404.0107].

Another potential misconception is that the method depends only on finding a suitable elliptic curve modulo \(n\). In fact, the decisive ingredient is the CM structure: the discriminant \(D\), the Hilbert class polynomial \(H_D\), the existence of a compatible \(j\)-invariant modulo \(n\), and the Frobenius relation
\[
t^2-4n=D\cdot u^2.
\]
Without that algebraic framework, the predicted order \(\#E(\mathbf{F}_n)=n+1-t\) and the certified choice of \(m>n^{1/4}\) would not be available in the form required by the method.

In summary, PRIMES 2.0 is a deterministic CM-based framework for proving the primality of integers in specially structured sequences, with quasi-quadratic complexity, explicit certificates, and a concrete record-setting application to a \(1\,392\,250\)-bit \(-15\)-CM prime [1404.0107]. Its defining contribution is the synthesis of Hilbert class polynomial methods, CM Frobenius determination, and elliptic-curve point-multiplication certificates into a provable primality-proving pipeline.

Source: https://www.emergentmind.com/topics/primes-2-0