Examples
{y > 0} x := y{x > 0}
{x > 0} [Q(E) ? x + 1 > 1 ? x > 0 ] x := x + 1;{x > 1} [Q(x) ? x > 1]
{ ? } x := y + 5{x > 0}
{x = A ? y = B } t := x; x := y; y := t{x = B ? y = A }
Previous slide
Next slide
Back to first slide
View graphic version