https://github.com/viperproject/program-proofs-gobra
Examples and exercises from the book Program Proofs translated to Gobra
https://github.com/viperproject/program-proofs-gobra
Last synced: 6 months ago
JSON representation
Examples and exercises from the book Program Proofs translated to Gobra
- Host: GitHub
- URL: https://github.com/viperproject/program-proofs-gobra
- Owner: viperproject
- Created: 2023-05-25T19:54:34.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-10-30T11:05:05.000Z (over 2 years ago)
- Last Synced: 2025-01-19T15:23:20.510Z (over 1 year ago)
- Size: 46.9 KB
- Stars: 5
- Watchers: 9
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# program-proofs-gobra
Examples and exercises from the book [*Program Proofs*](https://program-proofs.com/) by Rustan Leino translated to Go and verified with [Gobra](https://www.pm.inf.ethz.ch/research/gobra.html).
## Repository Structure
For each chapter of the book that we cover, we have a separate package.
In each package, 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`.
## Current Status
So far, we have translated the examples and exercises from Part 0 and are in the process of translating those from Part 1 and 2. These will be added gradually to this repository.
## References
- Egli, Timon. ["Translating Pedagogical Exercises to Viper’s Go Front-end."](https://ethz.ch/content/dam/ethz/special-interest/infk/chair-program-method/pm/documents/Education/Theses/Timon_Egli_BA_report.pdf) (2023).