Let $P:=\bigcup_{n\in \mathbb{N}} \mathcal{P}_n$ and $F:=\bigcup_{n\in \mathbb{N}} \mathcal{F}_n$, where $P\cap F=\varnothing$. Let $\mathcal{L}:=P\cup F$.
The sets $\mathcal{P}_n$ are the ones that contains all the $n$-ary relation symbols and the sets $\mathcal{F}_n$, all the $n$-ary function symbols. So set $\mathcal{L}$ is a lexicon. The symbols in $\mathcal{P}_0$ are called propositional letters and the ones in $\mathcal{F}_0$ are called constant symbols.
I'm trying to describe a first order theory $T$ for the real numbers.
Consider $\mathcal{L}:=\{0,1,+,\cdot, \leq\}$, where $0,1\in \mathcal{F}_0$, $+,\cdot \in \mathcal{F}_2$ and $\leq\, \in \mathcal{P}_2$, and $T$ the set of the sentences enumerated below.
- $\forall x\forall y \forall z(x+(y+z)=(x+y)+z)$
- $\forall x \forall y \forall z(x\cdot (y\cdot z)=(x\cdot y)\cdot z)$
- $\forall x \forall y(x+y=y+x)$
- $\forall x \forall y (x\cdot y=y\cdot x)$
- $\forall x(x+0=x)$
- $\forall x(x\cdot 1=x)$
- $\forall x \exists y(x+y=0)$
- $\forall x(x\neq 0 \rightarrow \exists y(x\cdot y=1))$
- $\forall x \forall y \forall z(x\cdot (y+z)=(x\cdot y)+(x\cdot z))$
- $\forall x(x\leq x)$
- $\forall x \forall y((x\leq y \land y\leq x)\rightarrow x=y)$
- $\forall x \forall y \forall z((x\leq y \land y\leq z) \rightarrow x\leq z)$
- $\forall x \forall y (x\leq y \vee y\leq x)$
- $\forall x \forall y \forall z(x\leq y \rightarrow x+z\leq y+z)$
- $\forall x \forall y((0\leq x \land 0\leq y) \rightarrow 0\leq x\cdot y)$
I want know how we may write the Axiom of Completeness for the real numbers knowing that the intended first order formula would evolve some quantification over sets of numbers, as well as quantification over numbers themselves. To try to avoid this problem I tried the following.
An ordered field is an $\mathcal{L}$-structure $\mathfrak{A}=(A,I)$ such that $\mathfrak{A}\models \varphi$, for each $\varphi\in T$. We'll denote each $I(s)$ by $s_\mathfrak{A}$.
An ordered field $\mathfrak{R}=(R,{[-]}_\mathfrak{R})$ is complete iff every non-empty subset of $R$ having an upper bound in $R$ have a least upper bound in $R$. We could write this as:
$$\mathfrak{R}\models (\forall X\in \mathcal{P}(R)\setminus \{\varnothing\})((\exists x\in R)(\forall y\in X)(y\leq x)\rightarrow (\exists x\in R)((\forall y\in X)(y\leq x) \land (\forall z\in R)(\forall y\in X)(y\leq z\rightarrow x\leq z))).$$
I've read some answers in Math Stack Exchange that said that the problem is that this axiom is a second order one, not a first order one (I think it's because of the quantification over sets of numbers), but I also have seen some people saying that it evolves a ``many-sorted logic'', which I don't understand what the difference is from the second order logic.
What am I struggling with? A second order theory is based on first order logic just like first order theories? Is there a difference between a second order theory and a two-sorted logic? I appreciate any suggestions of readings too. Thanks in advance!
For whom would like to know the books I'm using: I'm studying Kunen's ``The Foundations of Mathematics''. I've read the first chapter which talks about ZFC and now I'm studying the second one which talks about models and formal proofs. I'm sorry for any english mistakes: my first language is Portuguese.