Single-threaded incrementing

Several methods to increment a shared variable `val`, some of which verify and some do not (due to wrong/incomplete specification).

General information

ID122
Articlenone
Back-endChalice
LanguageJava
FeaturesLoop invariants
Sources
Path to example filepermissions/Incr.java
Date2017-06-20

Statistical information

Lines of code42 lines (comments not included)
Lines of specification10 lines (23.81% of the total)
Computation time8579 milliseconds

Example code

Note, verification may take a while and has a time-out of 20 seconds.