Dedekind Sums

Manuel Eberl πŸ“§, Anthony Bordg πŸ“§, Lawrence C. Paulson πŸ“§ and Wenda Li πŸ“§

April 23, 2025

This is a development version of this entry. It might change over time and is not stable. Please refer to release versions for citations.

Abstract

For integers $h$, $k$, the Dedekind sum is defined as \[s(h,k) = \sum_{r=1}^{k-1} \frac{r}{k} \left(\left\{\frac{hr}{k}\right\} - \frac{1}{2}\right) \] where $\{x\} = x - \lfloor x\rfloor$ denotes the fractional part of $x$.

These sums occur in various contexts in analytic number theory, e.g. in the functional equation of the Dedekind $\eta$ function or in the study of modular forms.

We give the definition of $s(h,k)$ and prove its basic properties, including the reciprocity law \[s(h,k) + s(k,h) = \frac{1}{12hk} + \frac{h}{12k} + \frac{k}{12h} - \frac{1}{4} \] and various congruence results.

Our formalisation follows Chapter 3 of Apostol's Modular Functions and Dirichlet Series in Number Theory and contains all facts related to Dedekind sums from it (without the exercises).

License

BSD License

Topics

Related publications

  • Eberl, M., Bordg, A., Paulson, L. C., & Li, W. (2024). Formalising Half of a Graduate Textbook on Number Theory (Short Paper). Schloss Dagstuhl – Leibniz-Zentrum fΓΌr Informatik. https://doi.org/10.4230/LIPICS.ITP.2024.40

Session Dedekind_Sums