February 2022
Beginner to intermediate
144 pages
1h 58m
English
In this chapter, we will provide exercises that can be used to both test your skills and further show what can be proven with Dafny, on the more practical side. For each of the exercises, we will provide its corresponding solution.
Exercise 1 Write a predicate OddPred that takes a nat and returns true if the number is odd, and false otherwise. Test your ...
Read now
Unlock full access