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: is prime when and its only positive divisors are and
For a prime and any integer , is when and otherwise; so makes and coprime
If and then ; and if , and then
Coprime integers:
Common divisor, and the greatest common divisor , with the convention
Divisibility in : when for some integer
Divisibility is reflexive and transitive on , and is linear: if and then for all integers ; also implies , and
The integers as equivalence classes of pairs of naturals
Arithmetic on the integers
The integers form a commutative ring