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 theorem: for every and every list of primes there is a prime not among ; consequently the set of primes is not finite
Statement
Write (Prime and composite integers: is prime when and its only positive divisors are and ), and take finite products in the commutative monoid of is a commutative monoid whose group of units is ; equivalently holds exactly for and as in The product of a finite list in a monoid, by recursion, with the empty product () equal to the identity.
- For every and every list of primes there is a prime with for every .
- Consequently is not finite: there is no with (Finite, countably infinite, countable, uncountable, Equinumerous sets, and ).
Clause 1 holds at as well, where the empty product is and the witness produced by the proof is a prime divisor of .
Facts & Assumptions
Given: The set of primes.
Every finite product of primes is (Every integer is a finite product of primes: there are and a list of primes with , the case being the empty product).
Every integer has a prime divisor (Every integer has a prime divisor; indeed the least divisor of that exceeds is prime).
Every prime satisfies (Prime and composite integers: is prime when and its only positive divisors are and ).
exactly when or ( is a commutative monoid whose group of units is ; equivalently holds exactly for and ).
Divisibility is reflexive and transitive, and is linear: and give , in particular (Divisibility is reflexive and transitive on , and is linear: if and then for all integers ; also implies , and , Divisibility in : when for some integer ).
is a commutative ring: addition and multiplication are 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 (The integers form a totally ordered ring, Order on the integers); is injective, preserves the order, and has as image the nonnegative integers, with , (The naturals embed in the integers, The natural numbers (von Neumann)).
On : exactly when (Discreteness: is the immediate successor); means for some (Order on the natural numbers, Addition of natural numbers); and with (On the order is membership: ).
A function is injective when it identifies no two points, surjective when its image is the whole codomain, and bijective when it is both (Injection, surjection, bijection); means a bijection exists, and is finite when for some (Equinumerous sets, and , Finite, countably infinite, countable, uncountable).
Proof
in , since is nonnegative and differs from by injectivity of ; adding gives .
Fix and a list of primes, and put and .
Suppose, for contradiction, that is finite: fix and a bijection .
by [L3], so by compatibility of the order with addition.
Suppose, for contradiction, that for some . Since we have , so for some .
Define by letting be the unique with ; such an exists because is surjective and is unique because is injective. Then is a list of primes of length , and for every .
By [L4] there is a prime with .
The splitting law then gives , and ; by associativity and commutativity where . Hence , that is .
So and , whence by linearity, forcing or and contradicting . Therefore for every , which is clause 1.
Clause 1 applied to supplies a prime with for every . But , so and , a contradiction. Hence no such and exist and is not finite, which is clause 2.
Remarks
-
The theorem does not say is prime, and reading it that way is a common slip. What is proved is that has a prime divisor, and that this divisor is not on the list. The false reading is refuted on the companion page by FALSE: for every finite list of distinct primes, is prime ↗, where .
-
Clause 1 is the constructive statement and clause 2 is a consequence of it. Clause 1 says nothing about infinite sets and needs no notion of cardinality; it just extends any finite list. Clause 2 turns that into "not finite" in the sense of Finite, countably infinite, countable, uncountable, and the only input it needs is that a bijection produces a list enumerating every prime.
-
This is not a statement about where the primes are. Arbitrarily long runs of composite integers exist (For every there are consecutive composite integers: with , each of is composite ↗), so the gaps between consecutive primes are unbounded; the two facts are compatible and neither weakens the other.
Depends on
- Prime and composite integers: $p$ is prime when $p > 1$ and its only positive divisors are $1$ and $p$
- Every integer $n > 1$ has a prime divisor; indeed the least divisor of $n$ that exceeds $1$ is prime
- Every integer $n \ge 1$ is a finite product of primes: there are $r \in \mathbb{N}$ and a list $p : r \to \mathbb{Z}$ of primes with $n = \prod_{i<r} p_i$, the case $n = 1$ being the empty product
- Semigroup and monoid
- $(\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 product $g_0 g_1 \cdots g_{n-1}$ of a finite list in a monoid, by recursion, with the empty product ($n = 0$) equal to the identity
- Generalised associativity: in a monoid the product of a finite list does not depend on the bracketing, and in a commutative monoid it does not depend on the order of the factors either
- Equinumerous sets, $A \approx B$ and $A \preceq B$
- Finite, countably infinite, countable, uncountable
- Injection, surjection, bijection
- 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$
- On $\mathbb{N}$ the order is membership: $m < n \iff m \in n$
- Discreteness: $\sigma(n)$ is the immediate successor
- Order on the natural numbers
- Addition of natural numbers
- 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: 86 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 theorem (Wikipedia) (standard reference, not scraped)
- Inquiry into Advanced Algebra: Division, primes, and factorisation (standard reference, not scraped)