The following list gives the operators for the math notation definition in order of diminishing precedence. Any short forms for operators are given after the operator name. In definitions, A and B refer to the elements preceding and following the operator, respectively. Each precedence level has its own associativity.
index ;
x;1 + x;2 + 'ellipsis + x;n
qual :
V:be 'approxeq 0.7*'_Volt
apply (
exp ** ^
'exp('exp(root(2),root(2)),root(2)) = 2
fact !
prod *
2 * 2 = 4
quot /
'quot(a / b - 3,c)
divby
6 'divby 2 = 3
compose
isect
neg _
cross
dot
sum +
diff -
union
disjunion
relcomp \
symdiff
eq =
noteq
gt >
gteq >=
lt <
lteq <=
approxeq
propto
approach
parallel ||
perpto |_
congruent =~
similar ~~
superseteq
superset
subseteq
subset
notsubset
eltof
noteltof
not
and
or
xor
implies
equiv
defeq
tuple ,
Please note a few things about operators:
*
or times
operator; never simply juxtapose two expressions.
apply
operator and the
tuple
operator work together to allow
natural notation such as f(x,y)
to signify
the application of a function to arguments.
When, in mathematics, we commonly write f(x), we are
establishing a relationship between f and x,
indicating that f is to be treated as a function and
applied to an argument x. This relationship is
represented in MINSE by the apply
compound,
which has the function as its first sub-element and the argument as the
second. When there are multiple arguments, they are first combined into
a single compound by the comma operator, which builds a tuple
compound out of all the arguments, and the tuple is used as the second
sub-element of the apply compound.
So beware: this use gives the parentheses and the comma a completely different meaning. Usually, the parentheses group the sub-elements of a compound and the commas separate these sub-elements. When not used after a quote and a compound's name, the parentheses act as the right-associative apply operator and commas act as the serial-associative tuple operator, performing the analogous (but distinct) roles of grouping and separating arguments to a mathematical function instead of the sub-elements of a MINSE compound. The function application becomes itself a compound, and likewise for the arguments if there are more than one.
This is all done to reduce typing for the mathematician who is used
to simply writing f(x,y)
to represent a
function of two arguments.