Closed kunxian-xia closed 2 weeks ago
I think this bug is triggered by the constraints below. https://github.com/scroll-tech/ceno/blob/9dd45dbf88fb11406b9c459b33cd9f441074cc8e/ceno_zkvm/src/instructions/riscv/jump/jalr.rs#L74-L77
Can we add a check for constraint degree as part of the normal tests you get with cargo make tests
, please?
I think this bug is triggered by the constraints below.
Hmm, but that only looks like a cubic expression to me? Are you sure it's that one?
There are 2 possible quick approach
one extra degree come from 'eq' function
I think opt 1 is easier with minimal cost, opt 2 is even better
I think this bug is triggered by the constraints below. https://github.com/scroll-tech/ceno/blob/9dd45dbf88fb11406b9c459b33cd9f441074cc8e/ceno_zkvm/src/instructions/riscv/jump/jalr.rs#L74-L77
Hmm, but that only looks like a cubic expression to me? Are you sure it's that one?
@matthiasgoergens The actual expression that is proved by sumcheck looks like 0 = \sum_b expr(b) * sel(b)
. Therefore its degree equals to expr.deg() + 1
.
Thanks, that makes sense.
You can reproduce this issue by running the cmd in the
feat/guest-example
branchto see the error msg