Repository navigation
refactor(MultiTape): rename spaceUsed to space - #1133
Merged
Merged
Conversation
barni120400
requested review from
SamuelSchlesinger,
arademaker,
chenson2018,
crei,
fmontesi and
sorrachai
as code owners
October 13, 2026 20:30
This was referenced Oct 13, 2026
barni120400
force-pushed
the
refactor/multitape-space-name
branch
4 times, most recently
from
October 14, 2026 13:28
3677dac to
5bf4c7b
Compare
Match the space vocabulary of `Space.lean`, where the cells visited by all tapes of a path are its `space`: `tm.space cfg t` is the space of the path of the first `t` steps from `cfg`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
barni120400
added a commit
to barni120400/cslib
that referenced
this pull request
Oct 14, 2026
…ugh run paths (leanprover#1117) Expresses the tape simulations, tape specifications and sequential composition through run paths. `stepHom` reads a semiconjugation of `step` as a homomorphism of the step relations, which maps run paths, and each of `extendTapes`, `outputToTape` and `inputFromTape` bounds the space of the mapped path through `RunPath.space_map_le`, replacing the per-file iteration and space proofs. `spaceUsed` becomes an abbreviation for the space of the path of the first `t` steps, so `TransformsTapes` keeps its statement. Sequential composition derives its space bound from the existing state-free invariant. The deterministic space lemmas used only by these proofs and the unused `Cfg.withOutput` are removed. The stack continues in leanprover#1133. Composed with Claude Code. --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
barni120400
force-pushed
the
refactor/multitape-space-name
branch
from
October 14, 2026 16:00
5bf4c7b to
acf622e
Compare
crei
approved these changes
Oct 15, 2026
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.
Renames
MultiTapeTM.spaceUsedtospace, matchingRunPath.spaceandComputationPath.space:tm.space cfg tis the space of the path of the firsttsteps fromcfg. The lemmas named after it follow.Depends on #1117: its commits are included temporarily and will leave this diff when that PR merges. The stack continues in #1122.
Composed with Claude Code.