The Lean theorem
UpperTheory.V.HV.Host.CaseIII
is stated on:
Auxiliary moduli of a primitive Dirichlet character and their characters