Skip to main content

Module lookups

Module lookups 

Source

Re-exportsยง

use crate::circuits::domains::EvaluationDomains; ๐Ÿ”’
use crate::circuits::gate::CircuitGate; ๐Ÿ”’
use crate::circuits::gate::CurrOrNext; ๐Ÿ”’
use crate::circuits::gate::GateType; ๐Ÿ”’
use crate::circuits::lookup::index::LookupSelectors; ๐Ÿ”’
use crate::circuits::lookup::tables::combine_table_entry; ๐Ÿ”’
use crate::circuits::lookup::tables::get_table; ๐Ÿ”’
use crate::circuits::lookup::tables::GateLookupTable; ๐Ÿ”’
use crate::circuits::lookup::tables::LookupTable; ๐Ÿ”’
use crate::circuits::lookup::tables::RANGE_CHECK_TABLE_ID; ๐Ÿ”’
use crate::circuits::lookup::tables::XOR_TABLE_ID; ๐Ÿ”’
use crate::collections::BTreeSet; ๐Ÿ”’
use alloc::vec; ๐Ÿ”’
use alloc::vec; ๐Ÿ”’
use alloc::vec::Vec; ๐Ÿ”’
use ark_ff::Field; ๐Ÿ”’
use ark_ff::One; ๐Ÿ”’
use ark_ff::PrimeField; ๐Ÿ”’
use ark_ff::Zero; ๐Ÿ”’
use ark_poly::EvaluationDomain; ๐Ÿ”’
use ark_poly::Evaluations as E; ๐Ÿ”’
use ark_poly::Radix2EvaluationDomain as D; ๐Ÿ”’
use core::ops::Mul; ๐Ÿ”’
use core::ops::Neg; ๐Ÿ”’
use o1_utils::field_helpers::i32_to_field; ๐Ÿ”’
use serde::Deserialize; ๐Ÿ”’
use serde::Deserialize; ๐Ÿ”’
use serde::Serialize; ๐Ÿ”’
use serde::Serialize; ๐Ÿ”’
use strum_macros::EnumIter; ๐Ÿ”’

Modulesยง

wasm

Structsยง

JointLookup
A spec for checking that the given vector belongs to a vector-valued lookup table.
LocalPosition
A position in the circuit relative to a given row.
LookupFeatures
Configuration for lookup-related features in a circuit.
LookupInfo
Describes the desired lookup configuration.
LookupPatternIter
An iterator over the variants of LookupPattern
LookupPatterns
Flags for each of the built-in lookup patterns.
SingleLookup
Look up a single value in a lookup table. The value may be computed as a linear combination of locally-accessible cells.

Enumsยง

LookupPattern
LookupTableID
The table ID associated with a particular lookup

Constantsยง

_DERIVE_ocaml_FromValue_from_value_lifetime_FOR_LookupFeatures ๐Ÿ”’
_DERIVE_ocaml_FromValue_from_value_lifetime_FOR_LookupPattern ๐Ÿ”’
_DERIVE_ocaml_FromValue_from_value_lifetime_FOR_LookupPatterns ๐Ÿ”’
_DERIVE_ocaml_IntoValue_FOR_LookupFeatures ๐Ÿ”’
_DERIVE_ocaml_IntoValue_FOR_LookupPattern ๐Ÿ”’
_DERIVE_ocaml_IntoValue_FOR_LookupPatterns ๐Ÿ”’

Functionsยง

max_lookups_per_row ๐Ÿ”’

Type Aliasesยง

Evaluations ๐Ÿ”’
JointLookupSpec
A spec for checking that the given vector belongs to a vector-valued lookup table, where the components of the vector are computed from a linear combination of locally-accessible cells.
JointLookupValue
A concrete value or representation of a lookup.