I am given two sets $A$ and $B$. I want to construct a new set $C$ defined as triple $(x,y,z)$ where $x$ and $y$ are distinct elements of $A$ and $z\in B$ on the requirement that if $(x,y,z)\in C$ then $(y,x,z)\not\in C$.
My question is about the notation. Currently, I am writing it like this
$C=\{(x,y,z)\mid x\neq y\in A$, $z\in B$, $(y,x,z)\not\in C\}$. But I feel this is not standard notation in math. I though about defining a lexicographic order < on $A$ and then write it
$C=\{(x,y,z)\mid x\neq y\in A, z\in B$ and $x$ precedes $y$ w.r.t. < $\}$. Is this correct?