PROOF 187
Prove.
There exist integers with gcd(a,b) = ax + by
On the integers ℤ.
A way to read this proof
First separate what is assumed from what is to be proved. At each step, ask which definition or earlier result permits the move. If it is unclear, return to that premise rather than skipping to the conclusion.
Definition D1
c ∣ a means there is an integer m with a = cm.
Proof.
∎
Definition D2
gcd(a, b) is the greatest of the common divisors of a and b.
Proof.
∎
Definition D3
Let S = { ax + by : x, y ∈ ℤ, ax + by > 0 }.
Proof.
∎
Lemma L1
S is not empty.
Proof.
∎
Lemma L2
S has a least element d. Write d = ax₀ + by₀.
Proof.
∎
Theorem T1
d divides a and divides b.
Proof.
∎
Theorem T2
Every common divisor c of a and b divides d.
Proof.
∎
Corollary C
d = gcd(a, b). Therefore there exist integers x₀, y₀ with gcd(a, b) = ax₀ + by₀.
Proof.
∎
Remark
Can A1 be removed from this proof?
d was defined as 'the smallest positive combination'. Find where the guarantee that a smallest one exists comes from.