Consider the following definition:
Integer $g$ is a common divisor of integers $a$ and
$b$ if and only $g|a$ and $g|b$.
Here is the statement and proof of a nice theorem.
Fill in each line of the proof with a (brief!) justification
for that line.
For any $a$, $b$, $x$, $y$,
if $g$ is a common divisor of $a$ and $b$, $g|(x*a + y*b)$.
Let $g$ be a common divisor of $a$ and $b$.
Then $g|a$ and $g|b$.
_______________________________________________________
So $a = g*x_1$ and $b = g*x_2$, for some $x_1$ and $x_2$.
___________________________
So $x*a + y*b = x*g*x_1 + y*g*x_2$.
________________________________
So $x*a + y*b = g*x*x_1 + g*y*x_2$.
________________________________
So $x*a + y*b = g*(x*x_1 + y*x_2)$.
_________________________________
So $g|(x*a + y*b)$.
___________________________________________________