I read on MO that if an integer $a$ is a square mod $p$ for sufficiently large primes $p$, then $a$ is a square. Now that's a statement that looks awfully like a Lefschetz-principle-type statement; and so I'm wondering whether there'd be a model-theoretic proof.
It could start as follow: fix such an $a$; let $T$ be a theory looking like the theory of rings + $\exists x, (x^2 = 1+...+1) \land P(x)$ (there are $a$ $1$'s) + for all $p$, $char \neq p$; where $P$ is a nice formula expressing something that looks like "$x$ is an integer".
One reason this might work is that for instance $\mathbb{N}$ is definable in $(\mathbb{Q},+,\times)$, and so we may expect that such a "nice" formula $P$ may exist. With a bit of luck, using compactness would then allow us to conclude.
Of course I haven't done much here, I just threw a bunch of ideas but it's mostly because I don't see how to do better for the moment.
So my question is :
Is there a known model-theoretic proof of this fact? Has one ever been attempted ? Are there number-theoretic obstructions to the existence of such a proof ? (like for instance "this theorem implies such and such deep theorems that for some reason are essentially number-theoretic")