The areas / V12. Number theory
Mathlib.NumberTheory.Padics.MahlerBasis
29 declarations. Mathlib docs · Source
The Mahler basis of continuous functions
In this file we introduce the Mahler basis function mahler k, for k : ℕ, which is the unique
continuous map ℤ_[p] → ℤ_[p] agreeing with n ↦ n.choose k for n ∈ ℕ.
Using this, we prove Mahler's theorem, showing that for any continuous function f on ℤ_[p]
(valued in a normed ℤ_[p]-module E), the Mahler series x ↦ ∑' k, mahler k x • Δ^[n] f 0
converges (uniformly) to f, and this construction defines a Banach-space isomorphism between
C(ℤ_[p], E) and the space of sequences ℕ → E tending to 0.
For this, we follow the argument of Bojanić [bojanic74].
The formalisation of Mahler's theorem presented here is based on code written by Giulio Caflisch for his bachelor's thesis at ETH Zürich.
References
- [R. Bojanić, A simple proof of Mahler's theorem on approximation of continuous functions of a p-adic variable by polynomials][bojanic74]
- [P. Colmez, Fonctions d'une variable p-adique][colmez2010]
Tags
Bojanic
Continuous linear functionals are determined by their values on the Mahler basis
theorem ZeroAtInftyContinuousMap.mk.congr_simp E1 #
∀ {α : Type u} {β : Type v} [inst : TopologicalSpace α] [inst_1 : Zero β] [inst_2 : TopologicalSpace β]
(toContinuousMap toContinuousMap_1 : C(α, β)) (e_toContinuousMap : toContinuousMap = toContinuousMap_1)
(zero_at_infty' : Filter.Tendsto toContinuousMap.toFun (Filter.cocompact α) (nhds 0)),
{ toContinuousMap := toContinuousMap, zero_at_infty' := zero_at_infty' } =
{ toContinuousMap := toContinuousMap_1, zero_at_infty' := ⋯ }
theorem PadicInt.mahlerSeries.congr_simp E1 #
∀ {p : ℕ} [hp : Fact (Nat.Prime p)] {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : Module ℤ_[p] E]
[inst_2 : IsBoundedSMul ℤ_[p] E] (a a_1 : ℕ → E), a = a_1 → PadicInt.mahlerSeries a = PadicInt.mahlerSeries a_1
theorem PadicInt.mahlerTerm.congr_simp E1 #
∀ {p : ℕ} [hp : Fact (Nat.Prime p)] {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : Module ℤ_[p] E]
[inst_2 : IsBoundedSMul ℤ_[p] E] (a a_1 : E),
a = a_1 → ∀ (n n_1 : ℕ), n = n_1 → PadicInt.mahlerTerm a n = PadicInt.mahlerTerm a_1 n_1
theorem PadicInt.norm_ascPochhammer_le E1 #
∀ {p : ℕ} [hp : Fact (Nat.Prime p)] (k : ℕ) (x : ℤ_[p]), ‖Polynomial.eval x (ascPochhammer ℤ_[p] k)‖ ≤ ‖↑k.factorial‖
Bound for norms of ascending Pochhammer symbols.
instance PadicInt.instBinomialRing E0 #
{p : ℕ} → [hp : Fact (Nat.Prime p)] → BinomialRing ℤ_[p]
The p-adic integers are a binomial ring, i.e. a ring where binomial coefficients make sense.
theorem PadicInt.continuous_multichoose E1 #
∀ {p : ℕ} [hp : Fact (Nat.Prime p)] (k : ℕ), Continuous fun x ↦ Ring.multichoose x k
theorem PadicInt.continuous_choose E1 #
∀ {p : ℕ} [hp : Fact (Nat.Prime p)] (k : ℕ), Continuous fun x ↦ Ring.choose x k
def mahler E1 #
{p : ℕ} → [hp : Fact (Nat.Prime p)] → ℕ → C(ℤ_[p], ℤ_[p])
The k-th Mahler basis function, i.e. the unique continuous function ℤ_[p] → ℤ_[p]
agreeing with n ↦ n.choose k for n ∈ ℕ. See [colmez2010], §1.2.1.
theorem mahler_apply E0 #
∀ {p : ℕ} [hp : Fact (Nat.Prime p)] (k : ℕ) (x : ℤ_[p]), (mahler k) x = Ring.choose x k
theorem mahler_natCast_eq E0 #
∀ {p : ℕ} [hp : Fact (Nat.Prime p)] (k n : ℕ), (mahler k) ↑n = ↑(n.choose k)
The function mahler k extends n ↦ n.choose k on ℕ.
theorem IsUltrametricDist.norm_fwdDiff_iter_apply_le E1 #
∀ {M : Type u_1} {G : Type u_2} [inst : TopologicalSpace M] [inst_1 : CompactSpace M] [inst_2 : AddCommMonoid M]
[inst_3 : SeminormedAddCommGroup G] [IsUltrametricDist G] (h : M) (f : C(M, G)) (m : M) (n : ℕ),
‖(fwdDiff h)^[n] (⇑f) m‖ ≤ ‖f‖
Bound for iterated forward differences of a continuous function from a compact space to a nonarchimedean seminormed group.
theorem PadicInt.fwdDiff_iter_le_of_forall_le E2 #
∀ {p : ℕ} [hp : Fact (Nat.Prime p)] {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : Module ℤ_[p] E]
[IsBoundedSMul ℤ_[p] E] [IsUltrametricDist E] {f : C(ℤ_[p], E)} {s t : ℕ},
(∀ (x y : ℤ_[p]), ‖x - y‖ ≤ ↑p ^ (-↑t) → ‖f x - f y‖ ≤ ‖f‖ / ↑p ^ s) →
∀ (n : ℕ), ‖(fwdDiff 1)^[n + s * p ^ t] (⇑f) 0‖ ≤ ‖f‖ / ↑p ^ s
Explicit bound for the decay rate of the Mahler coefficients of a continuous function on ℤ_[p].
This will be used to prove Mahler's theorem.
theorem PadicInt.fwdDiff_tendsto_zero E2 #
∀ {p : ℕ} [hp : Fact (Nat.Prime p)] {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : Module ℤ_[p] E]
[IsBoundedSMul ℤ_[p] E] [IsUltrametricDist E] (f : C(ℤ_[p], E)),
Filter.Tendsto (fun x ↦ (fwdDiff 1)^[x] (⇑f) 0) Filter.atTop (nhds 0)
Key lemma for Mahler's theorem: for f a continuous function on ℤ_[p], the sequence
n ↦ Δ^[n] f 0 tends to 0. See PadicInt.fwdDiff_iter_le_of_forall_le for an explicit
estimate of the decay rate.
def PadicInt.mahlerTerm E1 #
{p : ℕ} →
[hp : Fact (Nat.Prime p)] →
{E : Type u_1} →
[inst : NormedAddCommGroup E] → [inst_1 : Module ℤ_[p] E] → [IsBoundedSMul ℤ_[p] E] → E → ℕ → C(ℤ_[p], E)
A single term of a Mahler series, given by the product of the scalar-valued continuous map
mahler n : ℤ_[p] → ℤ_[p] with a constant vector in some normed ℤ_[p]-module.
theorem PadicInt.mahlerTerm_apply E0 #
∀ {p : ℕ} [hp : Fact (Nat.Prime p)] {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : Module ℤ_[p] E]
[inst_2 : IsBoundedSMul ℤ_[p] E] (a : E) (n : ℕ) (x : ℤ_[p]), (PadicInt.mahlerTerm a n) x = (mahler n) x • a
theorem PadicInt.norm_mahlerTerm E0 #
∀ {p : ℕ} [hp : Fact (Nat.Prime p)] {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : Module ℤ_[p] E]
[inst_2 : IsBoundedSMul ℤ_[p] E] (a : E) (n : ℕ), ‖PadicInt.mahlerTerm a n‖ = ‖a‖
theorem PadicInt.mahlerTerm_one E0 #
∀ {p : ℕ} [hp : Fact (Nat.Prime p)] (n : ℕ), PadicInt.mahlerTerm 1 n = mahler n
theorem PadicInt.norm_mahler_eq E0 #
∀ {p : ℕ} [hp : Fact (Nat.Prime p)] (k : ℕ), ‖mahler k‖ = 1
The uniform norm of the k-th Mahler basis function is 1, for every k.
def PadicInt.mahlerSeries E1 #
{p : ℕ} →
[hp : Fact (Nat.Prime p)] →
{E : Type u_1} →
[inst : NormedAddCommGroup E] → [inst_1 : Module ℤ_[p] E] → [IsBoundedSMul ℤ_[p] E] → (ℕ → E) → C(ℤ_[p], E)
A series of the form considered in Mahler's theorem.
theorem PadicInt.hasSum_mahlerSeries E1 #
∀ {p : ℕ} [hp : Fact (Nat.Prime p)] {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : Module ℤ_[p] E]
[inst_2 : IsBoundedSMul ℤ_[p] E] [inst_3 : IsUltrametricDist E] [CompleteSpace E] {a : ℕ → E},
Filter.Tendsto a Filter.atTop (nhds 0) → HasSum (fun n ↦ PadicInt.mahlerTerm (a n) n) (PadicInt.mahlerSeries a)
A Mahler series whose coefficients tend to 0 is convergent.
theorem PadicInt.mahlerSeries_apply E0 #
∀ {p : ℕ} [hp : Fact (Nat.Prime p)] {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : Module ℤ_[p] E]
[inst_2 : IsBoundedSMul ℤ_[p] E] [IsUltrametricDist E] [CompleteSpace E] {a : ℕ → E},
Filter.Tendsto a Filter.atTop (nhds 0) → ∀ (x : ℤ_[p]), (PadicInt.mahlerSeries a) x = ∑' (n : ℕ), (mahler n) x • a n
Evaluation of a Mahler series is just the pointwise sum.
theorem PadicInt.mahlerSeries_apply_nat E1 #
∀ {p : ℕ} [hp : Fact (Nat.Prime p)] {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : Module ℤ_[p] E]
[inst_2 : IsBoundedSMul ℤ_[p] E] [IsUltrametricDist E] [CompleteSpace E] {a : ℕ → E},
Filter.Tendsto a Filter.atTop (nhds 0) →
∀ {m n : ℕ}, m ≤ n → (PadicInt.mahlerSeries a) ↑m = ∑ i ∈ Finset.range (n + 1), m.choose i • a i
The value of a Mahler series at a natural number n is given by the finite sum of the first m
terms, for any n ≤ m.
theorem PadicInt.fwdDiff_mahlerSeries E1 #
∀ {p : ℕ} [hp : Fact (Nat.Prime p)] {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : Module ℤ_[p] E]
[inst_2 : IsBoundedSMul ℤ_[p] E] [IsUltrametricDist E] [CompleteSpace E] {a : ℕ → E},
Filter.Tendsto a Filter.atTop (nhds 0) → ∀ (n : ℕ), (fwdDiff 1)^[n] (⇑(PadicInt.mahlerSeries a)) 0 = a n
The coefficients of a Mahler series can be recovered from the sum by taking forward differences at
0.
theorem PadicInt.hasSum_mahler E3 #
∀ {p : ℕ} [hp : Fact (Nat.Prime p)] {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : Module ℤ_[p] E]
[inst_2 : IsBoundedSMul ℤ_[p] E] [inst_3 : IsUltrametricDist E] [CompleteSpace E] (f : C(ℤ_[p], E)),
HasSum (fun n ↦ PadicInt.mahlerTerm ((fwdDiff 1)^[n] (⇑f) 0) n) f
Mahler's theorem: for any continuous function f from ℤ_[p] to a p-adic Banach space, the
Mahler series with coefficients n ↦ Δ_[1]^[n] f 0 converges to the original function f.
def PadicInt.mahlerEquiv E1 #
{p : ℕ} →
[hp : Fact (Nat.Prime p)] →
(E : Type u_1) →
[inst : NormedAddCommGroup E] →
[inst_1 : Module ℤ_[p] E] →
[inst_2 : IsBoundedSMul ℤ_[p] E] →
[IsUltrametricDist E] → [CompleteSpace E] → C(ℤ_[p], E) ≃ₗᵢ[ℤ_[p]] ZeroAtInftyContinuousMap ℕ E
The isometric equivalence from C(ℤ_[p], E) to the space of sequences in E tending to 0 given
by Mahler's theorem, for E a nonarchimedean ℚ_[p]-Banach space.
theorem PadicInt.mahlerEquiv_apply E0 #
∀ {p : ℕ} [hp : Fact (Nat.Prime p)] {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : Module ℤ_[p] E]
[inst_2 : IsBoundedSMul ℤ_[p] E] [inst_3 : IsUltrametricDist E] [inst_4 : CompleteSpace E] (f : C(ℤ_[p], E)),
⇑((PadicInt.mahlerEquiv E) f) = fun n ↦ (fwdDiff 1)^[n] (⇑f) 0
theorem PadicInt.mahlerEquiv_symm_apply E0 #
∀ {p : ℕ} [hp : Fact (Nat.Prime p)] {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : Module ℤ_[p] E]
[inst_2 : IsBoundedSMul ℤ_[p] E] [inst_3 : IsUltrametricDist E] [inst_4 : CompleteSpace E]
(a : ZeroAtInftyContinuousMap ℕ E), (PadicInt.mahlerEquiv E).symm a = PadicInt.mahlerSeries ⇑a
theorem PadicInt.dense_span_mahler E1 #
∀ {p : ℕ} [hp : Fact (Nat.Prime p)] {R : Type u_1} [inst : NormedCommRing R] [inst_1 : Algebra ℤ_[p] R]
[IsUltrametricDist R] [CompleteSpace R] [inst_4 : IsBoundedSMul ℤ_[p] R],
Dense ↑(Submodule.span R (Set.range fun n ↦ mahler n • 1))
theorem PadicInt.ext_mahler E1 #
∀ {p : ℕ} [hp : Fact (Nat.Prime p)] {R : Type u_1} [inst : NormedCommRing R] [inst_1 : Algebra ℤ_[p] R]
[IsUltrametricDist R] [CompleteSpace R] [inst_4 : IsBoundedSMul ℤ_[p] R] {μ : C(ℤ_[p], R) →L[R] R},
(∀ (n : ℕ), μ (mahler n • 1) = 0) → μ = 0