Loop-invariant, Hoare logic [closed]

Solution 1:

$x\geq y$ looks like a good invariant to me.