Prove the Squaring Program
lUsing assertion-based reasoning
(Òloop invariantÓ)
for PC.

lUse Òenergy functionÓ or ÒvariantÓ
for termination.