I am grading an introduction to proofs course at my university. We have a question that reads something along the lines of:
Prove that $$\forall \ n \in \Bbb N, [\exists \ a \in \Bbb N : n + 1 = 3a \Rightarrow \exists \ b \in \Bbb N : n^2 + 4n + 1 = b].$$ Students attempt to prove this by writing $$n+1 =3a$$ $$n = 3a - 1$$ $$n^2 + 4n + 1 = b$$ $$(3a-1)^2 + 4(3a-1)+1 = b$$ $$ 9a^2 + 6a-2 = b.$$
Now while this calculation is necessary to understand the problem, I believe this is not a logically sound argument because they have assumed the conclusion (albeit they have not written their assumptions explicitly). If the correct logical connectives and quantifiers are introduced, the most this string of reasoning could prove is the statement
$$ \forall \ n \in \Bbb N, [(\exists \ a : n+1 = 3a \text{ and } \exists \ b : n^2 + 4n + 1 = b) \Rightarrow b = 9a^2 + 6a - 2.]$$
This argument is remedied by writing $$\text{Let } n \in \Bbb N.$$ $$\text{Assume } \exists \ a \in \Bbb N \text{ such that } n+1 = 3a.$$ $$\text{Then } n = 3a - 1.$$ $$\text{Take } b = 9a^2 + 6a - 2 \in \Bbb N.$$ $$\text{Then } n^2 + 4n + 1 = \cdots = b\text{, as required.}$$ In essence, the author of the original "proof" needs to note that his string of equalities can be written in the opposite order. But our convention in mathematics is that invisible $\Leftrightarrow$ symbols have been inserted at the beginning of each line, so explaining this to a student might be difficult.
So my question is, in the general case of proving a statement $$\exists \ a \text{ with property } P \Rightarrow \exists \ b \text{ with property } Q,$$ are there counterexamples where reasoning of the first kind does not suffice to prove the statement, i.e. where it does not suffice to prove that $$\exists \ a \text{ with property } P \text{ and } \exists \ b \text{ with property } Q \Rightarrow b \text{ may be represented in terms of } a \text{ in some particular way}.$$