Repository navigation
Move the default Lean environment to 4.36.0 / Mathlib fc4f59e - #60
Merged
Merged
Conversation
The standard and mathlib task environments now pin Lean v4.36.0 and Mathlib fc4f59e577feb1a4956671bc04ac18aaaf8cd842. The pinned TheoremOS library is rebuilt for 4.36 (release r5 with a 4.36 compatibility patch), Pantograph gets a 4.36 build patch, and the Dockerfile, CI matrix (4.34.1, 4.36.0), docs, examples and tests follow the new pins. Saved evidence keeps the environment digest it recorded. The 4.33 environment is kept as resources/mathlib/environment-4.33.json, and recordedLeanTaskEnvironment(id, digest) resolves a saved digest to the current or a superseded environment. Formalization evidence, reference receipts and the Web report are checked in that recorded environment, and a nested correspondence must carry its enclosing request's digest. New requests, resumed runs and worker results still require the current pins. The Web workbench shows old formalizations but refuses to confirm them or hand them to research (409, asks to re-formalize). New receipt fixtures were generated with the real comparator on 4.36 (no model calls); the 4.33 fixtures are kept for the historical path. The kernel-context exporter tests now also run under Lean 4.36.0. Known limits: a run records no Lean environment digest, so the verification kit for an old run uses the current environment; old runs cannot resume on the new pins. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Moves the
standardandmathlibtask environments from Lean 4.33.0 / Mathlib db584cd to Lean 4.36.0 / Mathlib fc4f59e, in place.resources/theorem-os-library/lean4.36.0.patch). Pantograph builds withscripts/pantograph/lean4.36.0.patch.Saved evidence is checked against the environment its digest records:
resources/mathlib/environment-4.33.json.recordedLeanTaskEnvironment(id, digest)resolves a saved digest to the current or a superseded environment.Tests:
formalizationReviewCli×5 andputnamBench×1. Both typechecks andbun run buildpass.Known limits:
REDISTRIBUTION.mdandupstream-grant.jsonstill name library r4.🤖 Generated with Claude Code