You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 23, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+22-1Lines changed: 22 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,12 +10,33 @@ K Semantics of Ewasm
10
10
11
11
Prototype semantics of [Ewasm](https://github.com/ewasm/design) in the K framework.
12
12
13
-
```
13
+
```sh
14
14
git submodule update --init --recursive
15
15
make deps
16
16
make build
17
17
```
18
18
19
+
# Proving
20
+
21
+
Run existing proofs using `make` rules.
22
+
23
+
```sh
24
+
make tests/proofs/example-spec.k.prove
25
+
make tests/proofs/example-spec.k.repl
26
+
```
27
+
28
+
You can run the prover on your own specification, with a lemmas module of your choice.
29
+
30
+
```sh
31
+
./kewasm prove <path>/<to>/<spec> -m <LEMMAS-MODULE># Runs the prover on the given spec, using LEMMAS-MODULE as the top-level sematics module.
32
+
```
33
+
34
+
You can add the `--repl` flag to run the proof in an interactive REPL, where you can step through the proof and explore its branches.
35
+
36
+
```sh
37
+
./kewasm prove <path>/<to>/<spec> -m <LEMMAS-MODULE># Runs the prover on the given spec, using LEMMAS-MODULE as the top-level sematics module.
38
+
```
39
+
19
40
# Structure
20
41
21
42
This project makes use of the K framework [EEI](https://github.com/kframework/eei-semantics) and [Wasm](https://github.com/kframework/wasm-semantics) semantics.
0 commit comments