Skip to content

questions about range check design #238

Answered by grjte
spartucus asked this question in Q&A
Discussion options

You must be logged in to vote

Great questions! I'll respond to the first question about the permutation checks first and then follow up with a separate response to your other question a bit later.

Permutation checks aren’t only used in the range checker, so here’s a general, high-level explanation for why we use them. (I’ll use the bitwise processor as an example, since it’s simpler to illustrate, but the concept is the same).

Essentially, they allow us to offload expensive computations to specialized circuits where things can be done more cheaply while still allowing us to prove correct execution.

For example, instead of directly executing an expensive operation that could take many cycles, such as a bitwise AND, it …

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@spartucus
Comment options

@bobbinth
Comment options

@wangtsiao
Comment options

Answer selected by spartucus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants