pivoxa15 said:
[tex]f(A) = \{ \, y=f(x) \mid x \in A \, \}[/tex]
This certainly isn't grammatically correct. You have a free variable
y, and the expression doesn't match any set-builder notation I know.
Anyways, it strikes me that I should have made a more positive response, and I'll do that now.
The axiom of comprehension (a.k.a. axiom of subsets) says that if you have some set S and some predicate P, there exists a set containing exactly those elements of S that satisfy P. A standard way to denote that set is with the syntax
[tex]\{ \, s \in S \mid P(s) \, \}.[/tex]
Sometimes, when
S can be inferred from the context, you will see the shorthand notation
[tex]\{ \, s \mid P(s) \, \}.[/tex]
So, the expression
[tex]f(A) = \{ \, y \in Y \mid \exists x \in A : f(x) = y \, \}[/tex]
is certainly a grammatically correct mathematical statement.