Skip to content

feat(u4): document lookup table schedules - #53

Closed
brenorb wants to merge 1 commit into
solving-bitcoin:mainfrom
brenorb:feat/u4-lookup-schedule-boundary
Closed

brenorb wants to merge 1 commit into
solving-bitcoin:mainfrom
brenorb:feat/u4-lookup-schedule-boundary

Conversation

@brenorb

@brenorb brenorb commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Summary

  • document the existing triangular 16-item and linear 17-item u4 lookup schedules
  • add exact table-shape and mismatched-cleanup tests
  • record setup and cleanup byte metrics in the u4 README and knowledge catalog
  • clarify lookup-depth and cleanup-width composition obligations

Validation

  • cargo fmt --all -- --check
  • cargo test --locked arithmetic::u4::logic::tests
  • cargo test --locked --test primitive_metrics
  • python3 tools/kb.py validate
  • git diff --check

The full repository test suite was intentionally not run; validation is scoped to the new primitive and repository knowledge/metric checks.

Copy link
Copy Markdown
Contributor

Review: hold pending the changes below.

Integrate the existing lookup-table lifecycle documentation with the stack/router package. Preserve explicit setup/cleanup boundaries and add active focused tests for the newly reported metrics.

Historical local validation (September 11, at this unchanged PR head): python3 tools/kb.py validate passed; 2 selected library tests passed. These are targeted local checks, not a full-suite or complete-spend validation. Results using a stack-limit-disabled execution helper remain research-unlimited.

Rebase on current main, address the specific gaps above, and run the affected correctness and active metric checks. Broad/full-repository runs are not requested.

Reviewed commit: e7a8cabac82bfcd71fde37fec7f1655d4afbe364.

@brenorb

brenorb commented Sep 18, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #49, which now contains the corrected lookup lifecycle documentation, tests, metrics, and catalog records.

@brenorb brenorb closed this Sep 18, 2026
@brenorb
brenorb deleted the feat/u4-lookup-schedule-boundary branch October 28, 2026 02:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants