Alphabeta Math
TheoremStatement: AI-adaptedProof: AI-generatedprecheck passverified 2026-08-03 (gpt-5.6-sol-codex-subscription)
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 n≥1 is a product of primes, and the factorisation is unique up to order — if ∏i<rpi=∏j<sqj with every pi and qj prime, then r=s and qi=pπ(i) for some π∈Sym⁡(r)

Statement

Finite products are taken in the commutative monoid (Z,⋅,1) of (Z,⋅,1) is a commutative monoid whose group of units is {1,−1}; equivalently u∣1 holds exactly for u=1 and u=−1 as in The product g0g1⋯gn−1 of a finite list in a monoid, by recursion, with the empty product (n=0) equal to the identity, and a list of primes of length r is a function p:r→Z on the von Neumann natural r={0,…,r−1} with every pi prime (Prime and composite integers: p is prime when p>1 and its only positive divisors are 1 and p).

  1. Existence. Every n∈Z with n≥1 is ∏i<rpi for some r∈N and some list p of primes of length r (Every integer n≥1 is a finite product of primes: there are r∈N and a list p:r→Z of primes with n=∏i<rpi, the case n=1 being the empty product).

  2. Uniqueness up to order. Let p and q be lists of primes, of lengths r and s. If

    ∏i<rpi  =  ∏j<sqj,

    then r=s, and there is a permutation π∈Sym⁡(r) (The symmetric group Sym⁡(X): the bijections of a set X under composition) with

    qi  =  pπ(i)for every i<r.

At r=0 clause 2 says that the only list of primes whose product is 1 is the empty list, and the permutation condition is vacuous.

Facts & Assumptions

Given: The commutative monoid (Z,⋅,1) ((Z,⋅,1) is a commutative monoid whose group of units is {1,−1}; equivalently u∣1 holds exactly for u=1 and u=−1, Semigroup and monoid); and the property U(r): "for every s∈N and all lists p, q of primes of lengths r and s with ∏i<rpi=∏j<sqj, one has r=s and qi=pπ(i) for all i<r, for some π∈Sym⁡(r)".

[L1]

∏i<0gi=e and ∏i<σ(r)gi=(∏i<rgi)⋅gr; the value depends only on g0,…,gr−1 (The product g0g1⋯gn−1 of a finite list in a monoid, by recursion, with the empty product (n=0) equal to the identity).

[L2]

Commutative case of generalised associativity: for a commutative monoid, n∈N, π∈Sym⁡(n) and h with hi=gπ(i) for i<n, one has ∏i<nhi=∏i<ngi (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).

[L4]

Every prime u satisfies u>1, and every positive divisor of a prime w is 1 or w (Prime and composite integers: p is prime when p>1 and its only positive divisors are 1 and p).

[L6]

If xz=yz and z≠0 then x=y (The integers have no zero divisors; multiplicative cancellation).

[L7]

Sym⁡(X) is the set of bijections X→X under composition, with identity idX; it is closed under composition, and for a≠b in X the transposition (a b) is a permutation of X with (a b)∘(a b)=idX (The symmetric group Sym⁡(X): the bijections of a set X under composition, Sym⁡(X) is a group under composition, and it is non-abelian whenever X has at least three distinct elements, Injection, surjection, bijection).

[L9]

On N: n={ m:m<n }, σ(n)=n∪{n}, n<σ(n), m<σ(n) exactly when m≤n, and n∉n (On N the order is membership: m<n  ⟺  m∈n, The natural numbers N (von Neumann)).

[L10]

Every natural number other than 0 is a successor (Every nonzero natural number is a successor).

[L11]

The order on Z is total, antisymmetric and transitive and is compatible with addition; Z 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).

[L12]

ι:N→Z is injective, preserves the order, and has as image the nonnegative integers, with ι(0)=0, ι(1)=1 (The naturals embed in the integers).

Proof

technique · induction
1.1

0<1: 1=ι(1) is nonnegative and differs from 0=ι(0) by injectivity of ι. Hence every prime u satisfies u>1>0, so u≠0, u≠1 and, adding −1 to 0<1, also u≠−1.

L4L11L12
1.2

If q is a list of primes of length s≠0 then qt∣∏j<sqj, where s=σ(t): indeed the product equals (∏j<tqj)qt.

L1L5L10
1.3

Let r∈N and assume U(r).

ih
1.4

Let p be a list of primes of length σ(r) and q one of length s, with N:=∏i<σ(r)pi=∏j<sqj. Then N=(∏i<rpi)pr, so pr∣N.

L1L5
2.1

A prime never divides 1: u∣1 would force u=1 or u=−1, both excluded by step 1.1.

step 1.1L5
2.2

By [L3] there is k<s with pr∣qk. Since pr>1>0, pr is a positive divisor of the prime qk other than 1, so pr=qk.

step 1.1step 1.4L3L4
3.1

U(0) holds. Let q be a list of primes of length s with ∏i<0pi=∏j<sqj, so ∏j<sqj=1. If s≠0, then s=σ(t) and step 1.2 gives qt∣1, contradicting step 2.1; so s=0. Then r=s=0, id∅∈Sym⁡(0) since 0=∅, and the condition "qi=pπ(i) for all i<0" is vacuous.

basestep 2.1step 1.2L1L7L9
3.2

s≠0: otherwise N=1 and pr∣1, contradicting step 2.1. Write s=σ(t).

step 2.1step 1.4L1L10
4.1

Define τ∈Sym⁡(s) by τ:=ids if k=t and τ:=(k t) otherwise; in both cases τ is a permutation of s with τ∘τ=ids and τ(t)=k. Note t<s and k<s, so both lie in s.

step 3.2step 2.2L7L9construct
5.1

Put qj′:=qτ(j) for j<s; every qj′ is prime, and ∏j<sqj′=∏j<sqj=N by the commutative clause [L2], the monoid (Z,⋅,1) being commutative.

step 4.1L2
6.1

Also qt′=qτ(t)=qk=pr, so N=∏j<σ(t)qj′=(∏j<tqj′)qt′=(∏j<tqj′)pr.

step 2.2step 4.1step 5.1L1
7.1

Comparing with step 1.4, (∏i<rpi)pr=(∏j<tqj′)pr, and pr≠0 by step 1.1, so cancellation gives ∏i<rpi=∏j<tqj′.

step 1.1step 1.4step 6.1L6
8.1

The restrictions of p to r and of q′ to t are lists of primes of lengths r and t, and their products are the two sides of step 7.1, since a finite product depends only on the entries it names. So U(r) applies: r=t, hence s=σ(t)=σ(r), and there is ρ∈Sym⁡(r) with qi′=pρ(i) for every i<r.

step 1.3step 7.1L1
9.1

Define ρ^:σ(r)→σ(r) by ρ^(i):=ρ(i) for i<r and ρ^(r):=r. Since σ(r)=r∪{r} with r∉r, and ρ is a bijection of r, the map ρ^ is a bijection of σ(r), that is ρ^∈Sym⁡(σ(r)).

step 8.1L7L9construct
10.1

Put π:=ρ^∘τ, a permutation of s=σ(r) because Sym⁡(σ(r)) is closed under composition.

step 4.1step 8.1step 9.1L7
11.1

For i<σ(r) we get qi=qτ(τ(i))=qτ(i)′. If τ(i)<r then qτ(i)′=pρ(τ(i))=pρ^(τ(i))=pπ(i); and if τ(i)=r=t then qτ(i)′=qt′=pr=pρ^(r)=pπ(i). Since τ(i)<σ(r) these two possibilities are exhaustive, so qi=pπ(i) throughout.

step 4.1step 6.1step 8.1step 9.1step 10.1L9
12.1

Steps 8.1 and 11.1 give s=σ(r) and a permutation π∈Sym⁡(σ(r)) with qi=pπ(i) for all i<σ(r), so U(σ(r)) holds; with step 3.1 as base, induction gives U(r) for every r∈N, which is clause 2. Clause 1 is Every integer n≥1 is a finite product of primes: there are r∈N and a list p:r→Z of primes with n=∏i<rpi, the case n=1 being the empty product.

step 3.1step 8.1step 11.1L8discharge-induction∎

Remarks

Depends on

Used by

Dependency tree · two levels

69 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources