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 a prime and any integer , is when and otherwise; so makes and coprime
Statement
Let be a prime (Prime and composite integers: is prime when and its only positive divisors are and ) and let . Then
with as in Common divisor, and the greatest common divisor , with the convention and divisibility as in Divisibility in : when for some integer . In particular, if then and are coprime (Coprime integers: ).
Facts & Assumptions
Given: A prime , an integer , and (Common divisor, and the greatest common divisor , with the convention ).
, and every positive divisor of satisfies or (Prime and composite integers: is prime when and its only positive divisors are and ).
unless , in which case ( is symmetric and unchanged by signs: ; moreover , , , and unless ).
Divisibility is reflexive and transitive: for every , and with gives (Divisibility is reflexive and transitive on , and is linear: if and then for all integers ; also implies , and , Divisibility in : when for some integer ).
exactly when or ( is a commutative monoid whose group of units is ; equivalently holds exactly for and ).
and are coprime exactly when (Coprime integers: ).
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), The integers as equivalence classes of pairs of naturals).
is a commutative ring: addition is associative and commutative, , and every has an additive inverse , with ; we write for (The integers form a commutative ring, Arithmetic on the integers).
Proof
in : lies in the image of , hence , and because is injective and in .
Suppose . Then is a common divisor of and , since , so .
: adding to both sides of preserves the order, giving .
and , so ; consequently , and in particular .
and : the first because , the second because and the order is transitive.
is a positive divisor of , so or .
In that case : otherwise , forcing or and contradicting step 3.1. So by step 3.2.
Suppose instead . Then , since and would give . So by step 3.2, that is, and are coprime.
Either or , and no third possibility exists, so the two cases above are exhaustive and give the stated value of in each.
Remarks
-
This is the only place on this page where primality becomes coprimality. Every later appeal to Bézout's identity — Euclid's lemma (Euclid's lemma: if is prime and then or ) first among them — runs through this lemma rather than through the definition of a prime, because the published If and then ; and if , and then is stated for coprime integers and uses no primality at all.
-
The hypothesis that is prime is used twice, and both uses are essential: once for , which puts outside the pair where the convention lives and excludes from being a unit, and once for the divisor condition, which is what leaves only the two candidate values and . For a composite the conclusion fails: , which is neither nor , while .
Depends on
Prime and composite integers: is prime when and its only positive divisors are and
Common divisor, and the greatest common divisor , with the convention
Every common divisor of and divides ; consequently exactly when , , , and every common divisor of and divides — a characterisation that holds at as well
is symmetric and unchanged by signs: ; moreover , , , and unless
Coprime integers:
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 monoid whose group of units is ; equivalently holds exactly for and
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