Physlib

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

definition

Linear isometry equivalence from an orthogonal matrix QQ

For an orthogonal matrix QO(n)Q \in \text{O}(n), this definition provides the corresponding linear isometry equivalence of the Euclidean space Rn\mathbb{R}^n to itself. The mapping is defined by the action of the matrix QQ on a vector xRnx \in \mathbb{R}^n, given by xQxx \mapsto Qx.

theorem

orthogonalToLinearIsometryEquiv(Q)(x)=Qx\text{orthogonalToLinearIsometryEquiv}(Q)(x) = Qx

Let O(n)O(n) denote the orthogonal group of n×nn \times n matrices over R\mathbb{R}, and let Rn\mathbb{R}^n be the nn-dimensional Euclidean space. For any orthogonal matrix QO(n)Q \in O(n) and any vector xRnx \in \mathbb{R}^n, the linear isometry equivalence associated with QQ applied to xx is equal to the matrix-vector product QxQx.

definition

Monoid homomorphism E(n)Isom(Rn)E(n) \to \text{Isom}(\mathbb{R}^n)

This definition defines a monoid homomorphism from the Euclidean group E(n)RnO(n)E(n) \cong \mathbb{R}^n \rtimes O(n) to the group of affine isometries of the nn-dimensional Euclidean space Rn\mathbb{R}^n. For an element A=(t,Q)A = (t, Q) in the Euclidean group, where tRnt \in \mathbb{R}^n is a translation vector and QO(n)Q \in O(n) is an orthogonal matrix, the homomorphism maps AA to the affine isometry defined by xQx+tx \mapsto Qx + t.

theorem

Decomposition of `toAffineIsometryHom` into translation and linear factors

For any element AA in the Euclidean group E(n)E(n), let t=A.translationRnt = A.\text{translation} \in \mathbb{R}^n be its translation component and Q=A.linearO(n)Q = A.\text{linear} \in O(n) be its orthogonal component. The affine isometry associated with AA, denoted Ψ(A)\Psi(A), can be decomposed as the composition of the translation map xx+tx \mapsto x + t and the affine isometry induced by the linear transformation xQxx \mapsto Qx. That is, Ψ(A)=TtLQ\Psi(A) = T_t \circ L_Q where TtT_t is the translation by tt and LQL_Q is the linear isometry corresponding to QQ.

definition

Monoid homomorphism from affine isometries to affine automorphisms of Rn\mathbb{R}^n

This definition defines a monoid homomorphism from the group of affine isometries of the nn-dimensional Euclidean space Rn\mathbb{R}^n to its group of affine automorphisms (affine equivalences). Specifically, it bundles the mapping that takes an affine isometry ee to its underlying affine equivalence eequive_{\text{equiv}} as a homomorphism.

definition

Group homomorphism E(n)Aff(Rn)E(n) \to \text{Aff}(\mathbb{R}^n)

This definition constructs a group homomorphism from the nn-dimensional Euclidean group E(n)RnO(n)E(n) \cong \mathbb{R}^n \rtimes O(n) to the group of affine automorphisms (affine equivalences) of the Euclidean space Rn\mathbb{R}^n. For an element (t,Q)E(n)(t, Q) \in E(n), where tRnt \in \mathbb{R}^n is a translation vector and QO(n)Q \in O(n) is an orthogonal transformation, the homomorphism maps it to the affine transformation xQx+tx \mapsto Qx + t. 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.

definition

Orthogonal matrix of a linear isometry LL

Given a linear isometry equivalence LL of the nn-dimensional Euclidean space Rn\mathbb{R}^n, this function returns the corresponding n×nn \times n orthogonal matrix in O(n)O(n) by representing LL with respect to the standard orthonormal basis. This serves as the inverse operation to converting an orthogonal matrix into a linear isometry.

theorem

`linearIsometryEquivToOrthogonal` is a left inverse of `orthogonalToLinearIsometryEquiv`

For any n×nn \times n orthogonal matrix QO(n)Q \in O(n), let LL be the linear isometry equivalence of the Euclidean space Rn\mathbb{R}^n defined by the mapping xQxx \mapsto Qx. Then the orthogonal matrix obtained by representing LL with respect to the standard orthonormal basis of Rn\mathbb{R}^n is equal to QQ.

theorem

The linear component of xL(x)+tx \mapsto L(x) + t is LL

In the nn-dimensional Euclidean space Rn\mathbb{R}^n, let L:RnRnL: \mathbb{R}^n \to \mathbb{R}^n be a linear isometry and tRnt \in \mathbb{R}^n be a translation vector. The linear isometry component of the affine isometry formed by composing the linear isometry LL with the translation by tt (i.e., the map xL(x)+tx \mapsto L(x) + t) is equal to LL.

theorem

`linearIsometryEquivToOrthogonal` is a right inverse of `orthogonalToLinearIsometryEquiv`

For any linear isometry equivalence LL of the nn-dimensional Euclidean space Rn\mathbb{R}^n, let QQ be the n×nn \times n orthogonal matrix representing LL with respect to the standard orthonormal basis. Then, the linear isometry equivalence defined by the action of the matrix QQ on vectors (i.e., xQxx \mapsto Qx) is equal to LL.

definition

Group isomorphism E(n)Isom(Rn)E(n) \cong \text{Isom}(\mathbb{R}^n)

This definition establishes a group isomorphism between the Euclidean group E(n)E(n), modeled as the semidirect product RnO(n)\mathbb{R}^n \rtimes O(n), and the group of affine isometry equivalences of the nn-dimensional Euclidean space Rn\mathbb{R}^n. For an element (t,Q)E(n)(t, Q) \in E(n), where tRnt \in \mathbb{R}^n is a translation vector and QO(n)Q \in O(n) is an orthogonal matrix, the isomorphism maps it to the affine isometry xQx+tx \mapsto Qx + t. This identifies the Euclidean group as the full group of affine isometries of Rn\mathbb{R}^n.

theorem

toAffineIsometryMulEquiv(A)=toAffineIsometryHom(A)\text{toAffineIsometryMulEquiv}(A) = \text{toAffineIsometryHom}(A)

For any element AA in the Euclidean group E(n)E(n), the group isomorphism toAffineIsometryMulEquiv:E(n)Isom(Rn)\text{toAffineIsometryMulEquiv} : E(n) \cong \text{Isom}(\mathbb{R}^n) and the monoid homomorphism toAffineIsometryHom:E(n)Isom(Rn)\text{toAffineIsometryHom} : E(n) \to \text{Isom}(\mathbb{R}^n) yield the same affine isometry. That is, toAffineIsometryMulEquiv(A)=toAffineIsometryHom(A)\text{toAffineIsometryMulEquiv}(A) = \text{toAffineIsometryHom}(A).