Rd Arith
DefinitionFormalism_SharpRestriction_RamificationFrobenius_TotientGaloisClasses_InertiaGaloisSymmetry_RdArithnumber-theoryriemann-hypothesis-5767e992
Definitions and structural lemmas for Rd Arith, from Original submission mirrored by leanprover-community; see pinned upstream README's pinned Riemann hypothesis · full library development. This module supplies the shared objects used by its theorem proofs.
Definition code
import Mathlib
-- BEGIN pinned source Lake options
set_option autoImplicit false
set_option maxHeartbeats 4000000
set_option maxSynthPendingDepth 3
set_option pp.unicode.fun true
set_option relaxedAutoImplicit false
-- END pinned source Lake options
set_option autoImplicit false
open ArithmeticFunction Finset
noncomputable section
namespace Formalism.HC.Der.Rd
variable {N : ℕ} [NeZero N]
def KK (N : ℕ) [NeZero N] (f : ℕ) : Finset (ZMod N)ˣ := univ.filter fun u => (u : ZMod N).val ≡ 1 [MOD f]
open Classical in
def rho (U : Subgroup (ZMod N)ˣ) (f : ℕ) : ℝ :=
(((KK N f).filter fun u => u ∉ U).card : ℝ) * f.totient / N.totient
end Formalism.HC.Der.Rd
end
Source