Submitted:
21 June 2025
Posted:
26 June 2025
You are already at the latest version
Abstract
Keywords:
1. Introduction: Purpose and Background
Can the notion of primality itself be reformulated as a global geometric object over an arithmetic scheme?
2. Mathematical Background
2.1. Schemes and the Zariski Topology: The Geometric Foundation over
- The closed subsets of are of the form .
- The basic open sets are , which serve as the domains of localization.
- The point is closed.
- Choose a localization , i.e., exclude the prime 2.
- Define , i.e., numbers not divisible by 2.
2.2. Sheaf Theory: Presheaves, Gluing, and Consistency
- 1.
- is the identity map on .
- 2.
- For any , we have .
- 1.
- (Local identity) If and for all i, then .
- 2.
- (Gluing) If is an open cover of U, and agree on overlaps, i.e., , then there exists a unique with for all i.
- Exponential approximation:
- Modular: , where
- p-adic unit: , so fails p-adic filter
- Elliptic curve: define , check if X is x-coordinate of regular point
2.3. Elliptic Curves and the Néron Model
2.4. p-adic Numbers, Valuation, and Hensel’s Lemma
2.5. Baker’s Theorem and Exponential Approximation (Revised)
2.6. Fiber Product and Universal Property
- ,
- , where ,
- ,
- .
3. Primality Testing Algorithm
3.1. Numerical Approximation Condition: and Log-Linear Structure
3.2. Modular Congruence Filtering Condition
3.3. Elliptic Curve Filter Condition — Regularity and Néron Extension
- Numerical approximation filter: from Step 3.1
- Modular congruence filter: from Step 3.2
3.4. p-adic Unit Condition
- That is, X has a multiplicative inverse in
- Which implies that X acts regularly in the local ring
- Section 3.1 provides the exponential approximation
- Section 3.2 filters candidates by congruence
- Section 3.4.1 defines unit condition via
3.5. Summary of Gluing Conditions for the Primality Sheaf Construction
- Given , define for some .
- Over the finite field , most elliptic curves are nonsingular (i.e., ).
- Thus, X is likely to be a regular point on .
- To verify regularity, check that and holds.
-
This geometric condition defines a sheaf section that is compatible with:
- –
- the numerical approximation filter (3.1),
- –
- the modular congruence filter (3.2).
- Therefore, this filter glues with other conditions over a common open set .
- If , then , i.e., a p-adic unit.
- This implies that X is not divisible by any prime , consistent with primality.
- The p-adic unit group structure:is a sheafifiable, topological group, and defines a local section:
- Since this filter is defined on and does not contradict conditions from 3.1–3.3, it glues naturally.
- Given , define , where is a small correction polynomial.
- Then:where is the derivative of .
- If:then by Hensel’s Lemma, X lifts to a root in , confirming its local regularity.
- This structure is compatible with the previous p-adic unit condition and fits into the same local sheaf , reinforcing the gluing consistency.
3.6. Summary of Independence and Structural Integration of Filtering Conditions
- : Tests exponential approximation of the form
- : Enforces modular congruence conditions
- : Requires regularity on a smooth elliptic curve over
- : Establishes local unit structure and liftability in
- The use of a common approximation base
- The expression of all conditions as sheaf sections over Zariski-open sets
- Satisfaction of the sheaf gluing axiom through overlap and consistency
4. Construction of the Primality Sheaf
4.1. Primality Filters as Local Sheaves
- is defined over , where
- is defined over , where
- is defined over , where is the discriminant of the elliptic curve
- is defined over , for some prime
4.2. Openness of Filter Domains and Local Sheaf Justification
- Exponential approximation (): , with filter defined over
- Modular congruence (): , defined over
- Elliptic curve regularity: , defined over
- p-adic unit condition: , defined over
4.3. Global Sheaf Structure via Local Gluing
4.4. Presheaf Structure of Filtering Conditions
4.5. Verification of Gluing Conditions and Structural Coherence
4.6. Universal Property and Sheafification of Primality Filters (Revised)
4.7. Defining Domains and Overlap Compatibility of Filtering Conditions
- , where
- , where
- , the discriminant of the elliptic curve E
- , for primes
- Section 4.1 establishes the Baker-based exponential approximation and defines
- Section 4.2 shows that is derived from , which directly links to
- Section 4.3 confirms that and Hensel’s Lemma applies at roots of
- Section 4.4 shows that is regular if , over
4.8. Compatibility of Filtering Conditions over Intersections
4.9. Structural Integration and Sheaf Realization from Gluing Conditions
5. Proof of Equivalence: Global Sections and Primality
5.1. Primality Implies Global Section
- Numerical Approximation (): Choose A and such that . By Baker’s theorem, for , the approximation error is bounded below unless exactly. Since p is prime, there exist A and (e.g., ) such that for .
- Modular Congruence (): Let with . Since p is prime, choose y such that (e.g., adjust y to make M a multiple of p). Thus, .
- Elliptic Curve Regularity (): Choose an elliptic curve over with and . Since p is prime, it can often be represented as the x-coordinate of a point on . By the smoothness of E, .
- p-adic Unit (): For all primes , , so . By Hensel’s lemma, solutions modulo q lift to . Thus, for all relevant q.
5.2. Global Section Implies Primality (Revised)
- Numerical Approximation (): for some , , such that for (by Baker’s Theorem, Section 3.1).
- Modular Congruence (): , where , and (Section 3.2).
- Elliptic Curve Regularity (): X is the x-coordinate of a regular point on a smooth elliptic curve over , where and (Section 3.3).
- p-adic Unit (): for all primes , i.e., (Section 3.4).
- For , , and .
- For , , and .
- Regularity Requirement: For to be regular (non-singular), the Jacobian criterion must hold, where . This implies and .
- Hasse-Weil Bound: The number of points on is approximately . For large q, most x-coordinates in are likely to yield valid points unless is consistently a non-square modulo q.
-
Composite X Analysis:
- –
- If X is composite, say , we test whether X consistently lies on smooth elliptic curves over . Consider a randomly chosen E with .
- –
-
Mini-Example: Let , , , so . Choose over . Compute , so E is smooth. Check if is a valid x-coordinate:If and r is not a quadratic residue modulo 243, then is not a point on , causing X to fail .
- –
- General Insight: For composite X, the probability that is a quadratic residue for a random smooth E is roughly per curve. By testing multiple curves (e.g., ), the likelihood of X passing decreases if X is composite, especially when combined with ’s restriction.
-
Strengthening :
- –
-
Assume X is prime. By the Hasse-Weil bound, has enough points to likely include X as an x-coordinate for some smooth E. For example, if , test over with . Compute:If this is a quadratic residue, , satisfying .
- –
- For composite X, the additional constraint from ( for all ) already eliminates composites. However, to ensure robustness, we require X to lie on multiple elliptic curves over for . This increases the selectivity of , as the probability that a composite X satisfies all k curves diminishes exponentially (approximately ).
-
Case: . Choose , , so . Consider over . Compute:Since , we have:
6. Proof of Equivalence: Global Sections and Primality
6.1. Primality Implies Global Section
- Numerical Approximation (): Choose A and such that . By Baker’s theorem, for , the approximation error is bounded below unless exactly. Since p is prime, there exist A and (e.g., ) such that for .
- Modular Congruence (): Let with . Since p is prime, choose y such that (e.g., adjust y to make M a multiple of p). Thus, .
- Elliptic Curve Regularity (): Choose an elliptic curve over with and . Since p is prime, it can often be represented as the x-coordinate of a point on . By the smoothness of E, .
- p-adic Unit (): For all primes , , so . By Hensel’s lemma, solutions modulo q lift to . Thus, for all relevant q.
6.2. Global Section Implies Primality
- Numerical Approximation (): for some , , such that for (by Baker’s Theorem, Section 3.1).
- Modular Congruence (): , where , and (Section 3.2).
- Elliptic Curve Regularity (): X is the x-coordinate of a regular point on a smooth elliptic curve over , where and (Section 3.3).
- p-adic Unit (): for all primes , i.e., (Section 3.4).
- For , , and .
- For , , and .
- Regularity Requirement: For to be regular (non-singular), the Jacobian criterion must hold, where . This implies and .
- Hasse-Weil Bound: The number of points on is approximately . For large q, most x-coordinates in are likely to yield valid points unless is consistently a non-square modulo q.
-
Composite X Analysis:
- –
- If X is composite, say , we test whether X consistently lies on smooth elliptic curves over . Consider a randomly chosen E with .
- –
-
Mini-Example: Let , , , so . Choose over . Compute , so E is smooth. Check if is a valid x-coordinate:Since , we have:Check if 242 is a quadratic residue modulo . Since and 2 is not a square modulo 3 (squares are ), 242 is not a quadratic residue modulo 3, hence not modulo 243. Thus, , and fails .
- –
- General Insight: For composite X, the probability that is a quadratic residue for a random smooth E is roughly per curve. By testing multiple curves (e.g., ), the likelihood of X passing decreases exponentially (approximately ).
-
Strengthening :
- –
-
Assume X is prime. By the Hasse-Weil bound, has enough points to likely include X as an x-coordinate for some smooth E. For example, if , test over with . Compute:If this is a quadratic residue, , satisfying .
- –
- For composite X, the additional constraint from ( for all ) already eliminates composites. However, to ensure robustness, we require X to lie on multiple elliptic curves over for . This increases the selectivity of , as the probability that a composite X satisfies all k curves diminishes exponentially.
References
- Agrawal, Manindra; Kayal, Neeraj; Saxena, Nitin. PRIMES is in P. Ann. of Math. (2) 160 (2004), no. 2, 781–793. [CrossRef]
- Atkin, A. O. L.; Morain, François. Elliptic curves and primality proving. Math. Comp. 61 (1993), no. 203, 29–68. [CrossRef]
- Baker, Alan. Transcendental number theory. Cambridge University Press, Cambridge, 1975. [CrossRef]
- Hartshorne, Robin. Algebraic geometry. Graduate Texts in Mathematics, No. 52, Springer-Verlag, New York-Heidelberg, 1977. [CrossRef]
- Néron, André. Modèles minimaux des variétés abéliennes sur les corps locaux et globaux. Inst. Hautes Études Sci. Publ. Math. No. 21 (1964), 5–128. [CrossRef]
- Silverman, Joseph H. The arithmetic of elliptic curves. Second edition, Graduate Texts in Mathematics, No. 106, Springer, Dordrecht, 2009. [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/).
