Skip to content

chore: merge main and bump to 11-24 - #1008

Merged
david-christiansen merged 11 commits into
nightly-testingfrom
bump-2026-11-20
Nov 25, 2026
Merged

david-christiansen merged 11 commits into
nightly-testingfrom
bump-2026-11-20

Conversation

@david-christiansen

Copy link
Copy Markdown
Collaborator

No description provided.

juanjomadrigal and others added 11 commits November 16, 2026 13:10
v4.36.0 release notes highlights
Co-authored-by: David Thrane Christiansen <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: David Thrane Christiansen <[email protected]>
Co-authored-by: Wojciech Różowski <[email protected]>
Co-authored-by: Claude Opus 4.6 <[email protected]>
Co-authored-by: David Thrane Christiansen <[email protected]>
Co-authored-by: Sebastian Graf <[email protected]>
Co-authored-by: Violetta Sim <[email protected]>
Co-authored-by: Joachim Breitner <[email protected]>
Co-authored-by: Kim Morrison <[email protected]>
Co-authored-by: Richard Davison <[email protected]>
Co-authored-by: Chris Su <[email protected]>
Co-authored-by: ericrbg-harmonic <[email protected]>
Co-authored-by: Mac Malone <[email protected]>
Co-authored-by: Robert J. Simmons <[email protected]>
Co-authored-by: Orfeas Stefanos Thyfronitis Litos <[email protected]>
Co-authored-by: Juan José Madrigal <[email protected]>
Co-authored-by: jcreedcmu <[email protected]>
Co-authored-by: Paul Reichert <[email protected]>
Co-authored-by: Pim Otte <[email protected]>
Co-authored-by: Phil Nguyen <[email protected]>
Co-authored-by: Violetta Sim <[email protected]>
Co-authored-by: Markus Himmel <[email protected]>
Co-authored-by: Anne Baanen <[email protected]>
Co-authored-by: euprunin <[email protected]>
Co-authored-by: u <u@h>
Co-authored-by: Pablo Graubner <[email protected]>
Co-authored-by: Anne C.A. Baanen <[email protected]>
Co-authored-by: Marc Huisinga <[email protected]>
Co-authored-by: jrr6 <[email protected]>
Co-authored-by: Leonardo de Moura <[email protected]>
Co-authored-by: Johan Commelin <[email protected]>
Co-authored-by: Sebastian Ullrich <[email protected]>
Co-authored-by: leanprover-bot <[email protected]>
Co-authored-by: Kim Morrison <[email protected]>
Co-authored-by: github-actions <[email protected]>
Co-authored-by: Julien Cretin <[email protected]>
Co-authored-by: Rob Simmons <[email protected]>
Co-authored-by: Julien Cretin <[email protected]>
Co-authored-by: Adam Dingle <[email protected]>
Co-authored-by: Wojciech Nawrocki <[email protected]>
Co-authored-by: Ashley Blacquiere <[email protected]>
Co-authored-by: Henrik Böving <[email protected]>
It had somehow gotten misconfigured and was missing some typos.
The removed PRs were either backported to and released as part of
v4.36.0, or they were reverted.
@david-christiansen david-christiansen changed the title chore: merge main and bump to 11-23 chore: merge main and bump to 11-24 Nov 25, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Preview for this PR is ready! 🎉 (also as a proofreading version). built with commit 8cb8d68.

@david-christiansen
david-christiansen merged commit 226acc3 into nightly-testing Nov 25, 2026
10 checks passed
@david-christiansen
david-christiansen deleted the bump-2026-11-20 branch November 25, 2026 09:06
david-christiansen pushed a commit to leanprover/downstream-lean4 that referenced this pull request Nov 25, 2026
…4#16627) (#283)

Fix for the `reference-manual` half of [run
45592905939](https://github.com/leanprover/downstream-lean4/actions/runs/45592905939)
(`nightly-2026-11-24`). One commit. The rest of the red set is either
carried by PRs that are already open or cannot be fixed on this nightly
at all — see "Rest of the red set" below.

## `reference-manual` — stale `maxTraceChildren` adaptation

`extended-examples/IndexMapGrind.lean` pins the `grind` diagnostics of
the `eraseSwap` example in a `#check_msgs` docstring. lean4#16627 made
`MessageData.format` respect `maxTraceChildren`, so that output grew two
`N more entries... (increase maxTraceChildren to see more)` lines.

Both sides then adapted, in opposite directions:

* downstream, #274 put `set_option maxTraceChildren 0 in` above the
block, so the full trace is printed again and the old expectation still
matches;
* upstream,
[leanprover/reference-manual#1008](leanprover/reference-manual#1008)
(in `nightly-testing` as `226acc32c`) regenerated the expected output
*with* the two truncation lines.

`downstream: update repo reference-manual` (3d92f74) merged the second
one in. The two changes touch different lines, so there was no conflict
and both survived — and the `set_option` suppresses exactly the
truncation the new expectation requires. `IndexMapGrind` failed with

```
error: extended-examples/IndexMapGrind.lean:637:0: ❌️ Docstring on `#check_msgs` does not match generated message:
```

and `Tutorial.Grind.IndexMap`, which builds `IndexMapGrind` as a nested
project to resolve its anchors, failed behind it at 76 sites with `Build
process failed.`.

**Fix:** delete the now-stale `set_option`. The file is byte-identical
to upstream `226acc32c` again.

**Verified:** `lake build` green, 1680/1680 jobs, with `IndexMapGrind`
and `Tutorial.Grind.IndexMap` genuinely recompiled rather than replayed.
`reference-manual` defines no test or lint driver (`lake check-test` and
`lake check-lint` both exit 1), so `build` is its full set of phases.
Built with elan v4.4.0 first on `PATH`, matching CI, because the manual
pins `elan --help` output.

## Superseded PRs closed

The same `reference-manual` update rewrote `Manual/VCGen.lean`,
`Tutorial/VCGen.lean` and `Manual/NotationsMacros/DoElab.lean` upstream,
which makes #268 (lean4#16557, lean4#16569) and #275 (lean4#16451)
unnecessary: all three modules compiled green in the verification build
without them, and both PRs had become `CONFLICTING` against `master`.
Closed as superseded.

## Rest of the red set, not in this PR

Verified on `3d92f744` with the open #273 and #279 applied locally:

* **`mathlib4` build — green.** `lake build Mathlib Archive
Counterexamples Wanted cache --wfail`: 18661 jobs, 0 warnings.
`Mathlib.Data.Int.Init` (`lia`, lean4#16668) was fixed by #273's hunk;
master has since taken a different fix for that one file directly
(`d9ac508c`, `congr 1; lia` instead of `congrArg motive`), so #273 will
need its `Data/Int/Init.lean` hunk dropped, but its other 27 files are
still the next `lia` layers. `Pentagonal.Ring` (lean4#16680) is fixed by
#279.
* **`mathlib4` test and lint — still red, and not fixable on this
nightly.** Once the build is unblocked, both phases hit the clash that
also keeps `import-graph` red: `environment already contains
'Lean.SourceInfo.getLeading?' from ImportGraph.Lean.Syntax`. 22
`MathlibTest` modules fail on it, and `batteries/runLinter` dies with
the same message as an `uncaught exception`, so `lake lint` never runs a
linter at all. CI has never reached these phases, because the `mathlib4`
build failed first.
* **`repl` — also this clash, not the `lia` cascade.** Its `test` phase
fails at `test/Mathlib/test/H20231020`, and it still fails with Mathlib
fully built: the REPL reports no error for `import Mathlib.…` but hands
back an environment with none of Mathlib's contents, so the following
`open BigOperators`/`Real`/`Nat`/`Topology` all fail with `unknown
namespace`. A plain `lake env lean` on a one-line `import
Mathlib.Basic.Real.Basic` in that project shows what the REPL swallows:
`import Lean.Fmt.Util.Basic failed, environment already contains
'Lean.SourceInfo.getLeading?'`. So the duplicate breaks *every
non-module consumer* of Mathlib, not only `ImportGraphTest` — Mathlib's
own module-system build does not see `ImportGraph`'s private imports,
but a non-module importer does.
* **`import-graph`** — `ImportGraphTest` fails with the same clash. #281
fixes it by deleting the duplicate and using the core declaration that
lean4#16718 moved into `Init.Prelude`; that needs `nightly-2026-11-25`
or later, so #281 is deliberately red on the current nightly (its own
run 45411679303 fails `ImportGraph.Lean.Syntax` with `Invalid field
getLeading?`). Nothing here changes that and no competing fix is
proposed — this is the PR author's own call.
* **`cslib`** — skipped behind `mathlib4`, left to its own bot.

So merging this PR, #273 and #279 does *not* turn `master` green:
`mathlib4`'s test and lint phases, `import-graph` and `repl` all need
the `nightly-2026-11-25` bump together with #281.

<!-- downstream-watch: unattended -->

Co-authored-by: downstream-lean4[bot] <downstream-lean4[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants