AFTD Auto-Formalizing Theoretical Domains

phaseShiftRelation_trans

theoremverifiedformalizationimported Lean

The relation PhaseShiftRelation is transitive.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open Matrix Complex in
lemma phaseShiftRelation_trans {U V W : unitaryGroup (Fin 3) ℂ} :
    PhaseShiftRelation U V → PhaseShiftRelation V W → PhaseShiftRelation U W
Formalizes
Physlib, `phaseShiftRelation_trans`
Lean proof
By Joseph Tooby-Smith, from github.com/leanprover-community/physlib at e411c6e89692 (Copyright (c) 2024 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
09 Oct 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 6
  • phaseShift_coe_matrixThe underlying matrix of the phase-shift element of the unitary group is the phase-shift matrix.
  • PhaseShiftRelationThe relation on unitary matrices (CKM matrices) satisfied if two unitary matrices are related by phase shifts of quarks.
  • phaseShiftMatrixGiven three real numbers a b c the complex matrix with exp (I * a) etc on the leading diagonal.
  • phaseShiftMatrix_mulThe multiple of two phase shift matrices is equal to the phase shift matrix with added phases.
  • phaseShiftGiven three real numbers a b c the unitary matrix with exp (I * a) etc on the leading diagonal.
  • orth_inter_eq_orth_sub_imageOrthogonal complement of a subspace, intersected with a support submodule. Let $p$ be a prime and let $\omega$ be the symplectic form on…
Used by 1

Lean source view module on GitHub

set_option autoImplicit true inset_option relaxedAutoImplicit true inopen Matrix Complex in/-- The relation `PhaseShiftRelation` is transitive. -/lemma phaseShiftRelation_trans {U V W : unitaryGroup (Fin 3) ℂ} :    PhaseShiftRelation U V → PhaseShiftRelation V W → PhaseShiftRelation U W := by  rintro ⟨a, b, c, e, f, g, rfl⟩ ⟨d, i, j, k, l, m, rfl⟩  refine ⟨a + d, b + i, c + j, e + k, f + l, g + m, ?_⟩  simp only [Subtype.ext_iff, Submonoid.coe_mul, phaseShift_coe_matrix]  rw [mul_assoc, mul_assoc, phaseShiftMatrix_mul, ← mul_assoc, ← mul_assoc, phaseShiftMatrix_mul,    add_comm k e, add_comm l f, add_comm m g]
See it in the graphDiscuss this resultChallenge it