Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
sav08:proving_correctness_of_some_small_examples [2008/02/17 19:04] vkuncak |
sav08:proving_correctness_of_some_small_examples [2008/02/17 19:22] vkuncak |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Proving Correctness of Some Small Examples ====== | ====== Proving Correctness of Some Small Examples ====== | ||
- | In this demo we go through several examples and prove them correct using the [[Jahob system]]. | + | In this demo we go through several examples and prove them correct using the [[:Jahob system]]. |
==== A Recursive Function ==== | ==== A Recursive Function ==== | ||
Line 27: | Line 27: | ||
* [[Proof of first lecture01 example]] | * [[Proof of first lecture01 example]] | ||
- | === An Iterative Example | + | === An Iterative Example === |
<code> | <code> | ||
Line 49: | Line 49: | ||
=== Transforming iterative version === | === Transforming iterative version === | ||
- | === Summary === | + | * changing initial condition |
+ | |||
+ | === Summary of these Small Examples === | ||
{{sav08:integerdemo.java.txt|Examples of Functions with Specifications}} | {{sav08:integerdemo.java.txt|Examples of Functions with Specifications}} | ||
- | As part of homework, you will have another such example. | + | As part of homework, you will do more such examples. |
+ | |||
+ | === Some other Examples done in Jahob === | ||
+ | |||
+ | * http://javaverification.org/ | ||