Skip to content

fix: Predicate handling in Grumpkin#18247

Closed
federicobarbacovi wants to merge 1 commit intomerge-train/barretenbergfrom
fb/fix_predicate_ec_ops
Closed

fix: Predicate handling in Grumpkin#18247
federicobarbacovi wants to merge 1 commit intomerge-train/barretenbergfrom
fb/fix_predicate_ec_ops

Conversation

@federicobarbacovi
Copy link
Contributor

Fix predicate handling for Grumpkin points. Problem example:

  • point_x = g1::affine_one.x and both constants
  • point_y != g1::affine_one.y

Then point_x = field_ct(g1::affine_one.x) (constant) and point_y is a witness.

We protect against this case by always setting the coordinates to be witnesses.

@federicobarbacovi federicobarbacovi self-assigned this Nov 6, 2025
@federicobarbacovi federicobarbacovi marked this pull request as ready for review November 6, 2025 16:30
@federicobarbacovi
Copy link
Contributor Author

Handled in #18253

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