Take the statement "Let $a \in \mathbb{R}$ and let $z=ai.$" $(1)$
In English, this means "Let's choose any real $a$ then define $z$ such that $z=ai$ for that particular $a$ we have just chosen". All good there. We might use terms like "arbitrary constant" or "parameter" to describe $a$ too.
How do we write $(1)$ in formal logic?
I know that $\forall a \exists z (z=ai)$ is one option, but is that correct/the only one?
I know that $\forall a \forall z (z=ai)$ is wrong, and that so is $\exists z \forall a (z=ai).$
I know that "let" means to consider a specific real $a$ such that we can assume only that it's a member of $\mathbb{R},$ and $z$ if well-defined for this $a$ is defined for all $a \in \mathbb{R}.$ But then this implies $\forall a (z=ai),$ and it seems that each $a$ requires a different $z$ to make the statement true, i.e., $z$ depends on $a,$ yet $\forall a (z=ai)$ doesn't allow that.