arnaucube
arnaucube/sonobe-docsPublic Self-hosted repository
nova decider (onchain & offchain) add detail about 0-padding on interpolation
arnaucube git@arnaucube.com
Thu, 19 Sep 2024 16:47:54 +0200
commit

94ea858c44ac3d37c241a1e6e2b72626427fef58

parent

a7dd6e7b80a32c1b4e4613cf94904460bdc52b6a

2 files changed, 3 insertions(+), 1 deletions(-)

jump to
M src/design/nova-decider-offchain.md → src/design/nova-decider-offchain.md

@@ -45,7 +45,8 @@ which we do through in-circuit Transcript.

- 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$)
M src/design/nova-decider-onchain.md → src/design/nova-decider-onchain.md

@@ -54,6 +54,7 @@ - 5.2: check that the KZG evaluations 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> 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$)