Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
sav08:forward_vcg [2009/03/10 20:50] vkuncak |
sav08:forward_vcg [2010/03/09 17:18] vkuncak |
||
---|---|---|---|
Line 84: | Line 84: | ||
sp(\{s.\ P\}, r_c(c_1)) = \{ s.\ sp_F(P,c_1) \} | sp(\{s.\ P\}, r_c(c_1)) = \{ s.\ sp_F(P,c_1) \} | ||
\] | \] | ||
+ | |||
Line 90: | Line 91: | ||
===== Example ===== | ===== Example ===== | ||
- | Let's take a small example with precondition: $\{x \ge 5 \wedge y \ge 3\}$ and code: | + | Precondition: $\{x \ge 5 \wedge y \ge 3\}$. Code: |
<code> | <code> | ||
x = x + y + 10 | x = x + y + 10 |