Repository navigation
fix: reference-manual breakage from nightly-2026-10-06 - #140
Merged
Merged
Conversation
lean4#15486 pre-computes information about IR declarations, which renumbers IR variables and join points. The `discardElems` listing in `Manual/Runtime.lean` is regenerated from the new output, together with the prose that names two of its variables: `x_11` for the element whose reference count is decremented and `x_9` for the freshly allocated `List.cons` (the old `x_5` was already stale and now names a `u8`). lean4#15506 moves `grind`s upward propagation into the `toProcess` queue, which reorders the members of two cutsat equivalence classes in the `grind` diagnostics that `extended-examples/IndexMapGrind.lean` captures in a `#check_msgs` docstring. Verified with a full `lake build` (1577 jobs). `reference-manual` defines neither a test nor a lint driver. Co-Authored-By: Claude Opus 5 <[email protected]>
Contributor
Author
Build report for fix: reference-manual breakage from nightly-2026-10-06Turned green:
Stayed red
Stayed green
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
masterwent red with the bump tonightly-2026-10-06(run 37451416455,
toolchain-only commit 0c29ffc). Four repos are red; this PR fixes the one that
can be fixed downstream.
reference-manual (critical) — fixed
Two expectation blocks went stale, from two different lean4 changes.
Manual/Runtime.lean— lean4#15486 ("chore: pre-compute information aboutIR decls") renumbers IR variables and join points, so the
leanOutput discardElemsblock no longer matched:block_4/block_9are nowblock_1/block_2and the variables shift accordingly. The block isregenerated from the new output. The prose below it names two of those
variables; both are re-pointed at the new numbering —
x_11for the discardedelement whose reference count is decremented and
x_9for the freshlyallocated
List.cons. (The oldx_5was already stale: it named the reusedcons cell rather than the decremented element, and after the renumbering it
names a
u8.)extended-examples/IndexMapGrind.lean— lean4#15506 ("fix:grindrunsupward propagation from the
toProcessqueue") changes the order in whichterms enter cutsat's equivalence classes, which reorders the members of two
[eqc]lines in thegrinddiagnostics that the tutorial's#check_msgsdocstring captures verbatim. Eighteen lines, pure reordering — nothing about
the proof or the diagnostics' content changed. Expect this block to move again
when the blocker below is fixed.
Verified: full
lake buildlocally, 1577/1577 jobs, exit 0.reference-manualdefines neither a test nor a lint driver, so
lake buildis the whole phaseset (matching
test/lintbeingnullin the build reports).mathlib4 (critical) — blocker, not fixable downstream
grindthrows the internal errorunknown free variable `_fvar.771.11634`on
List.pairwise_iff_forall_infixinMathlib/Data/List/Pairwise.lean:49.Roughly 110 Mathlib modules sit behind it, and with them
repl's test phase(which compiles Mathlib) and
cslib(skipped, no build formathlib4).Bisected to lean4#15506 against the pr-release toolchains, with a repro that
needs core only — no Mathlib, no Batteries:
nightly-2026-10-05pr-release-15503pr-release-15506unknown free variablenightly-2026-10-06unknown free variableDropping either bullet makes the error disappear, so it is the interaction of
the two
grindcalls, not either one alone. An internal error is not somethingdownstream can adapt to, so this is left to lean4 and
masterstays red untilit is fixed.
Left unfinished
Mathlib.Data.List.Pairwise, so whatever sits behind those ~110 modules hasnever been elaborated on this nightly; more may appear once the internal
error is gone.
uniformOfFinsetrefactor is still open in fix: batteries and cslib breakage from the batteriesshakeand the mathlibuniformOfFinsetrefactor #134.