Documentation

LeanPool.Monlib4.QuantumGraph.PiMatFinTwoAlgebra

Algebra of two matrix blocks #

Product equivalences, swaps, and inner automorphisms used by two-block quantum graphs.

def MatProdAlgEquivPiMat (n' : Fin 2 → Type u_1) [(i : Fin 2) → Fintype (n' i)] [(i : Fin 2) → DecidableEq (n' i)] :
(Matrix (n' 0) (n' 0) ℂ × Matrix (n' 1) (n' 1) ℂ) ≃ₐ[ℂ] PiMat ℂ (Fin 2) n'

The algebra equivalence between a two-block product of matrix algebras and the matching PiMat.

Equations
Instances For
    @[reducible, inline]
    abbrev PiFinTwo.swap (n' : Fin 2 → Type u_1) :
    Fin 2 → Type u_1

    Swap the two types in a Fin 2-indexed family.

    Equations
    Instances For
      @[instance_reducible]
      instance instFintypeSwap {n' : Fin 2 → Type u_1} [(i : Fin 2) → Fintype (n' i)] (i : Fin 2) :
      Equations
      @[instance_reducible]
      instance instDecidableEqSwap {n' : Fin 2 → Type u_1} [(i : Fin 2) → DecidableEq (n' i)] (i : Fin 2) :
      Equations
      def MatProdAlgEquivPiMatSwap (n' : Fin 2 → Type u_1) [(i : Fin 2) → Fintype (n' i)] [(i : Fin 2) → DecidableEq (n' i)] :
      (Matrix (n' 1) (n' 1) ℂ × Matrix (n' 0) (n' 0) ℂ) ≃ₐ[ℂ] PiMat ℂ (Fin 2) (PiFinTwo.swap n')

      The swapped product-to-PiMat equivalence for two matrix blocks.

      Equations
      Instances For
        def Prod.swapAlgEquiv (α : Type u_1) (β : Type u_2) [Semiring α] [Semiring β] [Algebra ℂ α] [Algebra ℂ β] :
        (α × β) ≃ₐ[ℂ] β × α

        Swap the two factors of a product as an algebra equivalence.

        Equations
        • Prod.swapAlgEquiv α β = { toFun := fun (x : α × β) => x.swap, invFun := fun (x : β × α) => x.swap, left_inv := ⋯, right_inv := ⋯, map_mul' := ⋯, map_add' := ⋯, commutes' := ⋯ }
        Instances For
          @[simp]
          theorem Prod.swapAlgEquiv_apply (α : Type u_1) (β : Type u_2) [Semiring α] [Semiring β] [Algebra ℂ α] [Algebra ℂ β] (x : α × β) :
          (swapAlgEquiv α β) x = x.swap
          @[simp]
          theorem Prod.swapAlgEquiv_symm_apply (α : Type u_1) (β : Type u_2) [Semiring α] [Semiring β] [Algebra ℂ α] [Algebra ℂ β] (x : β × α) :
          (swapAlgEquiv α β).symm x = x.swap
          def PiMatFinTwoSwapAlgEquiv {n' : Fin 2 → Type u_1} [(i : Fin 2) → Fintype (n' i)] [(i : Fin 2) → DecidableEq (n' i)] :

          Swap the two blocks of a PiMat indexed by Fin 2.

          Equations
          Instances For
            @[reducible, inline]
            abbrev PiFinTwoSame (n : Type u_1) :
            Fin 2 → Type u_1

            The constant Fin 2-indexed family with value n.

            Equations
            Instances For
              @[instance_reducible]
              instance instFintypePiFinTwoSame {n : Type u_1} [Fintype n] (i : Fin 2) :
              Equations
              @[instance_reducible]
              Equations
              theorem PiMatFinTwoSwapAlgEquiv_apply {n' : Fin 2 → Type u_1} [(i : Fin 2) → Fintype (n' i)] [(i : Fin 2) → DecidableEq (n' i)] (x : Matrix (n' 0) (n' 0) ℂ) (y : Matrix (n' 1) (n' 1) ℂ) :

              Swap the two identical matrix blocks of a PiMat indexed by Fin 2.

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                theorem AlgEquiv.prodMap_inner_of {K : Type u_2} {R₁ : Type u_3} {R₂ : Type u_4} [CommSemiring K] [Semiring R₁] [Semiring R₂] [Algebra K R₁] [Algebra K R₂] {f : R₁ ≃ₐ[K] R₁} (hf : f.IsInner) {g : R₂ ≃ₐ[K] R₂} (hg : g.IsInner) :
                @[reducible]

                Invertibility is preserved by the product-to-PiMat equivalence in the same-block case.

                Equations
                Instances For