extract from book 'higher algebra' by bernard and child
i understood the 2 sentences in proof(see image in link above).
since a = bq + r, every common divisor of b and r is a divisor of a ; and, since r = a - bq, every common divisor of a and b is a divisor of r.
but i don't see how they prove the theorem.
can you help me understand this proof from authors point of view?
Just write down, what it means for a number $d$ to be a divisor:
Edit after comment:
The author uses the following fact:
Now apply this fact to the two sets: