Suppose there are three program variables a, b and z. Calculate the assignments to a so that the following invariant is
Posted: Tue Jul 12, 2022 12:47 pm
Suppose there are three program variables a, b and z. Calculate the assignments to a so that the following invariant is maintained: z+axb=C In other words, calculate X such that {z + axb=C} z, a :=z+b, X {z + axb=C}