LARA

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
sav07_lecture_3 [2007/03/22 16:21]
yuanjianwz
sav07_lecture_3 [2007/03/27 18:58]
iulian.dragos
Line 137: Line 137:
  
 Note: when proving our verification condition, instead of proving that semantics of relation implies error=false,​ it's same as proving that the formula for set sp(U,r) implies error=false,​ where U is the universal relation, or, in terms of formulas, computing the strongest postcondition of formula '​true'​. Note: when proving our verification condition, instead of proving that semantics of relation implies error=false,​ it's same as proving that the formula for set sp(U,r) implies error=false,​ where U is the universal relation, or, in terms of formulas, computing the strongest postcondition of formula '​true'​.
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
  
 ==== Weakest preconditions ==== ==== Weakest preconditions ====
  
-While symbolic execution computes formula by going forward along the program syntax tree, weakest precondition computes formula by going backward.+While symbolic execution computes formula by going forward along the program syntax tree, [[sav07_lecture_2#​weakest_preconditions|weakest precondition]] computes formula by going backward.
 We know that the weakest precondition holds following conditions for each relation r and sets Q1, Q2: We know that the weakest precondition holds following conditions for each relation r and sets Q1, Q2:
   wp(r, Q1 ∧ Q2) = wp(r,Q1) ∧ wp(r,Q2)   wp(r, Q1 ∧ Q2) = wp(r,Q1) ∧ wp(r,Q2)
Line 289: Line 278:
   * Presburger Arithmetic (PA) bounds: {{papadimitriou81complexityintegerprogramming.pdf}}   * Presburger Arithmetic (PA) bounds: {{papadimitriou81complexityintegerprogramming.pdf}}
   * Specializing PA bounds: http://​www.lmcs-online.org/​ojs/​viewarticle.php?​id=43&​layout=abstract   * Specializing PA bounds: http://​www.lmcs-online.org/​ojs/​viewarticle.php?​id=43&​layout=abstract
-