pub struct InvarianceReduction {
pub original_vars: usize,
pub reduced_vars: usize,
pub free_positions: Vec<usize>,
pub reduced_truth: Vec<bool>,
}Expand description
The genuine domain compression from the INVARIANCE subspace V₀(f) = {a : f(x⊕a) = f(x) ∀x}: an
(n − dim V₀)-variable truth table carrying all the information, over the surviving free_positions. A
rotated junta collapses here even though the coordinate junta lens saw every variable as relevant.
Fields§
§original_vars: usize§reduced_vars: usize§free_positions: Vec<usize>The surviving variable positions (a complement of the invariance pivots).
reduced_truth: Vec<bool>The reduced function over free_positions, in the same LSB-first index order.
Implementations§
Trait Implementations§
Source§impl Clone for InvarianceReduction
impl Clone for InvarianceReduction
Source§fn clone(&self) -> InvarianceReduction
fn clone(&self) -> InvarianceReduction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for InvarianceReduction
impl RefUnwindSafe for InvarianceReduction
impl Send for InvarianceReduction
impl Sync for InvarianceReduction
impl Unpin for InvarianceReduction
impl UnsafeUnpin for InvarianceReduction
impl UnwindSafe for InvarianceReduction
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