Use of commas and ordering in notations of logic confuse the hell out of me especially when variables of different sets are concerned.
What I'm trying to formalize is that $G\left(a,b,r\right)=-G\left(b,a,r\right)$ for all possible combinations of these three arguments where $a\in P$ and $b\in P$ and $r\in R$.
To generalize this a bit let $K(a,b,r)$ be the statement "$G\left(a,b,r\right)=-G\left(b,a,r\right)$"
which of the following (if any) is the correct way to write this and most importantly, why?
$$\forall r\in R\ \forall a,b\in P,\ \ K(a,b,r)$$ $$\forall r\in R,\ \forall a,b\in P,\ \ K(a,b,r)$$ $$\forall r\in R,\ \forall a\in P,\ \forall b\in P,\ \ K(a,b,r)$$ $$\forall r\in R\forall a\in P\forall b\in P,\ \ K(a,b,r)$$ $$\forall \left(r\in R, a\in P, b\in P\right),\ \ K(a,b,r)$$ $$K(a,b,r),\ \forall r\in R\ \forall a,b\in P$$ $$K(a,b,r),\ \forall r\in R,\ \forall a,b\in P$$ $$K(a,b,r),\ \forall r\in R,\ \forall a\in P,\ \forall b\in P$$ $$K(a,b,r),\ \forall r\in R\forall a\in P\forall b\in P$$ $$K(a,b,r),\ \forall \left(r\in R, a\in P, b\in P\right)$$
Is there a simpler way to write this if $a$ and $b$ are treated as an ordered pair?
I don't think there's a correct answer. There is no universally agreed notation for predicate logic. There is the convention that $\implies$ means implication and $\forall$ means universal quanitfication and so on, but anyone is free to use different symbols than those and (as long as the structure of the system is the same) their logic will still be predicate logic.
Similarly, there is no convention about the commas. Some books use commas, others don't. Some put the $\forall$ in the end, others in the beginning. For formulas of predicate logic, the convention is that quantification comes to the left. However, you can find many mathematical books that make a statement and quantify ($\forall$) the variables on the right.
I don't get the question about the ordered pairs...