Skip to content

Commit 1449c19

Browse files
committed
power of two
1 parent 402c261 commit 1449c19

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

report/src/sections/04-Approach.tex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ \subsection{Springproofs}\label{sec:approach-springproofs}
2929
$N\gets 2^{\lceil\log n\rceil-1}$
3030
$i_h \gets \lfloor (2N-n)/2\rfloor+1$
3131
$i_t=\lfloor n/2\rfloor$
32-
if $n\neq N$: #Not power of 2
32+
if $n\neq N$: #Not power of two
3333
$\mathbf{\mathcal{T}}\gets\{i_h:i_t\}\cup\{N+1:n\}$
34-
else if $n=N$: #Power of 2
34+
else if $n=N$: #Power of two
3535
$\mathbf{\mathcal{T}}\gets\{1:n\}$ #Meaning S is empty
3636
$\mathbf{\mathcal{S}}\gets\mathbf{n}-\mathbf{\mathcal{T}}$
3737
\end{lstlisting}
@@ -136,7 +136,7 @@ \subsubsection*{Prover computation}
136136

137137
At the end of the recursive round, on line 31,~$n$ is updated to the length of the concatenated vectors before starting a new round.
138138

139-
The result of this is a proof,~$\mathbf{\pi}$, constructed in $\lceil \log n \rceil$ rounds, but with the proof size being smaller than if the shuffle size was a power of 2.
139+
The result of this is a proof,~$\mathbf{\pi}$, constructed in $\lceil \log n \rceil$ rounds, but with the proof size being smaller than if the shuffle size was a power of two.
140140

141141
In step 3, lines 32--36, the folded vectors of size 1 are added to the proof as values as well as the commitments to the blinding values,~$B_C$ and~$B_D$.
142142
The proof, folded vectors, and updated commitment are saved for the verifier to use for verification.
@@ -413,7 +413,7 @@ \subsubsection{Size Reduction}
413413

414414
The CAAUrdleproofs modification can still reduce the overall block size overhead.
415415
By using the overhead calculation described by Whisk on CAAUrdleproofs, it measures a block overhead of $16.656$ KB when the shuffle size is 128~\cite{Whisk2024}.
416-
Note that this is the same size as Curdleproofs, as the shuffle size is a power of 2.
416+
Note that this is the same size as Curdleproofs, as the shuffle size is a power of two.
417417
The provided calculation of the block overhead is provided as the following, where $\mathbb{G}=48$ bytes and $\mathbb{F}=32$ bytes\footnote{\text{As noted in the code on the Curdleproofs GitHub repository: }\\ \href{https://github.com/asn-d6/curdleproofs/blob/main/src/whisk.rs}{https://github.com/asn-d6/curdleproofs/blob/main/src/whisk.rs}. Accessed: 26/05/2025}:
418418
\begin{itemize}
419419
\item List of shuffled trackers ($\ell\cdot96\Rightarrow\text{eg. }124\cdot96=11,904$ bytes).

0 commit comments

Comments
 (0)