Physlib.SpaceAndTime.Space.EuclideanGroup.AffineGroup
The inclusion of the Euclidean group into the affine automorphism group
This file has two parts.
**Part 1: the inclusion.** The abstract Euclidean group `EuclideanGroup n = ℝⁿ ⋊ O(n)` is included into Mathlib's affine automorphism group as the composite of two monoid homomorphisms
`EuclideanGroup n →* AffineIsometryEquiv ℝ (EuclideanSpace ℝ (Fin n)) _ →* AffineEquiv ℝ _ _`.
* `EuclideanGroup.orthogonalToLinearIsometryEquiv` : an orthogonal matrix as a linear isometry equivalence of `EuclideanSpace ℝ (Fin n)`; the linear ingredient of the first leg. * `EuclideanGroup.toAffineIsometryHom` : the first leg, `⟨t, Q⟩ ↦ (x ↦ Q x + t)`. * `AffineIsometryEquiv.toAffineEquivHom` : the second leg, `AffineIsometryEquiv.toAffineEquiv` as a monoid homomorphism. * `EuclideanGroup.toAffineEquiv` : the composite of the two legs; the result intended for use elsewhere.
**Part 2: strengthening the first leg to an isomorphism.** Every affine isometry of `EuclideanSpace ℝ (Fin n)` is `x ↦ Q x + t` for a unique orthogonal `Q` and translation `t`, so the first leg is in fact a group isomorphism. We record it as `EuclideanGroup.toAffineIsometryMulEquiv`, a `MulEquiv` whose fields are supplied as follows:
* `toFun`, `map_mul'` : reused from `EuclideanGroup.toAffineIsometryHom` in part 1; * `invFun` : built from `EuclideanGroup.linearIsometryEquivToOrthogonal`, the inverse of the linear bridge `orthogonalToLinearIsometryEquiv`; * `left_inv` : from the round trip `orthogonalToLinearIsometryEquiv_left_inv` together with the projection lemma `linearIsometryEquiv_constVAdd_mul`; * `right_inv` : from the round trip `orthogonalToLinearIsometryEquiv_right_inv`.
Part 2 is self-contained; nothing in part 1 depends on it.
Part 1: the inclusion
The chain is: `orthogonalToLinearIsometryEquiv` (linear ingredient) → `toAffineIsometryHom` (first leg) → `AffineIsometryEquiv.toAffineEquivHom` (second leg) → `toAffineEquiv` (the composite).
Part 2: strengthening the first leg to an isomorphism
The first leg `toAffineIsometryHom` is in fact a group isomorphism: every affine isometry of `EuclideanSpace ℝ (Fin n)` is `x ↦ Q x + t` for a unique orthogonal `Q` and translation `t`. The declarations below supply the remaining fields of the `MulEquiv` `toAffineIsometryMulEquiv`, in field order: the `invFun` ingredient, the two lemmas proving `left_inv`, and the lemma proving `right_inv`. Nothing in part 1 depends on this section.
12 declarations
Linear isometry equivalence from an orthogonal matrix
For an orthogonal matrix , this definition provides the corresponding linear isometry equivalence of the Euclidean space to itself. The mapping is defined by the action of the matrix on a vector , given by .
Let denote the orthogonal group of matrices over , and let be the -dimensional Euclidean space. For any orthogonal matrix and any vector , the linear isometry equivalence associated with applied to is equal to the matrix-vector product .
Monoid homomorphism
This definition defines a monoid homomorphism from the Euclidean group to the group of affine isometries of the -dimensional Euclidean space . For an element in the Euclidean group, where is a translation vector and is an orthogonal matrix, the homomorphism maps to the affine isometry defined by .
Decomposition of `toAffineIsometryHom` into translation and linear factors
For any element in the Euclidean group , let be its translation component and be its orthogonal component. The affine isometry associated with , denoted , can be decomposed as the composition of the translation map and the affine isometry induced by the linear transformation . That is, where is the translation by and is the linear isometry corresponding to .
Monoid homomorphism from affine isometries to affine automorphisms of
This definition defines a monoid homomorphism from the group of affine isometries of the -dimensional Euclidean space to its group of affine automorphisms (affine equivalences). Specifically, it bundles the mapping that takes an affine isometry to its underlying affine equivalence as a homomorphism.
Group homomorphism
This definition constructs a group homomorphism from the -dimensional Euclidean group to the group of affine automorphisms (affine equivalences) of the Euclidean space . For an element , where is a translation vector and is an orthogonal transformation, the homomorphism maps it to the affine transformation . This map is the composition of the homomorphism from the Euclidean group to the group of affine isometries and the inclusion of affine isometries into the group of general affine automorphisms.
Orthogonal matrix of a linear isometry
Given a linear isometry equivalence of the -dimensional Euclidean space , this function returns the corresponding orthogonal matrix in by representing with respect to the standard orthonormal basis. This serves as the inverse operation to converting an orthogonal matrix into a linear isometry.
`linearIsometryEquivToOrthogonal` is a left inverse of `orthogonalToLinearIsometryEquiv`
For any orthogonal matrix , let be the linear isometry equivalence of the Euclidean space defined by the mapping . Then the orthogonal matrix obtained by representing with respect to the standard orthonormal basis of is equal to .
The linear component of is
In the -dimensional Euclidean space , let be a linear isometry and be a translation vector. The linear isometry component of the affine isometry formed by composing the linear isometry with the translation by (i.e., the map ) is equal to .
`linearIsometryEquivToOrthogonal` is a right inverse of `orthogonalToLinearIsometryEquiv`
For any linear isometry equivalence of the -dimensional Euclidean space , let be the orthogonal matrix representing with respect to the standard orthonormal basis. Then, the linear isometry equivalence defined by the action of the matrix on vectors (i.e., ) is equal to .
Group isomorphism
This definition establishes a group isomorphism between the Euclidean group , modeled as the semidirect product , and the group of affine isometry equivalences of the -dimensional Euclidean space . For an element , where is a translation vector and is an orthogonal matrix, the isomorphism maps it to the affine isometry . This identifies the Euclidean group as the full group of affine isometries of .
For any element in the Euclidean group , the group isomorphism and the monoid homomorphism yield the same affine isometry. That is, .
