Struct sp1_recursion_core::air::MultiBuilder
source · pub struct MultiBuilder<'a, AB: AirBuilder> { /* private fields */ }
Expand description
The MultiBuilder is used for the multi table. It is used to create a virtual builder for one of the sub tables in the multi table.
Implementations§
source§impl<'a, AB: AirBuilder> MultiBuilder<'a, AB>
impl<'a, AB: AirBuilder> MultiBuilder<'a, AB>
Trait Implementations§
source§impl<'a, AB: AirBuilder> AirBuilder for MultiBuilder<'a, AB>
impl<'a, AB: AirBuilder> AirBuilder for MultiBuilder<'a, AB>
type F = <AB as AirBuilder>::F
type Expr = <AB as AirBuilder>::Expr
type Var = <AB as AirBuilder>::Var
type M = <AB as AirBuilder>::M
fn main(&self) -> Self::M
fn is_first_row(&self) -> Self::Expr
fn is_last_row(&self) -> Self::Expr
fn is_transition_window(&self, size: usize) -> Self::Expr
fn assert_zero<I: Into<Self::Expr>>(&mut self, x: I)
fn is_transition(&self) -> Self::Expr
source§fn when<I>(&mut self, condition: I) -> FilteredAirBuilder<'_, Self>
fn when<I>(&mut self, condition: I) -> FilteredAirBuilder<'_, Self>
Returns a sub-builder whose constraints are enforced only when
condition
is nonzero.source§fn when_ne<I1, I2>(&mut self, x: I1, y: I2) -> FilteredAirBuilder<'_, Self>
fn when_ne<I1, I2>(&mut self, x: I1, y: I2) -> FilteredAirBuilder<'_, Self>
Returns a sub-builder whose constraints are enforced only when
x != y
.source§fn when_first_row(&mut self) -> FilteredAirBuilder<'_, Self>
fn when_first_row(&mut self) -> FilteredAirBuilder<'_, Self>
Returns a sub-builder whose constraints are enforced only on the first row.
source§fn when_last_row(&mut self) -> FilteredAirBuilder<'_, Self>
fn when_last_row(&mut self) -> FilteredAirBuilder<'_, Self>
Returns a sub-builder whose constraints are enforced only on the last row.
source§fn when_transition(&mut self) -> FilteredAirBuilder<'_, Self>
fn when_transition(&mut self) -> FilteredAirBuilder<'_, Self>
Returns a sub-builder whose constraints are enforced on all rows except the last.
source§fn when_transition_window(
&mut self,
size: usize,
) -> FilteredAirBuilder<'_, Self>
fn when_transition_window( &mut self, size: usize, ) -> FilteredAirBuilder<'_, Self>
Returns a sub-builder whose constraints are enforced on all rows except the last
size - 1
.fn assert_one<I>(&mut self, x: I)
fn assert_eq<I1, I2>(&mut self, x: I1, y: I2)
source§fn assert_bool<I>(&mut self, x: I)
fn assert_bool<I>(&mut self, x: I)
Assert that
x
is a boolean, i.e. either 0 or 1.source§impl<'a, AB: AirBuilder + AirBuilderWithPublicValues> AirBuilderWithPublicValues for MultiBuilder<'a, AB>
impl<'a, AB: AirBuilder + AirBuilderWithPublicValues> AirBuilderWithPublicValues for MultiBuilder<'a, AB>
type PublicVar = <AB as AirBuilderWithPublicValues>::PublicVar
fn public_values(&self) -> &[Self::PublicVar]
source§impl<'a, AB: ExtensionBuilder> ExtensionBuilder for MultiBuilder<'a, AB>
impl<'a, AB: ExtensionBuilder> ExtensionBuilder for MultiBuilder<'a, AB>
type EF = <AB as ExtensionBuilder>::EF
type VarEF = <AB as ExtensionBuilder>::VarEF
type ExprEF = <AB as ExtensionBuilder>::ExprEF
fn assert_zero_ext<I>(&mut self, x: I)
fn assert_eq_ext<I1, I2>(&mut self, x: I1, y: I2)
fn assert_one_ext<I>(&mut self, x: I)
source§impl<'a, AB: AirBuilder + MessageBuilder<M>, M> MessageBuilder<M> for MultiBuilder<'a, AB>
impl<'a, AB: AirBuilder + MessageBuilder<M>, M> MessageBuilder<M> for MultiBuilder<'a, AB>
source§impl<'a, AB: PermutationAirBuilder> PermutationAirBuilder for MultiBuilder<'a, AB>
impl<'a, AB: PermutationAirBuilder> PermutationAirBuilder for MultiBuilder<'a, AB>
type MP = <AB as PermutationAirBuilder>::MP
type RandomVar = <AB as PermutationAirBuilder>::RandomVar
fn permutation(&self) -> Self::MP
fn permutation_randomness(&self) -> &[Self::RandomVar]
Auto Trait Implementations§
impl<'a, AB> Freeze for MultiBuilder<'a, AB>
impl<'a, AB> RefUnwindSafe for MultiBuilder<'a, AB>
impl<'a, AB> Send for MultiBuilder<'a, AB>
impl<'a, AB> Sync for MultiBuilder<'a, AB>
impl<'a, AB> Unpin for MultiBuilder<'a, AB>
impl<'a, AB> !UnwindSafe for MultiBuilder<'a, AB>
Blanket Implementations§
source§impl<AB> AluAirBuilder for ABwhere
AB: BaseAirBuilder,
impl<AB> AluAirBuilder for ABwhere
AB: BaseAirBuilder,
source§fn send_alu(
&mut self,
opcode: impl Into<Self::Expr>,
a: Word<impl Into<Self::Expr>>,
b: Word<impl Into<Self::Expr>>,
c: Word<impl Into<Self::Expr>>,
shard: impl Into<Self::Expr>,
channel: impl Into<Self::Expr>,
nonce: impl Into<Self::Expr>,
multiplicity: impl Into<Self::Expr>,
)
fn send_alu( &mut self, opcode: impl Into<Self::Expr>, a: Word<impl Into<Self::Expr>>, b: Word<impl Into<Self::Expr>>, c: Word<impl Into<Self::Expr>>, shard: impl Into<Self::Expr>, channel: impl Into<Self::Expr>, nonce: impl Into<Self::Expr>, multiplicity: impl Into<Self::Expr>, )
Sends an ALU operation to be processed.
source§fn receive_alu(
&mut self,
opcode: impl Into<Self::Expr>,
a: Word<impl Into<Self::Expr>>,
b: Word<impl Into<Self::Expr>>,
c: Word<impl Into<Self::Expr>>,
shard: impl Into<Self::Expr>,
channel: impl Into<Self::Expr>,
nonce: impl Into<Self::Expr>,
multiplicity: impl Into<Self::Expr>,
)
fn receive_alu( &mut self, opcode: impl Into<Self::Expr>, a: Word<impl Into<Self::Expr>>, b: Word<impl Into<Self::Expr>>, c: Word<impl Into<Self::Expr>>, shard: impl Into<Self::Expr>, channel: impl Into<Self::Expr>, nonce: impl Into<Self::Expr>, multiplicity: impl Into<Self::Expr>, )
Receives an ALU operation to be processed.
source§fn send_syscall(
&mut self,
shard: impl Into<Self::Expr> + Clone,
channel: impl Into<Self::Expr> + Clone,
clk: impl Into<Self::Expr> + Clone,
nonce: impl Into<Self::Expr> + Clone,
syscall_id: impl Into<Self::Expr> + Clone,
arg1: impl Into<Self::Expr> + Clone,
arg2: impl Into<Self::Expr> + Clone,
multiplicity: impl Into<Self::Expr>,
)
fn send_syscall( &mut self, shard: impl Into<Self::Expr> + Clone, channel: impl Into<Self::Expr> + Clone, clk: impl Into<Self::Expr> + Clone, nonce: impl Into<Self::Expr> + Clone, syscall_id: impl Into<Self::Expr> + Clone, arg1: impl Into<Self::Expr> + Clone, arg2: impl Into<Self::Expr> + Clone, multiplicity: impl Into<Self::Expr>, )
Sends an syscall operation to be processed (with “ECALL” opcode).
source§fn receive_syscall(
&mut self,
shard: impl Into<Self::Expr> + Clone,
channel: impl Into<Self::Expr> + Clone,
clk: impl Into<Self::Expr> + Clone,
nonce: impl Into<Self::Expr> + Clone,
syscall_id: impl Into<Self::Expr> + Clone,
arg1: impl Into<Self::Expr> + Clone,
arg2: impl Into<Self::Expr> + Clone,
multiplicity: impl Into<Self::Expr>,
)
fn receive_syscall( &mut self, shard: impl Into<Self::Expr> + Clone, channel: impl Into<Self::Expr> + Clone, clk: impl Into<Self::Expr> + Clone, nonce: impl Into<Self::Expr> + Clone, syscall_id: impl Into<Self::Expr> + Clone, arg1: impl Into<Self::Expr> + Clone, arg2: impl Into<Self::Expr> + Clone, multiplicity: impl Into<Self::Expr>, )
Receives a syscall operation to be processed.
source§impl<AB> BaseAirBuilder for AB
impl<AB> BaseAirBuilder for AB
source§fn when_not<I>(&mut self, condition: I) -> FilteredAirBuilder<'_, Self>
fn when_not<I>(&mut self, condition: I) -> FilteredAirBuilder<'_, Self>
Returns a sub-builder whose constraints are enforced only when
condition
is not one.source§fn assert_all_eq<I1, I2>(
&mut self,
left: impl IntoIterator<Item = I1>,
right: impl IntoIterator<Item = I2>,
)
fn assert_all_eq<I1, I2>( &mut self, left: impl IntoIterator<Item = I1>, right: impl IntoIterator<Item = I2>, )
Asserts that an iterator of expressions are all equal.
source§fn assert_all_zero<I>(&mut self, iter: impl IntoIterator<Item = I>)
fn assert_all_zero<I>(&mut self, iter: impl IntoIterator<Item = I>)
Asserts that an iterator of expressions are all zero.
source§impl<AB> BlockBuilder for ABwhere
AB: AirBuilder,
impl<AB> BlockBuilder for ABwhere
AB: AirBuilder,
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<AB> ByteAirBuilder for ABwhere
AB: BaseAirBuilder,
impl<AB> ByteAirBuilder for ABwhere
AB: BaseAirBuilder,
source§fn send_byte(
&mut self,
opcode: impl Into<Self::Expr>,
a: impl Into<Self::Expr>,
b: impl Into<Self::Expr>,
c: impl Into<Self::Expr>,
shard: impl Into<Self::Expr>,
channel: impl Into<Self::Expr>,
multiplicity: impl Into<Self::Expr>,
)
fn send_byte( &mut self, opcode: impl Into<Self::Expr>, a: impl Into<Self::Expr>, b: impl Into<Self::Expr>, c: impl Into<Self::Expr>, shard: impl Into<Self::Expr>, channel: impl Into<Self::Expr>, multiplicity: impl Into<Self::Expr>, )
Sends a byte operation to be processed.
source§fn send_byte_pair(
&mut self,
opcode: impl Into<Self::Expr>,
a1: impl Into<Self::Expr>,
a2: impl Into<Self::Expr>,
b: impl Into<Self::Expr>,
c: impl Into<Self::Expr>,
shard: impl Into<Self::Expr>,
channel: impl Into<Self::Expr>,
multiplicity: impl Into<Self::Expr>,
)
fn send_byte_pair( &mut self, opcode: impl Into<Self::Expr>, a1: impl Into<Self::Expr>, a2: impl Into<Self::Expr>, b: impl Into<Self::Expr>, c: impl Into<Self::Expr>, shard: impl Into<Self::Expr>, channel: impl Into<Self::Expr>, multiplicity: impl Into<Self::Expr>, )
Sends a byte operation with two outputs to be processed.
source§fn receive_byte(
&mut self,
opcode: impl Into<Self::Expr>,
a: impl Into<Self::Expr>,
b: impl Into<Self::Expr>,
c: impl Into<Self::Expr>,
shard: impl Into<Self::Expr>,
channel: impl Into<Self::Expr>,
multiplicity: impl Into<Self::Expr>,
)
fn receive_byte( &mut self, opcode: impl Into<Self::Expr>, a: impl Into<Self::Expr>, b: impl Into<Self::Expr>, c: impl Into<Self::Expr>, shard: impl Into<Self::Expr>, channel: impl Into<Self::Expr>, multiplicity: impl Into<Self::Expr>, )
Receives a byte operation to be processed.
source§fn receive_byte_pair(
&mut self,
opcode: impl Into<Self::Expr>,
a1: impl Into<Self::Expr>,
a2: impl Into<Self::Expr>,
b: impl Into<Self::Expr>,
c: impl Into<Self::Expr>,
shard: impl Into<Self::Expr>,
channel: impl Into<Self::Expr>,
multiplicity: impl Into<Self::Expr>,
)
fn receive_byte_pair( &mut self, opcode: impl Into<Self::Expr>, a1: impl Into<Self::Expr>, a2: impl Into<Self::Expr>, b: impl Into<Self::Expr>, c: impl Into<Self::Expr>, shard: impl Into<Self::Expr>, channel: impl Into<Self::Expr>, multiplicity: impl Into<Self::Expr>, )
Receives a byte operation with two outputs to be processed.
source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
source§impl<AB> ExtensionAirBuilder for ABwhere
AB: BaseAirBuilder,
impl<AB> ExtensionAirBuilder for ABwhere
AB: BaseAirBuilder,
source§fn assert_ext_eq<I>(
&mut self,
left: BinomialExtension<I>,
right: BinomialExtension<I>,
)
fn assert_ext_eq<I>( &mut self, left: BinomialExtension<I>, right: BinomialExtension<I>, )
Asserts that the two field extensions are equal.
source§fn assert_is_base_element<I>(&mut self, element: BinomialExtension<I>)
fn assert_is_base_element<I>(&mut self, element: BinomialExtension<I>)
Checks if an extension element is a base element.
source§fn if_else_ext(
&mut self,
condition: impl Into<Self::Expr> + Clone,
a: BinomialExtension<impl Into<Self::Expr> + Clone>,
b: BinomialExtension<impl Into<Self::Expr> + Clone>,
) -> BinomialExtension<Self::Expr>
fn if_else_ext( &mut self, condition: impl Into<Self::Expr> + Clone, a: BinomialExtension<impl Into<Self::Expr> + Clone>, b: BinomialExtension<impl Into<Self::Expr> + Clone>, ) -> BinomialExtension<Self::Expr>
Performs an if else on extension elements.
source§impl<T> FmtForward for T
impl<T> FmtForward for T
source§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
Causes
self
to use its Binary
implementation when Debug
-formatted.source§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
Causes
self
to use its Display
implementation when
Debug
-formatted.source§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
Causes
self
to use its LowerExp
implementation when
Debug
-formatted.source§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
Causes
self
to use its LowerHex
implementation when
Debug
-formatted.source§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
Causes
self
to use its Octal
implementation when Debug
-formatted.source§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
Causes
self
to use its Pointer
implementation when
Debug
-formatted.source§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
Causes
self
to use its UpperExp
implementation when
Debug
-formatted.source§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
Causes
self
to use its UpperHex
implementation when
Debug
-formatted.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<AB> MemoryAirBuilder for ABwhere
AB: BaseAirBuilder,
impl<AB> MemoryAirBuilder for ABwhere
AB: BaseAirBuilder,
source§fn eval_memory_access<E>(
&mut self,
shard: impl Into<Self::Expr>,
channel: impl Into<Self::Expr>,
clk: impl Into<Self::Expr>,
addr: impl Into<Self::Expr>,
memory_access: &impl MemoryCols<E>,
do_check: impl Into<Self::Expr>,
)
fn eval_memory_access<E>( &mut self, shard: impl Into<Self::Expr>, channel: impl Into<Self::Expr>, clk: impl Into<Self::Expr>, addr: impl Into<Self::Expr>, memory_access: &impl MemoryCols<E>, do_check: impl Into<Self::Expr>, )
Constrain a memory read or write. Read more
source§fn eval_memory_access_slice<E>(
&mut self,
shard: impl Into<Self::Expr> + Copy,
channel: impl Into<Self::Expr> + Clone,
clk: impl Into<Self::Expr> + Clone,
initial_addr: impl Into<Self::Expr> + Clone,
memory_access_slice: &[impl MemoryCols<E>],
verify_memory_access: impl Into<Self::Expr> + Copy,
)
fn eval_memory_access_slice<E>( &mut self, shard: impl Into<Self::Expr> + Copy, channel: impl Into<Self::Expr> + Clone, clk: impl Into<Self::Expr> + Clone, initial_addr: impl Into<Self::Expr> + Clone, memory_access_slice: &[impl MemoryCols<E>], verify_memory_access: impl Into<Self::Expr> + Copy, )
Constraints a memory read or write to a slice of
MemoryAccessCols
.source§fn eval_memory_access_timestamp(
&mut self,
mem_access: &MemoryAccessCols<impl Into<Self::Expr> + Clone>,
do_check: impl Into<Self::Expr>,
shard: impl Into<Self::Expr> + Clone,
channel: impl Into<Self::Expr> + Clone,
clk: impl Into<Self::Expr>,
)
fn eval_memory_access_timestamp( &mut self, mem_access: &MemoryAccessCols<impl Into<Self::Expr> + Clone>, do_check: impl Into<Self::Expr>, shard: impl Into<Self::Expr> + Clone, channel: impl Into<Self::Expr> + Clone, clk: impl Into<Self::Expr>, )
Verifies the memory access timestamp. Read more
source§fn eval_range_check_24bits(
&mut self,
value: impl Into<Self::Expr>,
limb_16: impl Into<Self::Expr> + Clone,
limb_8: impl Into<Self::Expr> + Clone,
shard: impl Into<Self::Expr> + Clone,
channel: impl Into<Self::Expr> + Clone,
do_check: impl Into<Self::Expr> + Clone,
)
fn eval_range_check_24bits( &mut self, value: impl Into<Self::Expr>, limb_16: impl Into<Self::Expr> + Clone, limb_8: impl Into<Self::Expr> + Clone, shard: impl Into<Self::Expr> + Clone, channel: impl Into<Self::Expr> + Clone, do_check: impl Into<Self::Expr> + Clone, )
Verifies the inputted value is within 24 bits. Read more
source§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
source§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
Pipes by value. This is generally the method you want to use. Read more
source§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
Borrows
self
and passes that borrow into the pipe function. Read moresource§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
Mutably borrows
self
and passes that borrow into the pipe function. Read moresource§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
source§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R,
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
source§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
Borrows
self
, then passes self.as_ref()
into the pipe function.source§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
Mutably borrows
self
, then passes self.as_mut()
into the pipe
function.source§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
Borrows
self
, then passes self.deref()
into the pipe function.source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<AB> ProgramAirBuilder for ABwhere
AB: BaseAirBuilder,
impl<AB> ProgramAirBuilder for ABwhere
AB: BaseAirBuilder,
source§impl<AB> RecursionInteractionAirBuilder for ABwhere
AB: BaseAirBuilder,
impl<AB> RecursionInteractionAirBuilder for ABwhere
AB: BaseAirBuilder,
source§fn send_range_check(
&mut self,
range_check_opcode: impl Into<Self::Expr>,
val: impl Into<Self::Expr>,
is_real: impl Into<Self::Expr>,
)
fn send_range_check( &mut self, range_check_opcode: impl Into<Self::Expr>, val: impl Into<Self::Expr>, is_real: impl Into<Self::Expr>, )
Sends a range check operation to be processed.
source§fn receive_range_check(
&mut self,
range_check_opcode: impl Into<Self::Expr>,
val: impl Into<Self::Expr>,
is_real: impl Into<Self::Expr>,
)
fn receive_range_check( &mut self, range_check_opcode: impl Into<Self::Expr>, val: impl Into<Self::Expr>, is_real: impl Into<Self::Expr>, )
Receives a range check operation to be processed.
fn send_program<E: Into<Self::Expr> + Copy>( &mut self, pc: impl Into<Self::Expr>, instruction: InstructionCols<E>, selectors: OpcodeSelectorCols<E>, is_real: impl Into<Self::Expr>, )
fn receive_program<E: Into<Self::Expr> + Copy>( &mut self, pc: impl Into<Self::Expr>, instruction: InstructionCols<E>, selectors: OpcodeSelectorCols<E>, is_real: impl Into<Self::Expr>, )
fn send_table<E: Into<Self::Expr> + Clone>( &mut self, opcode: impl Into<Self::Expr>, table: &[E], is_real: impl Into<Self::Expr>, )
fn receive_table<E: Into<Self::Expr> + Clone>( &mut self, opcode: impl Into<Self::Expr>, table: &[E], is_real: impl Into<Self::Expr>, )
source§impl<AB> RecursionMemoryAirBuilder for ABwhere
AB: BaseAirBuilder,
impl<AB> RecursionMemoryAirBuilder for ABwhere
AB: BaseAirBuilder,
fn recursion_eval_memory_access<E: Into<Self::Expr> + Clone>( &mut self, timestamp: impl Into<Self::Expr>, addr: impl Into<Self::Expr>, memory_access: &impl MemoryCols<E, Block<E>>, is_real: impl Into<Self::Expr>, )
fn recursion_eval_memory_access_single<E: Into<Self::Expr> + Clone>( &mut self, timestamp: impl Into<Self::Expr>, addr: impl Into<Self::Expr>, memory_access: &impl MemoryCols<E, E>, is_real: impl Into<Self::Expr>, )
source§impl<T> Tap for T
impl<T> Tap for T
source§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Immutable access to the
Borrow<B>
of a value. Read moresource§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
Mutable access to the
BorrowMut<B>
of a value. Read moresource§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
Immutable access to the
AsRef<R>
view of a value. Read moresource§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
Mutable access to the
AsMut<R>
view of a value. Read moresource§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Immutable access to the
Deref::Target
of a value. Read moresource§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Mutable access to the
Deref::Target
of a value. Read moresource§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls
.tap()
only in debug builds, and is erased in release builds.source§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls
.tap_mut()
only in debug builds, and is erased in release
builds.source§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
Calls
.tap_borrow()
only in debug builds, and is erased in release
builds.source§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
Calls
.tap_borrow_mut()
only in debug builds, and is erased in release
builds.source§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
Calls
.tap_ref()
only in debug builds, and is erased in release
builds.source§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
Calls
.tap_ref_mut()
only in debug builds, and is erased in release
builds.source§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
Calls
.tap_deref()
only in debug builds, and is erased in release
builds.source§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
source§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<AB> WordAirBuilder for ABwhere
AB: BaseAirBuilder,
impl<AB> WordAirBuilder for ABwhere
AB: BaseAirBuilder,
source§fn assert_word_eq(
&mut self,
left: Word<impl Into<Self::Expr>>,
right: Word<impl Into<Self::Expr>>,
)
fn assert_word_eq( &mut self, left: Word<impl Into<Self::Expr>>, right: Word<impl Into<Self::Expr>>, )
Asserts that the two words are equal.
source§fn assert_word_zero(&mut self, word: Word<impl Into<Self::Expr>>)
fn assert_word_zero(&mut self, word: Word<impl Into<Self::Expr>>)
Asserts that the word is zero.
source§fn index_word_array(
&mut self,
array: &[Word<impl Into<Self::Expr> + Clone>],
index_bitmap: &[impl Into<Self::Expr> + Clone],
) -> Word<Self::Expr>
fn index_word_array( &mut self, array: &[Word<impl Into<Self::Expr> + Clone>], index_bitmap: &[impl Into<Self::Expr> + Clone], ) -> Word<Self::Expr>
Index an array of words using an index bitmap.
source§fn select_word(
&mut self,
condition: impl Into<Self::Expr> + Clone,
a: Word<impl Into<Self::Expr> + Clone>,
b: Word<impl Into<Self::Expr> + Clone>,
) -> Word<Self::Expr>
fn select_word( &mut self, condition: impl Into<Self::Expr> + Clone, a: Word<impl Into<Self::Expr> + Clone>, b: Word<impl Into<Self::Expr> + Clone>, ) -> Word<Self::Expr>
Same as
if_else
above, but arguments are Word
instead of individual expressions.