Added an identity permutation
Added following rules for simplifying:
permuting the zero vector results in zero
permuting the one vector results in one
the permutation of its inverse permutation dissolves
the identity permutation dissolves
Consecutively calling the methods shred and simplify on an expression results in a "normal form" (ignoring Xor commutativity and potential permute commutativety for now) ; a tree of maj over xor over perm over var.
Added an identity permutation Added following rules for simplifying:
Consecutively calling the methods shred and simplify on an expression results in a "normal form" (ignoring Xor commutativity and potential permute commutativety for now) ; a tree of maj over xor over perm over var.