# The Riemann Hypothesis from EveryCharacter

## Statement

Suppose that `EveryCharacter` is true. That is: for each $N \geq 1$, each Dirichlet character $\chi$ modulo $N$ and each $s \in \mathbb{C}$ with $\operatorname{Re}(s) > \tfrac12$, if $\chi \neq 1$ or $s \neq 1$, then $L(s, \chi) \neq 0$. Then the Riemann Hypothesis is true.

The [definition step](/step/every-character-def/) gives `EveryCharacter` in full.


## Lean

```lean
theorem Formalism.VW.rh_of_every (h : UpperTheory.EveryCharacter) : RiemannHypothesis
```

The declaration is in `Formalism/GammaFactorNonvanishing/CritLine.lean`, line 29. Its [page](/code/decl/?n=Formalism.VW.rh_of_every) has the full list of what it uses and what uses it, and a link to the source.

## Proof

By the step [the Riemann Hypothesis from the right half-plane](/step/rh-of-right/), it is enough to show this: if $\operatorname{Re}(s) > \tfrac12$ and $s \neq 1$, then $\zeta(s) \neq 0$.

Let $s$ be such a number. Apply `EveryCharacter` with $N = 1$ and with $\chi$ the trivial character modulo 1. The hypothesis "$\chi \neq 1$ or $s \neq 1$" is true, because $s \neq 1$. So $L(s, \chi) \neq 0$.

The L-function of the trivial character modulo 1 is the zeta function: $L(s, \chi) = \zeta(s)$ for each $s$. This is the Mathlib lemma `LFunction_modOne_eq`. So $\zeta(s) \neq 0$.

## Notes

The proof uses only one character of all the characters that `EveryCharacter` speaks about. The other characters are for the other theorems of `Main.lean`, for example the generalized Riemann hypothesis for Dirichlet L-functions.

## Uses

- [The Riemann Hypothesis from the right half-plane](/step/rh-of-right/), the step for `Formalism.VW.rh_of_right`.
- [The statement EveryCharacter](/step/every-character-def/), the step for `UpperTheory.EveryCharacter`.

## Used by

- [The Riemann Hypothesis from all characters](/step/rh-of-all/)

## Status

Drafted. The text follows the Lean code, but no person has checked it against the code with the rules of spec 05.7 yet. If you check it, [tell us](https://github.com/tamnd/riemann/issues/new?template=error.yml).

A model wrote the first draft (`writer@claude-opus-5-5`). A person checks it before its status goes up.
