Skip to content
Draft
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
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
/.lake
.lake/
4 changes: 2 additions & 2 deletions Main.lean
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Authors: Henrik Böving
-/
import Lean
import Comparator
import Lean4Checker.Replay
import Lean.Replay
import Export.Parse

namespace Comparator
Expand Down Expand Up @@ -198,7 +198,7 @@ def runKernel (solution : Export.ExportedEnv) : M Unit := do
-- Lean's kernel interprets just the addition of `Quot as adding all of these so adding them
-- multiple times leads to errors.
constMap := constMap.erase `Quot.mk |>.erase `Quot.lift |>.erase `Quot.ind
discard <| env.replay' constMap
discard <| env.replay constMap
IO.println "Lean default kernel accepts the solution"

def primitiveTargets : M (Array Lean.Name) := do
Expand Down
10 changes: 0 additions & 10 deletions lake-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,6 @@
"manifestFile": "lake-manifest.json",
"inputRev": "master",
"inherited": false,
"configFile": "lakefile.toml"},
{"url": "https://github.com/leanprover/lean4checker",
"type": "git",
"subDir": null,
"scope": "leanprover",
"rev": "b7398199245524275543dec6113229c9bb4902e5",
"name": "Lean4Checker",
"manifestFile": "lake-manifest.json",
"inputRev": "b7398199245524275543dec6113229c9bb4902e5",
"inherited": false,
"configFile": "lakefile.toml"}],
"name": "Comparator",
"lakeDir": ".lake",
Expand Down
5 changes: 0 additions & 5 deletions lakefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@ name = "Comparator"
name = "comparator"
root = "Main"

[[require]]
scope = "leanprover"
name = "Lean4Checker"
rev = "b7398199245524275543dec6113229c9bb4902e5"

[[require]]
scope = "leanprover"
name = "lean4export"
Expand Down