Alphabeta Math
TheoremStatement: AI-adaptedProof: AI-adaptedSession-authored (Fable 5 assisted)precheck passjudge pass (z-ai/glm-5.2)audited 2026-07-28
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 nNn \in \mathbb{N} and every list p:nZp : n \to \mathbb{Z} of primes there is a prime not among p0,,pn1p_0, \dots, p_{n-1}; consequently the set of primes is not finite

Statement

Write P:={xZ:x is prime}P := \{\, x \in \mathbb{Z} : x \text{ is prime} \,\} (Prime and composite integers: pp is prime when p>1p > 1 and its only positive divisors are 11 and pp), and take finite products 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.

  1. For every nNn \in \mathbb{N} and every list p:nZp : n \to \mathbb{Z} of primes there is a prime qq with qpiq \ne p_i for every i<ni < n.
  2. Consequently PP is not finite: there is no mNm \in \mathbb{N} with PmP \approx m (Finite, countably infinite, countable, uncountable, Equinumerous sets, ABA \approx B and ABA \preceq B).

Clause 1 holds at n=0n = 0 as well, where the empty product is 11 and the witness produced by the proof is a prime divisor of 22.

Facts & Assumptions

Given: The set PP of primes.

[L1]

i<0gi=e\prod_{i<0} g_i = e and i<σ(n)gi=(i<ngi)gn\prod_{i<\sigma(n)} g_i = \bigl(\prod_{i<n} g_i\bigr) \cdot g_n; the value depends only on g0,,gn1g_0,\dots,g_{n-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, (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).

[L2]

Splitting law: i<m+kgi=(i<mgi)(l<kgm+l)\prod_{i<m+k} g_i = \bigl(\prod_{i<m} g_i\bigr) \cdot \bigl(\prod_{l<k} g_{m+l}\bigr) for all m,kNm, k \in \mathbb{N} (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).

[L8]

Z\mathbb{Z} is a commutative ring: addition and multiplication are associative and commutative, x+0=xx + 0 = x, x1=xx \cdot 1 = x, and every xx has an additive inverse (The integers form a commutative ring, Arithmetic on the integers, The integers as equivalence classes of pairs of naturals).

[L9]

The order on Z\mathbb{Z} is total, antisymmetric and transitive and is compatible with addition (The integers form a totally ordered ring, Order on the integers); ι: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, The natural numbers N\mathbb{N} (von Neumann)).

[L10]

On N\mathbb{N}: j<nj < n exactly when σ(j)n\sigma(j) \le n (Discreteness: σ(n)\sigma(n) is the immediate successor); aba \le b means a+c=ba + c = b for some cNc \in \mathbb{N} (Order on the natural numbers, Addition of natural numbers); and n={m:m<n}n = \{\, m : m < n \,\} with j<σ(j)j < \sigma(j) (On N\mathbb{N} the order is membership: m<n    mnm < n \iff m \in n).

[L11]

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); ABA \approx B means a bijection ABA \to B exists, and AA is finite when AmA \approx m for some mNm \in \mathbb{N} (Equinumerous sets, ABA \approx B and ABA \preceq B, Finite, countably infinite, countable, uncountable).

Proof

technique · contradiction
1.1

0<10 < 1 in Z\mathbb{Z}, since 1=ι(1)1 = \iota(1) is nonnegative and differs from 0=ι(0)0 = \iota(0) by injectivity of ι\iota; adding 11 gives 1<1+11 < 1 + 1.

L9
1.2

Fix nNn \in \mathbb{N} and a list p:nZp : n \to \mathbb{Z} of primes, and put Π:=i<npi\Pi := \prod_{i<n} p_i and N:=Π+1N := \Pi + 1.

L1choose
1.3

Suppose, for contradiction, that PP is finite: fix mNm \in \mathbb{N} and a bijection g:Pmg : P \to m.

assume-contraL11choose
2.1

Π1\Pi \ge 1 by [L3], so N=Π+11+1>1N = \Pi + 1 \ge 1 + 1 > 1 by compatibility of the order with addition.

step 1.1step 1.2L3L9
2.2

Suppose, for contradiction, that q=pjq = p_j for some j<nj < n. Since j<nj < n we have σ(j)n\sigma(j) \le n, so n=σ(j)+cn = \sigma(j) + c for some cNc \in \mathbb{N}.

assume-contrastep 1.2L10
2.3

Define f:mZf : m \to \mathbb{Z} by letting f(i)f(i) be the unique xPx \in P with g(x)=ig(x) = i; such an xx exists because gg is surjective and is unique because gg is injective. Then ff is a list of primes of length mm, and f(g(x))=xf(g(x)) = x for every xPx \in P.

step 1.3L11construct
3.1

By [L4] there is a prime qq with qNq \mid N.

step 2.1L4choose
3.2

The splitting law then gives Π=(i<σ(j)pi)(l<cpσ(j)+l)\Pi = \bigl(\prod_{i<\sigma(j)} p_i\bigr) \cdot \bigl(\prod_{l<c} p_{\sigma(j)+l}\bigr), and i<σ(j)pi=(i<jpi)pj\prod_{i<\sigma(j)} p_i = \bigl(\prod_{i<j} p_i\bigr) p_j; by associativity and commutativity Π=pjB\Pi = p_j \cdot B where B:=(i<jpi)(l<cpσ(j)+l)B := \bigl(\prod_{i<j} p_i\bigr)\bigl(\prod_{l<c} p_{\sigma(j)+l}\bigr). Hence pjΠp_j \mid \Pi, that is qΠq \mid \Pi.

step 2.2L1L2L7L8
4.1

So qNq \mid N and qΠq \mid \Pi, whence qNΠ=1q \mid N - \Pi = 1 by linearity, forcing q=1q = 1 or q=1q = -1 and contradicting q>1>0>1q > 1 > 0 > -1. Therefore qpiq \ne p_i for every i<ni < n, which is clause 1.

step 1.1step 1.2step 3.1step 3.2L5L6L7L8L9
5.1

Clause 1 applied to ff supplies a prime q0q_0 with q0f(i)q_0 \ne f(i) for every i<mi < m. But q0Pq_0 \in P, so g(q0)<mg(q_0) < m and f(g(q0))=q0f(g(q_0)) = q_0, a contradiction. Hence no such mm and gg exist and PP is not finite, which is clause 2.

step 4.1step 1.3step 2.3L10L11discharge-contradiction

Remarks

Depends on

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