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
{{ message }}
Repository navigation
Translator needs to ensure the EccOpQueue is zero past the minicircuit #1399
The mini circuit size in translator corresponds to the number of gates in the translator circuit and, hence, the size of the op queue (note that every operation occupies two rows in the op queue). In Translator, the data from the op queue is represented as 4 polynomials: op,x_lo_y_hi, x_hi_z_1, y_lo_z_2. We need to ensure that these 4 polynomials are 0 past the mini circuit size. Options to consider:
It might be the case that the Translator-Merge consistency check (which checks exactly the commitments to the 4 polynomials above against those of the merge queue polynomials) and the correctness of the merge protocol is enough to establish this. But someone should think through all the detail.
TranslatorZeroConstraintsRelation enforces that the range constraint polynomials are zero past the minicircuit. This can be extended to include the op queue polynomials. (btw: I think we should just rename this into TranslatorZeroRelation since constraint and relation roughly mean the same thing in this context)
TranslatorDecompositionRelation establishes that, for the polynomials whose values have to be decomposed into limbs, the decomposition has been done correctly. These limbs are exactly the range constraint polynomials and some range constraint polynomials represent the decomposition of the op queue polynomials. As we've shown in the zero relation that the range constraint polynomials are zero past the mini circuit size, we could enable the decomposition relation past the minicircuit size to enforce the op queue polynomials are zero past the mini circuit size.
None of the approaches should affect ZK as the randomness required for this falls within the minicircuit size, but, as always, surprises might arise.
changed the title [-]Constrain in Translator that the OpQueue is zero past the minicircuit size[/-][+]Translator needs to ensure the EccOpQueue is zero past the minicircuit [/+]on May 29, 2025
It seems to me that the merge degree checks coupled with the Translator-Merge consistency check give us everything we need here. The final table T is constructed by appending a t to a T_prev, both of which are degree checked. (T_prev is degree checked in the merge protocol based on some fixed "max" size and t is degree checked via the main protocol relations to a fixed size based on the ops used in the hiding circuit).
Activity
[-]Constrain in Translator that the OpQueue is zero past the minicircuit size[/-][+]Translator needs to ensure the EccOpQueue is zero past the minicircuit [/+]ledwards2225 commentedon Jul 15, 2025
It seems to me that the merge degree checks coupled with the Translator-Merge consistency check give us everything we need here. The final table
Tis constructed by appending atto aT_prev, both of which are degree checked. (T_previs degree checked in the merge protocol based on some fixed "max" size andtis degree checked via the main protocol relations to a fixed size based on the ops used in the hiding circuit).feat: check op queue wires are zero past minicircuit in Translator (#…
maramihali commentedon Sep 10, 2025
Closed by AztecProtocol/aztec-packages#16858
feat: check op queue wires are zero past minicircuit in Translator (A…
feat: check op queue wires are zero past minicircuit in Translator (#…