I saw this question earlier today about the $p$-adic numbers generally and am trying to figure out how to visualize them or construct an algebraic entity with the right structure.
There's a straightforward way to build the real numbers out of formal power series in $\mathbb{Z}[[x]]$. Is there a way to do a similar thing for the $p$-adic numbers?
The intuition is that we are considering generalizations of infinite decimals $123456.123123\cdots$, but we only have a single decimal place to the left of the decimal point, and we allow any integer to appear in any decimal place.
I'm defining a notion of normal form to capture the fact that some-but-not-all formal power series converge when evaluated at $\frac{1}{10}$, without circularly assuming that those sums converge to a real number. The normal form for a given real isn't unique, $1.3$ and $1.299999\cdots$ are the same number. Note that in the example below $a_0$ is unconstrained.
$$ \sum_{i=0}^{\infty} a_ix^i \;\; \text{is in normal form} \;\; \textit{if and only if} \;\; \text{$0 \le a_i \le 9$ for all $i \ge 1$} $$
Let's define a relation $R$ as follows
$$ \left(\left(\sum a_i x^i \right), \left(\sum b_i x^i\right) \right) \in R \\ \textit{if and only if} \\ \text{there exists a $k$ such that $10a_k + a_{k+1} = 10b_k + b_{k+1}$} \\ \text{and all indices besides $k$ and $k+1$ are the same. } $$
Let $\simeq$ be the transitive, reflexive, symmetric closure of $R$.
If we consider only the formal power series in $\mathbb{Z}[[X]]$ that are equivalent to a power series in normal form, and then take equivalence classes mod $\simeq$, then we have a field isomorphic to the real numbers $\mathbb{R}$.
We can also define orderings on this structure.
$$ \sum a_i x^i \;\; \text{is non-negative} \;\; \textit{if} \;\; \text{$\sum a_i x^i$ is in normal form and $a_0 \ge 0$} $$
$$ \sum a_i x^i \;\; \text{is non-negative} \;\; \textit{if and only if} \;\; \text{$\sum a_i x^i$ is equivalent to a non-negative series in normal form} $$
And then the definition of $\sum a_i x^i \le \sum b_i x ^i$.
$$ \sum a_i x^i \le \sum b_i x ^i \;\; \textit{if and only if} \;\; \sum (b_i-a_i)x^i \;\; \text{is non-negative} $$
Is there a way to do something similar for the $p$-adic numbers?