Skip to content

Commit 78924d5

Browse files
authored
chore: adaptations for nightly-2026-05-10 (#219)
1 parent c3f8e83 commit 78924d5

4 files changed

Lines changed: 5 additions & 7 deletions

File tree

Cache/IO.lean

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -503,8 +503,6 @@ def lookup (hashMap : ModuleHashMap) (modules : List Name) : IO Unit := do
503503
println! " comment: {line}"
504504
if err then IO.Process.exit 1
505505

506-
open private Lake.Glob.ofString? from Lake.Load.Toml in
507-
508506
/--
509507
Parse a string as either a path or a Lean module name.
510508
If the argument describes a folder, use `walkDir` to find all `.lean` files within.

Mathlib/Data/String/Lemmas.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ lemma length_eq_list_length (l : List Char) : (String.ofList l).length = l.lengt
2828
to the larger of `n` and `s.length` -/
2929
@[simp] lemma length_leftpad (n : ℕ) (c : Char) :
3030
∀ (s : String), (leftpad n c s).length = max n s.length
31-
| s => by simp [leftpad, Nat.sub_add_eq_max]
31+
| s => by simp [leftpad, length_toList, Nat.sub_add_eq_max]
3232

3333
lemma leftpad_prefix (n : ℕ) (c : Char) : ∀ s, IsPrefix (replicate (n - length s) c) (leftpad n c s)
34-
| s => by simp [leftpad, IsPrefix, replicate]
34+
| s => by simp [leftpad, IsPrefix, replicate, length_toList]
3535

3636
lemma leftpad_suffix (n : ℕ) (c : Char) : ∀ s, IsSuffix s (leftpad n c s)
3737
| s => by simp [leftpad, IsSuffix]

lake-manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"type": "git",
2626
"subDir": null,
2727
"scope": "leanprover-community",
28-
"rev": "cdab3938ccabbdb044be6896e251b5814bec932e",
28+
"rev": "fd70b40073aeca8fa60fe0fb492f189d3b12c0ef",
2929
"name": "importGraph",
3030
"manifestFile": "lake-manifest.json",
3131
"inputRev": "main",
@@ -65,7 +65,7 @@
6565
"type": "git",
6666
"subDir": null,
6767
"scope": "leanprover-community",
68-
"rev": "25a8b1685158cc5b463b2cdf3d06f16846a3b919",
68+
"rev": "8e1db9dde3100736e39943b355d076c6f3b38fff",
6969
"name": "batteries",
7070
"manifestFile": "lake-manifest.json",
7171
"inputRev": "nightly-testing",

lean-toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
leanprover/lean4:nightly-2026-05-07
1+
leanprover/lean4:nightly-2026-05-10

0 commit comments

Comments
 (0)