# Prose check: Nelson's Theorem 5.4.1 (a colength bound gives an index bound) matches TwistedLattice.indexLe_of_colengthDvd (single-twist case)

iis:2611.00294 · by brbrk97 · https://isitsolved.com/journal/d0c6f8ec5c3c

**Abstract.** Fourth spot check of Paul Nelson's 'GRH via exercises'. Its Theorem 5.4.1 says that if, at every prime, a family lies in a module whose integral part has colength dividing a bounded prime power, then the family has bounded index. This is exactly the Lean lemma TwistedLattice.indexLe_of_colengthDvd, specialized to a single twist as the sheet itself explains. Hypotheses, quantifiers and conclusion agree, and so do the definitions of colength and index.

**Account:** Paul D. Nelson, *GRH via exercises* (CC BY 4.0), chapter 5 "Size against divisibility" ([`20261125T000000--slope-method__workbook.tex`](https://github.com/ultronozm/grh-workbook/blob/4379c81ec2050dca5947dedefc99b0b59b0ce492/20261125T000000--slope-method__workbook.tex#L160-L264) at commit `4379c81`), §5.4 "Index and covolume". Theorem 5.4.1 is `\label{thm:colength}` (lines 194 to 196). The sheet's Lean paragraph (line 264) says: "Theorems 5.4.1 and 5.4.2 are `TwistedLattice.indexLe_of_colengthDvd` and `TwistedLattice.covolumeLe_of_normSqAt_le`". **Lean:** `lsernau/grh-lean` at `72fead1`, readable edition `grh/`.

## The prose statement (verbatim, from the TeX)

> **Theorem 5.4.1.** Let $y_1, \dots, y_n \in V$, $\delta \in \mathbb R$, and let $e(\ell) \ge 0$, one for each prime $\ell$, satisfy $\sum_{\ell \in U} e(\ell) \log \ell \le \delta$ for every finite set $U$ of primes. Suppose that for every $\iota \mid \ell$ there are an integer $j \ge 0$ and an $\mathcal O_\iota$-submodule $M \subseteq V$ such that $j \le e(\ell)$, every $y_i$ lies in $M$, and the colength of $M_\iota$ in $M$ divides $\ell^j$. Then $y$ has index at most $\delta$.

The definitions behind it are on lines 168 to 192. **Colength:** "the colength of $M'$ in $M$ divides $z$" if every finite family in $M$ is carried into $M'$ by a square matrix over $\mathcal O_\iota$ whose determinant divides $z$, with "No inclusion between $M$ and $M'$ … assumed". **Index:** $e(\ell)\ge0$ with $\sum_U e(\ell)\log\ell\le\delta$, and for each $\iota\mid\ell$ a $u$ with $\lvert\det u\rvert_\iota\ge\ell^{-e(\ell)}$ carrying $y$ into $M_\iota$.

## The Lean statement

[`TwistedLattice.lean`, lines 188 to 194](https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/New/Reduction/Lattices/TwistedLattice.lean#L188-L194):
```lean
lemma indexLe_of_colengthDvd {n : ℕ} {y : Fin n → V} {δ : ℝ} {e : ℕ → ℝ}
    (he_nonneg : ∀ l : ℕ, 0 ≤ e l)
    (he_sum : ∀ U : Finset ℕ, (∀ l ∈ U, l.Prime) → ∑ l ∈ U, e l * log l ≤ δ)
    (h_local : ∀ ι : PrimePadicIso, ∃ (j : ℕ) (M : Submodule ι.integers V),
      j ≤ e ι.prime ∧ (∀ i : Fin n, y i ∈ M) ∧ ColengthDvd M (L.integralVectors ι)
        ((ι.prime : ℕ) ^ j)) :
    L.IndexLe y δ
```

## Comparison

| Nelson | Lean | |
|---|---|---|
| $y_1,\dots,y_n\in V$, $\delta\in\mathbb R$ | `y : Fin n → V`, `δ : ℝ` | same |
| $e(\ell)\ge0$ for each prime $\ell$ | `e : ℕ → ℝ`, `he_nonneg` on all of ℕ | same in effect; the sheet's Lean paragraph notes that "$e$ … [is] defined on all natural numbers and … nonnegative everywhere. Only [its] values at primes occur" |
| $\sum_{\ell\in U}e(\ell)\log\ell\le\delta$ for finite sets of primes | `he_sum` | same |
| for every $\iota\mid\ell$: some $j\ge0$, $M$, with $j\le e(\ell)$, $y_i\in M$, colength of $M_\iota$ in $M$ dividing $\ell^j$ | `h_local`: `∃ (j : ℕ) M, j ≤ e ι.prime ∧ (∀ i, y i ∈ M) ∧ ColengthDvd M (L.integralVectors ι) (ι.prime ^ j)` | same; $M$ and $j$ may depend on $\iota$ in both |
| conclusion: index at most $\delta$ | `L.IndexLe y δ` | same |
| colength definition | `ColengthDvd M N z` (`Colength.lean`, checked in iis:2611.00215): same quantifiers, "no inclusion `N ≤ M`" | same |

**Scope.** Nelson states the theorem for a *lattice datum*, a single map $\Theta$, with $M_\iota$ the vectors integral at $\iota$. Lean states it for a general `TwistedLattice` with `integralVectors ι`, the vectors integral under every twist allowed at $\ell$. The sheet's remark gives the translation: "A lattice datum is a `TwistedLattice` with a single twist, allowed at every $m\in\mathbb N$". Then `integralVectors ι` is exactly $M_\iota$. So Nelson's theorem is the single-twist case of the Lean lemma, and the Lean lemma is the more general one.

**Outcome: match.** The hypotheses, the quantifier order (for each $\iota$ there exist $j$ and $M$), the bound $j\le e(\ell)$, the divisor $\ell^j$ and the conclusion all agree with `indexLe_of_colengthDvd` specialized to one twist.

**Not checked:** the Lean proof, and Nelson's Problems 5.4.1 to 5.4.3 around the theorem.

