How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
For an integer : is prime if and only if, for all integers and , implies or
Statement
Let with . The following are equivalent:
- is prime (Prime and composite integers: is prime when and its only positive divisors are and );
- for all , implies or (Divisibility in : when for some integer ).
Facts & Assumptions
Given: An integer with .
is prime exactly when and every positive divisor of satisfies or (Prime and composite integers: is prime when and its only positive divisors are and ).
If is prime and then or (Euclid's lemma: if is prime and then or ).
and together hold exactly when , and exactly when for a unit (For integers and the following are equivalent: and ; for a unit ; . Being associates is an equivalence relation whose class of is , is a commutative monoid whose group of units is ; equivalently holds exactly for and ).
exactly when or ( is a commutative monoid whose group of units is ; equivalently holds exactly for and ).
means for some ; divisibility is reflexive (Divisibility in : when for some integer , Divisibility is reflexive and transitive on , and is linear: if and then for all integers ; also implies , and ).
is a commutative ring: multiplication is associative and commutative, , and every has an additive inverse (The integers form a commutative ring, Arithmetic on the integers, The integers as equivalence classes of pairs of naturals).
The order on is total, antisymmetric and transitive and is compatible with addition; means together with (The integers form a totally ordered ring, Order on the integers).
The embedding is injective, preserves the order, and has as image exactly the nonnegative integers, with and ; and in (The naturals embed in the integers, The natural numbers (von Neumann)).
Proof
: lies in the image of , so , and because is injective and in . Adding throughout gives .
Claim 1 implies claim 2: if is prime this is exactly [L2].
Assume claim 2, and let be a positive divisor of ; fix with .
, so and .
Then , since and ; so claim 2 applied with and gives or .
Suppose . Since also , [L3] gives , hence for a unit . If then , contradicting ; so and .
Suppose instead , and fix with . Then , and , so cancellation gives . Hence , so or , and leaves .
By step 2.2 one of the two cases occurs, so every positive divisor of satisfies or ; together with the standing hypothesis this says is prime, so claim 2 implies claim 1.
The two implications of steps 1.2 and 4.1 give the equivalence.
Remarks
-
Both directions need , and it is a standing hypothesis rather than part of either claim. Claim 2 alone does not force primality: satisfies it vacuously, since for every , and so does , because forces and hence or (The integers have no zero divisors; multiplicative cancellation). Neither is prime, and the clause of Prime and composite integers: is prime when and its only positive divisors are and is what excludes them.
-
The two halves of the equivalence are the two notions a general theory keeps apart. Claim 1 says cannot be split into smaller positive factors; claim 2 says , when it divides a product, already divides a factor. In they coincide, and that coincidence is what makes unique factorisation work; the counterexample In the multiplicative monoid of positive integers one more than a multiple of , the element has two genuinely different factorisations into irreducibles, and ↗ on the companion page shows what fails in a setting where the analogue of claim 1 holds and the analogue of claim 2 does not.
Depends on
Euclid's lemma: if is prime and then or
Prime and composite integers: is prime when and its only positive divisors are and
Divisibility in : when for some integer
Divisibility is reflexive and transitive on , and is linear: if and then for all integers ; also implies , and
For integers and the following are equivalent: and ; for a unit ; . Being associates is an equivalence relation whose class of is
is a commutative monoid whose group of units is ; equivalently holds exactly for and
The integers have no zero divisors; multiplicative cancellation
The absolute value of an integer
Absolute value in : ; exactly when ; ; ; ; and exactly when
The integers as equivalence classes of pairs of naturals
Arithmetic on the integers
Order on the integers
The integers form a commutative ring
The integers form a totally ordered ring
The natural numbers (von Neumann)
The naturals embed in the integers