

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


CPSC 430 : Formal Semantics Paul Hudak Date: October 18, 2007
Consider the program:
newvar x:=a in newvar y:=b in (while y > 0 do newvar t:=x rem y in (x:=y; y:=t); c:=x)
The proof of total correctness is: