While working through Enderton's A Mathematical Introduction to Logic, I have seen a few explanations/proofs where we essentially rely on "$\cdots$". I'm generally comfortable with this if I can easily translate it into something more rigorous, usually involving recursive definitions and/or induction. But as I am just getting into a logic I am not comfortable in this context.
Say we are trying to prove that, for each $n$ there is a sentence which is true in a strucure $\mathfrak A$ iff $\mathfrak A$ has at most $n$ elements. There are numerous questions here on MSE asking how to express this or related statements, e.g. here. One method is as follows:
"There is at most one" : $∃x_2∀x_1(x_1=x_2)$
"There are at most $2$" : $∃x_3∃x_2∀x_1(x_1=x_3∨x_1=x_2)$
"There are at most $n$" : $∃x_{n+1}\cdots∃x_2∀x_1(x_1=x_{n+1}\lor \cdots\lor x_1=x_2)$
My question is, how do we make this more rigorous without relying on "dot dot dot", and actually go all the way proving that the sentence is true exactly when a structure has at most $n$ elements. My thinking is that you would first recursively define the desired formulas in some way, and then the definition would facilitate an inductive proof that the formulas are satisfied only in certain structures.
As a simple example of what I mean, here is an exercise on propositional logic. Define $\sigma_k$ recursively by $\sigma_0=(P\rightarrow Q)$ and $\sigma_{k+1}=(\sigma_k\rightarrow P)$. For which $k$ is $\sigma_k$ a tautology? One solution is a proof by induction showing that for $k\geq 1$, if $k$ is even then $\sigma_k$ is a tautology and if $k$ is odd then truth assignments $v$ for which $v(P)=F$ do not satisfy $\sigma_k$. Hence $\sigma_k$ is a tautology only for the positive even integers $k$.