Alphabeta Math
DefinitionDefinition: AI-adaptedProof: Not applicableSession-authored (Fable 5 assisted)judge 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.

Prime and composite integers: pp is prime when p>1p > 1 and its only positive divisors are 11 and pp

Definition

Let pZp \in \mathbb{Z} (The integers as equivalence classes of pairs of naturals), ordered as in Order on the integers, with divisibility as in Divisibility in Z\mathbb{Z}: dad \mid a when a=dqa = dq for some integer qq. Then pp is prime when

p>1anddp  with  d>0  force  d=1  or  d=p.p > 1 \qquad \text{and} \qquad d \mid p \ \text{ with } \ d > 0 \ \text{ force } \ d = 1 \ \text{ or } \ d = p .

In words: pp exceeds 11, and its only positive divisors are 11 and pp. An integer nn with n>1n > 1 that is not prime is composite; unfolding the definition, nn is composite exactly when n>1n > 1 and nn has a positive divisor dd with d1d \ne 1 and dnd \ne n.

Numerals. For kNk \in \mathbb{N} the symbol kk inside Z\mathbb{Z} means ι(k)\iota(k), the embedding of The naturals embed in the integers; in particular 00 and 11 are the ring constants of Arithmetic on the integers.

Boundary values, stated rather than assumed. N\mathbb{N} contains 00 (The natural numbers N\mathbb{N} (von Neumann)) and Z\mathbb{Z} contains 00, 11 and the negatives, so the small cases are recorded explicitly. The clause p>1p > 1 decides all of them at once:

  • 11 is not prime, since 1>11 > 1 is false, and not composite either, since composite also requires n>1n > 1.
  • 00 is not prime, since 0>10 > 1 is false. This is decided by the size clause alone and not by counting divisors: every integer divides 00 (Divisibility in Z\mathbb{Z}: dad \mid a when a=dqa = dq for some integer qq), so the divisor condition is not what rules 00 out.
  • Every negative integer is neither prime nor composite, again because p>1p > 1 fails. So a prime is in particular positive, and 2-2, 3-3, 5-5 are not primes in this library, though each is 1-1 times one.

Thus "prime" and "composite" between them classify exactly the integers greater than 11, and nothing else.

The same condition read over all divisors. For p>1p > 1 the following are equivalent:

  1. the only positive divisors of pp are 11 and pp;
  2. the only divisors of pp are 11, 1-1, pp and p-p.

That 2 implies 1 is immediate, since of those four only 11 and pp are positive (p>1>0p > 1 > 0, so 1<0-1 < 0 and p<0-p < 0). For the converse let dpd \mid p. Since p>1p > 1 we have p0p \ne 0, so d0d \ne 0 by If dad \mid a and a0a \ne 0 then d0d \ne 0 and da|d| \le |a|; hence the set of divisors of a nonzero integer is bounded above by a|a|; and dp|d| \mid p, because d|d| is dd or d-d (The absolute value a|a| of an integer) and those two divide pp together (Divisibility is reflexive and transitive on Z\mathbb{Z}, and is linear: if dad \mid a and dbd \mid b then dax+byd \mid ax + by for all integers x,yx, y; also dad \mid a implies dacd \mid ac, da-d \mid a and dad \mid -a). Also d0|d| \ge 0 and d0|d| \ne 0 (Absolute value in Z\mathbb{Z}: a0|a| \ge 0; a=0|a| = 0 exactly when a=0a = 0; a=a|-a| = |a|; ab=ab|ab| = |a|\,|b|; aaa-|a| \le a \le |a|; and ac|a| \le c exactly when cac-c \le a \le c), so d>0|d| > 0 and clause 1 gives d=1|d| = 1 or d=p|d| = p. If d=1|d| = 1 then d=1d = 1 or d=1d = -1, by the case split defining d|d|; and if d=p=p|d| = p = |p| then d=upd = up for a unit u{1,1}u \in \{1,-1\} (For integers aa and bb the following are equivalent: aba \mid b and bab \mid a; b=uab = ua for a unit uu; a=b|a| = |b|. Being associates is an equivalence relation whose class of aa is {a,a}\{a, -a\}, (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), that is d=pd = p or d=pd = -p. Both readings are used below without further comment.

Why 11 is excluded, and it is not a matter of taste. The exclusion is forced by the uniqueness half of 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), proved on this page: if 11 counted as a prime, a factorisation could be padded with any number of factors 11, so lists of different lengths would represent the same integer and no permutation could match them. Existence of a factorisation would survive the change; it is uniqueness alone that fixes the convention, and the explicit witness is recorded on the companion page.

Remarks

Depends on

Used by

…and 6 more results.

Dependency tree · next 3 levels

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