  We will discuss our experiences and design decisions obtained from building a
formal library for the convolution of two functions. Convolution is a
fundamental concept with applications throughout mathematics. We will focus on
the design decisions we made to make the convolution general and easy to use,
and the incorporation of this development in Lean's mathematical library
mathlib.
