The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V12. Number theory

Mathlib.NumberTheory.LSeries.Convolution

20 declarations. Mathlib docs · Source

Dirichlet convolution of sequences and products of L-series

We define the Dirichlet convolution f ⍟ g of two sequences f g : ℕ → R with values in a semiring R by (f ⍟ g) n = ∑ (k * m = n), f k * g m when n ≠ 0 and (f ⍟ g) 0 = 0. Technically, this is done by transporting the existing definition for ArithmeticFunction R; see LSeries.convolution. We show that these definitions agree (LSeries.convolution_def).

We then consider the case R = ℂ and show that L (f ⍟ g) = L f * L g on the common domain of convergence of the L-series L f and L g of f and g; see LSeries_convolution and LSeries_convolution'.

Dirichlet convolution of two functions

Multiplication of L-series

Versions for arithmetic functions

def toArithmeticFunction E1 #

{R : Type u_1} → [inst : Zero R] → (ℕ → R) → ArithmeticFunction R

We turn any function ℕ → R into an ArithmeticFunction R by setting its value at 0 to be zero.

theorem toArithmeticFunction_congr E1 #

∀ {R : Type u_1} [inst : Zero R] {f f' : ℕ → R},
  (∀ {n : ℕ}, n ≠ 0 → f n = f' n) → toArithmeticFunction f = toArithmeticFunction f'

theorem ArithmeticFunction.toArithmeticFunction_eq_self E0 #

∀ {R : Type u_1} [inst : Zero R] (f : ArithmeticFunction R), toArithmeticFunction ⇑f = f

If we consider an arithmetic function just as a function and turn it back into an arithmetic function, it is the same as before.

def LSeries.convolution E1 #

{R : Type u_1} → [Semiring R] → (ℕ → R) → (ℕ → R) → ℕ → R

Dirichlet convolution of two sequences.

We define this in terms of the already existing definition for arithmetic functions.

def LSeries.notation.«term_⍟_» E1 #

Lean.TrailingParserDescr

Dirichlet convolution of two sequences.

We define this in terms of the already existing definition for arithmetic functions.

theorem LSeries.convolution_congr E1 #

∀ {R : Type u_1} [inst : Semiring R] {f f' g g' : ℕ → R},
  (∀ {n : ℕ}, n ≠ 0 → f n = f' n) →
    (∀ {n : ℕ}, n ≠ 0 → g n = g' n) → LSeries.convolution f g = LSeries.convolution f' g'

theorem ArithmeticFunction.coe_mul E0 #

∀ {R : Type u_1} [inst : Semiring R] (f g : ArithmeticFunction R), LSeries.convolution ⇑f ⇑g = ⇑(f * g)

The product of two arithmetic functions defines the same function as the Dirichlet convolution of the functions defined by them.

theorem LSeries.convolution_def E0 #

∀ {R : Type u_1} [inst : Semiring R] (f g : ℕ → R),
  LSeries.convolution f g = fun n ↦ ∑ p ∈ n.divisorsAntidiagonal, f p.1 * g p.2

theorem LSeries.convolution_map_zero E0 #

∀ {R : Type u_1} [inst : Semiring R] (f g : ℕ → R), LSeries.convolution f g 0 = 0

theorem LSeries.term_convolution E1 #

∀ (f g : ℕ → ℂ) (s : ℂ) (n : ℕ),
  LSeries.term (LSeries.convolution f g) s n = ∑ p ∈ n.divisorsAntidiagonal, LSeries.term f s p.1 * LSeries.term g s p.2

We give an expression of the LSeries.term of the convolution of two functions in terms of a sum over Nat.divisorsAntidiagonal.

theorem LSeries.term_convolution' E1 #

∀ (f g : ℕ → ℂ) (s : ℂ),
  LSeries.term (LSeries.convolution f g) s = fun n ↦
    ∑' (b : ↑((fun p ↦ p.1 * p.2) ⁻¹' {n})), LSeries.term f s (↑b).1 * LSeries.term g s (↑b).2

We give an expression of the LSeries.term of the convolution of two functions in terms of an a priori infinite sum over all pairs (k, m) with k * m = n (the set we sum over is infinite when n = 0). This is the version needed for the proof that L (f ⍟ g) = L f * L g.

theorem LSeriesHasSum.convolution E1 #

∀ {f g : ℕ → ℂ} {s a b : ℂ},
  LSeriesHasSum f s a → LSeriesHasSum g s b → LSeriesHasSum (LSeries.convolution f g) s (a * b)

The L-series of the convolution product f ⍟ g of two sequences f and g equals the product of their L-series, assuming both L-series converge.

theorem LSeries_convolution' E1 #

∀ {f g : ℕ → ℂ} {s : ℂ},
  LSeriesSummable f s → LSeriesSummable g s → LSeries (LSeries.convolution f g) s = LSeries f s * LSeries g s

The L-series of the convolution product f ⍟ g of two sequences f and g equals the product of their L-series, assuming both L-series converge.

theorem LSeries_convolution E1 #

∀ {f g : ℕ → ℂ} {s : ℂ},
  LSeries.abscissaOfAbsConv f < ↑s.re →
    LSeries.abscissaOfAbsConv g < ↑s.re → LSeries (LSeries.convolution f g) s = LSeries f s * LSeries g s

The L-series of the convolution product f ⍟ g of two sequences f and g equals the product of their L-series in their common half-plane of absolute convergence.

theorem LSeriesSummable.convolution E1 #

∀ {f g : ℕ → ℂ} {s : ℂ}, LSeriesSummable f s → LSeriesSummable g s → LSeriesSummable (LSeries.convolution f g) s

The L-series of the convolution product f ⍟ g of two sequences f and g is summable when both L-series are summable.

theorem LSeries.abscissaOfAbsConv_convolution_le E1 #

∀ (f g : ℕ → ℂ),
  LSeries.abscissaOfAbsConv (LSeries.convolution f g) ≤ max (LSeries.abscissaOfAbsConv f) (LSeries.abscissaOfAbsConv g)

The abscissa of absolute convergence of f ⍟ g is at most the maximum of those of f and g.

theorem ArithmeticFunction.LSeriesHasSum_mul E1 #

∀ {f g : ArithmeticFunction ℂ} {s a b : ℂ},
  LSeriesHasSum (fun n ↦ f n) s a → LSeriesHasSum (fun n ↦ g n) s b → LSeriesHasSum (fun n ↦ (f * g) n) s (a * b)

The L-series of the (convolution) product of two ℂ-valued arithmetic functions f and g equals the product of their L-series, assuming both L-series converge.

theorem ArithmeticFunction.LSeries_mul' E1 #

∀ {f g : ArithmeticFunction ℂ} {s : ℂ},
  LSeriesSummable (fun n ↦ f n) s →
    LSeriesSummable (fun n ↦ g n) s → LSeries (fun n ↦ (f * g) n) s = LSeries (fun n ↦ f n) s * LSeries (fun n ↦ g n) s

The L-series of the (convolution) product of two ℂ-valued arithmetic functions f and g equals the product of their L-series, assuming both L-series converge.

theorem ArithmeticFunction.LSeries_mul E1 #

∀ {f g : ArithmeticFunction ℂ} {s : ℂ},
  (LSeries.abscissaOfAbsConv fun n ↦ f n) < ↑s.re →
    (LSeries.abscissaOfAbsConv fun n ↦ g n) < ↑s.re →
      LSeries (fun n ↦ (f * g) n) s = LSeries (fun n ↦ f n) s * LSeries (fun n ↦ g n) s

The L-series of the (convolution) product of two ℂ-valued arithmetic functions f and g equals the product of their L-series in their common half-plane of absolute convergence.

theorem ArithmeticFunction.LSeriesSummable_mul E1 #

∀ {f g : ArithmeticFunction ℂ} {s : ℂ},
  LSeriesSummable (fun n ↦ f n) s → LSeriesSummable (fun n ↦ g n) s → LSeriesSummable (fun n ↦ (f * g) n) s

The L-series of the (convolution) product of two ℂ-valued arithmetic functions f and g is summable when both L-series are summable.