DedekindSubgroups: a congruence modulo 16 for sums of Dedekind sums over subgroups of odd orderResearch Paper
Lean 4 / Mathlib formalization proving that for any integer k > 1 and any subgroup H of odd order of (Z/kZ)^x, the sum S(H, k) of classical Dedekind sums satisfies 12 k S(H, k) in Z and 12 k S(H, k) = |H|(k - 1)(k - 2) (mod 16) (DedekindSubgroups.theorem_1_1), together with the general-subgroup modulo-8 congruence (DedekindSubgroups.remark_3_4), optimality…