refactor(Encoding): move the rose-tree Data type into the encoding layer - #25
Merged
SamuelSchlesinger merged 1 commit intoAug 16, 2026
Conversation
BoltonBailey
marked this pull request as draft
August 14, 2026 04:57
…layer `Data` and the `DataEncode` typeclass are machine-independent: `Data` is the rose tree the RTM operates on, but it is also the target every `DataEncode` instance encodes into, so it does not belong under `Models/RoseTreeMachine/`. Move `Models/RoseTreeMachine/Data.lean` to `Encoding/Data.lean` and `Models/RoseTreeMachine/DataEncode.lean` to `Encoding/DataEncode.lean`, and repoint the three import statements that referred to the old paths. Nothing else changes. `Encoding/Data.lean` is byte-identical to the file it replaces; `Encoding/DataEncode.lean` differs only in its own import of `Data`. Namespaces, module docs, comments and declarations are all untouched, so the `Complexity.RoseTreeMachine` namespace is preserved for now. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
BoltonBailey
force-pushed
the
refactor/rose-tree-encoding-move
branch
from
August 14, 2026 05:01
46357ed to
64ac47d
Compare
BoltonBailey
marked this pull request as ready for review
August 15, 2026 01:26
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.
Split out of #21, this just moves these files to another location.
🤖 Generated with Claude Code