orthogonal_three_determinant_twist_special
The determinant of an orthogonal real 3 by 3 matrix is a sign, and multiplying the matrix by that sign yields a special orthogonal matrix.
Statement
theorem orthogonal_three_determinant_twist_special (O : Matrix (Fin 3) (Fin 3) ℝ) (hO : O.transpose * O = 1) : let δ := O.det; δ ^ 2 = 1 ∧ (δ • O).transpose * (δ • O) = 1 ∧ (δ • O).det = 1
- Source
- arXiv:2611.19367v1, Lemma 3, determinant sign in the spinor lift.
- Verified
- 18 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext
The proof, explained
Taking the determinant of both sides of the orthogonality relation Oᵀ O = I shows that (det O)² = 1, so δ = det O is ±1. Multiplying O by δ preserves orthogonality because the scalar factors out as δ² (Oᵀ O) = 1 · I = I. Finally, because O is a 3 × 3 matrix, the scalar factors out of the determinant as δ³ det O = (det O)⁴ = ((det O)²)² = 1, ensuring that the twisted matrix δ O lies in SO(3).
The determinant of O satisfies (det O)^2 = 1.
Unfolding the abbreviation δ = det O, we first show that (det O)^2 = 1. Applying the determinant to both sides of the orthogonality assumption Oᵀ * O = 1 via congrArg gives det(Oᵀ * O) = det 1. Expanding the determinant of the product (Matrix.det_mul), using the transpose invariance of the determinant (Matrix.det_transpose), and noting that the identity matrix has determinant 1 (Matrix.det_one), we obtain (det O) * (det O) = 1, which by pow_two is (det O)^2 = 1.
uses
congrArg,Matrix.det_mul,Matrix.det_transpose,Matrix.det_one,pow_twodsimp only have hdet : O.det ^ 2 = 1 := by have h := congrArg Matrix.det hO simp only [Matrix.det_mul, Matrix.det_transpose, Matrix.det_one] at h simpa [pow_two] using h
The first condition, δ^2 = 1, holds.
Splitting the three-part conjunction with constructor, the first conjunct δ^2 = 1 is settled directly by the established fact (det O)^2 = 1.
constructor · exact hdet
The scaled matrix δ O is orthogonal: (δ O)ᵀ * (δ O) = 1.
Splitting the remaining conjunction, we establish orthogonality for δ O. Distributing the transpose over the scalar factor (Matrix.transpose_smul) and pulling both scalar factors outside the matrix product (Matrix.smul_mul, Matrix.mul_smul) rewrites (δ O)ᵀ * (δ O) as δ • (δ • (Oᵀ * O)). Substituting Oᵀ * O = 1, combining the scalar multiplications into (δ * δ) • 1 = δ^2 • 1 (smul_smul, pow_two), and substituting δ^2 = 1, this simplifies to 1 • 1 = 1 (one_smul).
uses
Matrix.transpose_smul,Matrix.smul_mul,Matrix.mul_smul,smul_smul,pow_two,one_smul· constructor · simp only [Matrix.transpose_smul, Matrix.smul_mul, Matrix.mul_smul] rw [hO, smul_smul, ← pow_two, hdet, one_smul]
The determinant of δ O is 1, making δ O a special orthogonal matrix.
Factoring the scalar out of the determinant of the 3 by 3 matrix via Matrix.det_smul gives det(δ O) = δ^3 * det O, since the dimension of Fin 3 is 3 (Fintype.card_fin). Because δ = det O, this expression is (det O)^3 * det O = (det O)^4. Decomposing 4 as 2 + 2 and using pow_add splits (det O)^4 into (det O)^2 * (det O)^2. Since (det O)^2 = 1, both factors evaluate to 1, leaving 1 * 1 = 1 (one_mul).
uses
Matrix.det_smul,Fintype.card_fin,pow_add,one_mul· rw [Matrix.det_smul] simp only [Fintype.card_fin] calc O.det ^ 3 * O.det = O.det ^ 4 := by ring _ = 1 := by rw [show (4 : Nat) = 2 + 2 by norm_num, pow_add, hdet, one_mul]
congrArg- applying a function to equal inputs produces equal outputs
Matrix.det_mul- the determinant of a product of square matrices is the product of their determinants
Matrix.det_transpose- the determinant of the transpose of a matrix is equal to the determinant of the matrix
Matrix.det_one- the determinant of the identity matrix is 1
pow_two- an element raised to the second power equals the element multiplied by itself
Matrix.transpose_smul- the transpose of a scalar multiple of a matrix is the scalar multiple of its transpose
Matrix.smul_mul- a scalar multiplication on the left factor of a matrix product can be pulled outside the product
Matrix.mul_smul- a scalar multiplication on the right factor of a matrix product can be pulled outside the product
smul_smul- successive scalar multiplications correspond to scalar multiplication by the product of the scalars
one_smul- scalar multiplication by 1 is the identity
Matrix.det_smul- scaling an n by n matrix by a scalar c multiplies its determinant by c to the power n
Fintype.card_fin- the finite type Fin n of standard n elements has cardinality n
pow_add- a power with an exponent sum factors as a product of powers
one_mul- multiplying 1 by an element leaves the element unchanged
Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.
Lean source view module on GitHub
Choose a tactic — a marked line — to see the goals Lean had before and after it, as in Lean’s infoview. Step with ← → or j k.
theorem orthogonal_three_determinant_twist_special (O : Matrix (Fin 3) (Fin 3) ℝ) (hO : O.transpose * O = 1) : let δ := O.det; δ ^ 2 = 1 ∧ (δ • O).transpose * (δ • O) = 1 ∧ (δ • O).det = 1 := by dsimp only have hdet : O.det ^ 2 = 1 := by have h := congrArg Matrix.det hO simp only [Matrix.det_mul, Matrix.det_transpose, Matrix.det_one] at h simpa [pow_two] using h constructor · exact hdet · constructor · simp only [Matrix.transpose_smul, Matrix.smul_mul, Matrix.mul_smul] rw [hO, smul_smul, ← pow_two, hdet, one_smul] · rw [Matrix.det_smul] simp only [Fintype.card_fin] calc O.det ^ 3 * O.det = O.det ^ 4 := by ring _ = 1 := by rw [show (4 : Nat) = 2 + 2 by norm_num, pow_add, hdet, one_mul]