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 duplicate 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<usize> for SerializationColumn
impl ColumnIndexer<usize> 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 for SerializationColumn
impl PartialEq for SerializationColumn
Source§impl PartialOrd for SerializationColumn
impl PartialOrd for SerializationColumn
impl Copy for SerializationColumn
impl Eq for SerializationColumn
impl StructuralPartialEq for SerializationColumn
Auto Trait Implementations§
impl Freeze for SerializationColumn
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more