There are two tutorials - they are both currently up-to-date with the GPL 2010 version of SPARK :
- for the proof of absence of run-time error (using the optional proof annotations);
comprising twelve sections with worked examples and exercises:- Introduction
- Using the Tools
- What VCs are Generated
- VCs for Multiple Paths
- Preconditions and Postconditions
- check and assert Annotations
- Loops
- Loop Assertions
- Loops, Arrays and Quantification
- Real RTC Analysis
- User Rules
- Proof Functions and Abstract Proof
- for the SPADE Proof Checker; this has eight sections with worked examples and exercises:
- Using the Checker and the Infer Command
- The Replace Command
- Prolog Variables and the where Clause
- Standardisation
- Proof Management
- Proof Methods and Proof Frames
- Quantified Formulae
- Miscellaneous Topics: Subgoaling and Proof of User Rules
Both tutorials are available from the Download page.