Hausdorff dimension #
THIS FILE IS SYNCHRONIZED WITH MATHLIB4. Any changes to this file require a corresponding PR to mathlib4.
The Hausdorff dimension of a set X
in an (extended) metric space is the unique number
dimH s : ℝ≥0∞
such that for any d : ℝ≥0
we have
In this file we define dimH s
to be the Hausdorff dimension of s
, then prove some basic
properties of Hausdorff dimension.
Main definitions #
measure_theory.dimH
: the Hausdorff dimension of a set. For the Hausdorff dimension of the whole space we usemeasure_theory.dimH (set.univ : set X)
.
Main results #
Basic properties of Hausdorff dimension #
hausdorff_measure_of_lt_dimH
,dimH_le_of_hausdorff_measure_ne_top
,le_dimH_of_hausdorff_measure_eq_top
,hausdorff_measure_of_dimH_lt
,measure_zero_of_dimH_lt
,le_dimH_of_hausdorff_measure_ne_zero
,dimH_of_hausdorff_measure_ne_zero_ne_top
: various forms of the characteristic property of the Hausdorff dimension;dimH_union
: the Hausdorff dimension of the union of two sets is the maximum of their Hausdorff dimensions.dimH_Union
,dimH_bUnion
,dimH_sUnion
: the Hausdorff dimension of a countable union of sets is the supremum of their Hausdorff dimensions;dimH_empty
,dimH_singleton
,set.subsingleton.dimH_zero
,set.countable.dimH_zero
:dimH s = 0
whenevers
is countable;
(Pre)images under (anti)lipschitz and Hölder continuous maps #
holder_with.dimH_image_le
etc: iff : X → Y
is Hölder continuous with exponentr > 0
, then for anys
,dimH (f '' s) ≤ dimH s / r
. We prove versions of this statement forholder_with
,holder_on_with
, and locally Hölder maps, as well as forset.image
andset.range
.lipschitz_with.dimH_image_le
etc: Lipschitz continuous maps do not increase the Hausdorff dimension of sets.- for a map that is known to be both Lipschitz and antilipschitz (e.g., for an
isometry
or acontinuous_linear_equiv
) we also provedimH (f '' s) = dimH s
.
Hausdorff measure in ℝⁿ
#
real.dimH_of_nonempty_interior
: ifs
is a set in a finite dimensional real vector spaceE
with nonempty interior, then the Hausdorff dimension ofs
is equal to the dimension ofE
.dense_compl_of_dimH_lt_finrank
: ifs
is a set in a finite dimensional real vector spaceE
with Hausdorff dimension strictly less than the dimension ofE
, thes
has a dense complement.cont_diff.dense_compl_range_of_finrank_lt_finrank
: the complement to the range of aC¹
smooth map is dense provided that the dimension of the domain is strictly less than the dimension of the codomain.
Notations #
We use the following notation localized in measure_theory
. It is defined in
measure_theory.measure.hausdorff
.
μH[d]
:measure_theory.measure.hausdorff_measure d
Implementation notes #
-
The definition of
dimH
explicitly usesborel X
as a measurable space structure. This way we can formulate lemmas about Hausdorff dimension without assuming that the environment has a[measurable_space X]
instance that is equal but possibly not defeq toborel X
.Lemma
dimH_def
unfolds this definition using whatever[measurable_space X]
instance we have in the environment (as long as it is equal toborel X
). -
The definition
dimH
is irreducible; use API lemmas ordimH_def
instead.
Tags #
Hausdorff measure, Hausdorff dimension, dimension
Basic properties #
Unfold the definition of dimH
using [measurable_space X] [borel_space X]
from the
environment.
Alias of dimH_subsingleton
.
Alias of dimH_countable
.
Alias of dimH_finite
.
Alias of dimH_coe_finset
.
Hausdorff dimension as the supremum of local Hausdorff dimensions #
If r
is less than the Hausdorff dimension of a set s
in an (extended) metric space with
second countable topology, then there exists a point x ∈ s
such that every neighborhood
t
of x
within s
has Hausdorff dimension greater than r
.
In an (extended) metric space with second countable topology, the Hausdorff dimension
of a set s
is the supremum over x ∈ s
of the limit superiors of dimH t
along
(𝓝[s] x).small_sets
.
In an (extended) metric space with second countable topology, the Hausdorff dimension
of a set s
is the supremum over all x
of the limit superiors of dimH t
along
(𝓝[s] x).small_sets
.
Hausdorff dimension and Hölder continuity #
If f
is a Hölder continuous map with exponent r > 0
, then dimH (f '' s) ≤ dimH s / r
.
If f : X → Y
is Hölder continuous with a positive exponent r
, then the Hausdorff dimension
of the image of a set s
is at most dimH s / r
.
If f
is a Hölder continuous map with exponent r > 0
, then the Hausdorff dimension of its
range is at most the Hausdorff dimension of its domain divided by r
.
If s
is a set in a space X
with second countable topology and f : X → Y
is Hölder
continuous in a neighborhood within s
of every point x ∈ s
with the same positive exponent r
but possibly different coefficients, then the Hausdorff dimension of the image f '' s
is at most
the Hausdorff dimension of s
divided by r
.
If f : X → Y
is Hölder continuous in a neighborhood of every point x : X
with the same
positive exponent r
but possibly different coefficients, then the Hausdorff dimension of the range
of f
is at most the Hausdorff dimension of X
divided by r
.
Hausdorff dimension and Lipschitz continuity #
If f : X → Y
is Lipschitz continuous on s
, then dimH (f '' s) ≤ dimH s
.
If f
is a Lipschitz continuous map, then dimH (f '' s) ≤ dimH s
.
If f
is a Lipschitz continuous map, then the Hausdorff dimension of its range is at most the
Hausdorff dimension of its domain.
If s
is a set in an extended metric space X
with second countable topology and f : X → Y
is Lipschitz in a neighborhood within s
of every point x ∈ s
, then the Hausdorff dimension of
the image f '' s
is at most the Hausdorff dimension of s
.
If f : X → Y
is Lipschitz in a neighborhood of each point x : X
, then the Hausdorff
dimension of range f
is at most the Hausdorff dimension of X
.
Isometries preserve Hausdorff dimension #
Hausdorff dimension in a real vector space #
Hausdorff dimension and C¹
-smooth maps #
C¹
-smooth maps are locally Lipschitz continuous, hence they do not increase the Hausdorff
dimension of sets.
Let f
be a function defined on a finite dimensional real normed space. If f
is C¹
-smooth
on a convex set s
, then the Hausdorff dimension of f '' s
is less than or equal to the Hausdorff
dimension of s
.
TODO: do we actually need convex ℝ s
?
The Hausdorff dimension of the range of a C¹
-smooth function defined on a finite dimensional
real normed space is at most the dimension of its domain as a vector space over ℝ
.
A particular case of Sard's Theorem. Let f : E → F
be a map between finite dimensional real
vector spaces. Suppose that f
is C¹
smooth on a convex set s
of Hausdorff dimension strictly
less than the dimension of F
. Then the complement of the image f '' s
is dense in F
.
A particular case of Sard's Theorem. If f
is a C¹
smooth map from a real vector space to a
real vector space F
of strictly larger dimension, then the complement of the range of f
is dense
in F
.