The areas / V16. Normed spaces and functional analysis
Mathlib.Analysis.InnerProductSpace.Orientation
29 declarations. Mathlib docs · Source
theorem Orientation.volumeForm.congr_simp E1 #
∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : InnerProductSpace ℝ E] {n : ℕ}
[_i : Fact (Module.finrank ℝ E = n)] (o o_1 : Orientation ℝ E (Fin n)), o = o_1 → o.volumeForm = o_1.volumeForm
theorem Orientation.finOrthonormalBasis.congr_simp E1 #
∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : InnerProductSpace ℝ E] {n : ℕ} (hn : 0 < n)
(h : Module.finrank ℝ E = n) (x x_1 : Orientation ℝ E (Fin n)),
x = x_1 → Orientation.finOrthonormalBasis hn h x = Orientation.finOrthonormalBasis hn h x_1
theorem OrthonormalBasis.adjustToOrientation.congr_simp E1 #
∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : InnerProductSpace ℝ E] {ι : Type u_2} [inst_2 : Fintype ι]
[inst_3 : DecidableEq ι] (e e_1 : OrthonormalBasis ι ℝ E),
e = e_1 →
∀ (x x_1 : Orientation ℝ E ι),
x = x_1 → ∀ [inst_4 : Nonempty ι], e.adjustToOrientation x = e_1.adjustToOrientation x_1
theorem OrthonormalBasis.det_to_matrix_orthonormalBasis_of_same_orientation E1 #
∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : InnerProductSpace ℝ E] {ι : Type u_2} [inst_2 : Fintype ι]
[inst_3 : DecidableEq ι] (e f : OrthonormalBasis ι ℝ E),
e.toBasis.orientation = f.toBasis.orientation → e.toBasis.det ⇑f = 1
The change-of-basis matrix between two orthonormal bases with the same orientation has determinant 1.
theorem OrthonormalBasis.det_to_matrix_orthonormalBasis_of_opposite_orientation E1 #
∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : InnerProductSpace ℝ E] {ι : Type u_2} [inst_2 : Fintype ι]
[inst_3 : DecidableEq ι] (e f : OrthonormalBasis ι ℝ E),
e.toBasis.orientation ≠ f.toBasis.orientation → e.toBasis.det ⇑f = -1
The change-of-basis matrix between two orthonormal bases with the opposite orientations has determinant -1.
theorem OrthonormalBasis.same_orientation_iff_det_eq_det E1 #
∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : InnerProductSpace ℝ E] {ι : Type u_2} [inst_2 : Fintype ι]
[inst_3 : DecidableEq ι] {e f : OrthonormalBasis ι ℝ E},
e.toBasis.det = f.toBasis.det ↔ e.toBasis.orientation = f.toBasis.orientation
Two orthonormal bases with the same orientation determine the same "determinant" top-dimensional
form on E, and conversely.
theorem OrthonormalBasis.det_eq_neg_det_of_opposite_orientation E1 #
∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : InnerProductSpace ℝ E] {ι : Type u_2} [inst_2 : Fintype ι]
[inst_3 : DecidableEq ι] (e f : OrthonormalBasis ι ℝ E),
e.toBasis.orientation ≠ f.toBasis.orientation → e.toBasis.det = -f.toBasis.det
Two orthonormal bases with opposite orientations determine opposite "determinant"
top-dimensional forms on E.
theorem OrthonormalBasis.orthonormal_adjustToOrientation E1 #
∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : InnerProductSpace ℝ E] {ι : Type u_2} [inst_2 : Fintype ι]
[inst_3 : DecidableEq ι] (e : OrthonormalBasis ι ℝ E) (x : Orientation ℝ E ι) [inst_4 : Nonempty ι],
Orthonormal ℝ ⇑(e.toBasis.adjustToOrientation x)
OrthonormalBasis.adjustToOrientation, applied to an orthonormal basis, preserves the
property of orthonormality.
def OrthonormalBasis.adjustToOrientation E1 #
{E : Type u_1} →
[inst : NormedAddCommGroup E] →
[inst_1 : InnerProductSpace ℝ E] →
{ι : Type u_2} →
[inst_2 : Fintype ι] →
[DecidableEq ι] → OrthonormalBasis ι ℝ E → Orientation ℝ E ι → [Nonempty ι] → OrthonormalBasis ι ℝ E
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.
theorem OrthonormalBasis.toBasis_adjustToOrientation E1 #
∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : InnerProductSpace ℝ E] {ι : Type u_2} [inst_2 : Fintype ι]
[inst_3 : DecidableEq ι] (e : OrthonormalBasis ι ℝ E) (x : Orientation ℝ E ι) [inst_4 : Nonempty ι],
(e.adjustToOrientation x).toBasis = e.toBasis.adjustToOrientation x
theorem OrthonormalBasis.orientation_adjustToOrientation E0 #
∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : InnerProductSpace ℝ E] {ι : Type u_2} [inst_2 : Fintype ι]
[inst_3 : DecidableEq ι] (e : OrthonormalBasis ι ℝ E) (x : Orientation ℝ E ι) [inst_4 : Nonempty ι],
(e.adjustToOrientation x).toBasis.orientation = x
adjustToOrientation gives an orthonormal basis with the required orientation.
theorem OrthonormalBasis.adjustToOrientation_apply_eq_or_eq_neg E1 #
∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : InnerProductSpace ℝ E] {ι : Type u_2} [inst_2 : Fintype ι]
[inst_3 : DecidableEq ι] (e : OrthonormalBasis ι ℝ E) (x : Orientation ℝ E ι) [inst_4 : Nonempty ι] (i : ι),
(e.adjustToOrientation x) i = e i ∨ (e.adjustToOrientation x) i = -e i
Every basis vector from adjustToOrientation is either that from the original basis or its
negation.
theorem OrthonormalBasis.det_adjustToOrientation E1 #
∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : InnerProductSpace ℝ E] {ι : Type u_2} [inst_2 : Fintype ι]
[inst_3 : DecidableEq ι] (e : OrthonormalBasis ι ℝ E) (x : Orientation ℝ E ι) [inst_4 : Nonempty ι],
(e.adjustToOrientation x).toBasis.det = e.toBasis.det ∨ (e.adjustToOrientation x).toBasis.det = -e.toBasis.det
theorem OrthonormalBasis.abs_det_adjustToOrientation E1 #
∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : InnerProductSpace ℝ E] {ι : Type u_2} [inst_2 : Fintype ι]
[inst_3 : DecidableEq ι] (e : OrthonormalBasis ι ℝ E) (x : Orientation ℝ E ι) [inst_4 : Nonempty ι] (v : ι → E),
|(e.adjustToOrientation x).toBasis.det v| = |e.toBasis.det v|
def Orientation.finOrthonormalBasis E1 #
{E : Type u_1} →
[inst : NormedAddCommGroup E] →
[inst_1 : InnerProductSpace ℝ E] →
{n : ℕ} → 0 < n → Module.finrank ℝ E = n → Orientation ℝ E (Fin n) → OrthonormalBasis (Fin n) ℝ E
An orthonormal basis, indexed by Fin n, with the given orientation.
theorem Orientation.finOrthonormalBasis_orientation E0 #
∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : InnerProductSpace ℝ E] {n : ℕ} (hn : 0 < n)
(h : Module.finrank ℝ E = n) (x : Orientation ℝ E (Fin n)),
(Orientation.finOrthonormalBasis hn h x).toBasis.orientation = x
Orientation.finOrthonormalBasis gives a basis with the required orientation.
def Orientation.volumeForm E1 #
{E : Type u_1} →
[inst : NormedAddCommGroup E] →
[inst_1 : InnerProductSpace ℝ E] →
{n : ℕ} → [_i : Fact (Module.finrank ℝ E = n)] → Orientation ℝ E (Fin n) → E [⋀^Fin n]→ₗ[ℝ] ℝ
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.
theorem Orientation.volumeForm_zero_pos E0 #
∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : InnerProductSpace ℝ E] [_i : Fact (Module.finrank ℝ E = 0)],
positiveOrientation.volumeForm = AlternatingMap.constLinearEquivOfIsEmpty 1
theorem Orientation.volumeForm_zero_neg E1 #
∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : InnerProductSpace ℝ E] [_i : Fact (Module.finrank ℝ E = 0)],
(-positiveOrientation).volumeForm = -AlternatingMap.constLinearEquivOfIsEmpty 1
theorem Orientation.volumeForm_robust E1 #
∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : InnerProductSpace ℝ E] {n : ℕ}
[_i : Fact (Module.finrank ℝ E = n)] (o : Orientation ℝ E (Fin n)) (b : OrthonormalBasis (Fin n) ℝ E),
b.toBasis.orientation = o → o.volumeForm = b.toBasis.det
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.
theorem Orientation.volumeForm_robust_neg E1 #
∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : InnerProductSpace ℝ E] {n : ℕ}
[_i : Fact (Module.finrank ℝ E = n)] (o : Orientation ℝ E (Fin n)) (b : OrthonormalBasis (Fin n) ℝ E),
b.toBasis.orientation ≠ o → o.volumeForm = -b.toBasis.det
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.
theorem Orientation.volumeForm_neg_orientation E0 #
∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : InnerProductSpace ℝ E] {n : ℕ}
[_i : Fact (Module.finrank ℝ E = n)] (o : Orientation ℝ E (Fin n)), (-o).volumeForm = -o.volumeForm
theorem Orientation.volumeForm_robust' E1 #
∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : InnerProductSpace ℝ E] {n : ℕ}
[_i : Fact (Module.finrank ℝ E = n)] (o : Orientation ℝ E (Fin n)) (b : OrthonormalBasis (Fin n) ℝ E) (v : Fin n → E),
|o.volumeForm v| = |b.toBasis.det v|
theorem Orientation.abs_volumeForm_apply_le E1 #
∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : InnerProductSpace ℝ E] {n : ℕ}
[_i : Fact (Module.finrank ℝ E = n)] (o : Orientation ℝ E (Fin n)) (v : Fin n → E), |o.volumeForm v| ≤ ∏ i, ‖v i‖
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.
theorem Orientation.volumeForm_apply_le E1 #
∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : InnerProductSpace ℝ E] {n : ℕ}
[_i : Fact (Module.finrank ℝ E = n)] (o : Orientation ℝ E (Fin n)) (v : Fin n → E), o.volumeForm v ≤ ∏ i, ‖v i‖
theorem Orientation.abs_volumeForm_apply_of_pairwise_orthogonal E1 #
∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : InnerProductSpace ℝ E] {n : ℕ}
[_i : Fact (Module.finrank ℝ E = n)] (o : Orientation ℝ E (Fin n)) {v : Fin n → E},
(Pairwise fun i j ↦ inner ℝ (v i) (v j) = 0) → |o.volumeForm v| = ∏ i, ‖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.
theorem Orientation.abs_volumeForm_apply_of_orthonormal E1 #
∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : InnerProductSpace ℝ E] {n : ℕ}
[_i : Fact (Module.finrank ℝ E = n)] (o : Orientation ℝ E (Fin n)) (v : OrthonormalBasis (Fin n) ℝ E),
|o.volumeForm ⇑v| = 1
The output of the volume form of an oriented real inner product space E when evaluated on an
orthonormal basis is ±1.
theorem Orientation.volumeForm_map E1 #
∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : InnerProductSpace ℝ E] {n : ℕ}
[_i : Fact (Module.finrank ℝ E = n)] (o : Orientation ℝ E (Fin n)) {F : Type u_2} [inst_2 : NormedAddCommGroup F]
[inst_3 : InnerProductSpace ℝ F] [inst_4 : Fact (Module.finrank ℝ F = n)] (φ : E ≃ₗᵢ[ℝ] F) (x : Fin n → F),
((Orientation.map (Fin n) φ.toLinearEquiv) o).volumeForm x = o.volumeForm (⇑φ.symm ∘ x)
theorem Orientation.volumeForm_comp_linearIsometryEquiv E1 #
∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : InnerProductSpace ℝ E] {n : ℕ}
[_i : Fact (Module.finrank ℝ E = n)] (o : Orientation ℝ E (Fin n)) (φ : E ≃ₗᵢ[ℝ] E),
0 < LinearMap.det ↑φ.toLinearEquiv → ∀ (x : Fin n → E), o.volumeForm (⇑φ ∘ x) = o.volumeForm x
The volume form is invariant under pullback by a positively-oriented isometric automorphism.