Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mit-frap/spring18
Problem Sets for MIT 6.822 Formal Reasoning About Programs, Spring 2018
https://github.com/mit-frap/spring18
Last synced: 3 months ago
JSON representation
Problem Sets for MIT 6.822 Formal Reasoning About Programs, Spring 2018
- Host: GitHub
- URL: https://github.com/mit-frap/spring18
- Owner: mit-frap
- Created: 2018-02-04T21:49:43.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-05-09T17:31:04.000Z (over 6 years ago)
- Last Synced: 2024-08-02T01:25:56.596Z (6 months ago)
- Language: Coq
- Size: 73.2 KB
- Stars: 23
- Watchers: 5
- Forks: 13
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Problem Sets for MIT 6.822 Formal Reasoning About Programs (Spring 2018)
========================================================================Instructions for completing problem set #X
------------------------------------------1. Run `make` in the directory `psetX/`.
2. Read the module signature for the problem set in the file
`psetX/PsetXSig.v`. These are the instructions!
3. Complete `psetX/PsetX.v`, which implements the module signature
in `psetX/PsetXSig.v`. In your complete `PsetX.v`, there should be no
uses of `Admitted` or `admit` (or similar holes).
4. Run `make` in the `psetX/` directory and ensure it builds without error.
5. Upload your `psetX/PsetX.v` file to the
[class website](https://frap.csail.mit.edu/Private/student).Tips for building problem sets
------------------------------### Setting PATH for coqc
```
$ PATH=(your bin directory where coqc resides):$PATH
$ export PATH
```- Where is my bin directory?
+ CoqIDE users
* CoqIDE bundle already includes binaries, so we can use them.
* Windows: the directory where `coqide.exe` is located. Make sure `coqc.exe` is also in there.
* Mac: `(Your CoqIDE app path)/Contents/Resources/bin`
+ Users who installed Coq with Homebrew
* The typical path is `/usr/local/bin`, but it may differ by Homebrew configuration.
+ All other users who manually installed Coq: just the location you gave during `./configure`
- I recommend to embed above commands in your `~/.bashrc` or `~/.zshrc`.### Building problem sets
```
$ source configure_coqbin.sh # optional
$ git submodule init
$ git submodule update
$ make -C frap lib
$ make -C pset1
```- Above procedure assumes PATH is set for detecting `coqc` (check with `which coqc`!).
- You should execute `configure_coqbin.sh` with `source` (or just `.`) in order to export the variable to the parent process.
- If you already set the COQBIN variable, you don't need to execute the script.