Orientations of real inner product spaces. #
THIS FILE IS SYNCHRONIZED WITH MATHLIB4. Any changes to this file require a corresponding PR to mathlib4.
This file provides definitions and proves lemmas about orientations of real inner product spaces.
Main definitions #
orthonormal_basis.adjust_to_orientation
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.fin_orthonormal_basis
is an orthonormal basis, indexed byfin n
, with the given orientation.orientation.volume_form
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.volume_form_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_volume_form_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
.
orthonormal_basis.adjust_to_orientation
, 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
adjust_to_orientation
gives an orthonormal basis with the required orientation.
Every basis vector from adjust_to_orientation
is either that from the original basis or its
negation.
An orthonormal basis, indexed by fin n
, with the given orientation.
Equations
- orientation.fin_orthonormal_basis hn h x = ((std_orthonormal_basis ℝ E).reindex (fin_congr h)).adjust_to_orientation x
orientation.fin_orthonormal_basis
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
- o.volume_form = n.cases_on (λ [_i : fact (fdim E = 0)] (o : orientation ℝ E (fin 0)), let opos : alternating_map ℝ E ℝ (fin 0) := alternating_map.const_of_is_empty ℝ E (fin 0) 1 in _.by_cases (λ (_x : o = module.oriented.positive_orientation), opos) (λ (_x : o = -module.oriented.positive_orientation), -opos)) (λ (n : ℕ) [_i : fact (fdim E = n.succ)] (o : orientation ℝ E (fin n.succ)), (orientation.fin_orthonormal_basis _ _ o).to_basis.det) o
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.