-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(docs/user): package Mathlib4 in Nix
Well, this is required… Following Loogle's steps, we add fake files for ProofWidgets4 and we can produce an .olean from Aeneas' base library without Lake involvement! Free parallelization and caching :). TODOs are to improve the hash handling when lake-manifest.json bumps, but this requires extending Lake to produce the NAR hash serializations. Signed-off-by: Ryan Lahfa <[email protected]>
- Loading branch information
Ryan Lahfa
committed
Aug 20, 2024
1 parent
be5fd85
commit 746b6d9
Showing
6 changed files
with
210 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,6 +69,9 @@ tests/fstar/misc/obj/ | |
*.uo | ||
*Theory.sml | ||
|
||
# Lean | ||
.lake | ||
|
||
# Misc | ||
/fstar-tests | ||
*~ | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
{"version": "1.1.0", | ||
"packagesDir": ".lake/packages", | ||
"packages": | ||
[{"url": "https://github.com/leanprover-community/batteries", | ||
"type": "git", | ||
"subDir": null, | ||
"scope": "leanprover-community", | ||
"rev": "c0efc1fd2a0bec51bd55c5b17348af13d7419239", | ||
"name": "batteries", | ||
"manifestFile": "lake-manifest.json", | ||
"inputRev": "main", | ||
"inherited": true, | ||
"configFile": "lakefile.lean"}, | ||
{"url": "https://github.com/leanprover-community/quote4", | ||
"type": "git", | ||
"subDir": null, | ||
"scope": "leanprover-community", | ||
"rev": "a7bfa63f5dddbcab2d4e0569c4cac74b2585e2c6", | ||
"name": "Qq", | ||
"manifestFile": "lake-manifest.json", | ||
"inputRev": "master", | ||
"inherited": true, | ||
"configFile": "lakefile.lean"}, | ||
{"url": "https://github.com/leanprover-community/aesop", | ||
"type": "git", | ||
"subDir": null, | ||
"scope": "leanprover-community", | ||
"rev": "cf30d04b6448dbb5a5b30a7d031e3949e74b9dd1", | ||
"name": "aesop", | ||
"manifestFile": "lake-manifest.json", | ||
"inputRev": "master", | ||
"inherited": true, | ||
"configFile": "lakefile.toml"}, | ||
{"url": "https://github.com/leanprover-community/ProofWidgets4", | ||
"type": "git", | ||
"subDir": null, | ||
"scope": "leanprover-community", | ||
"rev": "d1b33202c3a29a079f292de65ea438648123b635", | ||
"name": "proofwidgets", | ||
"manifestFile": "lake-manifest.json", | ||
"inputRev": "v0.0.39", | ||
"inherited": true, | ||
"configFile": "lakefile.lean"}, | ||
{"url": "https://github.com/leanprover/lean4-cli", | ||
"type": "git", | ||
"subDir": null, | ||
"scope": "", | ||
"rev": "a11566029bd9ec4f68a65394e8c3ff1af74c1a29", | ||
"name": "Cli", | ||
"manifestFile": "lake-manifest.json", | ||
"inputRev": "main", | ||
"inherited": true, | ||
"configFile": "lakefile.lean"}, | ||
{"url": "https://github.com/leanprover-community/import-graph", | ||
"type": "git", | ||
"subDir": null, | ||
"scope": "leanprover-community", | ||
"rev": "68b518c9b352fbee16e6d632adcb7a6d0760e2b7", | ||
"name": "importGraph", | ||
"manifestFile": "lake-manifest.json", | ||
"inputRev": "main", | ||
"inherited": true, | ||
"configFile": "lakefile.toml"}, | ||
{"url": "https://github.com/leanprover-community/mathlib4.git", | ||
"type": "git", | ||
"subDir": null, | ||
"scope": "", | ||
"rev": "e242f1edcacf917f40fae9b81f57f4bd0a4e45ac", | ||
"name": "mathlib", | ||
"manifestFile": "lake-manifest.json", | ||
"inputRev": null, | ||
"inherited": true, | ||
"configFile": "lakefile.lean"}, | ||
{"type": "path", | ||
"scope": "", | ||
"name": "base", | ||
"manifestFile": "lake-manifest.json", | ||
"inherited": false, | ||
"dir": "./../../backends/lean", | ||
"configFile": "lakefile.lean"}], | ||
"name": "Manual", | ||
"lakeDir": ".lake"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import Lake | ||
open Lake DSL | ||
|
||
require base from "../../backends/lean" | ||
|
||
package «Manual» where | ||
-- add package configuration options here |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
leanprover/lean4:v4.10.0-rc2 |