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.
The fundamental theorem of arithmetic: every integer is a product of primes, and the factorisation is unique up to order — if with every and prime, then and for some
Statement
Finite products are taken 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, and a list of primes of length is a function on the von Neumann natural with every prime (Prime and composite integers: is prime when and its only positive divisors are and ).
-
Existence. Every with is for some and some list of primes of length (Every integer is a finite product of primes: there are and a list of primes with , the case being the empty product).
-
Uniqueness up to order. Let and be lists of primes, of lengths and . If
then , and there is a permutation (The symmetric group : the bijections of a set under composition) with
At clause 2 says that the only list of primes whose product is is the empty list, and the permutation condition is vacuous.
Facts & Assumptions
Given: The commutative monoid ( is a commutative monoid whose group of units is ; equivalently holds exactly for and , Semigroup and monoid); and the property : "for every and all lists , of primes of lengths and with , one has and for all , for some ".
and ; the value depends only on (The product of a finite list in a monoid, by recursion, with the empty product () equal to the identity).
Commutative case of generalised associativity: for a commutative monoid, , and with for , one has (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).
If a prime divides then for some (If a prime divides a finite product of integers then for some ; at the product is and the hypothesis cannot hold, Euclid's lemma: if is prime and then or ).
Every prime satisfies , and every positive divisor of a prime is or (Prime and composite integers: is prime when and its only positive divisors are and ).
is the set of bijections under composition, with identity ; it is closed under composition, and for in the transposition is a permutation of with (The symmetric group : the bijections of a set under composition, is a group under composition, and it is non-abelian whenever has at least three distinct elements, Injection, surjection, bijection).
Induction on (The principle of mathematical induction).
On : , , , exactly when , and (On the order is membership: , The natural numbers (von Neumann)).
Every natural number other than is a successor (Every nonzero natural number is a successor).
The order on is total, antisymmetric and transitive and is compatible with addition; is a commutative ring (The integers form a totally ordered ring, Order on the integers, The integers form a commutative ring, Arithmetic on the integers, The integers as equivalence classes of pairs of naturals).
is injective, preserves the order, and has as image the nonnegative integers, with , (The naturals embed in the integers).
Proof
: is nonnegative and differs from by injectivity of . Hence every prime satisfies , so , and, adding to , also .
If is a list of primes of length then , where : indeed the product equals .
Let and assume .
Let be a list of primes of length and one of length , with . Then , so .
A prime never divides : would force or , both excluded by step 1.1.
By [L3] there is with . Since , is a positive divisor of the prime other than , so .
holds. Let be a list of primes of length with , so . If , then and step 1.2 gives , contradicting step 2.1; so . Then , since , and the condition " for all " is vacuous.
: otherwise and , contradicting step 2.1. Write .
Define by if and otherwise; in both cases is a permutation of with and . Note and , so both lie in .
Put for ; every is prime, and by the commutative clause [L2], the monoid being commutative.
Also , so .
Comparing with step 1.4, , and by step 1.1, so cancellation gives .
The restrictions of to and of to are lists of primes of lengths and , and their products are the two sides of step 7.1, since a finite product depends only on the entries it names. So applies: , hence , and there is with for every .
Define by for and . Since with , and is a bijection of , the map is a bijection of , that is .
Put , a permutation of because is closed under composition.
For we get . If then ; and if then . Since these two possibilities are exhaustive, so throughout.
Steps 8.1 and 11.1 give and a permutation with for all , so holds; with step 3.1 as base, induction gives for every , which is clause 2. Clause 1 is Every integer is a finite product of primes: there are and a list of primes with , the case being the empty product.
Remarks
-
"Unique up to order" is spelt out, not gestured at. The symmetric group : the bijections of a set under composition is available at this point in the library, so the uniqueness clause names a permutation of the von Neumann natural and asserts an equality for every index, rather than saying the two factorisations "agree up to rearrangement". The letter is used because is already the successor function on throughout this library.
-
The theorem is stated for . It is not stated for , which would exclude the empty product and gain nothing, and it is not stated for all nonzero , which is false as it stands because a negative integer is not a product of primes. The signed form is Every nonzero integer is with and every prime; and are determined by , and the list is determined up to a permutation, where the sign is carried by a unit.
-
Where each hypothesis is used. Primality of lets If a prime divides a finite product of integers then for some ; at the product is and the hypothesis cannot hold supply the index , and also makes a nonzero factor different from . Primality of the selected is then used separately in step 2.2: the positive divisor , being different from , must equal . Drop Euclid's lemma and the argument collapses before that comparison — In the multiplicative monoid of positive integers one more than a multiple of , the element has two genuinely different factorisations into irreducibles, and ↗ is the witness.
-
Reading the theorem by exponents. Collecting equal primes turns clause 2 into For and any injective list of primes containing every prime divisor of , one has ; the exponents are determined by , and for every prime outside the list, which records the multiplicity of each prime as its -adic valuation. That is the same theorem in different notation, not a further result.
Depends on
Every integer is a finite product of primes: there are and a list of primes with , the case being the empty product
If a prime divides a finite product of integers then for some ; at the product is and the hypothesis cannot hold
Euclid's lemma: if is prime and then or
Prime and composite integers: is prime when and its only positive divisors are and
The symmetric group : the bijections of a set under composition
is a group under composition, and it is non-abelian whenever has at least three distinct elements
Injection, surjection, bijection
Semigroup and monoid
is a commutative monoid whose group of units is ; equivalently holds exactly for and
The product of a finite list in a monoid, by recursion, with the empty product () 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
The principle of mathematical induction
On the order is membership:
Every nonzero natural number is a successor
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 have no zero divisors; multiplicative cancellation
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 (von Neumann)
The naturals embed in the integers