This code was written as part of the 2023 MSRI "Formalization of Mathematics" workshop hosted in Berkeley California
Implementation of Theorem 2.2 of "Metric Embeddings and Lipschitz Extentensions by Assaf Naor" page 5
Link: https://web.math.princeton.edu/~naor/homepage%20files/embeddings_extensions.pdf
Code now integrated in Mathlib4 under :
Suppose
extension
Let
Then, we see that
thus each
(Nonlinear Hahn-Banach theorem). Suppose
Then, there is an extension
First-direct proof. Call again
To see that this function satisfies the results, fix an arbitrary
so
Then,
Thus, we see that