Alphabeta Math
TheoremStatement: AI-adaptedProof: AI-generatedSession-authored (Fable 5 assisted)precheck 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 n1n \ge 1 is a product of primes, and the factorisation is unique up to order — if i<rpi=j<sqj\prod_{i<r} p_i = \prod_{j<s} q_j with every pip_i and qjq_j prime, then r=sr = s and qi=pπ(i)q_i = p_{\pi(i)} for some πSym(r)\pi \in \operatorname{Sym}(r)

Statement

Finite products are taken in the commutative monoid (Z,,1)(\mathbb{Z},\cdot,1) of (Z,,1)(\mathbb{Z}, \cdot, 1) is a commutative monoid whose group of units is {1,1}\{1, -1\}; equivalently u1u \mid 1 holds exactly for u=1u = 1 and u=1u = -1 as in The product g0g1gn1g_0 g_1 \cdots g_{n-1} of a finite list in a monoid, by recursion, with the empty product (n=0n = 0) equal to the identity, and a list of primes of length rr is a function p:rZp : r \to \mathbb{Z} on the von Neumann natural r={0,,r1}r = \{0,\dots,r-1\} with every pip_i prime (Prime and composite integers: pp is prime when p>1p > 1 and its only positive divisors are 11 and pp).

  1. Existence. Every nZn \in \mathbb{Z} with n1n \ge 1 is i<rpi\prod_{i<r} p_i for some rNr \in \mathbb{N} and some list pp of primes of length rr (Every integer n1n \ge 1 is a finite product of primes: there are rNr \in \mathbb{N} and a list p:rZp : r \to \mathbb{Z} of primes with n=i<rpin = \prod_{i<r} p_i, the case n=1n = 1 being the empty product).

  2. Uniqueness up to order. Let pp and qq be lists of primes, of lengths rr and ss. If

    i<rpi  =  j<sqj,\prod_{i<r} p_i \;=\; \prod_{j<s} q_j ,

    then r=sr = s, and there is a permutation πSym(r)\pi \in \operatorname{Sym}(r) (The symmetric group Sym(X)\operatorname{Sym}(X): the bijections of a set XX under composition) with

    qi  =  pπ(i)for every i<r.q_i \;=\; p_{\pi(i)} \qquad \text{for every } i < r .

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

Facts & Assumptions

Given: The commutative monoid (Z,,1)(\mathbb{Z},\cdot,1) ((Z,,1)(\mathbb{Z}, \cdot, 1) is a commutative monoid whose group of units is {1,1}\{1, -1\}; equivalently u1u \mid 1 holds exactly for u=1u = 1 and u=1u = -1, Semigroup and monoid); and the property U(r)U(r): "for every sNs \in \mathbb{N} and all lists pp, qq of primes of lengths rr and ss with i<rpi=j<sqj\prod_{i<r} p_i = \prod_{j<s} q_j, one has r=sr = s and qi=pπ(i)q_i = p_{\pi(i)} for all i<ri < r, for some πSym(r)\pi \in \operatorname{Sym}(r)".

[L1]

i<0gi=e\prod_{i<0} g_i = e and i<σ(r)gi=(i<rgi)gr\prod_{i<\sigma(r)} g_i = \bigl(\prod_{i<r} g_i\bigr) \cdot g_r; the value depends only on g0,,gr1g_0,\dots,g_{r-1} (The product g0g1gn1g_0 g_1 \cdots g_{n-1} of a finite list in a monoid, by recursion, with the empty product (n=0n = 0) equal to the identity).

[L2]

Commutative case of generalised associativity: for a commutative monoid, nNn \in \mathbb{N}, πSym(n)\pi \in \operatorname{Sym}(n) and hh with hi=gπ(i)h_i = g_{\pi(i)} for i<ni < n, one has i<nhi=i<ngi\prod_{i<n} h_i = \prod_{i<n} g_i (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 uu satisfies u>1u > 1, and every positive divisor of a prime ww is 11 or ww (Prime and composite integers: pp is prime when p>1p > 1 and its only positive divisors are 11 and pp).

[L6]

If xz=yzxz = yz and z0z \ne 0 then x=yx = y (The integers have no zero divisors; multiplicative cancellation).

[L7]

Sym(X)\operatorname{Sym}(X) is the set of bijections XXX \to X under composition, with identity idX\mathrm{id}_X; it is closed under composition, and for aba \ne b in XX the transposition (ab)(a\,b) is a permutation of XX with (ab)(ab)=idX(a\,b) \circ (a\,b) = \mathrm{id}_X (The symmetric group Sym(X)\operatorname{Sym}(X): the bijections of a set XX under composition, Sym(X)\operatorname{Sym}(X) is a group under composition, and it is non-abelian whenever XX has at least three distinct elements, Injection, surjection, bijection).

[L8]

Induction on N\mathbb{N} (The principle of mathematical induction).

[L9]

On N\mathbb{N}: n={m:m<n}n = \{\, m : m < n \,\}, σ(n)=n{n}\sigma(n) = n \cup \{n\}, n<σ(n)n < \sigma(n), m<σ(n)m < \sigma(n) exactly when mnm \le n, and nnn \notin n (On N\mathbb{N} the order is membership: m<n    mnm < n \iff m \in n, The natural numbers N\mathbb{N} (von Neumann)).

[L10]

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

[L11]

The order on Z\mathbb{Z} is total, antisymmetric and transitive and is compatible with addition; Z\mathbb{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]

ι:NZ\iota : \mathbb{N} \to \mathbb{Z} is injective, preserves the order, and has as image the nonnegative integers, with ι(0)=0\iota(0) = 0, ι(1)=1\iota(1) = 1 (The naturals embed in the integers).

Proof

technique · induction
1.1

0<10 < 1: 1=ι(1)1 = \iota(1) is nonnegative and differs from 0=ι(0)0 = \iota(0) by injectivity of ι\iota. Hence every prime uu satisfies u>1>0u > 1 > 0, so u0u \ne 0, u1u \ne 1 and, adding 1-1 to 0<10 < 1, also u1u \ne -1.

L4L11L12
1.2

If qq is a list of primes of length s0s \ne 0 then qtj<sqjq_t \mid \prod_{j<s} q_j, where s=σ(t)s = \sigma(t): indeed the product equals (j<tqj)qt\bigl(\prod_{j<t} q_j\bigr) q_t.

L1L5L10
1.3

Let rNr \in \mathbb{N} and assume U(r)U(r).

ih
1.4

Let pp be a list of primes of length σ(r)\sigma(r) and qq one of length ss, with N:=i<σ(r)pi=j<sqjN := \prod_{i<\sigma(r)} p_i = \prod_{j<s} q_j. Then N=(i<rpi)prN = \bigl(\prod_{i<r} p_i\bigr) p_r, so prNp_r \mid N.

L1L5
2.1

A prime never divides 11: u1u \mid 1 would force u=1u = 1 or u=1u = -1, both excluded by step 1.1.

step 1.1L5
2.2

By [L3] there is k<sk < s with prqkp_r \mid q_k. Since pr>1>0p_r > 1 > 0, prp_r is a positive divisor of the prime qkq_k other than 11, so pr=qkp_r = q_k.

step 1.1step 1.4L3L4
3.1

U(0)U(0) holds. Let qq be a list of primes of length ss with i<0pi=j<sqj\prod_{i<0} p_i = \prod_{j<s} q_j, so j<sqj=1\prod_{j<s} q_j = 1. If s0s \ne 0, then s=σ(t)s = \sigma(t) and step 1.2 gives qt1q_t \mid 1, contradicting step 2.1; so s=0s = 0. Then r=s=0r = s = 0, idSym(0)\mathrm{id}_{\varnothing} \in \operatorname{Sym}(0) since 0=0 = \varnothing, and the condition "qi=pπ(i)q_i = p_{\pi(i)} for all i<0i < 0" is vacuous.

basestep 2.1step 1.2L1L7L9
3.2

s0s \ne 0: otherwise N=1N = 1 and pr1p_r \mid 1, contradicting step 2.1. Write s=σ(t)s = \sigma(t).

step 2.1step 1.4L1L10
4.1

Define τSym(s)\tau \in \operatorname{Sym}(s) by τ:=ids\tau := \mathrm{id}_s if k=tk = t and τ:=(kt)\tau := (k\,t) otherwise; in both cases τ\tau is a permutation of ss with ττ=ids\tau \circ \tau = \mathrm{id}_s and τ(t)=k\tau(t) = k. Note t<st < s and k<sk < s, so both lie in ss.

step 3.2step 2.2L7L9construct
5.1

Put qj:=qτ(j)q'_j := q_{\tau(j)} for j<sj < s; every qjq'_j is prime, and j<sqj=j<sqj=N\prod_{j<s} q'_j = \prod_{j<s} q_j = N by the commutative clause [L2], the monoid (Z,,1)(\mathbb{Z},\cdot,1) being commutative.

step 4.1L2
6.1

Also qt=qτ(t)=qk=prq'_t = q_{\tau(t)} = q_k = p_r, so N=j<σ(t)qj=(j<tqj)qt=(j<tqj)prN = \prod_{j<\sigma(t)} q'_j = \bigl(\prod_{j<t} q'_j\bigr) q'_t = \bigl(\prod_{j<t} q'_j\bigr) p_r.

step 2.2step 4.1step 5.1L1
7.1

Comparing with step 1.4, (i<rpi)pr=(j<tqj)pr\bigl(\prod_{i<r} p_i\bigr) p_r = \bigl(\prod_{j<t} q'_j\bigr) p_r, and pr0p_r \ne 0 by step 1.1, so cancellation gives i<rpi=j<tqj\prod_{i<r} p_i = \prod_{j<t} q'_j.

step 1.1step 1.4step 6.1L6
8.1

The restrictions of pp to rr and of qq' to tt are lists of primes of lengths rr and tt, 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)U(r) applies: r=tr = t, hence s=σ(t)=σ(r)s = \sigma(t) = \sigma(r), and there is ρSym(r)\rho \in \operatorname{Sym}(r) with qi=pρ(i)q'_i = p_{\rho(i)} for every i<ri < r.

step 1.3step 7.1L1
9.1

Define ρ^:σ(r)σ(r)\hat\rho : \sigma(r) \to \sigma(r) by ρ^(i):=ρ(i)\hat\rho(i) := \rho(i) for i<ri < r and ρ^(r):=r\hat\rho(r) := r. Since σ(r)=r{r}\sigma(r) = r \cup \{r\} with rrr \notin r, and ρ\rho is a bijection of rr, the map ρ^\hat\rho is a bijection of σ(r)\sigma(r), that is ρ^Sym(σ(r))\hat\rho \in \operatorname{Sym}(\sigma(r)).

step 8.1L7L9construct
10.1

Put π:=ρ^τ\pi := \hat\rho \circ \tau, a permutation of s=σ(r)s = \sigma(r) because Sym(σ(r))\operatorname{Sym}(\sigma(r)) is closed under composition.

step 4.1step 8.1step 9.1L7
11.1

For i<σ(r)i < \sigma(r) we get qi=qτ(τ(i))=qτ(i)q_i = q_{\tau(\tau(i))} = q'_{\tau(i)}. If τ(i)<r\tau(i) < r then qτ(i)=pρ(τ(i))=pρ^(τ(i))=pπ(i)q'_{\tau(i)} = p_{\rho(\tau(i))} = p_{\hat\rho(\tau(i))} = p_{\pi(i)}; and if τ(i)=r=t\tau(i) = r = t then qτ(i)=qt=pr=pρ^(r)=pπ(i)q'_{\tau(i)} = q'_t = p_r = p_{\hat\rho(r)} = p_{\pi(i)}. Since τ(i)<σ(r)\tau(i) < \sigma(r) these two possibilities are exhaustive, so qi=pπ(i)q_i = p_{\pi(i)} throughout.

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

Steps 8.1 and 11.1 give s=σ(r)s = \sigma(r) and a permutation πSym(σ(r))\pi \in \operatorname{Sym}(\sigma(r)) with qi=pπ(i)q_i = p_{\pi(i)} for all i<σ(r)i < \sigma(r), so U(σ(r))U(\sigma(r)) holds; with step 3.1 as base, induction gives U(r)U(r) for every rNr \in \mathbb{N}, which is clause 2. Clause 1 is Every integer n1n \ge 1 is a finite product of primes: there are rNr \in \mathbb{N} and a list p:rZp : r \to \mathbb{Z} of primes with n=i<rpin = \prod_{i<r} p_i, the case n=1n = 1 being the empty product.

step 3.1step 8.1step 11.1L8discharge-induction

Remarks

Depends on

Used by

Dependency tree · next 3 levels

Direct dependencies and their dependencies through the next three levels: 94 results over 31 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