[Home](https://riemannhypothesissolved.com/) / [Learning path](https://riemannhypothesissolved.com/learn/) / Quadratic twists and no cancellation

# Quadratic twists and no cancellation

Graduate · AI-drafted reading guide

A quadratic Dirichlet twist multiplies a character by a quadratic character. An auxiliary prime is chosen so the relevant twists are zero-free at a candidate zero, preventing twisted terms from cancelling its residue.

## Prerequisites

- [Dirichlet characters](https://riemannhypothesissolved.com/learn/characters/)
- [Dirichlet L-functions](https://riemannhypothesissolved.com/learn/l-functions/)
- [Splitting of primes in quadratic fields](https://riemannhypothesissolved.com/learn/splitting/)

## Where it’s used in the compact proof

- [Comparison and analytic endgame](https://riemannhypothesissolved.com/learn/#compact-analytic)

## Lean locations

- [`src/Lib/Analytic/QuadraticTwist/ZeroFreeTwist.lean`](https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh-compact/src/Lib/Analytic/QuadraticTwist/ZeroFreeTwist.lean) · Lean source

## Sources and further reading

Checked sources were opened and cover this concept, Background sources cover the general topic, and Lean source links point to pinned Lean or Mathlib files.

- [On mean values of Dirichlet polynomials with real characters](https://matwbn.icm.edu.pl/ksiazki/aa/aa27/aa27116.pdf) · Checked
- [Elkies, analytic number theory lecture index](https://people.math.harvard.edu/~elkies/M229.26/index.html) · Background

---

Quadratic twists and no cancellation. Web page: https://riemannhypothesissolved.com/learn/quadratic-twist/ · updated 2026-11-27 · site map for machines: https://riemannhypothesissolved.com/llms.txt
