Skip to content

Commit 41c62d2

Browse files
jcommelinkim-em
andauthored
chore: bump toolchain to v4.18.0-rc1 (#75)
* chore: bump toolchain to v4.18.0-rc1 * fix? * chore: bump toolchain to v4.18.0-rc1 * fix tests --------- Co-authored-by: Kim Morrison <kim@tqft.net>
1 parent 54cec9d commit 41c62d2

11 files changed

+24
-27
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@
55
/test/Mathlib/.lake
66
/test/*.olean
77
/test/*.olean.tmp
8+
/test/*.produced.out

REPL/Main.lean

-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,6 @@ def runCommand (s : Command) : M IO (CommandResponse ⊕ Error) := do
212212
cmdContext := (cmdSnapshot?.map fun c => c.cmdContext).getD
213213
{ fileName := "",
214214
fileMap := default,
215-
tacticCache? := none,
216215
snap? := none,
217216
cancelTk? := none } }
218217
let env ← recordCommandSnapshot cmdSnapshot

lean-toolchain

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
leanprover/lean4:v4.17.0
1+
leanprover/lean4:v4.18.0-rc1

test.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ for infile in $IN_DIR/*.in; do
3434
rm "$tmpfile"
3535
else
3636
echo "$base: FAILED"
37-
# Remove the temporary file
38-
rm "$tmpfile"
37+
# Rename the temporary file instead of removing it
38+
mv "$tmpfile" "${expectedfile/.expected.out/.produced.out}"
3939
exit 1
4040
fi
4141

test/Mathlib/lake-manifest.json

+10-10
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@
55
"type": "git",
66
"subDir": null,
77
"scope": "",
8-
"rev": "5269898d6a51d047931107c8d72d934d8d5d3753",
8+
"rev": "6cecf71a82a22ea7c01598800e12f3e8eb66894b",
99
"name": "mathlib",
1010
"manifestFile": "lake-manifest.json",
11-
"inputRev": "v4.17.0",
11+
"inputRev": "v4.18.0-rc1",
1212
"inherited": false,
1313
"configFile": "lakefile.lean"},
1414
{"url": "https://github.com/leanprover-community/plausible",
1515
"type": "git",
1616
"subDir": null,
1717
"scope": "leanprover-community",
18-
"rev": "c708be04267e3e995a14ac0d08b1530579c1525a",
18+
"rev": "ebfb31672ab0a5b6d00a018ff67d2ec51ed66f3a",
1919
"name": "plausible",
2020
"manifestFile": "lake-manifest.json",
2121
"inputRev": "main",
@@ -35,7 +35,7 @@
3535
"type": "git",
3636
"subDir": null,
3737
"scope": "leanprover-community",
38-
"rev": "0447b0a7b7f41f0a1749010db3f222e4a96f9d30",
38+
"rev": "08372f1ec11df288ff76621ead7b0b575cb29355",
3939
"name": "importGraph",
4040
"manifestFile": "lake-manifest.json",
4141
"inputRev": "main",
@@ -45,17 +45,17 @@
4545
"type": "git",
4646
"subDir": null,
4747
"scope": "leanprover-community",
48-
"rev": "799f6986de9f61b784ff7be8f6a8b101045b8ffd",
48+
"rev": "a602d13aca2913724c7d47b2d7df0353620c4ee8",
4949
"name": "proofwidgets",
5050
"manifestFile": "lake-manifest.json",
51-
"inputRev": "v0.0.52",
51+
"inputRev": "v0.0.53",
5252
"inherited": true,
5353
"configFile": "lakefile.lean"},
5454
{"url": "https://github.com/leanprover-community/aesop",
5555
"type": "git",
5656
"subDir": null,
5757
"scope": "leanprover-community",
58-
"rev": "56a2c80b209c253e0281ac4562a92122b457dcc0",
58+
"rev": "ec060e0e10c685be8af65f288e23d026c9fde245",
5959
"name": "aesop",
6060
"manifestFile": "lake-manifest.json",
6161
"inputRev": "master",
@@ -65,7 +65,7 @@
6565
"type": "git",
6666
"subDir": null,
6767
"scope": "leanprover-community",
68-
"rev": "95561f7a5811fae6a309e4a1bbe22a0a4a98bf03",
68+
"rev": "d892d7a88ad0ccf748fb8e651308ccd13426ba73",
6969
"name": "Qq",
7070
"manifestFile": "lake-manifest.json",
7171
"inputRev": "master",
@@ -75,7 +75,7 @@
7575
"type": "git",
7676
"subDir": null,
7777
"scope": "leanprover-community",
78-
"rev": "efcc7d9bd9936ecdc625baf0d033b60866565cd5",
78+
"rev": "092b30de8e7ee78e96b24c235d99e26f2942d77e",
7979
"name": "batteries",
8080
"manifestFile": "lake-manifest.json",
8181
"inputRev": "main",
@@ -85,7 +85,7 @@
8585
"type": "git",
8686
"subDir": null,
8787
"scope": "leanprover",
88-
"rev": "e7fd1a415c80985ade02a021172834ca2139b0ca",
88+
"rev": "dd423cf2b153b5b14cb017ee4beae788565a3925",
8989
"name": "Cli",
9090
"manifestFile": "lake-manifest.json",
9191
"inputRev": "main",

test/Mathlib/lakefile.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ defaultTargets = ["ReplMathlibTests"]
44
[[require]]
55
name = "mathlib"
66
git = "https://github.com/leanprover-community/mathlib4"
7-
rev = "v4.17.0"
7+
rev = "v4.18.0-rc1"
88

99
[[lean_lib]]
1010
name = "ReplMathlibTests"

test/Mathlib/lean-toolchain

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
leanprover/lean4:v4.17.0
1+
leanprover/lean4:v4.18.0-rc1

test/enableInitializersExecution.expected.out

-2
This file was deleted.

test/enableInitializersExecution.in

-1
This file was deleted.

test/name_generator.expected.out

+5-5
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,19 @@
1919
{"proofState": 4, "goals": []}
2020

2121
{"traces":
22-
["[Meta.Tactic.simp.rewrite] of_eq_true (eq_true h0):1000, x > 0 ==> True"],
22+
["[Meta.Tactic.simp.rewrite] of_eq_true (eq_true h0):1000:\n x > 0\n ==>\n True"],
2323
"proofState": 5,
2424
"goals": []}
2525

2626
{"traces":
27-
["[Meta.Tactic.simp.rewrite] gt_iff_lt:1000, x > 0 ==> 0 < x",
28-
"[Meta.Tactic.simp.rewrite] h0:1000, 0 < x ==> True"],
27+
["[Meta.Tactic.simp.rewrite] gt_iff_lt:1000:\n x > 0\n ==>\n 0 < x",
28+
"[Meta.Tactic.simp.rewrite] h0:1000:\n 0 < x\n ==>\n True"],
2929
"proofState": 6,
3030
"goals": []}
3131

3232
{"traces":
33-
["[Meta.Tactic.simp.rewrite] gt_iff_lt:1000, x > 0 ==> 0 < x",
34-
"[Meta.Tactic.simp.rewrite] h0:1000, 0 < x ==> True"],
33+
["[Meta.Tactic.simp.rewrite] gt_iff_lt:1000:\n x > 0\n ==>\n 0 < x",
34+
"[Meta.Tactic.simp.rewrite] h0:1000:\n 0 < x\n ==>\n True"],
3535
"proofState": 7,
3636
"goals": []}
3737

test/trace_simp.expected.out

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"pos": {"line": 1, "column": 23},
1010
"endPos": {"line": 1, "column": 27},
1111
"data":
12-
"[Meta.Tactic.simp.rewrite] f_def:1000, f ==> 37\n[Meta.Tactic.simp.rewrite] eq_self:1000, 37 = 37 ==> True"}],
12+
"[Meta.Tactic.simp.rewrite] f_def:1000:\n f\n ==>\n 37\n[Meta.Tactic.simp.rewrite] eq_self:1000: 37 = 37 ==> True"}],
1313
"env": 3}
1414

1515
{"sorries":
@@ -27,8 +27,8 @@
2727
{"traces": ["37"], "proofState": 1, "goals": ["⊢ f = 37"]}
2828

2929
{"traces":
30-
["[Meta.Tactic.simp.rewrite] f_def:1000, f ==> 37",
31-
"[Meta.Tactic.simp.rewrite] eq_self:1000, 37 = 37 ==> True"],
30+
["[Meta.Tactic.simp.rewrite] f_def:1000:\n f\n ==>\n 37",
31+
"[Meta.Tactic.simp.rewrite] eq_self:1000:\n 37 = 37\n ==>\n True"],
3232
"proofState": 2,
3333
"goals": []}
3434

0 commit comments

Comments
 (0)