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.
is symmetric and unchanged by signs: ; moreover , , , and unless
Statement
For all , with as in Common divisor, and the greatest common divisor , with the convention :
- ;
- ;
- , and in particular ;
- ;
- ;
- unless , in which case .
Facts & Assumptions
Given: Integers and , and the set of common divisors (Common divisor, and the greatest common divisor , with the convention ).
For , is the unique greatest element of and satisfies ; and by convention (Common divisor, and the greatest common divisor , with the convention ).
means for some ; every satisfies ; only for ; and , for every (Divisibility in : when for some integer ).
exactly when or , and ( is a commutative monoid whose group of units is ; equivalently holds exactly for and ).
when and when (The absolute value of an integer); and exactly when (Absolute value in : ; exactly when ; ; ; ; and exactly when ).
is a commutative ring with , and ; its order is total, antisymmetric, transitive and compatible with addition, and positives are closed under multiplication (The integers form a commutative ring, Arithmetic on the integers, The integers form a totally ordered ring, Order on the integers).
Proof
and . If then , contradicting . By totality or ; in the second case adding gives , and , so and hence , contradicting by antisymmetry. So , and adding gives .
for every : by totality , when , or , when and so .
For every and : if and only if , because is or and the two conditions , are equivalent.
Claim 1. The condition defining is unchanged when and are interchanged, so ; and exactly when . Hence the two greatest elements coincide in the first case, and both values are in the second.
Claim 5. , and exactly when , so .
Claim 6 is [L1] restated: for the value is because is a common divisor and is greatest, and at the value is by convention.
Claim 2. By step 1.3, ; and exactly when , so exactly when . Hence the values agree in both cases.
Claim 3. , since every divides . If this is and by the convention. If , then by step 1.2, and every satisfies by [L4], so is the greatest element of and .
Claim 4. Every satisfies , hence or ; and since and . Also because . Since by step 1.1, the greatest element of is , so .
Claim 3's second half and claim 5 now read off: , and .
Claims 1 to 6 are established.
Remarks
-
Claim 2 is what lets every later argument assume the arguments are nonnegative, and claim 1 lets it assume they are in either order. Both are used without comment below.
-
Every clause is checked at the boundary. Claim 3 covers , where it returns the convention rather than contradicting it; claim 4 holds at , giving ; and claim 5 holds at , giving . There is no pair at which a clause above is silent.
Depends on
- Common divisor, and the greatest common divisor $\gcd(a,b)$, with the convention $\gcd(0,0) := 0$
- Divisibility in $\mathbb{Z}$: $d \mid a$ when $a = dq$ for some integer $q$
- Divisibility is reflexive and transitive on $\mathbb{Z}$, and is linear: if $d \mid a$ and $d \mid b$ then $d \mid ax + by$ for all integers $x, y$; also $d \mid a$ implies $d \mid ac$, $-d \mid a$ and $d \mid -a$
- If $d \mid a$ and $a \ne 0$ then $d \ne 0$ and $|d| \le |a|$; hence the set of divisors of a nonzero integer is bounded above by $|a|$
- $(\mathbb{Z}, \cdot, 1)$ is a commutative monoid whose group of units is $\{1, -1\}$; equivalently $u \mid 1$ holds exactly for $u = 1$ and $u = -1$
- The absolute value $|a|$ of an integer
- Absolute value in $\mathbb{Z}$: $|a| \ge 0$; $|a| = 0$ exactly when $a = 0$; $|-a| = |a|$; $|ab| = |a|\,|b|$; $-|a| \le a \le |a|$; and $|a| \le c$ exactly when $-c \le a \le c$
- Order on the integers
- The integers form a totally ordered ring
- The integers form a commutative ring
- Arithmetic on the integers
Used by
- A rational root of xᵏ = m is an integer: if k ≥ 1, m ∈ ℤ, x ∈ ℚ and xᵏ is the image of m, then x is the image of an integer Corollary
- Coprime integers: gcd(a,b) = 1 Definition
- The Dirichlet function 1_ℚ, and Thomae's function t with t(x) = 1/q at a rational x = p/q in lowest terms with q ≥ 1 and t(x) = 0 at every irrational x Definition
- Bézout coefficients are not unique: 1071 · (-3) + 462 · 7 = 21 and 1071 · 19 + 462 · (-44) = 21, and for nonzero a, b every solution has the form (x₀ + t b/d, y₀ - t a/d) Example
- Consecutive Fibonacci numbers are coprime, and for every m ∈ ℕ the Euclidean algorithm on (Fₘ₊₃, Fₘ₊₂) takes exactly m+1 divisions, with quotient 1 in the first m of them and quotient 2 in the last Example
- gcd at the boundary: gcd(a,0) = |a|, gcd(0,0) = 0, and the convention gcd(0,0) = 0 is exactly what makes gcd(ca,cb) = |c|gcd(a,b) true at c = 0 Example
- gcd(1071, 462) = 21 by the Euclidean algorithm, with the back-substitution giving 21 = 7 · 462 - 3 · 1071 Example
- For a prime p and any integer a, gcd(p,a) is p when p ∣ a and 1 otherwise; so p ∤ a makes p and a coprime Lemma
- If gcd(a,b) = 1 and a ∣ bc then a ∣ c; and if a ∣ c, b ∣ c and gcd(a,b) = 1 then ab ∣ c Lemma
- Every common multiple of a and b is a multiple of lcm(a,b), and gcd(a,b) · lcm(a,b) = |ab| Theorem
- Fermat's little theorem: for prime p, p∤ a implies aᵖ⁻¹≡1pmod p, and always aᵖ≡ apmod p Theorem
- For positive integers a and b and every prime p: vₚ(gcd(a,b)) = min{vₚ(a), vₚ(b)} and vₚ(lcm(a,b)) = max{vₚ(a), vₚ(b)}; so the exponent-wise greatest common divisor is the gcd of the divisibility page and not a second notion Theorem
- The Euclidean algorithm: for a ∈ ℤ and b > 0 the remainder descent from (a,b) terminates, and the last nonzero remainder is gcd(a,b) Theorem
Dependency tree · next 3 levels
Direct dependencies and their dependencies through the next three levels: 58 results over 20 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
- Greatest common divisor (Wikipedia) (standard reference, not scraped)