Lorentz.SL2C.rotationZToAxis_one_mul_diagonal_mul_inv
theoremverifiedformalizationimported Lean
Conjugating diag(a, b) by the rotation to the y-axis expresses it in the y-axis basis.
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in open Matrix MatrixGroups in lemma Lorentz.SL2C.rotationZToAxis_one_mul_diagonal_mul_inv (a b : ℂ) : (rotationZToAxis 1).1 * !![a, 0; 0, b] * ((rotationZToAxis 1)⁻¹).1 = !![(a + b) / 2, -Complex.I * (a - b) / 2; Complex.I * (a - b) / 2, (a + b) / 2]
- Formalizes
- Physlib, `Lorentz.SL2C.rotationZToAxis_one_mul_diagonal_mul_inv`
- Lean proof
- By Jinzheng Li, Nathaneal Sajan, Joseph Tooby-Smith, from github.com/leanprover-community/physlib at
e411c6e89692(Copyright (c) 2026 Joseph Tooby-Smith. 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.Lorentz.SL2C.rotationZToAxis_one_mul_diagonal_mul_inv← Lorentz.SL2C.rotationZToAxis_one_mul_diagonal_mul_inv (Physlib/Relativity/SL2C/AxisRotations.lean:100): verbatim
- Verified
- 10 Oct 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 8
- Lorentz.SL2C.rotationZToAxisThe
SL(2,ℂ)rotation carrying thez-axis to axisi. - Lorentz.SL2C.rotationZToAxis_zero_applyThe matrix entries of the rotation carrying the
z-axis to thex-axis. - Lorentz.SL2C.rotationZToAxis_two_applyThe rotation carrying the
z-axis to itself is the identity matrix. - Lorentz.SL2C.rotationZToAxis_one_applyThe matrix entries of the rotation carrying the
z-axis to they-axis. - Lorentz.SL2C.rotationZToAxis_two_inv_applyThe inverse rotation from the
z-axis to itself is the identity matrix. - Lorentz.SL2C.rotationZToAxis_zero_inv_applyThe matrix entries of the inverse rotation from the
x-axis to thez-axis. - Lorentz.SL2C.rotationZToAxis_one_inv_applyThe matrix entries of the inverse rotation from the
y-axis to thez-axis. - QuantumMechanics.OneDimension.HilbertSpace.abs_mul_gaussian_integrableQuantumMechanics.OneDimension.HilbertSpace.abs_mul_gaussian_integrable
- Lorentz.SL2C.rotationZToAxisThe
- Used by 1
- Lorentz.SL2C.boostAxis_eq_conjEvery axis boost is obtained by conjugating the
z-axis boost byrotationZToAxis.
- Lorentz.SL2C.boostAxis_eq_conjEvery axis boost is obtained by conjugating the
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.
set_option autoImplicit true inset_option relaxedAutoImplicit true inopen Matrix MatrixGroups in/-- Conjugating `diag(a, b)` by the rotation to the `y`-axis expresses it in the `y`-axis basis. -/lemma Lorentz.SL2C.rotationZToAxis_one_mul_diagonal_mul_inv (a b : ℂ) : (rotationZToAxis 1).1 * !![a, 0; 0, b] * ((rotationZToAxis 1)⁻¹).1 = !![(a + b) / 2, -Complex.I * (a - b) / 2; Complex.I * (a - b) / 2, (a + b) / 2] := by have hsqrt_ne : (((Real.sqrt 2 : ℝ) : ℂ)) ≠ 0 := by simp ext j k fin_cases j <;> fin_cases k all_goals simp only [Matrix.mul_apply, Fin.sum_univ_two, rotationZToAxis_one_apply, rotationZToAxis_one_inv_apply] simp only [Fin.zero_eta, Fin.isValue, Matrix.smul_apply, of_apply, cons_val', cons_val_zero, cons_val_fin_one, smul_eq_mul, mul_one, cons_val_one, mul_zero, add_zero, zero_add, mul_neg, neg_mul, Fin.mk_one] field_simp norm_num [← Complex.ofReal_pow, Real.sq_sqrt] all_goals ring