Matrix.crossProductMatrix
defimported Lean
The hat map [ω]ₓ: the skew-symmetric 3 × 3 matrix acting as the cross product with ω, i.e. [ω]ₓ *ᵥ v = ω ⨯₃ v.
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in def Matrix.crossProductMatrix (ω : Fin 3 → ℝ) : Matrix (Fin 3) (Fin 3) ℝ
- Defined in
- Physlib, `Matrix.crossProductMatrix`
- Lean proof
- By Giuseppe Sorge, from github.com/leanprover-community/physlib at
e411c6e89692(Copyright (c) 2026 Giuseppe Sorge. All rights reserved, Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.34.1.Matrix.crossProductMatrix← Matrix.crossProductMatrix (Physlib/Mathematics/Modules/CrossProductMatrix.lean:28): verbatim
- Verified
- 09 Oct 2026
- Axioms
- none listed
Lean source view module on GitHub
set_option autoImplicit true in set_option relaxedAutoImplicit true in /-- The hat map `[ω]ₓ`: the skew-symmetric `3 × 3` matrix acting as the cross product with `ω`, i.e. `[ω]ₓ *ᵥ v = ω ⨯₃ v`. -/ def Matrix.crossProductMatrix (ω : Fin 3 → ℝ) : Matrix (Fin 3) (Fin 3) ℝ := !![0, -ω 2, ω 1; ω 2, 0, -ω 0; -ω 1, ω 0, 0]