mathlibdocumentation

topology.metric_space.gromov_hausdorff_realized

The Gromov-Hausdorff distance is realized #

In this file, we construct of a good coupling between nonempty compact metric spaces, minimizing their Hausdorff distance. This construction is instrumental to study the Gromov-Hausdorff distance between nonempty compact metric spaces.

Given two nonempty compact metric spaces X and Y, we define optimal_GH_coupling X Y as a compact metric space, together with two isometric embeddings optimal_GH_injl and optimal_GH_injr respectively of X and Y into optimal_GH_coupling X Y. The main property of the optimal coupling is that the Hausdorff distance between X and Y in optimal_GH_coupling X Y is smaller than the corresponding distance in any other coupling. We do not prove completely this fact in this file, but we show a good enough approximation of this fact in Hausdorff_dist_optimal_le_HD, that will suffice to obtain the full statement once the Gromov-Hausdorff distance is properly defined, in Hausdorff_dist_optimal.

The key point in the construction is that the set of possible distances coming from isometric embeddings of X and Y in metric spaces is a set of equicontinuous functions. By Arzela-Ascoli, it is compact, and one can find such a distance which is minimal. This distance defines a premetric space structure on X ⊕ Y. The corresponding metric quotient is optimal_GH_coupling X Y.

def Gromov_Hausdorff.candidates (X : Type u) (Y : Type v) [metric_space X] [nonempty X] [metric_space Y] [nonempty Y] :
set (prod_space_fun X Y)

The set of functions on X ⊕ Y that are candidates distances to realize the minimum of the Hausdorff distances between X and Y in a coupling

Equations
noncomputable def Gromov_Hausdorff.candidates_b_of_candidates {X : Type u} {Y : Type v} [metric_space X] [nonempty X] [metric_space Y] [nonempty Y] (f : prod_space_fun X Y) (fA : f ) :
Cb X Y

candidates give rise to elements of bounded_continuous_functions

Equations
theorem Gromov_Hausdorff.candidates_b_of_candidates_mem {X : Type u} {Y : Type v} [metric_space X] [nonempty X] [metric_space Y] [nonempty Y] (f : prod_space_fun X Y) (fA : f ) :
candidates_b X Y
noncomputable def Gromov_Hausdorff.candidates_b_dist (X : Type u) (Y : Type v) [metric_space X] [inhabited X] [metric_space Y] [inhabited Y] :
Cb X Y

The distance on X ⊕ Y as a candidate

Equations
theorem Gromov_Hausdorff.candidates_b_dist_mem_candidates_b {X : Type u} {Y : Type v} [metric_space X] [nonempty X] [metric_space Y] [nonempty Y] :
candidates_b X Y
noncomputable def Gromov_Hausdorff.HD {X : Type u} {Y : Type v} [metric_space X] [nonempty X] [metric_space Y] [nonempty Y] (f : Cb X Y) :

We will then choose the candidate minimizing the Hausdorff distance. Except that we are not in a metric space setting, so we need to define our custom version of Hausdorff distance, called HD, and prove its basic properties.

Equations
theorem Gromov_Hausdorff.HD_below_aux1 {X : Type u} {Y : Type v} [metric_space X] [nonempty X] [metric_space Y] [nonempty Y] {f : Cb X Y} (C : ) {x : X} :
bdd_below (set.range (λ (y : Y), f (sum.inl x, sum.inr y) + C))
theorem Gromov_Hausdorff.HD_below_aux2 {X : Type u} {Y : Type v} [metric_space X] [nonempty X] [metric_space Y] [nonempty Y] {f : Cb X Y} (C : ) {y : Y} :
bdd_below (set.range (λ (x : X), f (sum.inl x, sum.inr y) + C))
theorem Gromov_Hausdorff.HD_candidates_b_dist_le {X : Type u} {Y : Type v} [metric_space X] [nonempty X] [metric_space Y] [nonempty Y] :

Explicit bound on HD (dist). This means that when looking for minimizers it will be sufficient to look for functions with HD(f) bounded by this bound.

noncomputable def Gromov_Hausdorff.premetric_optimal_GH_dist (X : Type u) (Y : Type v) [metric_space X] [nonempty X] [metric_space Y] [nonempty Y] :

With the optimal candidate, construct a premetric space structure on X ⊕ Y, on which the predistance is given by the candidate. Then, we will identify points at 0 predistance to obtain a genuine metric space

Equations
@[nolint]
def Gromov_Hausdorff.optimal_GH_coupling (X : Type u) (Y : Type v) [metric_space X] [nonempty X] [metric_space Y] [nonempty Y] :
Type (max u v)

A metric space which realizes the optimal coupling between X and Y

Equations
Instances for Gromov_Hausdorff.optimal_GH_coupling
@[protected, instance]
noncomputable def Gromov_Hausdorff.optimal_GH_coupling.metric_space (X : Type u) (Y : Type v) [metric_space X] [nonempty X] [metric_space Y] [nonempty Y] :
noncomputable def Gromov_Hausdorff.optimal_GH_injl (X : Type u) (Y : Type v) [metric_space X] [nonempty X] [metric_space Y] [nonempty Y] (x : X) :

Injection of X in the optimal coupling between X and Y

Equations
theorem Gromov_Hausdorff.isometry_optimal_GH_injl (X : Type u) (Y : Type v) [metric_space X] [nonempty X] [metric_space Y] [nonempty Y] :

The injection of X in the optimal coupling between X and Y is an isometry.

noncomputable def Gromov_Hausdorff.optimal_GH_injr (X : Type u) (Y : Type v) [metric_space X] [nonempty X] [metric_space Y] [nonempty Y] (y : Y) :

Injection of Y in the optimal coupling between X and Y

Equations
theorem Gromov_Hausdorff.isometry_optimal_GH_injr (X : Type u) (Y : Type v) [metric_space X] [nonempty X] [metric_space Y] [nonempty Y] :

The injection of Y in the optimal coupling between X and Y is an isometry.

@[protected, instance]

The optimal coupling between two compact spaces X and Y is still a compact space

theorem Gromov_Hausdorff.Hausdorff_dist_optimal_le_HD (X : Type u) (Y : Type v) [metric_space X] [nonempty X] [metric_space Y] [nonempty Y] {f : Cb X Y} (h : f candidates_b X Y) :

For any candidate f, HD(f) is larger than or equal to the Hausdorff distance in the optimal coupling. This follows from the fact that HD of the optimal candidate is exactly the Hausdorff distance in the optimal coupling, although we only prove here the inequality we need.