Update DOCUMENTATION.md
This commit is contained in:
@@ -17,7 +17,7 @@ Level 1
|
|||||||
Title "The rfl tactic"
|
Title "The rfl tactic"
|
||||||
```
|
```
|
||||||
|
|
||||||
Note that the levels inside a world must have consequtive numbering starting with `1`. The `Game`
|
Note that the levels inside a world must have consecutive numbering starting with `1`. The `Game`
|
||||||
and `World` strings can be anything, see below.
|
and `World` strings can be anything, see below.
|
||||||
|
|
||||||
#### Statement
|
#### Statement
|
||||||
@@ -51,7 +51,7 @@ There are a few extra tactics that help you structuring the proof:
|
|||||||
|
|
||||||
- `Hint`: You can use `Hint "text"` to display text if the goal state in-game matches
|
- `Hint`: You can use `Hint "text"` to display text if the goal state in-game matches
|
||||||
the one where `Hint` is placed. For more options about hints, see below.
|
the one where `Hint` is placed. For more options about hints, see below.
|
||||||
- `Branch`: In the proof you can add a `Branch` that runs an alternativ tactic sequence, which
|
- `Branch`: In the proof you can add a `Branch` that runs an alternative tactic sequence, which
|
||||||
helps setting `Hints` in different places. The `Branch` does not affect the main
|
helps setting `Hints` in different places. The `Branch` does not affect the main
|
||||||
proof and does not need to finish any goals.
|
proof and does not need to finish any goals.
|
||||||
- `Template`/`Hole`: Used to provide a sample proof template. Anything inside `Template`
|
- `Template`/`Hole`: Used to provide a sample proof template. Anything inside `Template`
|
||||||
@@ -108,7 +108,7 @@ DisabledTactic tauto
|
|||||||
DisabledLemma MyNat.add_zero
|
DisabledLemma MyNat.add_zero
|
||||||
```
|
```
|
||||||
|
|
||||||
or specify explicitely which items should be available with
|
or specify explicitly which items should be available with
|
||||||
|
|
||||||
```lean
|
```lean
|
||||||
OnlyTactic rw rfl apply
|
OnlyTactic rw rfl apply
|
||||||
@@ -224,7 +224,7 @@ The installation instructions are not yet tested on Mac/Windows. Comments very w
|
|||||||
|
|
||||||
1. **Install Docker and Dev Containers** *(once)*:<br/>
|
1. **Install Docker and Dev Containers** *(once)*:<br/>
|
||||||
See [official instructions](https://code.visualstudio.com/docs/devcontainers/containers#_getting-started).
|
See [official instructions](https://code.visualstudio.com/docs/devcontainers/containers#_getting-started).
|
||||||
Explicitely this means:
|
Explicitly this means:
|
||||||
* Install docker engine if you have not yet: [Instructions](https://docs.docker.com/engine/install/).
|
* Install docker engine if you have not yet: [Instructions](https://docs.docker.com/engine/install/).
|
||||||
I followed the "Server" instructions for linux.
|
I followed the "Server" instructions for linux.
|
||||||
* Note that on Linux you need to add your user to the `docker` group
|
* Note that on Linux you need to add your user to the `docker` group
|
||||||
@@ -251,7 +251,7 @@ The installation instructions are not yet tested on Mac/Windows. Comments very w
|
|||||||
running the `remote-containers.showReopenInContainerNotificationReset` command in vscode.
|
running the `remote-containers.showReopenInContainerNotificationReset` command in vscode.
|
||||||
* If the starting the container fails, in particular with a message `Error: network xyz not found`,
|
* If the starting the container fails, in particular with a message `Error: network xyz not found`,
|
||||||
you might have deleted stuff from docker via your shell. Try deleting the container and image
|
you might have deleted stuff from docker via your shell. Try deleting the container and image
|
||||||
explicitely in VSCode (left side, "Docker" icon). Then reopen vscode and let it rebuild the
|
explicitly in VSCode (left side, "Docker" icon). Then reopen vscode and let it rebuild the
|
||||||
container. (this will again take some time)
|
container. (this will again take some time)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user