Additive characters valued in the unit circle #
This file defines additive characters, valued in the unit circle, from either
- the ring
ZMod N
for any non-zero naturalN
, - the additive circle
ℝ / T ⬝ ℤ
, for any realT
.
These results are separate from Analysis.SpecialFunctions.Complex.Circle
in order to reduce
the imports of that file.
Additive characters valued in the complex circle #
Explicit formula for toCircle j
. Note that this is "evil" because it uses ZMod.val
. Where
possible, it is recommended to lift j
to ℤ
and use toCircle_intCast
instead.
The standard additive character ZMod N → ℂ
is primitive.
noncomputable def
ZMod.rootsOfUnityAddChar
(n : ℕ)
[NeZero n]
:
AddChar (ZMod n) ↥(rootsOfUnity n Circle)
ZMod.toCircle
as an AddChar
into rootsOfUnity n Circle
.
Equations
Instances For
@[simp]
Interpret n
-th roots of unity in ℂ
as elements of the circle
Equations
Instances For
Equivalence of the nth roots of unity of the Circle with nth roots of unity of the complex numbers
Equations
Instances For
@[simp]
theorem
rootsOfUnityCircleEquiv_comp_rootsOfUnityAddChar_val
(n : ℕ)
[NeZero n]
(j : ZMod n)
:
↑↑((rootsOfUnityCircleEquiv n) ((ZMod.rootsOfUnityAddChar n) j)) = Complex.exp (2 * ↑Real.pi * Complex.I * ↑j.val / ↑n)