Submitted:
23 June 2025
Posted:
27 June 2025
You are already at the latest version
Abstract
Keywords:
MSC: 11Y11 (Primality testing); 14H52 (Elliptic curves)
1. Introduction
1.1. Research Motivation
1.2. Proposal Overview
- An exponential approximation with respect to some small ,
- A congruence condition such as for a modulus M dependent on and A,
- A geometric condition ensuring that X corresponds to a regular point on a constructed elliptic curve with good reduction.
1.3. Main Contributions
- Exponential Approximation Theory: We quantify how close a candidate number X is to a perfect power , using bounds derived from Baker-type lower estimates in transcendental number theory.
- p-adic Valuation Framework: We incorporate local field theory to analyze the unit conditions of in , using valuations to filter composite structures.
- Elliptic Curve Geometry: We use Weierstrass models and Jacobian criteria to determine if X maps to a regular point on an elliptic curve, thus encoding primality as a smooth geometric embedding.
- Our method replaces probabilistic iteration (e.g., Miller-Rabin) with deterministic layered filters.
- Compared to the AKS test, which relies on polynomial identity testing and cyclotomic fields, our approach leverages valuation theory and elliptic curves to reduce computational depth.
- Unlike Lucas-Lehmer, which is structure-specific, our method is extensible to multiple number forms via modular generalization.
2. Mathematical Background
2.1. Overview of Primality Testing
- Miller-Rabin Test: A probabilistic method based on repeated applications of Fermat’s Little Theorem. While efficient, it does not offer a deterministic guarantee.
- Lucas-Lehmer Test: A deterministic method specialized for numbers of the form , i.e., Mersenne primes.
- AKS Test: A breakthrough deterministic primality test operating in polynomial time , using polynomial identities and binomial expansions.
- Analyzing whether X approximates a perfect power within a tolerable error, using bounds inspired by Baker’s theorem.
- Evaluating whether is a p-adic unit, i.e., , and its implications for smoothness over .
- Interpreting X as a point on an elliptic curve and checking its regularity via Jacobian and discriminant conditions, as guided by the Néron model and Tate’s algorithm.
2.2. Elliptic Curve Theory
2.2.1. Integer Coefficient Weierstrass Model
2.2.2. Concept of p-adic Valuation
2.2.3. p-adic Unit Conditions and Elliptic Curve Regularity
2.3. Algorithm Design
| Algorithm 1:Primality Testing via p-adic Units and Elliptic Curves |
|
3. Details of the Algorithm
3.1. Time Complexity Analysis
3.1.1. Exponential Computation
3.1.2. Square Root Approximation
3.1.3. p-adic Valuation
3.1.4. Elliptic Curve Regularity and Congruence Verification
3.1.5. Summary and Conversion
3.2. Condition Verification
3.2.1. p-adic Unit Condition
3.2.2. Elliptic Curve Regularity Condition
3.2.3. Congruence Class and Group-Theoretic Condition
3.2.4. Summary
- The p-adic unit condition confirms local nondivisibility and lifting,
- The geometric regularity condition ensures smooth embedding into an elliptic curve,
- The congruence condition enforces compatibility with group structures that only primes can maintain.
3.3. Primality Determination Logic
3.3.1. Logical Structure of the Test
- (i)
- p-adic Unit Condition: , so .
- (ii)
- Elliptic Curve Regularity: is a regular point on , with and .
- (iii)
- Group-Theoretic Congruence: and for .
- a local arithmetic filter via p-adic valuation,
- a geometric regularity filter via smoothness of an elliptic curve,
- a congruence and group structure filter reflecting prime-like cyclicity.
3.3.2. Theoretical Justification
3.3.3. Decision Statement
- (i)
- , i.e., ,
- (ii)
- The elliptic curve with point satisfies the Jacobian criterion and ,
- (iii)
- and for ,
3.3.4. Operational Flow and Complexity
- Logical modularity,
- Deterministic computation,
- Polynomial-time termination.
4. Comparison of Algorithms
4.1. Our Proposed Algorithm
- Arithmetic sieving via p-adic valuation and Hensel’s Lemma;
- Geometric verification using discriminants and the Jacobian criterion;
- Congruence analysis reflecting Galois and group-theoretic torsion structures.
- Layered Filtering: Modularity of conditions allows the algorithm to short-circuit upon early disqualification.
- Geometric Interpretability: The use of smooth models of elliptic curves provides a higher-level interpretation of primality as geometric regularity.
- Determinism and Extensibility: The test is deterministic and may be generalized to other families of structured inputs via algebraic geometry.
4.2. Comparison with Classical Algorithms
- The proposed algorithm performs at most operations via fast exponentiation, square root extraction, and elliptic curve point tests.
- AKS performs polynomial identity checks in a ring .
- Miller-Rabin operates faster in practice, but lacks provable deterministic guarantees.
- Smooth embeddings into elliptic curves,
- Discriminant-based non-singularity,
- Frobenius trace and torsion behavior,
- Intrinsic obstruction: composites rarely pass all filters.
- Modular decoupling: independent testability of valuation, curve geometry, and congruence structure.
- Extensibility: potential generalization to genus-g curves and cohomological methods.
| Criteria | Lucas-Lehmer | Miller-Rabin | AKS |
|---|---|---|---|
| Target | Mersenne primes | General integers | General |
| Determinism | Deterministic (special) | Probabilistic | Deterministic |
| Bit Complexity | |||
| Mathematical Tools | Linear recurrence | Fermat residues | Polynomial identities |
| Geometric Interpretability | None | None | Limited |
| Scalability | Poor | Moderate | High |
| Congruence Logic | Sequence-based | Residue classes | Polynomial identities |
5. Regularity and the Néron Model
5.1. Smoothness and Regularity of Elliptic Curves
5.2. Stability of p-adic Valuation
- the model remains integral over (consistency),
- structural properties survive under change of coordinates (invariance),
- local geometry is preserved (smoothness),
5.3. The Role of the Discriminant Unit Condition
- (i)
- E has good reduction over ;
- (ii)
- the special fiber is smooth;
- (iii)
- the model over is regular and coincides with the Néron minimal model.
- The curve is smooth over .
- The point associated with X lies in the smooth locus.
- Regularity and good reduction conditions are met.
5.4. Degeneration, Reduction, and the Tate Algorithm
6. Applicability and Limitations
- N may not fit the form , disrupting group structure.
- may not satisfy .
- Elliptic curve models may lack smooth reduction.
7. Conclusions
- Formalization of the p-adic unit condition as a local arithmetic sieve,
- Use of Néron models and discriminant invariants to verify geometric regularity,
- Construction of congruence-based group structures to capture prime behavior,
- Rigorous complexity analysis and comparison with classical tests.
References
- Gouvèa, F. Q. (1997). p-adic Numbers: An Introduction. Springer. [CrossRef]
- Silverman, J. H. (2009). The Arithmetic of Elliptic Curves (2nd ed.). Springer. [CrossRef]
- Tate, J. (1975). Algorithm for determining the type of a singular fiber in an elliptic pencil. Modular Functions of One Variable IV, Lecture Notes in Mathematics, 476, Springer, 33–52.
- Agrawal, M., Kayal, N., Saxena, N. (2004). PRIMES is in P. Annals of Mathematics, 160(2), 781–793. [CrossRef]
- Washington, L. C. (2008). Elliptic Curves: Number Theory and Cryptography (2nd ed.). Chapman and Hall/CRC. [CrossRef]
- Serre, J.-P. (1979). Local Fields. Springer GTM 67. [CrossRef]
- Lang, S. (1994). Algebraic Number Theory. Springer. [CrossRef]
- Koblitz, N. (1984). p-adic Numbers, p-adic Analysis, and Zeta Functions. Springer. [CrossRef]
- Cohen, H. (2021). Advanced Topics in Computational Number Theory. Springer. [CrossRef]
- Mazur, B., Rubin, K. (2023). Elliptic Curves and Arithmetic Invariants. Journal of Number Theory, 250, 1–45. [CrossRef]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).