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 $p$ is prime and $p \mid ab$ then $p \mid a$ or $p \mid b$
- Prime and composite integers: $p$ is prime when $p > 1$ and its only positive divisors are $1$ and $p$
- 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$
- For integers $a$ and $b$ the following are equivalent: $a \mid b$ and $b \mid a$; $b = ua$ for a unit $u$; $|a| = |b|$. Being associates is an equivalence relation whose class of $a$ is $\{a, -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 have no zero divisors; multiplicative cancellation
- The absolute value $|a|$ of an integer
- Absolute value in $\mathbb{Z}$: $|a| \ge 0$; $|a| = 0$ exactly when $a = 0$; $|-a| = |a|$; $|ab| = |a|\,|b|$; $-|a| \le a \le |a|$; and $|a| \le c$ exactly when $-c \le a \le c$
- 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
Dependency tree · next 3 levels
Direct dependencies and their dependencies through the next three levels: 84 results over 29 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)
- Prime number (Wikipedia) (standard reference, not scraped)
- Neil Donaldson, Math 180A notes: Unique factorisation (standard reference, not scraped)