Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/annenkov/fmbc19-artefact
Coq development for FMBC'19
https://github.com/annenkov/fmbc19-artefact
Last synced: 9 days ago
JSON representation
Coq development for FMBC'19
- Host: GitHub
- URL: https://github.com/annenkov/fmbc19-artefact
- Owner: annenkov
- Created: 2019-07-01T09:27:51.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-09-03T14:44:54.000Z (over 5 years ago)
- Last Synced: 2024-11-06T08:03:07.378Z (about 2 months ago)
- Language: Coq
- Size: 313 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# A framework for smart contract verification in Coq
The development comes in two flavors:
* [theories/Monomorphic](theories/Monomorphic) - contains a monomorhic fragment of Oak with WIP soundness theorem proof.
* [theories/Polymorphic](theories/Polymorphic) - contains more featureful translation supporting polymorphism. It also features translation of parameterised inductive types.## Examples
To show how to use the framework, we develop the following examples:
* Simple demonstration can be found in [theories/Polymorphic/Demo.v](theories/Polymorphic/Demo.v)
* Verification of a crowdfunding contract: [theories/Examples/ExampleContracts.v](theories/Examples/ExampleContracts.v)
* A demonstration how one can verify library code: [theories/Examples/OakMap.v](theories/Examples/OakMap.v). This example shows a simple finite map implementation in our deep embedding of Oak and how one can show that the corresponding shallow embedding is equivalent to the Coq's standard library functions.## Documentation
The documentation generated using Coqdoc and [coqdocjs](https://github.com/tebbi/coqdocjs) is located [here](https://annenkov.github.io/FMBC19-artefact/toc.html).
Examples:
* [The crowdfunding contract example](https://annenkov.github.io/FMBC19-artefact/Contraver.Examples.ExampleContracts.html)
* [OakMap](https://annenkov.github.io/FMBC19-artefact/Contraver.Examples.OakMap.html)