verify/symbol
verify that two symbols appear the same
Calling Sequence
Parameters
Description
Examples
verify(expr1, expr2, symbol)
expr1, expr2
-
anything, assumed to be of type symbol
The verify(expr1, expr2, symbol) calling sequence returns true if the two symbols "appear the same". The result can be different from that produced by the evalb routine if either symbol has assumptions or is an escaped local.
This verification is symmetric in its arguments.
If either expr1 or expr2 is not of type symbol, then false is returned.
assume⁡0<a
a,a,evalb⁡a=a
a~,a,false
verify⁡a,a,symbol
true
f≔convert⁡b,`local`
f≔b
b,f,evalb⁡b=f
b,b,false
verify⁡b,f,symbol
See Also
assume
evalb
local
verify
Download Help Document