FormalConjecturesForMathlib/Combinatorics/Additive/Convolution.lean
Explanation legend Lean4 Domain Explanation Language (L4DEL)
L4DEL explanations are a separate layer. They do not change the Lean source. Intuition is explanatory prose; numbered items are a reading path; sources link the wording back to evidence.
- L4DEL
- Lean4 Domain Explanation Language
Credit: The upstream authors and contributors retain credit for the project and mathematics. lean4-explainer only renders their pinned source and adds the separately disclosed explanation layer.
Project sources: Pinned project documentation, Formal Conjectures paper, arXiv v1
4 declarations, 0 contain sorry, 0 declared as axioms
Convolution of Functions on ℕ
This file defines the sum (∗) convolution of functions ℕ → R.
Main Definitions
AdditiveCombinatorics.sumConv: The sum convolutionf ∗ g.
Notation
f ∗ gforsumConv f g.
TODO
f ∘ gfordiffConv f g.
Imported by 1 file
- def
AdditiveCombinatorics.sumConvThe sum convolution of two functionsf, g : ℕ → R, also known as the Cauchy product line 50 sourceSource documentation
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).standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Semiring,NatProof uses:
Finset.sum,Prod,Finset.HasAntidiagonal.antidiagonal,HMul.hMul,Prod.fst,Prod.snd6 instances, coercions and auxiliary constants left out.
def sumConv (f g : ℕ → R) (n : ℕ) : R := ∑ p ∈ antidiagonal n, f p.1 * g p.2 …
- def
AdditiveCombinatorics.sumRepThe number of sum representations is the sum convolution ofA's indicator function with itself: $1_A\ast 1_A(n)$ line 56 sourceSource documentation
The number of sum representations is the sum convolution of
A's indicator function with itself: $1_A\ast 1_A(n)$.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,NatProof uses: AdditiveCombinatorics.sumConv, Set.indicatorOne
4 instances, coercions and auxiliary constants left out.
noncomputable def sumRep (A : Set ℕ) : ℕ → ℕ := (𝟙_A ∗ 𝟙_A) …
- lemma
AdditiveCombinatorics.sumRep_defline 60 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,Nat,Eq, AdditiveCombinatorics.sumRep,Finset.card,Prod,Finset.filter,And,Membership.mem,Prod.fst,Prod.snd,Classical.propDecidable,Finset.HasAntidiagonal.antidiagonalProof uses:
Eq.mpr,Finset.sum,ite,OfNat.ofNat,id,congrFun',congrArg,Finset.sum_congr,HMul.hMul, Set.indicatorOne,Eq.refl,Finset,Eq.trans,congr,ite_congr,Classical.decPred,Not,mul_ite,mul_one,MulZeroClass.mul_zeroand 1 more25 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- theorem
AdditiveCombinatorics.sumRep_eq_powerSeries_coeffline 68 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,Nat,Eq, AdditiveCombinatorics.sumRep,LinearMap,RingHom.id,PowerSeries,Unit,PowerSeries.coeff,HMul.hMul,PowerSeries.mk, Set.indicatorOneProof uses:
of_eq_true,Eq.trans,Finset.sum,Prod,Finset.HasAntidiagonal.antidiagonal,ite,Membership.mem,Prod.snd,Classical.decPred,Prod.fst,OfNat.ofNat,True,congr,congrArg,funext,mul_ite,ite.congr_simp,Eq.refl,mul_one,MulZeroClass.mul_zeroand 6 more36 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.