Skip to content

spec: IS_WHH template - #1015

Merged
erik-3milabs merged 2 commits into
spec/mainfrom
spec/is_whh
Oct 1, 2026
Merged

erik-3milabs merged 2 commits into
spec/mainfrom
spec/is_whh

Conversation

@erik-3milabs

Copy link
Copy Markdown
Collaborator

Follow-up to #1003. This introduces the IS_WHH template that uses IS_WH for the two 48-bits and IS_HALF for the lower 16-bits.

Introduced to improve spec readability; yields no performance improvement.

@erik-3milabs erik-3milabs self-assigned this Oct 1, 2026
@erik-3milabs erik-3milabs added the spec Updates and improvements to the spec document label Oct 1, 2026
@github-actions

github-actions Bot commented Oct 1, 2026

Copy link
Copy Markdown

Kimi Code Review

⚠️ Review failed: Kimi API request failed with status 401


Automated review by Kimi (Moonshot AI)

@github-actions

github-actions Bot commented Oct 1, 2026

Copy link
Copy Markdown

Codex Code Review

No issues found in the PR diff. The IS_WHH template preserves the replaced range checks and multiplicities. The specification checker passes.

@erik-3milabs
erik-3milabs merged commit 9b7d02e into spec/main Oct 1, 2026
6 checks passed
@erik-3milabs
erik-3milabs deleted the spec/is_whh branch October 1, 2026 13:22
@jotabulacios jotabulacios mentioned this pull request Oct 15, 2026
jotabulacios added a commit that referenced this pull request Oct 15, 2026
and use them for the KECCAK state_ptr.

IS_WH range checks the top 48 bits of an address, with one row per
distinct (word, half) pair. Its multiplicity is bounded with IS_B20, as in
#1017. KECCAK state_ptr is now DWordWHH: 486 columns and 84 interactions,
down from 511 and 134.

TableCounts gets an is_wh field, so RECURSION_INPUT_VERSION goes to 4 and
the statement tags to V5.
jotabulacios added a commit that referenced this pull request Oct 15, 2026
and use them for the KECCAK state_ptr.

IS_WH range checks the top 48 bits of an address, with one row per
distinct (word, half) pair. Its multiplicity is bounded with IS_B20, as in
down from 511 and 134.

TableCounts gets an is_wh field, so RECURSION_INPUT_VERSION goes to 4 and
the statement tags to V5.
jotabulacios added a commit that referenced this pull request Oct 20, 2026
and use them for the KECCAK state_ptr.

IS_WH range checks the top 48 bits of an address, with one row per
distinct (word, half) pair. Its multiplicity is bounded with IS_B20, as in
down from 511 and 134.

TableCounts gets an is_wh field, so RECURSION_INPUT_VERSION goes to 4 and
the statement tags to V5.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

spec Updates and improvements to the spec document

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants