relation - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


verify/relation

verify a relation between two relations

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

verify(expr1, expr2, relation)

verify(expr1, expr2, relation(ver))

Parameters

expr1, expr2

-

expressions

ver

-

verification

Description

• 

The verify(expr1, expr2, relation) and verify(expr1, expr2, relation(ver)) calling sequences return true if it can be determined that the relations expr1 and expr2 are equivalent, either by testing for equality or by using verify/ver.

• 

Two equations or inequations are considered to satisfy a relation if the left-hand side minus the right-hand side of the first argument is related to either plus or minus the same construction for the second argument.

• 

Two similar inequalities are considered to satisfy a relation if the left-hand side minus the right-hand side of the first argument is related to the left-hand side minus the right-hand side of the second argument.

• 

The verification relation is symmetric and a verification relation(ver) is symmetric if and only if the verification ver is symmetric.

• 

If either expr1 or expr2 is not of type relation, then false is returned.  If expr1 and expr2 are not both of type =, <, <=, or <>,  then false is returned.

Examples

verifyx21=1&comma;x2=2&comma;relation

true

(1)

verifyx2=1&comma;x1x+1=0&comma;relation

false

(2)

verifyx2=1&comma;x1x+1=0&comma;relationexpand

true

(3)

See Also

type/relation

verify