Quasiconvex and quasiconcave functions #
THIS FILE IS SYNCHRONIZED WITH MATHLIB4. Any changes to this file require a corresponding PR to mathlib4.
This file defines quasiconvexity, quasiconcavity and quasilinearity of functions, which are generalizations of unimodality and monotonicity. Convexity implies quasiconvexity, concavity implies quasiconcavity, and monotonicity implies quasilinearity.
Main declarations #
quasiconvex_on 𝕜 s f
: Quasiconvexity of the functionf
on the sets
with scalars𝕜
. This means that, for allr
,{x ∈ s | f x ≤ r}
is𝕜
-convex.quasiconcave_on 𝕜 s f
: Quasiconcavity of the functionf
on the sets
with scalars𝕜
. This means that, for allr
,{x ∈ s | r ≤ f x}
is𝕜
-convex.quasilinear_on 𝕜 s f
: Quasilinearity of the functionf
on the sets
with scalars𝕜
. This means thatf
is both quasiconvex and quasiconcave.
References #
A function is quasiconvex if all its sublevels are convex.
This means that, for all r
, {x ∈ s | f x ≤ r}
is 𝕜
-convex.
Equations
- quasiconvex_on 𝕜 s f = ∀ (r : β), convex 𝕜 {x ∈ s | f x ≤ r}
A function is quasiconcave if all its superlevels are convex.
This means that, for all r
, {x ∈ s | r ≤ f x}
is 𝕜
-convex.
Equations
- quasiconcave_on 𝕜 s f = ∀ (r : β), convex 𝕜 {x ∈ s | r ≤ f x}
A function is quasilinear if it is both quasiconvex and quasiconcave.
This means that, for all r
,
the sets {x ∈ s | f x ≤ r}
and {x ∈ s | r ≤ f x}
are 𝕜
-convex.
Equations
- quasilinear_on 𝕜 s f = (quasiconvex_on 𝕜 s f ∧ quasiconcave_on 𝕜 s f)