AFTD Auto-Formalizing Theoretical Domains

Lorentz.SL2C.rotationZToAxis

defimported Lean

The SL(2,ℂ) rotation carrying the z-axis to axis i.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open Matrix MatrixGroups in
noncomputable def Lorentz.SL2C.rotationZToAxis : Fin 3 → SL(2,ℂ)
Defined in
Physlib, `Lorentz.SL2C.rotationZToAxis`
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.
Verified
10 Oct 2026
Axioms
none listed
Built on 2
Used by 11

Lean source view module on GitHub

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open Matrix MatrixGroups in
/-- The `SL(2,ℂ)` rotation carrying the `z`-axis to axis `i`. -/
noncomputable def Lorentz.SL2C.rotationZToAxis : Fin 3 → SL(2,ℂ)
  | 0 =>
      ⟨(((Real.sqrt 2 : ℝ) : ℂ))⁻¹ • !![1, -1; 1, 1], by
        rw [Matrix.det_smul, Matrix.det_fin_two_of, Fintype.card_fin, inv_pow]
        norm_num [← Complex.ofReal_pow, Real.sq_sqrt]⟩
  | 1 =>
      ⟨(((Real.sqrt 2 : ℝ) : ℂ))⁻¹ • !![1, Complex.I; Complex.I, 1], by
        rw [Matrix.det_smul, Matrix.det_fin_two_of, Fintype.card_fin, inv_pow,
          Complex.I_mul_I]
        norm_num [← Complex.ofReal_pow, Real.sq_sqrt]⟩
  | 2 => 1
See it in the graphDiscuss this resultChallenge it