-
Notifications
You must be signed in to change notification settings - Fork 547
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose chunks in Plonk_verification_evals.t
#14284
Conversation
!ci-build-me |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First comments
Some | ||
{ non_zero = Boolean.(true_ &&& Point.finite p) | ||
; point = Point.underlying p | ||
{ non_zero = Boolean.(true_ &&& true_) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See above
Some | ||
{ non_zero = Boolean.(keep &&& Point.finite p) | ||
; point = Point.underlying p | ||
{ non_zero = Boolean.(keep &&& true_) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same than above. Why? Should it not be is_true
or smth like this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Point.finite p = false_
is unreachable, so we hard-code true_
@@ -411,12 +417,18 @@ struct | |||
[ `Finite of Inner_curve.t | |||
| `Maybe_finite of Boolean.var * Inner_curve.t ] | |||
|
|||
let finite : t -> Boolean.var = function | |||
let _finite : t -> Boolean.var = function |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove?
| `Finite _ -> | ||
Boolean.true_ | ||
| `Maybe_finite (b, _) -> | ||
b | ||
|
||
let assert_finite : t -> unit = function | ||
| `Finite _ -> | ||
() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mmh. Are we sure of this? 🤔 I think a comment explaining wouldn't be too much.
cc60192
to
8e15884
Compare
!ci-build-me |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only have questions (asked before) and suggestions (opened follow-up).
This PR updates pickles for chunked polynomial commitments, as part of the work to enable chunking. This is an incremental step towards full chunking, and in particular this currently hard-codes the number of chunks as 1 in several places.
Checklist: