Definition (Quadratic form in an abelian group). Let A be an abelian group. We say q:A→ℤ is a quadratic form if