TITLE: How complicated is the theory of $\mathbb Q_p$?
QUESTION [8 upvotes]: Let $p=7$, say.  How complex is the theory of the field $(\mathbb Q_p,0,1,+,\cdot)$ ?  One extreme would be that the theory is like $\mathbb R$: decidable

... admits quantifier elimination, is o-minimal.  Do I need to include $\;<\;$ for $\mathbb R$ for these?  Or is it enough that $<$ is definable in $(\mathbb R, 0,1,+,\cdot)$ ?

The other extreme would be that $\mathbb Z$ is definable in $\mathbb Q_p$, so the theory is as complex as the theory of $\mathbb Z$.

I thought of this when reading a recent question, asking whether $\mathbb C$ and $\mathbb C_p$ admit a Borel-measurable isomorphism.

REPLY [9 votes]: There is a strong analogy between the model theory of $\mathbb{R}$ and the model theory of $\mathbb{Q}_p$. Here's a brief history of some of the main results (I've necessarily left a lot out, so I encourage others to edit and add to the list):

In the '60s, the theory of $\mathbb{Q}_p$ was shown to be decidable, independently by Ershov (On the elementary theory of maximal normed fields, 1965) and Ax and Kochen (Diophantine problems over local fields. III. Decidable fields, 1966).
In the '70s, Macintyre proved that the structure $(\mathbb{Q}_p;0,1,+,-,\times,V,(P_n)_{n\in \mathbb{N}})$ has quantifier elimination, where $V$ is a unary predicate naming the valuation ring, and each $P_n$ is a unary predicate naming the set of $n^{\text{th}}$ powers. Like $\mathbb{R}$ (and like every non-algebraically-closed field, by another result of Macintyre's - see below for more on this), $\mathbb{Q}_p$ does not have quantifier elimination in the language of rings. (On definable sets of $p$-adic fields, 1976).
In the '80s, Denef proved a cell decomposition theorem for $\mathbb{Q}_p$, analogous to Tarski's cell decomposition for real closed fields. (See The rationality  of the Poincaré  series associated  to  the  p-adic  points  on  a  variety, 1984, and p-adic semi-algebraic sets and cell decomposition, 1986).
In the '90s, Haskell and Macpherson defined a $p$-adic analogue of o-minimality, called "P-minimality" (A version of o-minimality for the p-adics, 1997). They did not obtain a cell decomposition theorem for general P-minimal structures, and since then there have been a number of papers about cell decomposition in the P-minimal setting, usually under additional hypothesis, such as definable Skolem functions.
It follows easily from cell decomposition that the theory of $\mathbb{Q}_p$ is NIP, and this was probably folklore for some time. The dp-rank is a measure of complexity for NIP theories. In the 21st century, Dolich, Goodrick, and Lippel showed that the theory of $\mathbb{Q}_p$ is dp-minimal, meaning that it has dp-rank 1 (dp-minimality: basic facts and examples, 2011). The theory of real closed fields is also dp-minimal, as is any o-minimal theory.

Regarding your side question: most model-theoretic notions are impervious to the exact choice of language, as long as the languages considered are interdefinable. This includes notions like decidability, dp-minimality, and NIP. Characterizations of definable sets, like o-minimality, are mostly language-independent, except that e.g. the definition of o-minimality requires the symbol $<$ to be in the language. On the other hand, quantifier elimination is highly sensitive to the choice of language.
So for $\mathbb{R}$, decidability (and dp-minimality, and NIP) holds in the  language of rings, quantifier elimination does not hold in the language of rings, and it doesn't even make sense to ask about o-minimality in the language of rings.

P.S. Above I alluded to a theorem of Macintyre on fields admitting quantifier elimination. The original reference is On $\omega_1$-categorical theories of fields, 1971, where Macintyre proves that the following are equivalent for infinite fields (in the language of rings):

$K$ is algebraically closed
$\text{Th}(K)$ is $\aleph_1$-categorical
$K$ is totally transcendental ($\omega$-stable)
$\text{Th}(K)$ has quantifier elimination

A simpler argument for the equivalence of (1) and (4) was given by Macintyre, McKenna, and van den Dries in Elimination of quantifiers in algebraic structures, 1983. The main results are the following:

If a field admits quantifier elimination in the language of rings, it is algebraically closed.
If an ordered field admits quantifier elimination in the language of ordered rings, it is real closed.
If a non-trivially valued field admits quantifier elimination in the language of of rings together with a binary relation symbol for $v(x)\leq v(y)$,  it is an algebraically closed valued field.
If a $p$-field (see the paper for the definition) admits quantifier elimination in the Macintyre language described above (with $V$ and $(P_n)_{n\in \mathbb{N}}$), it is $p$-adically closed (elementarily equivalent to $\mathbb{Q}_p$).