An open API service indexing awesome lists of open source software.

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

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).