Skip to content
Snippets Groups Projects
README.md 1.07 KiB
Newer Older
gabrielhdt's avatar
gabrielhdt committed
# PVS proofs

gabrielhdt's avatar
gabrielhdt committed
Encodings of PVS and manual translations of PVS prelude and others.
Use with `lambdapi`.
gabrielhdt's avatar
gabrielhdt committed

gabrielhdt's avatar
gabrielhdt committed
The work consists essentially in translating fragments of the PVS standard
library, also known as _Prelude_. The prelude is available
- as raw PVS,
  <https://raw.githubusercontent.com/SRI-CSL/PVS/master/lib/prelude.pvs>;
- as a documentation in pdf,
  <http://pvs.csl.sri.com/doc/pvs-prelude.pdf>;
- as html, <http://www.cs.rug.nl/~grl/ar06/prelude.html>.


## Requirements
gabrielhdt's avatar
gabrielhdt committed

gabrielhdt's avatar
gabrielhdt committed
[`lambdapi`](https://github.com/Deducteam/lambdapi.git) later than 
hondet's avatar
hondet committed
3e5c7ee2388d233fdca05776009b5cb158e48d97,

``` sh
git clone github.com/Deducteam/lambdapi.git
git checkout 3e5c7ee2388d233fdca05776009b5cb158e48d97
make
make install
```
gabrielhdt's avatar
gabrielhdt committed

gabrielhdt's avatar
gabrielhdt committed
## Structure
gabrielhdt's avatar
gabrielhdt committed

- `encodings`: encoding of PVS into Dedukti
hondet's avatar
hondet committed
- `paper`: some specifications presented in papers
gabrielhdt's avatar
gabrielhdt committed
- `sandbox`: miscellaneous experiments
- `tools`: some additional scripts and utilities

## Dedukti coding conventions

- Dedukti types are capitalised  
  `Nat: TYPE`
- Predicates are suffixed with `_p`  
hondet's avatar
hondet committed
  `even_p: Nat → Prop`
gabrielhdt's avatar
gabrielhdt committed
- Documentation is commented with `///`