Suppose I have an Excel (or a csv) file with 2 columns: $a$ and $b$.
For each row I would like to forbid the following: $a\neq b$.
So for instance in row 1 I cannot have $a=3$ and $b=3$. However, the question is not how to implement it in Excel. The question is how to use the correct math notation to express this constraint.
Let's suppose the type of a and b are integers.
I don't understand how to formulate such a restriction using predicate logic math notation.
Here are all possible permutations assuming $a\neq b \leftrightarrow b\neq a$:
$\forall a\thinspace\exists b\,\left(a\neq b\right)$
$\forall b\thinspace\exists a\,\left(a\neq b\right)$
$\exists a\thinspace\forall b\,\left(a\neq b\right)$
$\exists b\thinspace\forall a\,\left(a\neq b\right)$
$\exists a\thinspace\exists b\,\left(a\neq b\right)$
$\forall a\thinspace\forall b\,\left(a\neq b\right)$
I have the feeling only the 2 following proposition are correct. Am I right?
$\forall a\thinspace\exists b\,\left(a\neq b\right)$
$\forall b\thinspace\exists a\,\left(a\neq b\right)$