The rational numbers are dense in $\mathbb{Q}_p$: the inclusion $\mathbb{Q} \hookrightarrow \mathbb{Q}_p$ has dense range.
Density of the diagonal embedding $R \to \prod_i (R, v_i)$ given a finite family of pairwise inequivalent nontrivial absolute values; this is the algebraic core of weak approximation.
Diagonal embedding into the product of completions has dense range: the image of $R$ is dense in $\prod_i \widehat{R}_{v_i}$ for pairwise inequivalent nontrivial absolute values.
Decidable equality on places of $\mathbb{Q}$: two places are either both infinite, or finite with the same prime.
The absolute value on $\mathbb{Q}$ associated to a place: the $p$-adic absolute value for a finite place, and the real absolute value $|\cdot|_\infty$ for the infinite place.
Instances For
The $p$-adic absolute value on $\mathbb{Q}$ is nontrivial: $|p|_p = 1/p < 1$.
The real (infinite) absolute value on $\mathbb{Q}$ is nontrivial: $|2|_\infty = 2 \ne 1$.
Every place of $\mathbb{Q}$ yields a nontrivial absolute value.
A $p$-adic absolute value is not equivalent to the real absolute value: any $p$ has $|p|_p < 1$ while $|p|_\infty > 1$.
Theorem 11.7 (Weak Approximation for $\mathbb{Q}$): the diagonal embedding $\mathbb{Q} \to \prod_i \widehat{\mathbb{Q}}_{v_i}$ has dense range for any finite injective family of places. Concretely, one can simultaneously approximate any tuple of elements in the completions by a single rational number.
Theorem 11.8 (Strong Approximation for $\mathbb{Z}$): the diagonal embedding $\mathbb{Z} \to \prod_i \mathbb{Z}_{p_i}$ has dense range for any finite injective family of primes. The proof combines $p$-adic density with the Chinese Remainder Theorem.