From 0b86c9a2b0fcf3a30717d4abf94efad011a7c692 Mon Sep 17 00:00:00 2001 From: Son Ho Date: Wed, 8 Mar 2023 19:04:33 +0100 Subject: Add backends/lean/lakefile.lean --- backends/lean/.gitignore | 2 ++ backends/lean/lake-manifest.json | 27 +++++++++++++++++++++++++++ backends/lean/lakefile.lean | 10 ++++++++++ 3 files changed, 39 insertions(+) create mode 100644 backends/lean/.gitignore create mode 100644 backends/lean/lake-manifest.json create mode 100644 backends/lean/lakefile.lean diff --git a/backends/lean/.gitignore b/backends/lean/.gitignore new file mode 100644 index 00000000..6aef0860 --- /dev/null +++ b/backends/lean/.gitignore @@ -0,0 +1,2 @@ +lake-packages/ +build/ \ No newline at end of file diff --git a/backends/lean/lake-manifest.json b/backends/lean/lake-manifest.json new file mode 100644 index 00000000..7b23fc19 --- /dev/null +++ b/backends/lean/lake-manifest.json @@ -0,0 +1,27 @@ +{"version": 4, + "packagesDir": "lake-packages", + "packages": + [{"git": + {"url": "https://github.com/leanprover-community/mathlib4.git", + "subDir?": null, + "rev": "f89ee53085b8aad0bacd3bc94d7ef4b8d9aba643", + "name": "mathlib", + "inputRev?": null}}, + {"git": + {"url": "https://github.com/gebner/quote4", + "subDir?": null, + "rev": "2412c4fdf4a8b689f4467618e5e7b371ae5014aa", + "name": "Qq", + "inputRev?": "master"}}, + {"git": + {"url": "https://github.com/JLimperg/aesop", + "subDir?": null, + "rev": "7fe9ecd9339b0e1796e89d243b776849c305c690", + "name": "aesop", + "inputRev?": "master"}}, + {"git": + {"url": "https://github.com/leanprover/std4", + "subDir?": null, + "rev": "24897887905b3a1254b244369f5dd2cf6174b0ee", + "name": "std", + "inputRev?": "main"}}]} diff --git a/backends/lean/lakefile.lean b/backends/lean/lakefile.lean new file mode 100644 index 00000000..9633e1e8 --- /dev/null +++ b/backends/lean/lakefile.lean @@ -0,0 +1,10 @@ +import Lake +open Lake DSL + +require mathlib from git + "https://github.com/leanprover-community/mathlib4.git" + +package «base» {} + +@[default_target] +lean_lib «Primitives» {} -- cgit v1.2.3