Physlib.Mathematics.CrossProduct
The cross product of three-dimensional vectors
Identities for the cross product `⨯₃` on `Fin 3 → ℝ`, beyond those already in Mathlib, used in the formalisation of rigid-body dynamics.
3 declarations
For any two vectors and any index , the -th component of the triple cross product is given by the identity: where corresponds to the squared magnitude and corresponds to the dot product .
Let be a commutative ring. For any two three-dimensional vectors , the dot product of with the vector triple product satisfies the identity: In the specific case where , this identity shows that contracting with yields the squared length of the cross product, .
The squared length is a smooth function of
For a fixed vector , the function defined by is smooth (of class ). The expression represents the squared magnitude of the cross product of and .
