If $(a,b)=1$ then $\exists s,t \in \mathbb {Z}$ s.t. $as +bt = 1$.
In the book by Pollard, Diamond titled "The Theory of Algebraic Numbers", there is a proof in the initial pages for proving the above theorem.
Proof (Th. 1.2) takes for the set of numbers given by $ax + by$, the smallest value positive combination with $x = s, y = t$, and the value of that $d = (as +bt)$. In the next step, the proof takes $b = dq' +r', 0 \le r' \lt d$. For constructing this last equality, the proof takes help of the division algorithm in Th. 1.1, that states : $a = bq +r, 0 \le r \lt b$.
The issue is how can it be directly taken to hold that : $b = dq' + r'$ from the division algo. without introducing proof for : $d \le b$. I mean that at that point, it is not shown that $d$ can attain values less than $b$.