Consider a typical mathematical sentence defining two tuples: (s_i)_{i=1}^n and (t_i)_{i=1}^n:
Let (s_i)_{i=1}^n = X (,) and (t_i)_{i=1}^n = Y.
The parens around the comma mean that it's unclear whether the comma actually belongs there.
Is the comma before “and”
necessary,
forbidden,
optional without a change in the meaning, or
optional with a change in the meaning?
I know a rule saying that, in general, the comma is necessary if two independent long sentences are joined by “and” and forbidden if both of them are short (I think, 4 words at most). Because of maths, no idea. It's not even clear to me what the structure of the whole sentence is: two independent clauses with omitted second “let” (“Let (s_i)_{i=1}^n = X (,) and [let] (t_i)_{i=1}^n = Y.“) or one single clause with two objects.