Repository navigation
Recover one nibble with two modulo-17 checks - #337
Merged
Merged
Conversation
brenorb
marked this pull request as ready for review
November 6, 2026 13:21
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
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.
Recover one erased canonical nibble from two public sums modulo 17. The first gives the missing value. Subtracting the erased index times that equation from the weighted equation removes the missing digit from the second check. Centered coefficients keep constant products small.
The two schedules check the same surviving digits and public residues, compare the exact recovered value and leave true. Serialized data witness includes item count and lengths, excluding the leaf, control block, annex and transaction. Executed counts include processed control delimiters. All input items coexist at entry and there are zero hints.
Both schedules reject every single substitution at every erasure position of the width-17 fixture. Two changed surviving digits can cancel, as shown by [5,5,5] and [4,7,4]. Width 18 repeats an index coefficient and is outside the contract. The centered width-17 fixture reaches exactly 1,000 combined items with 980 preserved caller items. #273 uses delayed modulo-17 reduction for positional integers. This construction uses two public arithmetic checks to recover and validate a missing coordinate.
Evidence is locally reproduced and execution is unclassified. Focused tests, metric snapshots, knowledge validation, formatting, and diff checks passed. The required full non-field suite passed on this exact published commit.