pub enum SerializationColumn {
CurrentRow,
PreviousCoeffRow,
ChalKimchi(usize),
ChalIntermediate(usize),
ChalConverted(usize),
CoeffInput(usize),
FFieldModulus(usize),
QuotientSmall(usize),
QuotientLarge(usize),
QuotientSign,
Carry(usize),
CoeffResult(usize),
}
Expand description
Columns used by the serialization subcircuit.
Variants§
CurrentRow
A fixed selector column that gives one the current row, starting with 0.
PreviousCoeffRow
For current row i, this is i - 2^{ceil(log(i)) - 1}
ChalKimchi(usize)
3 88-bit inputs. For the row #i this represents the IPA challenge xi_{log(i)}.
ChalIntermediate(usize)
N_INTERMEDIATE_LIMBS intermediate values, 4 bits long. Represent parts of the IPA challenge.
ChalConverted(usize)
N_LIMBS values, representing the converted IPA challenge.
CoeffInput(usize)
Previous coefficient C_j, this one is looked up. For the row i, the expected value is (C_i >> 1).
FFieldModulus(usize)
Trusted (for range) foreign field modulus, in 4 big limbs.
QuotientSmall(usize)
Quotient limbs (small)
QuotientLarge(usize)
Quotient limbs (large)
QuotientSign
Sign of the quotient, one bit
Carry(usize)
Carry limbs
CoeffResult(usize)
The resulting coefficient C_i = C_{i - 2^{ceil(log i) - 1}} * xi_{log(i)}. In small limbs.
Trait Implementations§
source§impl Clone for SerializationColumn
impl Clone for SerializationColumn
source§fn clone(&self) -> SerializationColumn
fn clone(&self) -> SerializationColumn
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl ColumnIndexer for SerializationColumn
impl ColumnIndexer for SerializationColumn
source§impl Debug for SerializationColumn
impl Debug for SerializationColumn
source§impl Ord for SerializationColumn
impl Ord for SerializationColumn
source§fn cmp(&self, other: &SerializationColumn) -> Ordering
fn cmp(&self, other: &SerializationColumn) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<SerializationColumn> for SerializationColumn
impl PartialEq<SerializationColumn> for SerializationColumn
source§fn eq(&self, other: &SerializationColumn) -> bool
fn eq(&self, other: &SerializationColumn) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<SerializationColumn> for SerializationColumn
impl PartialOrd<SerializationColumn> for SerializationColumn
source§fn partial_cmp(&self, other: &SerializationColumn) -> Option<Ordering>
fn partial_cmp(&self, other: &SerializationColumn) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for SerializationColumn
impl Eq for SerializationColumn
impl StructuralEq for SerializationColumn
impl StructuralPartialEq for SerializationColumn
Auto Trait Implementations§
impl RefUnwindSafe for SerializationColumn
impl Send for SerializationColumn
impl Sync for SerializationColumn
impl Unpin for SerializationColumn
impl UnwindSafe for SerializationColumn
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more