Convolution of Functions on ℕ #
This file defines the sum (∗
) convolution of functions ℕ → R
.
Main Definitions #
AdditiveCombinatorics.sumConv
: The sum convolutionf ∗ g
.
Notation #
f ∗ g
forsumConv f g
.
TODO #
f ∘ g
fordiffConv f g
.
The sum convolution of two functions f, g : ℕ → R
, also known as the Cauchy product.
(f ∗ g) n = ∑_{a+b=n} f(a)g(b)
.
Equations
- (f ∗ g) n = ∑ p ∈ Finset.antidiagonal n, f p.1 * g p.2
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
The number of sum representations is the sum convolution of A
's indicator
function with itself.
Equations
Instances For
theorem
AdditiveCombinatorics.sumRep_eq_powerSeries_coeff
(A : Set ℕ)
(n : ℕ)
:
sumRep A n = (PowerSeries.coeff ℕ n) (PowerSeries.mk A.indicatorOne * PowerSeries.mk A.indicatorOne)