Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,14 @@ libraries.
- [`output/problem.lean`](output/problem.lean) is the formal problem statement.
- [`output/solution.lean`](output/solution.lean) is the formal solution.

## Verifying with Comparator

This repository can be verified against the formal problem statement with the Lean comparator on a Linux machine. First, follow the instructions in [https://github.com/leanprover/comparator](https://github.com/leanprover/comparator) to install comparator. Then, run the following command:

```
lake env comparator comparator.json
```

## License

This repository uses the MIT License. See [LICENSE](LICENSE) for details.
Expand Down
14 changes: 14 additions & 0 deletions comparator.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"challenge_module": "output.problem",
"solution_module": "output.solution",
"theorem_names": [
"key_formula_one",
"key_formula_two"
],
"permitted_axioms": [
"propext",
"Quot.sound",
"Classical.choice"
],
"enable_nanoda": false
}
4 changes: 4 additions & 0 deletions lakefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,7 @@ rev = "v4.28.0"
[[lean_lib]]
name = "PartitionElliptic"
globs = ["output.solution"]

[[lean_lib]]
name = "PartitionEllipticProblem"
globs = ["output.problem"]