Skip to content

Commit 4cdef7b

Browse files
authored
Merge pull request #186 from lean-dojo/stable
Bump to latest stable Lean version
2 parents 486603b + 967d650 commit 4cdef7b

5 files changed

Lines changed: 9 additions & 9 deletions

File tree

LeanCopilot/Tactics.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ elab_rules : tactic
134134
let tactics := tacticsWithScores.map (·.1)
135135
if ← isVerbose then
136136
logInfo s!"Tactics: {tactics}"
137-
let range : String.Range := { start := tac.getRange?.get!.start, stop := pfx.raw.getRange?.get!.stop }
137+
let range : Lean.Syntax.Range := { start := tac.getRange?.get!.start, stop := pfx.raw.getRange?.get!.stop }
138138
let ref := Syntax.ofRange range
139139
hint ref tactics (← SuggestTactics.checkTactics)
140140

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ moreLinkArgs = ["-L./.lake/packages/LeanCopilot/.lake/build/lib", "-lctranslate2
6161
require LeanCopilot from git "https://github.com/lean-dojo/LeanCopilot.git" @ "LEAN_COPILOT_VERSION"
6262
```
6363

64-
For stable Lean versions (e.g., `v4.25.0`), set `LEAN_COPILOT_VERSION` to be that version. For the latest unstable Lean versions (e.g., `v4.26.0-rc1`), set `LEAN_COPILOT_VERSION` to `main`. In either case, make sure the version is compatible with other dependencies such as mathlib. If your project uses lakefile.toml instead of lakefile.lean, it should include:
64+
For stable Lean versions (e.g., `v4.26.0`), set `LEAN_COPILOT_VERSION` to be that version. For the latest unstable Lean versions (e.g., `v4.27.0-rc1`), set `LEAN_COPILOT_VERSION` to `main`. In either case, make sure the version is compatible with other dependencies such as mathlib. If your project uses lakefile.toml instead of lakefile.lean, it should include:
6565

6666
```toml
6767
[[require]]

lake-manifest.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,20 @@
55
"type": "git",
66
"subDir": null,
77
"scope": "",
8-
"rev": "26e4c7c0e63eb3e6cce3cf7faba27b8526ea8349",
8+
"rev": "2f6d238744c4cb07fdc91240feaf5d4221a27931",
99
"name": "aesop",
1010
"manifestFile": "lake-manifest.json",
11-
"inputRev": "master",
11+
"inputRev": "2f6d238744c4cb07fdc91240feaf5d4221a27931",
1212
"inherited": false,
1313
"configFile": "lakefile.toml"},
1414
{"url": "https://github.com/leanprover-community/batteries.git",
1515
"type": "git",
1616
"subDir": null,
1717
"scope": "",
18-
"rev": "5c78955e8375f872c085514cb521216bac1bda17",
18+
"rev": "24241822ef9d3e7f6a3bcc53ad136e12663db8f3",
1919
"name": "batteries",
2020
"manifestFile": "lake-manifest.json",
21-
"inputRev": "main",
21+
"inputRev": "24241822ef9d3e7f6a3bcc53ad136e12663db8f3",
2222
"inherited": false,
2323
"configFile": "lakefile.toml"}],
2424
"name": "LeanCopilot",

lakefile.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,8 +422,8 @@ extern_lib libleanffi pkg := do
422422
buildStaticLib (pkg.sharedLibDir / name) #[ct2O]
423423

424424

425-
require batteries from git "https://github.com/leanprover-community/batteries.git" @ "main"
426-
require aesop from git "https://github.com/leanprover-community/aesop" @ "master"
425+
require batteries from git "https://github.com/leanprover-community/batteries.git" @ "24241822ef9d3e7f6a3bcc53ad136e12663db8f3"
426+
require aesop from git "https://github.com/leanprover-community/aesop" @ "2f6d238744c4cb07fdc91240feaf5d4221a27931"
427427

428428
meta if get_config? env = some "dev" then -- dev is so not everyone has to build it
429429
require «doc-gen4» from git "https://github.com/leanprover/doc-gen4" @ "main"

lean-toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
leanprover/lean4:v4.25.0
1+
leanprover/lean4:v4.26.0

0 commit comments

Comments
 (0)