https://github.com/viperproject/program-proofs-viper
Examples and exercises from the book Program Proofs translated Viper.
https://github.com/viperproject/program-proofs-viper
Last synced: 4 months ago
JSON representation
Examples and exercises from the book Program Proofs translated Viper.
- Host: GitHub
- URL: https://github.com/viperproject/program-proofs-viper
- Owner: viperproject
- Created: 2025-03-19T13:41:18.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-19T15:12:56.000Z (about 1 year ago)
- Last Synced: 2026-02-02T17:12:29.523Z (4 months ago)
- Size: 103 KB
- Stars: 1
- Watchers: 10
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Program Proofs in Viper
Examples and exercises from the book [*Program Proofs*](https://program-proofs.com/) by Rustan Leino translated and verified in [Viper](https://www.pm.inf.ethz.ch/research/viper.html).
## Repository Structure
For each chapter of the book that we cover, we have a separate folder.
In each folder, there are two kinds of files depending on their names:
- files named `examples_X.Y.gobra` contain the examples from section `X.Y` of the book.
- files named `exercises_X.Y.gobra` contain the solutions to the exercises from section `X.Y`
of the book, **not** the solution to exercise `X.Y`.
## Translators
- Chapters 6 - 12: Frei, Benjamin. ["Translating Pegagogical Verification Exercises to Viper."](https://ethz.ch/content/dam/ethz/special-interest/infk/chair-program-method/pm/documents/Education/Theses/Benjamin_Frei_BA_Report.pdf) (2023).
- Chapters 13 - 16: Ruff, Elias ["Translating Pegagogical Verification Exercises to Viper."](https://ethz.ch/content/dam/ethz/special-interest/infk/chair-program-method/pm/documents/Education/Theses/elruff_Elias_Ruff_BA_Report.pdf) (2023).
- Chapters 1 - 5, 17: Klose, Nicolas; Müller, Peter;