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: $p$ is prime when $p > 1$ and its only positive divisors are $1$ and $p$
- Common divisor, and the greatest common divisor $\gcd(a,b)$, with the convention $\gcd(0,0) := 0$
- Every common divisor of $a$ and $b$ divides $\gcd(a,b)$; consequently $d = \gcd(a,b)$ exactly when $d \ge 0$, $d \mid a$, $d \mid b$, and every common divisor of $a$ and $b$ divides $d$ — a characterisation that holds at $(a,b) = (0,0)$ as well
- $\gcd$ is symmetric and unchanged by signs: $\gcd(a,b) = \gcd(b,a) = \gcd(|a|,|b|)$; moreover $\gcd(a,0) = |a|$, $\gcd(a,1) = 1$, $\gcd(a,a) = |a|$, and $\gcd(a,b) \ge 1$ unless $a = b = 0$
- Coprime integers: $\gcd(a,b) = 1$
- Divisibility in $\mathbb{Z}$: $d \mid a$ when $a = dq$ for some integer $q$
- Divisibility is reflexive and transitive on $\mathbb{Z}$, and is linear: if $d \mid a$ and $d \mid b$ then $d \mid ax + by$ for all integers $x, y$; also $d \mid a$ implies $d \mid ac$, $-d \mid a$ and $d \mid -a$
- $(\mathbb{Z}, \cdot, 1)$ is a commutative monoid whose group of units is $\{1, -1\}$; equivalently $u \mid 1$ holds exactly for $u = 1$ and $u = -1$
- 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 $\mathbb{N}$ (von Neumann)
- The naturals embed in the integers
Used by
- φ(1)=1, and φ(p)=p-1 for every prime p Corollary
- Euclid's lemma: if p is prime and p ∣ ab then p ∣ a or p ∣ b Theorem
- Euler's product formula φ(n)=n∏_p∣ n(1-1/p)=∏_pᵏ∥ n(pᵏ-pᵏ⁻¹) for n≥1, stated through a finite injective list of its prime divisors Theorem
- Fermat's little theorem: for prime p, p∤ a implies aᵖ⁻¹≡1pmod p, and always aᵖ≡ apmod p Theorem
- For a prime p and k≥1, φ(pᵏ)=pᵏ-pᵏ⁻¹ Theorem
- For every prime p, the two operations on ℤ/p make it a field Theorem
Dependency tree · next 3 levels
Direct dependencies and their dependencies through the next three levels: 73 results over 23 levels. An arrow runs from a result to what uses it, and this result sits at the bottom with a heavier outline. Click the chart to enlarge it.
Sources
- Euclid's lemma (Wikipedia) (standard reference, not scraped)
- Coprime integers (Wikipedia) (standard reference, not scraped)
- Inquiry into Advanced Algebra: Division, primes, and factorisation (standard reference, not scraped)