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
    Inspect dependencies

    AnalyticNumberTheory.LargeSieve.chen1973Lemma4CharacterSum · compiled type and proof/definition references.

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

    Equations
    Instances For
      Inspect dependencies

      AnalyticNumberTheory.LargeSieve.chen1973Lemma4LocalMagnitude · compiled type and proof/definition references.

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

      Inspect dependencies

      AnalyticNumberTheory.LargeSieve.chen1973_isPrimitive_iff_ne_one_of_odd_prime · compiled type and proof/definition references.

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

      Inspect dependencies

      AnalyticNumberTheory.LargeSieve.chen1973_primitiveCharacters_prime_eq_erase_one · compiled type and proof/definition references.

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

      Inspect dependencies

      AnalyticNumberTheory.LargeSieve.chen1973_prime_characterSum_eq · compiled type and proof/definition references.

      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.

      Inspect dependencies

      AnalyticNumberTheory.LargeSieve.chen1973_natCast_zmod_eq_one_iff · compiled type and proof/definition references.

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

      Inspect dependencies

      AnalyticNumberTheory.LargeSieve.chen1973_prime_characterSum_norm · compiled type and proof/definition references.

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

      Inspect dependencies

      AnalyticNumberTheory.LargeSieve.chen1973_prod_selected_primeFactors_eq_gcd · compiled type and proof/definition references.

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

      Inspect dependencies

      AnalyticNumberTheory.LargeSieve.chen1973_localMagnitude_product_le_selected · compiled type and proof/definition references.

      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.

      Inspect dependencies

      AnalyticNumberTheory.LargeSieve.chen1973_lemma4_of_squarefree_local_factorization · compiled type and proof/definition references.