You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| transcript_msm_transition | msm_transition | $\{0, 1\}$ |`msm_transition = is_mul && next_not_msm && (state.count + num_muls > 0);`| are we at the end of an msm? i.e., is current transcript row the final `mul` opcode of a MSM |
223
-
| transcript_pc | pc | $\fq$ |`updated_state.pc = state.pc - num_muls;`|_decreasing_program counter. Only takes into count `mul` operations, not `add` operations. |
223
+
| transcript_pc | pc | $\fq$ |`updated_state.pc = state.pc - num_muls;`|_decreasing_point counter. Only takes into count `mul` operations, not `add` operations.|
224
224
| transcript_msm_count | msm_count | $\fq$ |`updated_state.count = current_ongoing_msm ? state.count + num_muls : 0;`| Number of muls so far in the \*current\* MSM (NOT INCLUDING the current step) |
225
225
| transcript_msm_count_zero_at_transition | msm_count_zero_at_transition | $\{0, 1\}$ |`((state.count + num_muls) == 0) && entry.op_code.mul && next_not_msm;`| is the number of scalar muls we have completed at the end of our "MSM block" zero? (note that from the definition, if this variable is non-zero, then `msm_transition == 0`.) |
226
226
| transcript_Px | base_x | $\fq$ || (input trace) $x$-coordinate of base point $P$ |
@@ -304,13 +304,13 @@ If our `op` is a `mul`, with scalars `z1` and `z2`, the situation is more compli
304
304
305
305
- $\transcriptmsmcount$ counts the number of active short-scalar multiplications _up to and not including_ the current `mul` op. The value of this column at the _next_ row increments by $2 - \transcriptzonezero - \transcriptztwozero$.
306
306
- In other words, we simply avoid (our deferred) computations if $\transcriptzonezero = 1$ and/or $\transcriptztwozero = 1$.
307
-
- Similarly, $\transcriptpc$ _decrements_ by $2 - \transcriptzonezero - \transcriptztwozero$. We use a decreasing program counter (only counting short `mul`s) for efficiency reasons, as it allows for cheaper commitments.
307
+
- Similarly, $\transcriptpc$ _decrements_ by $2 - \transcriptzonezero - \transcriptztwozero$. We use a decreasing point counter (only counting short `mul`s) for efficiency reasons, as it allows for cheaper commitments.
308
308
- If the next `op` is not a `mul`, and the total number of active `mul` operations (which is $\transcriptmsmcount + (2 - \transcriptzonezero - \transcriptztwozero)$) is non-zero, set the $\transcriptmsmtransition = 1$. Else, set $\transcriptmsmcountzeroattransition = 1$. Either way, the current `mul` then represents the end of an MSM. This is where $\transcriptmsmcountattransitioninverse$ is used.
309
309
- If $\transcriptmsmtransition = 0$, then $\transcriptmsmx$, $\transcriptmsmy$, $\transcriptmsmintermediatex$, and $\transcriptmsmintermediatey$ are all $0$. (In particular, this holds when we are in the middle of an MSM.) Otherwise, we call $\transcriptmsmx$ and $\transcriptmsmy$ from the multiset argument, i.e., from the MSM table. Then the values of $\transcriptmsmintermediatex$ and $\transcriptmsmintermediatey$ are obtained by subtracting off the `OFFSET`.
310
310
311
311
#### Transcript size
312
312
313
-
The size of the _non-zero_ part of the table is the length of the `OpQueue` + 1 (we have shiftable columns). We have organized our wire values so that zero-padding is compatible with the polynomial constraints. (See e.g. the _decreasing_program counter.)
313
+
The size of the _non-zero_ part of the table is the length of the `OpQueue` + 1 (we have shiftable columns). We have organized our wire values so that zero-padding is compatible with the polynomial constraints. (See e.g. the _decreasing_point counter.)
314
314
315
315
### Precomputed Columns
316
316
@@ -364,7 +364,7 @@ The following is one row in the Precomputed table; there are `NUM_WNAF_DIGITS_PE
364
364
| precompute_s4lo | s8 | $[0, 4)$ || second two bits of $\text{compress}(a*{31 - (4i + 3)})$ |
365
365
| precompute_skew | skew | $\{0,1\}$ || skew bit |
366
366
| precompute_point_transition | point_transition | $\{0,1\}$ || are we at the last row corresponding to this scalar? |
367
-
| precompute_pc | pc | $\fq$ || value of the program counter of this EC operation |
367
+
| precompute_pc | pc | $\fq$ || value of the point counter of this EC operation |
368
368
| precompute_round | round | $\fq$ || "row" of the computation, i.e., `i`. |
369
369
| precompute_scalar_sum | scalar_sum | $\fq$ || sum up-to-now of the digits |
0 commit comments