A map $f : X \to Y$ between pseudo-metric spaces is a similitude of ratio $c > 0$ if $d(f(x), f(y)) = c \cdot d(x, y)$ for all $x, y \in X$.
Instances For
A similitude sends bounded sets to bounded sets.
A similitude of ratio $c$ scales diameters by $c$: $\mathrm{diam}(f(S)) = c \cdot \mathrm{diam}(S)$.
If a similitude $f$ of ratio $c$ sends a set $S$ of diameter $1$ to a set of diameter $1$, then $c = 1$ (so $f$ is an isometry on the diameter).
A canonical metric on the realization of an affine Coxeter complex of matrix $M$: a designated family of "chambers" $\{C\} \subseteq X$, each bounded with diameter exactly $1$.
- chamber_bounded (C : Set X) : C ∈ self.chambers → Bornology.IsBounded C
- chamber_diam_one (C : Set X) : C ∈ self.chambers → Metric.diam C = 1
- is_affine : M.IsAffine
Instances For
A canonical metric on $X$ is $W$-invariant under an action $W \times X \to X$ if every $w \in W$ acts as an isometry on $X$.
Instances For
The canonical distance on the Euclidean realization $E$ of an affine Coxeter complex: $d(x, y) = \|x - y\| / \mathrm{diam}(C)$, where $C$ is any chamber. This normalizes chambers to have diameter $1$.
Instances For
A simplicial-complex isomorphism between two affine Coxeter complexes realized in Euclidean spaces $E, E'$ extends to an affine similitude $g : E \to E'$ of ratio $\mathrm{diam}(C') / \mathrm{diam}(C)$.
If two affine Coxeter complexes have equal chamber diameters and are simplicially isomorphic, then the induced affine similitude is an isometry.
Abstract canonical-metric version: a similitude $\varphi : X \to X'$ sending chambers to chambers between two canonical metrics with nonempty chamber families must be an isometry, because chamber diameter $1$ forces the similitude constant to be $1$.
Uniqueness of canonical (chamber-diameter-one) metrics: a similitude between two pseudo-metric spaces sending chambers of diameter $1$ to chambers of diameter $1$ is automatically an isometry.
Canonical-metric formulation of canonical_metric_unique: a
similitude between two CanonicalMetric structures sending chambers to
chambers is an isometry.
The type of a per-apartment metric: a function assigning to each apartment $A$ a (pseudo-)distance $V \times V \to \mathbb{R}$.
Instances For
Per-apartment metric data for a building: an ambient space $X$ with embedding $\iota : V \to X$ and a per-apartment pseudo-distance $\mathrm{dist}_{\mathrm{fn}}$ that is symmetric, satisfies the triangle inequality, vanishes on the diagonal, is preserved by every simplicial isomorphism between apartments, and normalizes each chamber to have diameter $1$.
- X : Type u_2
- ι : V → self.X
- dist_fn : { A : SimplicialComplex V // A ∈ b.apartmentSystem.apartments } → V → V → ℝ
- dist_nonneg (A : { A : SimplicialComplex V // A ∈ b.apartmentSystem.apartments }) (x y : V) : 0 ≤ self.dist_fn A x y
- dist_symm (A : { A : SimplicialComplex V // A ∈ b.apartmentSystem.apartments }) (x y : V) : self.dist_fn A x y = self.dist_fn A y x
- dist_eq_zero (A : { A : SimplicialComplex V // A ∈ b.apartmentSystem.apartments }) (x : V) : self.dist_fn A x x = 0
- dist_triangle (A : { A : SimplicialComplex V // A ∈ b.apartmentSystem.apartments }) (x y z : V) : self.dist_fn A x z ≤ self.dist_fn A x y + self.dist_fn A y z
- iso_isometry (A₁ A₂ : { A : SimplicialComplex V // A ∈ b.apartmentSystem.apartments }) (φ : SimplicialMap ↑A₁ ↑A₂) : (∀ s ∈ (↑A₁).faces, Finset.image φ.toFun s ∈ (↑A₂).faces) → ∀ (x y : V), self.dist_fn A₁ x y = self.dist_fn A₂ (φ.toFun x) (φ.toFun y)
- chamber_diam_one (A : { A : SimplicialComplex V // A ∈ b.apartmentSystem.apartments }) (C : Finset V) : (↑A).IsMaximal C → (∀ x ∈ C, ∀ y ∈ C, self.dist_fn A x y ≤ 1) ∧ ∃ x ∈ C, ∃ y ∈ C, self.dist_fn A x y = 1
Instances For
The ambient-space distance between two vertices: $d_X(\iota v, \iota w)$.
Instances For
The building distance between two vertices $x, y$: if there is some
apartment containing faces through both $x$ and $y$, return the
apartment-distance in any such apartment; otherwise return $0$.
Well-definedness is proved below by buildingDist_well_defined_general.
Instances For
When $x, y$ both lie in a face $\sigma$ shared by two apartments that also share a chamber containing $\sigma$, the apartment distances agree: $\mathrm{dist}_{A_1}(x, y) = \mathrm{dist}_{A_2}(x, y)$.
A "cross" version of well-definedness: $x$ lies in a shared face $\sigma$ and $y$ lies in a shared chamber $C$; the two apartments share both $\sigma$ and $C$, so an isomorphism fixes both $x$ and $y$ and the apartment distances agree.
Well-definedness of the building distance when there is a common face through $v$ and $w$: any two apartments containing such a face assign the same distance to $(v, w)$. The proof uses the standard chamber-system argument: extend $\sigma$ to a chamber in each apartment and find a third apartment containing both.
Well-definedness without assuming a common face: if vertices $\{v\}, \{w\}$ are both vertices of two apartments $A_1, A_2$ (no shared edge required), then $\mathrm{dist}_{A_1}(v, w) = \mathrm{dist}_{A_2}(v, w)$. The proof combines $v$ and $w$ across a third apartment via the "cross" lemma in both directions.
Most general well-definedness: assuming only that $x, y$ are each contained in some face of $A_1$ and some face of $A_2$ (i.e., they are vertices of both apartments), the apartment distances agree.
The building distance defines a pseudo-metric: nonnegativity, symmetry, $d(x, x) = 0$, and triangle inequality.
Instances For
A geodesic path from $x$ to $y$ in the building: a finite vertex list $v_0 = x, v_1, \ldots, v_n = y$ whose consecutive-distance sum equals $\mathrm{dist}(x, y)$, certifying the path is length-minimizing.
- vertices : List V
- length_eq : (List.zipWith (buildingDist b md) self.vertices self.vertices.tail).sum = buildingDist b md x y
Instances For
The building is a geodesic space: every pair of vertices is connected by some geodesic path.
Instances For
A retraction $\rho : V \to V$ is distance-non-increasing if $d(\rho x, \rho y) \le d(x, y)$ for all vertices $x, y$.
Instances For
A retraction $\rho : V \to V$ is an isometry on the base chamber if $d(\rho x, \rho y) = d(x, y)$ whenever at least one of $x, y$ lies in the base chamber.
Instances For
Telescoping triangle inequality: for any list $[v_0, \ldots, v_n]$, $d(v_0, v_n) \le \sum_{i=0}^{n-1} d(v_i, v_{i+1})$, assuming $d$ satisfies the triangle inequality and $d(x, x) \le 0$.
The (combinatorial) line segment from $x$ to $y$: the set of vertices $z$ satisfying $d(x, y) = d(x, z) + d(z, y)$ (the additivity / "between" relation).