Skip to content

Commit

Permalink
nova decider (onchain & offchain) add detail about 0-padding on inter…
Browse files Browse the repository at this point in the history
…polation
  • Loading branch information
arnaucube committed Sep 19, 2024
1 parent a7dd6e7 commit 94ea858
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/design/nova-decider-offchain.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ In the offchain case, since we can end up with proofs in both curves of the cycl
- 5.2: check that the KZG evaluations for $U_{n+1}$ are correct
- $eval_W == p_W(c_W)$
- $eval_E == p_E(c_E)$
<br>where $p_W, p_E \in \mathbb{F}[X]$ are the interpolated polynomials from $W_{i+1}.W,~ W_{i+1}.E$ respectively.
<br>where $p_W, p_E \in \mathbb{F}[X]$ are the interpolated polynomials from $W_{i+1}.W,~ W_{i+1}.E$ respectively,
<br> ie. $p_W(x) = interpolate(W_{i+1}.W, 0)$, where $0$ is zero-padding to the next power of 2 length, and $interpolate()$ interpolates a (unique) polynomial from the vector

#### Circuit2 $\in Fq$ ($E_2.F_r$)

Expand Down
1 change: 1 addition & 0 deletions src/design/nova-decider-onchain.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ The *Decider Circuit* verifies in its R1CS relation over $F_r$ the following che
- $eval_W == p_W(c_W)$
- $eval_E == p_E(c_E)$
<br>where $p_W, p_E \in \mathbb{F}[X]$ are the interpolated polynomials from $W_{i+1}.W,~ W_{i+1}.E$ respectively.
<br> ie. $p_W(x) = interpolate(W_{i+1}.W, 0)$, where $0$ is zero-padding to the next power of 2 length, and $interpolate()$ interpolates a (unique) polynomial from the vector
- 6: check the correct RelaxedR1CS relation of $U_{EC,n}, W_{EC,n}$ of the CycleFoldCircuit (this is non-native operations and with naive sparse matrix-vector product blows up the number of constraints)
- 7: Pedersen commitments verification of $U_{EC,n}.\{ \overline{E}, \overline{W} \}$ with respect $W_{EC,n}$ (the witness of the committed instance)
(where $\overline{E},\overline{W} \in E_2$, this check is native in $F_r$)
Expand Down

0 comments on commit 94ea858

Please sign in to comment.