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.
has an integer solution exactly when : is solvable and is not
Example
For integers , the equation
has a solution if and only if (Common divisor, and the greatest common divisor , with the convention , Divisibility in : when for some integer ).
With and , where :
- is solvable, since ; explicitly ;
- has no solution, since : dividing, with remainder .
Numerals. For the symbol inside means , the embedding of The naturals embed in the integers; the numerical identities below are the images of the corresponding identities in .
Facts & Assumptions
Given: Integers , and .
is a commutative ring: addition and multiplication are associative and commutative, , , , multiplication distributes over addition, and every has an additive inverse (The integers form a commutative ring, Arithmetic on the integers, The integers as equivalence classes of pairs of naturals).
The order on is total, antisymmetric and transitive (The integers form a totally ordered ring, Order on the integers).
is a common divisor of and , , and (Common divisor, and the greatest common divisor , with the convention ).
exactly when , , and every common divisor of and divides (Every common divisor of and divides ; consequently exactly when , , , and every common divisor of and divides — a characterisation that holds at as well).
means for some ; only for (Divisibility in : when for some integer ).
For and there is exactly one pair with and , and holds exactly when (Division with remainder in : for and there are unique with and ).
Verification
If has a solution, then and give by [L6].
Conversely suppose , say . If , take with and multiply by : , a solution.
If instead then , so forces , and is a solution. The two cases are exhaustive.
. Indeed ; and , so and ; and , so every common divisor of and divides by [L6]. By [L5] this is exactly the characterisation of .
So solvability of is equivalent to .
, since ; so is solvable by step 2.1, and exhibits a solution.
: since , [L8] applies, and with is the unique such representation, so the remainder is and does not divide . Hence has no integer solution by step 2.1.
Remarks
-
The criterion is decidable by the Euclidean algorithm: compute by The Euclidean algorithm: for and the remainder descent from terminates, and the last nonzero remainder is , test whether it divides by division with remainder, and, when it does, obtain a solution by scaling the Bézout pair that The extended Euclidean algorithm: the same descent produces integers with , so Bézout coefficients are computed and not merely shown to exist computes.
-
Solutions are never unique when and are both nonzero; the family is described in Bézout coefficients are not unique: and , and for nonzero every solution has the form , and scaling that description by describes the solutions of .
-
The unsolvable case is genuinely unsolvable, not merely hard. Every value of is a multiple of , and is not one; no search is involved.
Depends on
- Bézout's identity: for integers $a, b$ not both zero, $\gcd(a,b)$ is the least positive element of $\{\, ax + by : x, y \in \mathbb{Z} \,\}$; in particular $ax + by = \gcd(a,b)$ has an integer solution
- Every common divisor of $a$ and $b$ divides $\gcd(a,b)$; consequently $d = \gcd(a,b)$ exactly when $d \ge 0$, $d \mid a$, $d \mid b$, and every common divisor of $a$ and $b$ divides $d$ — a characterisation that holds at $(a,b) = (0,0)$ as well
- Common divisor, and the greatest common divisor $\gcd(a,b)$, with the convention $\gcd(0,0) := 0$
- 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$
- Divisibility in $\mathbb{Z}$: $d \mid a$ when $a = dq$ for some integer $q$
- Division with remainder in $\mathbb{Z}$: for $a \in \mathbb{Z}$ and $b > 0$ there are unique $q, r \in \mathbb{Z}$ with $a = qb + r$ and $0 \le r < b$
- The integers form a commutative ring
- Arithmetic on the integers
- The integers form a totally ordered ring
- Order on the integers
- The naturals embed in the integers
- The integers as equivalence classes of pairs of naturals
Used by
Nothing in the library uses this result yet.
Dependency tree · next 3 levels
Direct dependencies and their dependencies through the next three levels: 54 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
- Diophantine equation (Wikipedia) (standard reference, not scraped)