PhysLean Documentation

PhysLean.Relativity.PauliMatrices.Matrix

Pauli matrices #

@[reducible, inline]
abbrev PauliMatrix.σ0 :
Matrix (Fin 2) (Fin 2)

The zeroth Pauli-matrix as a 2 x 2 complex matrix. That is the matrix !![1, 0; 0, 1], which in Lean is more conveniently written 1.

Equations
Instances For
    theorem PauliMatrix.σ0_eq :
    σ0 = !![1, 0; 0, 1]

    The first Pauli-matrix as a 2 x 2 complex matrix. That is, the matrix !![0, 1; 1, 0].

    Equations
    Instances For

      The second Pauli-matrix as a 2 x 2 complex matrix. That is, the matrix !![0, -I; I, 0].

      Equations
      Instances For

        The third Pauli-matrix as a 2 x 2 complex matrix. That is, the matrix !![1, 0; 0, -1].

        Equations
        Instances For

          The conjugate transpose of σ0 is equal to σ0.

          @[simp]

          The conjugate transpose of σ1 is equal to σ1.

          @[simp]

          The conjugate transpose of σ2 is equal to σ2.

          @[simp]

          The conjugate transpose of σ3 is equal to σ3.

          Products #

          These lemmas try to put the terms in numerical order. We skip σ0 since it's just 1 anyway.

          Traces #

          The trace of σ0 multiplied by σ0 is equal to 2.

          The trace of σ0 multiplied by σ1 is equal to 0.

          The trace of σ0 multiplied by σ2 is equal to 0.

          The trace of σ0 multiplied by σ3 is equal to 0.

          The trace of σ1 multiplied by σ0 is equal to 0.

          The trace of σ1 multiplied by σ1 is equal to 2.

          @[simp]

          The trace of σ1 multiplied by σ2 is equal to 0.

          @[simp]

          The trace of σ1 multiplied by σ3 is equal to 0.

          The trace of σ2 multiplied by σ0 is equal to 0.

          The trace of σ2 multiplied by σ1 is equal to 0.

          The trace of σ2 multiplied by σ2 is equal to 2.

          @[simp]

          The trace of σ2 multiplied by σ3 is equal to 0.

          The trace of σ3 multiplied by σ0 is equal to 0.

          The trace of σ3 multiplied by σ1 is equal to 0.

          The trace of σ3 multiplied by σ2 is equal to 0.

          The trace of σ3 multiplied by σ3 is equal to 2.