verify/permute_elements
verify equality up to the permutation of the given elements
Calling Sequence
Parameters
Description
Examples
verify(expr1, expr2, permute_elements(elems))
verify(expr1, expr2, permute_elements(elems, ver))
expr1, expr2
-
anything
elems
either a set or a list
ver
verification for the permute_elements operands
The verify(expr1, expr2, permute_elements(elems)) and verify(expr1, expr2, permute_elements(elems, ver)) calling sequences return true if, after the permutations of elems is substituted into expr2, the test for equality or the verification ver is true.
This function is useful for comparing objects which may contain session dependent permutations of arbitrary constants.
The verification permute_elements(elems) is always symmetric. The verification permute_elements(elems, ver) is symmetric if and only if the verification ver is symmetric.
evalb⁡_C1⁢exp⁡x+_C2⁢exp⁡−x=_C2⁢exp⁡x+_C1⁢exp⁡−x
false
verify⁡_C1⁢exp⁡x+_C2⁢exp⁡−x,_C2⁢exp⁡x+_C1⁢exp⁡−x,permute_elements⁡_C1,_C2
true
See Also
combstruct
type/list
type/set
verify
Download Help Document