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.
Euclid's lemma: if is prime and then or
Statement
Let be a prime (Prime and composite integers: is prime when and its only positive divisors are and ) and let . If (Divisibility in : when for some integer ) then
Facts & Assumptions
Given: A prime and integers with .
For a prime and any integer : if then (For a prime and any integer , is when and otherwise; so makes and coprime, Common divisor, and the greatest common divisor , with the convention ).
If and then , for all integers (If and then ; and if , and then ).
and are coprime exactly when (Coprime integers: ).
means for some ; divisibility is reflexive and transitive (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; in particular multiplication is commutative and associative (The integers form a commutative ring, Arithmetic on the integers, The integers as equivalence classes of pairs of naturals).
, and every positive divisor of is or (Prime and composite integers: is prime when and its only positive divisors are and ).
Proof
Suppose . Then the disjunction or holds on its first alternative, and there is nothing further to prove.
Suppose instead . Then , so and are coprime.
Apply [L2] with , and . Its two hypotheses are exactly , which is step 1.2, and , which is given; its conclusion is .
Either or , so the two cases are exhaustive; in the first and in the second , which is the assertion.
Remarks
-
This is a two-line consequence, and that is the point. The work was done one page earlier: If and then ; and if , and then proves that together with forces , and its own Remarks record that "no primality is used" in it — the proof is pure Bézout. The summary of the page carrying it says in as many words that "primes, Euclid's lemma and unique factorisation are not proved here; they belong to a later page". This is that page, and the only new ingredient is For a prime and any integer , is when and otherwise; so makes and coprime, which converts primality into the coprimality that lemma actually consumes.
-
The hypothesis cannot be weakened to . For a composite modulus the conclusion fails, and the published witness is while and : dividing a product does not force dividing a factor, and the coprimality hypothesis is what fails: while and . Its Remarks identify the failure as exactly the failure of coprimality, which is what primality supplies here.
-
The converse holds too. For the property proved here characterises primality; that is For an integer : is prime if and only if, for all integers and , implies or , next on this page.
Depends on
- Prime and composite integers: $p$ is prime when $p > 1$ and its only positive divisors are $1$ and $p$
- For a prime $p$ and any integer $a$, $\gcd(p,a)$ is $p$ when $p \mid a$ and $1$ otherwise; so $p \nmid a$ makes $p$ and $a$ coprime
- If $\gcd(a,b) = 1$ and $a \mid bc$ then $a \mid c$; and if $a \mid c$, $b \mid c$ and $\gcd(a,b) = 1$ then $ab \mid c$
- Coprime integers: $\gcd(a,b) = 1$
- Common divisor, and the greatest common divisor $\gcd(a,b)$, with the convention $\gcd(0,0) := 0$
- 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$
- The integers as equivalence classes of pairs of naturals
- Arithmetic on the integers
- The integers form a commutative ring
Used by
- A rational root of xᵏ = m is an integer: if k ≥ 1, m ∈ ℤ, x ∈ ℚ and xᵏ is the image of m, then x is the image of an integer Corollary
- For an integer p > 1: p is prime if and only if, for all integers a and b, p ∣ ab implies p ∣ a or p ∣ b Corollary
- If a prime p divides a finite product ∏_i<n aᵢ of integers then p ∣ aᵢ for some i < n; at n = 0 the product is 1 and the hypothesis cannot hold Corollary
- In the multiplicative monoid H = {1, 4, 7, 10, …} of positive integers one more than a multiple of 3, the element 100 has two genuinely different factorisations into irreducibles, 4 · 25 and 10 · 10 Counterexample
- 360 = 2³ · 3² · 5 and 84 = 2² · 3 · 7, with gcd(360,84) = 12 and lcm(360,84) = 2520 read off the exponents Example
- The 2-adic absolute value gives an ultrametric on ℚ, in which every triangle is isosceles and every point of a ball is a centre Example
- vₚ(ab) = vₚ(a) + vₚ(b) for nonzero integers a, b, and vₚ(a+b) ≥ min{vₚ(a), vₚ(b)} whenever a, b and a+b are all nonzero Lemma
- The fundamental theorem of arithmetic: every integer n ≥ 1 is a product of primes, and the factorisation is unique up to order — if ∏_i<r pᵢ = ∏_j<s qⱼ with every pᵢ and qⱼ prime, then r = s and qᵢ = p_π(i) for some π ∈ Sym(r) Theorem
Dependency tree · next 3 levels
Direct dependencies and their dependencies through the next three levels: 63 results over 22 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)
- Inquiry into Advanced Algebra: Division, primes, and factorisation (standard reference, not scraped)