Skip to content

Conversation

@Fibonacci747
Copy link
Contributor

Clarified the documentation for the KoalaBear modulus range checks to explicitly describe the LE bit order and which indices are constrained in less_than_bb_modulus. Also corrected the high-level explanation of the “top 7 / bottom 24 bits” logic in the circuit builder so it matches the actual inequality x < 2^31 - 2^24 + 1 instead of making an imprecise claim about the value range. This makes the intent of the constraints clear and avoids future confusion when reasoning about bit layouts for KoalaBear elements.

@eigmax eigmax force-pushed the main branch 4 times, most recently from 486cfe8 to ce11d49 Compare January 26, 2026 15:27
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.

1 participant