Skip to content

Commit 64bc7ad

Browse files
chore: bump to nightly-2026-04-15 (#831)
1 parent 9738aeb commit 64bc7ad

9 files changed

Lines changed: 23 additions & 30 deletions

File tree

Manual/BuildTools/Lake/CLI.lean

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1114,9 +1114,9 @@ USAGE:
11141114

11151115
COMMANDS:
11161116
get [<mappings>] download build outputs into the local Lake cache
1117-
put <mappings> upload build ouptuts to a remote cache
1117+
put <mappings> upload build outputs to a remote cache
11181118
add <mappings> add input-to-output mappings to the Lake cache
1119-
clean removes ALL froms the local Lake cache
1119+
clean removes ALL from the local Lake cache
11201120
services print configured remote cache services
11211121

11221122
STAGING COMMANDS:
@@ -1174,7 +1174,7 @@ will search the repository's entire history (or as far as Git will allow).
11741174

11751175
By default, Lake will download both the input-to-output mappings and the
11761176
output artifacts for a package. By using `--mappings-onlys`, Lake will only
1177-
download the mappings abd delay downloading artifacts until they are needed.
1177+
download the mappings and delay downloading artifacts until they are needed.
11781178

11791179
If a download for an artifact fails or the download process for a whole
11801180
package fails, Lake will report this and continue on to the next. Once done,
@@ -1297,7 +1297,7 @@ OPTIONS:
12971297
--scope=<remote-scope> the prefix of artifacts within the service
12981298
--repo=<github-repo> for Reservoir, a GitHub repository scope
12991299

1300-
Reads a list of input-to-output mapppings from the provided file and adds
1300+
Reads a list of input-to-output mappings from the provided file and adds
13011301
them to the local Lake cache. If `--service` is provided, the output artifacts
13021302
can then be fetched lazily from that service during a Lake build. The service
13031303
must either be `reservoir` or be configured through the Lake system
@@ -1433,9 +1433,9 @@ USAGE:
14331433

14341434
COMMANDS:
14351435
get [<mappings>] download build outputs into the local Lake cache
1436-
put <mappings> upload build ouptuts to a remote cache
1436+
put <mappings> upload build outputs to a remote cache
14371437
add <mappings> add input-to-output mappings to the Lake cache
1438-
clean removes ALL froms the local Lake cache
1438+
clean removes ALL from the local Lake cache
14391439
services print configured remote cache services
14401440

14411441
STAGING COMMANDS:

Manual/Classes/InstanceSynth.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Clicking a `▶` symbol expands that branch of the trace, and clicking the `▼`
9595

9696
```lean -show
9797
-- Hide Lake details that are intruding here
98-
attribute [-instance] Lake.inhabitedOfNilTrace
98+
attribute [-instance] Lake.inhabitedOfNilTrace Lake.inhabitedOfMonadCycle
9999
```
100100

101101
```lean (name := trace)
@@ -156,7 +156,7 @@ In the example above, Lean follows these steps:
156156
- The {name}`Sum.nonemptyLeft` instance, which would create a sub-goal {lean}`Nonempty Nat`.
157157
- The {name}`instNonemptyOfMonad` instance, which would create two sub-goals {lean}`Monad (Sum Nat)` and {lean}`Nonempty Nat`.
158158
- The {name}`instNonemptyOfInhabited` instance, which would create a sub-goal {lean}`Inhabited (Sum Nat Empty)`.
159-
* It applies {name}`Sum.nonemptyRight`, which succeeds, leaving an new goal: {lean}`Nonempty Empty`.
159+
* It applies {name}`Sum.nonemptyRight`, which succeeds, leaving a new goal: {lean}`Nonempty Empty`.
160160
* The first sub-goal, {lean}`Nonempty Empty`, is considered. Lean sees two ways of possibly satisfying this goal:
161161
- The {name}`instNonemptyOfMonad` instance, which is rejected.
162162
It can't be used because the type {lean}`Empty` is not the application of a monad to a type.

Manual/Elaboration.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ info: third_of_five.eq_def.{u_1} {α : Type u_1} (x✝ : List α) :
250250
#check third_of_five.eq_def
251251

252252
/--
253-
info: def third_of_five.match_1.{u_1, u_2} : {α : Type u_1} →
253+
info: @[implicit_reducible] def third_of_five.match_1.{u_1, u_2} : {α : Type u_1} →
254254
(motive : List α → Sort u_2) →
255255
(x : List α) →
256256
((head head_1 x head_2 head_3 : α) → motive [head, head_1, x, head_2, head_3]) →

Manual/Language/InductiveTypes/Structures.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,10 +285,10 @@ structure AugmentedIntList where
285285
augmentation : String := ""
286286
```
287287

288-
When testing whether the list is empty, the function {name AugmentedIntList.isEmpty}`isEmpty` is also testing whether the {name AugmentedIntList.augmentation}`augmentation` field is empty, because the omitted field's default value is also used in pattern contexts:
288+
When testing whether the list is empty, the function {name AugmentedIntList.isEmpty}`isEmpty` must explicitly match the {name AugmentedIntList.augmentation}`augmentation` field, even though it has a default value:
289289
```lean (name := isEmptyDefaults)
290290
def AugmentedIntList.isEmpty : AugmentedIntList → Bool
291-
| {list := []} => true
291+
| {list := [], augmentation := ""} => true
292292
| _ => false
293293

294294
#eval {list := [], augmentation := "extra" : AugmentedIntList}.isEmpty

Manual/Meta/LakeToml.lean

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -828,6 +828,8 @@ def checkTomlPackage [Lean.MonadError m] (str : String) : m (Except String Strin
828828
baseName := name
829829
wsIdx := 0
830830
origName := name
831+
keyName := name
832+
relManifestFile := Lake.defaultManifestFile
831833
}
832834

833835
.ok <$> report pkg errs

Manual/RecursiveDefs/Structural.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ The auxiliary match function's definition is:
606606
#print half.match_1
607607
```
608608
```leanOutput halfmatch (whitespace := lax)
609-
def half.match_1.{u_1} :
609+
@[implicit_reducible] def half.match_1.{u_1} :
610610
(motive : Nat → Sort u_1) → (x : Nat) →
611611
(Unit → motive Nat.zero) → (Unit → motive 1) →
612612
((n : Nat) → motive n.succ.succ) →

Manual/Terms.lean

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1341,8 +1341,8 @@ instance : OfNat Blah n where
13411341

13421342
/--
13431343
error: Missing cases:
1344-
(Blah.mk (Nat.succ (Nat.succ _)))
13451344
(Blah.mk Nat.zero)
1345+
(Blah.mk (Nat.succ (Nat.succ _)))
13461346
-/
13471347
#check_msgs in
13481348
def abc (n : Blah) : Bool :=
@@ -1394,25 +1394,16 @@ structure OnlyThreeOrFive where
13941394
ok : val = 3 ∨ val = 5 := by rfl
13951395

13961396

1397-
-- Default args are synthesized in patterns too!
1397+
-- Default args are not synthesized in patterns
13981398
/--
1399-
error: Tactic `rfl` failed: The left-hand side
1400-
n = 3
1401-
is not definitionally equal to the right-hand side
1402-
n = 5
1403-
1404-
x✝ : OnlyThreeOrFive
1405-
n : Nat
1406-
⊢ n = 3 ∨ n = 5
1399+
error: Fields missing: `val2`, `ok`
14071400
-/
14081401
#check_msgs in
14091402
def ggg : OnlyThreeOrFive → Nat
14101403
| {val := n} => n
14111404

14121405
/--
1413-
error: Missing cases:
1414-
(OnlyThreeOrFive.mk _ true (Or.inr Eq.refl))
1415-
(OnlyThreeOrFive.mk _ true (Or.inl Eq.refl))
1406+
error: Fields missing: `val2`
14161407
-/
14171408
#check_msgs in
14181409
def hhh : OnlyThreeOrFive → Nat

lake-manifest.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"type": "git",
66
"subDir": null,
77
"scope": "",
8-
"rev": "9de9961a7339b83b1d96131d9fb28df59697f16b",
8+
"rev": "ccdfd799c239d81922ecf6f156cee32ee64ef229",
99
"name": "verso",
1010
"manifestFile": "lake-manifest.json",
1111
"inputRev": "nightly-testing",
@@ -15,7 +15,7 @@
1515
"type": "git",
1616
"subDir": null,
1717
"scope": "",
18-
"rev": "7fc10c4acacf0a159f75366d048dc1d0fe545b09",
18+
"rev": "32b8fbdc543b070f0e76a2b4b1d7fd0ce3e7e837",
1919
"name": "versowebcomponents",
2020
"manifestFile": "lake-manifest.json",
2121
"inputRev": "main",
@@ -25,7 +25,7 @@
2525
"type": "git",
2626
"subDir": null,
2727
"scope": "",
28-
"rev": "22a0afa903bcf65285152eea298a3d319badc78d",
28+
"rev": "264309b5c0c10e569025a53ab6440a45c03133e4",
2929
"name": "plausible",
3030
"manifestFile": "lake-manifest.json",
3131
"inputRev": "main",
@@ -45,7 +45,7 @@
4545
"type": "git",
4646
"subDir": null,
4747
"scope": "",
48-
"rev": "52b9dfbd2658408e37ae6e8b72601ddeaaa25a0c",
48+
"rev": "ce893b9042128037e2d3c0158b9567fab9fae268",
4949
"name": "subverso",
5050
"manifestFile": "lake-manifest.json",
5151
"inputRev": "main",

lean-toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
leanprover/lean4:nightly-2026-04-02
1+
leanprover/lean4:nightly-2026-04-15

0 commit comments

Comments
 (0)