Documentation

MathlibNt.AnalyticNumberTheory.Chen1973.Chen1973Lemma4CharacterSum

Chen 1973, Lemma 4: a primitive-character sum #

This module follows the statement and proof printed on p. 115 of Chen's original 1973 paper. The scan states that k is odd and squarefree and m ≠ 1; its primitive-root sentence tacitly also needs (m,k)=1. We retain that coprimality hypothesis explicitly, as required by the source proof.

The proof has two finite layers. At one prime, the primitive characters are all characters except the principal character, so orthogonality gives the local factor p-2 when m ≡ 1 (mod p) and absolute value 1 otherwise. This module proves the local layer and final elementary product comparison. The downstream module Chen1973Lemma4CRT constructs the CRT equivalence, proves the exact squarefree local-factor product, and discharges the factorization premise.

Chen p. 115: Z(m,k), before taking its absolute value.

Equations
Instances For

    The magnitude of Chen's one-prime geometric sum.

    Equations
    Instances For

      For an odd prime modulus, primitivity is exactly nonprincipality. This is the formal version of the range 1 ≤ ν ≤ p-2 in Chen's proof.

      The filtered primitive family at an odd prime is univ.erase 1.

      Chen's local geometric sum, written without choosing a primitive root: all characters give the orthogonality sum, and the principal term is removed.

      theorem AnalyticNumberTheory.LargeSieve.chen1973_natCast_zmod_eq_one_iff {p m : } (_hp : Nat.Prime p) (hm : 0 < m) :
      m = 1 p m - 1

      The congruence in the local factor is exactly divisibility of m-1.

      Exact one-prime magnitude in the order used by Chen.

      The product of the prime factors of squarefree k which divide n is exactly gcd k n.

      The finite local product in Chen's last displayed calculation is at most the product of the selected prime divisors.

      The elementary last line of Chen's proof. The premise is the exact finite CRT reindexing asserted by the two preceding displayed equalities on p. 115, not a proposition-valued black box.