Repository navigation
refactor(MultiTape): keep the run path space API in Space.lean - #1145
Merged
SamuelSchlesinger merged 1 commit intoOct 20, 2026
Merged
SamuelSchlesinger merged 1 commit into
SamuelSchlesinger merged 1 commit into
Conversation
barni120400
requested review from
SamuelSchlesinger,
arademaker,
chenson2018,
crei,
fmontesi and
sorrachai
as code owners
October 18, 2026 14:52
This was referenced Oct 18, 2026
barni120400
force-pushed
the
refactor/multitape-space-api-home
branch
from
October 18, 2026 15:04
7da24de to
0aa2e4a
Compare
This was referenced Oct 19, 2026
SamuelSchlesinger
requested changes
Oct 19, 2026
The windows, the bounds of a path's space by sets containing its head positions, and the space of a mapped path move from TapeLemmas.lean to Space.lean, next to the space measures; `prependOutputHom` moves to Nondeterministic.lean. Prepending output keeps every head in place, so `transformsTapes_iff_nil_output` reuses the space bound as it is, and the then unused `space_map_eq` goes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
barni120400
force-pushed
the
refactor/multitape-space-api-home
branch
from
October 19, 2026 21:40
0aa2e4a to
da022fb
Compare
SamuelSchlesinger
approved these changes
Oct 19, 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.
Moves the space API of run paths from
TapeLemmas.leantoSpace.lean, next to the space measures: the windows[-s, s], the bounds of a path's space by sets containing its head positions, and the space of a mapped path.prependOutputHommoves toNondeterministic.lean.Restates
space_map_leso that the map carries each head to its tape at every configuration, and removes the unusedspace_le_of_subset,visitedByTapeHead_mapandspace_map_eq. Prepending output keeps every head in place, sotransformsTapes_iff_nil_outputreuses the space bound as it is.Composed with Claude Code.