Orientations of real inner product spaces. #
This file provides definitions and proves lemmas about orientations of real inner product spaces.
Main definitions #
OrthonormalBasis.adjustToOrientation
takes an orthonormal basis and an orientation, and returns an orthonormal basis with that orientation: either the original orthonormal basis, or one constructed by negating a single (arbitrary) basis vector.Orientation.finOrthonormalBasis
is an orthonormal basis, indexed byFin n
, with the given orientation.Orientation.volumeForm
is a nonvanishing top-dimensional alternating form on an oriented real inner product space, uniquely defined by compatibility with the orientation and inner product structure.
Main theorems #
Orientation.volumeForm_apply_le
states that the result of applying the volume form to a set ofn
vectors, wheren
is the dimension the inner product space, is bounded by the product of the lengths of the vectors.Orientation.abs_volumeForm_apply_of_pairwise_orthogonal
states that the result of applying the volume form to a set ofn
orthogonal vectors, wheren
is the dimension the inner product space, is equal up to sign to the product of the lengths of the vectors.
The change-of-basis matrix between two orthonormal bases with the same orientation has determinant 1.
The change-of-basis matrix between two orthonormal bases with the opposite orientations has determinant -1.
Two orthonormal bases with the same orientation determine the same "determinant" top-dimensional
form on E
, and conversely.
Two orthonormal bases with opposite orientations determine opposite "determinant"
top-dimensional forms on E
.
OrthonormalBasis.adjustToOrientation
, applied to an orthonormal basis, preserves the
property of orthonormality.
Given an orthonormal basis and an orientation, return an orthonormal basis giving that orientation: either the original basis, or one constructed by negating a single (arbitrary) basis vector.
Equations
- e.adjustToOrientation x = (e.toBasis.adjustToOrientation x).toOrthonormalBasis ⋯
Instances For
adjustToOrientation
gives an orthonormal basis with the required orientation.
Every basis vector from adjustToOrientation
is either that from the original basis or its
negation.
An orthonormal basis, indexed by Fin n
, with the given orientation.
Equations
- Orientation.finOrthonormalBasis hn h x = ((stdOrthonormalBasis ℝ E).reindex (finCongr h)).adjustToOrientation x
Instances For
Orientation.finOrthonormalBasis
gives a basis with the required orientation.
The volume form on an oriented real inner product space, a nonvanishing top-dimensional alternating form uniquely defined by compatibility with the orientation and inner product structure.
Equations
Instances For
The volume form on an oriented real inner product space can be evaluated as the determinant with respect to any orthonormal basis of the space compatible with the orientation.
The volume form on an oriented real inner product space can be evaluated as the determinant with respect to any orthonormal basis of the space compatible with the orientation.
Let v
be an indexed family of n
vectors in an oriented n
-dimensional real inner
product space E
. The output of the volume form of E
when evaluated on v
is bounded in absolute
value by the product of the norms of the vectors v i
.
Let v
be an indexed family of n
orthogonal vectors in an oriented n
-dimensional
real inner product space E
. The output of the volume form of E
when evaluated on v
is, up to
sign, the product of the norms of the vectors v i
.
The output of the volume form of an oriented real inner product space E
when evaluated on an
orthonormal basis is ±1.
The volume form is invariant under pullback by a positively-oriented isometric automorphism.