I am currently trying to find the best way to express some first-order logic statements. I have several such statements, and I am unsure which gramatical rules I should follow to express them.
For example, I have a statement of the following form:
Let $F\subseteq\{f\mid f:A\to B\}$ be some subset of all functions from $A$ to $B$ and fix $b'\in B$. Then, there exists a function $f\in F$ such that for every element $a\in A$, $f(a)=b'$.
Following some authors in my field whose style I quite like, I am currently expressing such statement formally like this: \begin{gather} (\exists f\in F)(\forall a\in A)(f(a)=b') \end{gather}
I have been suggested to write this: \begin{gather} \exists f\in F:\forall a\in A,f(a)=b' \end{gather} Or this: \begin{gather} \exists f\in F,\forall a\in A:f(a)=b' \end{gather}
I am wondering whether
some of the above expressions are correct / incorrect to express the statement in italics;
there exist other valid (and commonplace) expressions to express the statement in italics;
there exists one preferred formal way to express the statement in italics.
Also, some references that could help me clarify my doubts would also be appreciated.
Thank you all!
Is $$∀x\color\red,P(x)→Q$$ intended to be read as
or, non-equivalently, as
On the other hand, $$∀x\,P(x)→Q$$ (without any comma) conventionally just means sentence $(2)$ above.
The colon in the complete statement $$∀x:x^2\ge0$$ clearly does not mean ‘such that’.
As seen, in logic formalisations, commas/colons/periods sometimes are inserted to supply breathing space (but may break the flow of reading and be logically non-meaningful), and sometimes are an inheritance from the corresponding verbal sentences. In these cases, the punctuation is superfluous.
On the other hand, many authors insert a punctuation mark after a quantifier, replacing parentheses, specifically to delimit that its scope extends as far right as possible, that is, to signify reading $(1)$ above. This punctuation usage conflicts with the two cases in the previous paragraph.
Hence, in the absence of a prefacing usage note, it is generally ambiguous or misleading to punctuate quantifiers (other than with parentheses), except in a shorthand like $(\forall x{,}y{\in}\mathbb R\;P(x,y)).$
Summary: $$∀x,P(x)→Q\\∀x\,{:}\,P(x)→Q\\∀x.P(x)→Q$$ may be understood either as $$∀x\:[P(x)→Q],\tag1$$ or as the non-equivalent \begin{align}∀x\,P(x)→Q\tag2\\\big[∀x\,P(x)\big]→Q.\tag2\end{align}