Alphabeta Math
CorollaryStatement: AI-adaptedProof: AI-generatedSession-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.

For an integer p>1p > 1: pp is prime if and only if, for all integers aa and bb, pabp \mid ab implies pap \mid a or pbp \mid b

Statement

Let pZp \in \mathbb{Z} with p>1p > 1. The following are equivalent:

  1. pp is prime (Prime and composite integers: pp is prime when p>1p > 1 and its only positive divisors are 11 and pp);
  2. for all a,bZa, b \in \mathbb{Z}, pabp \mid ab implies pap \mid a or pbp \mid b (Divisibility in Z\mathbb{Z}: dad \mid a when a=dqa = dq for some integer qq).

Facts & Assumptions

Given: An integer pp with p>1p > 1.

[L1]

pp is prime exactly when p>1p > 1 and every positive divisor dd of pp satisfies d=1d = 1 or d=pd = p (Prime and composite integers: pp is prime when p>1p > 1 and its only positive divisors are 11 and pp).

[L2]

If qq is prime and quvq \mid uv then quq \mid u or qvq \mid v (Euclid's lemma: if pp is prime and pabp \mid ab then pap \mid a or pbp \mid b).

[L5]

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

[L7]

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

[L8]

The order on Z\mathbb{Z} is total, antisymmetric and transitive and is compatible with addition; x<yx < y means xyx \le y together with xyx \ne y (The integers form a totally ordered ring, Order on the integers).

[L9]

The embedding ι:NZ\iota : \mathbb{N} \to \mathbb{Z} is injective, preserves the order, and has as image exactly the nonnegative integers, with ι(0)=0\iota(0) = 0 and ι(1)=1\iota(1) = 1; and 010 \ne 1 in N\mathbb{N} (The naturals embed in the integers, The natural numbers N\mathbb{N} (von Neumann)).

Proof

technique · direct
1.1

0<10 < 1: 1=ι(1)1 = \iota(1) lies in the image of ι\iota, so 101 \ge 0, and 101 \ne 0 because ι\iota is injective and 010 \ne 1 in N\mathbb{N}. Adding 1-1 throughout gives 1<0-1 < 0.

L7L8L9
1.2

Claim 1 implies claim 2: if pp is prime this is exactly [L2].

L2
1.3

Assume claim 2, and let dd be a positive divisor of pp; fix cZc \in \mathbb{Z} with p=dcp = dc.

L6choose
2.1

p>1>0p > 1 > 0, so p>0p > 0 and p0p \ne 0.

step 1.1L8
2.2

Then pdcp \mid dc, since ppp \mid p and p=dcp = dc; so claim 2 applied with a:=da := d and b:=cb := c gives pdp \mid d or pcp \mid c.

step 1.3L6
3.1

Suppose pdp \mid d. Since also dpd \mid p, [L3] gives d=p|d| = |p|, hence d=wpd = wp for a unit w{1,1}w \in \{1,-1\}. If w=1w = -1 then d=p<0d = -p < 0, contradicting d>0d > 0; so w=1w = 1 and d=pd = p.

step 2.1step 1.3step 2.2L3L7L8L10
3.2

Suppose instead pcp \mid c, and fix ee with c=pec = pe. Then 1p=p=dc=d(pe)=(de)p1 \cdot p = p = dc = d(pe) = (de) \cdot p, and p0p \ne 0, so cancellation gives de=1de = 1. Hence d1d \mid 1, so d=1d = 1 or d=1d = -1, and d>0>1d > 0 > -1 leaves d=1d = 1.

step 1.1step 2.1step 1.3step 2.2L4L5L6L7L8
4.1

By step 2.2 one of the two cases occurs, so every positive divisor dd of pp satisfies d=1d = 1 or d=pd = p; together with the standing hypothesis p>1p > 1 this says pp is prime, so claim 2 implies claim 1.

step 2.2step 3.1step 3.2L1
5.1

The two implications of steps 1.2 and 4.1 give the equivalence.

step 1.2step 4.1

Remarks

Depends on

Used by

Dependency tree · next 3 levels

Direct dependencies and their dependencies through the next three levels: 84 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