Periodicity #
THIS FILE IS SYNCHRONIZED WITH MATHLIB4. Any changes to this file require a corresponding PR to mathlib4.
In this file we define and then prove facts about periodic and antiperiodic functions.
Main definitions #
-
function.periodic
: A functionf
is periodic if∀ x, f (x + c) = f x
.f
is referred to as periodic with periodc
orc
-periodic. -
function.antiperiodic
: A functionf
is antiperiodic if∀ x, f (x + c) = -f x
.f
is referred to as antiperiodic with antiperiodc
orc
-antiperiodic.
Note that any c
-antiperiodic function will necessarily also be 2*c
-periodic.
Tags #
period, periodic, periodicity, antiperiodic
Periodicity #
If a function f
is periodic
with positive period c
, then for all x
there exists some
y ∈ Ico 0 c
such that f x = f y
.
If a function f
is periodic
with positive period c
, then for all x
there exists some
y ∈ Ico a (a + c)
such that f x = f y
.
If a function f
is periodic
with positive period c
, then for all x
there exists some
y ∈ Ioc a (a + c)
such that f x = f y
.
Lift a periodic function to a function from the quotient group.
Equations
- h.lift x = quotient.lift_on' x f _
Antiperiodicity #
If a function is antiperiodic
with antiperiod c
, then it is also periodic
with period
2 * c
.