Skip to content

fix: remove duplicate assert_bool constraints in ShiftRightChip#451

Open
eeemmmmmm wants to merge 1 commit intoProjectZKM:mainfrom
eeemmmmmm:fix/remove-duplicate-bool-constraints
Open

fix: remove duplicate assert_bool constraints in ShiftRightChip#451
eeemmmmmm wants to merge 1 commit intoProjectZKM:mainfrom
eeemmmmmm:fix/remove-duplicate-bool-constraints

Conversation

@eeemmmmmm
Copy link
Contributor

The assert_bool checks for is_srl, is_sra, is_ror, and is_real were called twice - once in the flags array loop (line 476-479) and again individually below. This added 4 redundant constraints to the proof system. Removed the duplicates to reduce prover overhead.

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