AFTD Auto-Formalizing Theoretical Domains

Lorentz.SL2C.rotationZToAxis_two_mul_diagonal_mul_inv

theoremverifiedformalizationimported Lean

Conjugating diag(a, b) by the identity rotation leaves it unchanged.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open Matrix MatrixGroups in
lemma Lorentz.SL2C.rotationZToAxis_two_mul_diagonal_mul_inv (a b : ℂ) :
    (rotationZToAxis 2).1 * !![a, 0; 0, b] * ((rotationZToAxis 2)⁻¹).1 =
      !![a, 0; 0, b]
Formalizes
Physlib, `Lorentz.SL2C.rotationZToAxis_two_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.
Verified
10 Oct 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 7
Used by 1

Lean source view module on GitHub

set_option autoImplicit true inset_option relaxedAutoImplicit true inopen Matrix MatrixGroups in/-- Conjugating `diag(a, b)` by the identity rotation leaves it unchanged. -/lemma Lorentz.SL2C.rotationZToAxis_two_mul_diagonal_mul_inv (a b : ℂ) :    (rotationZToAxis 2).1 * !![a, 0; 0, b] * ((rotationZToAxis 2)⁻¹).1 =      !![a, 0; 0, b] := by  ext j k  fin_cases j <;> fin_cases k <;>    simp only [Matrix.mul_apply, Fin.sum_univ_two, rotationZToAxis_two_apply,      rotationZToAxis_two_inv_apply] <;>    simp [Matrix.one_apply]
See it in the graphDiscuss this resultChallenge it