Assignment statements
We’ve been highly informal in dealing with assignment statements
- “Associate precise (logical) meaning to each construct in the programming language …”
What does the statement x := E mean?
- {Q(E)} x := E {Q(x)}
- If we knew something to be true about E before the assignment, then we know it to be true about x after the assignment