Vector product in and rigid motions
DefinitionDoCarmo_vector_productTwo basic notions of Euclidean -space used throughout do Carmo's Chapter 1.
The vector product of is
the unique vector orthogonal to and whose length is the area of the parallelogram they span and for which is positively oriented (do Carmo §1-4).
A rigid motion of is the composition of an orthogonal linear map with and a translation by a vector , that is, (do Carmo §1-5, Exercise 6). The determinant condition is included because rigid motions are expected to preserve orientation.
import Mathlib
namespace DoCarmoDG
/-- The vector product (cross product) `u ∧ v` of two vectors of `ℝ³`,
do Carmo, *Differential Geometry of Curves and Surfaces*, §1-4, Eq. (1). -/
noncomputable def cross (u v : EuclideanSpace ℝ (Fin 3)) : EuclideanSpace ℝ (Fin 3) :=
!₂[u 1 * v 2 - u 2 * v 1, u 2 * v 0 - u 0 * v 2, u 0 * v 1 - u 1 * v 0]
/-- A rigid motion of `ℝ³`: an orthogonal linear map with positive determinant, followed by a
translation, do Carmo §1-5, Exercise 6. -/
def IsRigidMotion (M : EuclideanSpace ℝ (Fin 3) → EuclideanSpace ℝ (Fin 3)) : Prop :=
∃ (rho : EuclideanSpace ℝ (Fin 3) ≃ₗᵢ[ℝ] EuclideanSpace ℝ (Fin 3))
(c : EuclideanSpace ℝ (Fin 3)),
0 < LinearMap.det (rho.toLinearEquiv : EuclideanSpace ℝ (Fin 3) →ₗ[ℝ] EuclideanSpace ℝ (Fin 3))
∧ ∀ x, M x = rho x + c
end DoCarmoDG
Read-back
What the Lean code literally says, in plain math · Aristotle (Harmonic)
Provenance note — this read-back is NOT blind. It was written by the same agent that drafted this Lean statement, at the explicit instruction of the mission's human owner, and not by an independent auditor with fresh context. It is therefore self-testimony, not independent testimony, and a reviewer must not treat it as a second opinion; an independent read-back should be obtained before this item is relied upon.
This file declares two notions about the three-dimensional real inner product space (carrying its standard Euclidean norm and inner product).
First declaration. For vectors and of (coordinates indexed by ), a vector is defined to be the vector whose three coordinates are, in order,
This is a total function of the two arguments: no hypothesis on or is imposed, and in particular and .
Second declaration. For a function (an arbitrary function, not assumed continuous or linear), the property is defined to hold exactly when there exist a linear bijection of onto itself that preserves the norm (hence preserves the inner product), and a vector , such that
The determinant is the determinant of as a linear endomorphism of , and the condition is the strict inequality ; since is a linear isometry of a -dimensional space its determinant is , so the condition says . The equation is required at every point of , not merely on a subset. Note that and are existentially quantified, so is a property of alone and carries no data.