Skip to content

Clarify loop exit condition in subtree inclusion proof verification - #145

Merged
davidben merged 1 commit into
mainfrom
lukevalenta-patch-1
Sep 17, 2025
Merged

Clarify loop exit condition in subtree inclusion proof verification#145
davidben merged 1 commit into
mainfrom
lukevalenta-patch-1

Conversation

@lukevalenta

@lukevalenta lukevalenta commented Sep 17, 2025

Copy link
Copy Markdown
Collaborator

Entering the loop, either LSB(fn) is already set, or fn is equal to sn which is non-zero. Thus, the right-shifting loop will only ever exit due to LSB(fn) being set.

@davidben davidben left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I considered suggesting we add an explanatory sentence to “This is the same as the procedure […]” because it’s now not as obvious, but it seemed awkward so… meh.

@davidben
davidben merged commit 0012b78 into main Sep 17, 2025
2 checks passed
@davidben
davidben deleted the lukevalenta-patch-1 branch September 17, 2025 15:00
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