Documentation

Physlib.Relativity.Tensors.ComponentIdx.Contraction

Contractions of component indices #

i. Overview #

This file contains the component-index API induced by dropping a pair of contracted indices from a tensor.

The constructions here describe how component indices restrict along Fin.succSuccAbove, and how the fiber of this restriction is equivalent to the two component choices at the contracted positions.

ii. Key results #

iii. Table of contents #

iv. References #

A. Dropping a pair #

def TensorSpecies.Tensor.ComponentIdx.dropPair {k : Type} [CommRing k] {C G : Type} [Group G] {V : C → Type} [(c : C) → AddCommGroup (V c)] [(c : C) → Module k (V c)] {basisIdx : C → Type} [(c : C) → Fintype (basisIdx c)] [(c : C) → DecidableEq (basisIdx c)] {rep : (c : C) → Representation k G (V c)} {b : (c : C) → Module.Basis (basisIdx c) k (V c)} {S : TensorSpecies k C G V basisIdx rep b} {n : ℕ} {c : Fin (n + 1 + 1) → C} (i j : Fin (n + 1 + 1)) :

The ComponentIdx obtained by dropping two components.

Equations
Instances For

    B. Sections of the drop-pair map #

    def TensorSpecies.Tensor.ComponentIdx.DropPairSection {k : Type} [CommRing k] {C G : Type} [Group G] {V : C → Type} [(c : C) → AddCommGroup (V c)] [(c : C) → Module k (V c)] {basisIdx : C → Type} [(c : C) → Fintype (basisIdx c)] [(c : C) → DecidableEq (basisIdx c)] {rep : (c : C) → Representation k G (V c)} {b : (c : C) → Module.Basis (basisIdx c) k (V c)} {S : TensorSpecies k C G V basisIdx rep b} {n : ℕ} {c : Fin (n + 1 + 1) → C} {i j : Fin (n + 1 + 1)} :

    Given a coordinate parameter b : Π k, Fin (S.repDim ((c ∘ i.succAbove ∘ j.succAbove) k))), the coordinate parameter Π k, Fin (S.repDim (c k)) which map down to b.

    Equations
    Instances For
      theorem TensorSpecies.Tensor.ComponentIdx.DropPairSection.mem_iff_apply_succSuccAbove_eq {k : Type} [CommRing k] {C G : Type} [Group G] {V : C → Type} [(c : C) → AddCommGroup (V c)] [(c : C) → Module k (V c)] {basisIdx : C → Type} [(c : C) → Fintype (basisIdx c)] [(c : C) → DecidableEq (basisIdx c)] {rep : (c : C) → Representation k G (V c)} {b : (c : C) → Module.Basis (basisIdx c) k (V c)} {S : TensorSpecies k C G V basisIdx rep b} {n : ℕ} {c : Fin (n + 1 + 1) → C} {i j : Fin (n + 1 + 1)} (b✝ : ComponentIdx (c ∘ i.succSuccAbove j)) (b' : ComponentIdx c) :
      b' ∈ b✝.DropPairSection ↔ ∀ (m : Fin n), b' (i.succSuccAbove j m) = b✝ m
      @[simp]
      theorem TensorSpecies.Tensor.ComponentIdx.DropPairSection.mem_self_of_dropPair {k : Type} [CommRing k] {C G : Type} [Group G] {V : C → Type} [(c : C) → AddCommGroup (V c)] [(c : C) → Module k (V c)] {basisIdx : C → Type} [(c : C) → Fintype (basisIdx c)] [(c : C) → DecidableEq (basisIdx c)] {rep : (c : C) → Representation k G (V c)} {b : (c : C) → Module.Basis (basisIdx c) k (V c)} {S : TensorSpecies k C G V basisIdx rep b} {n : ℕ} {c : Fin (n + 1 + 1) → C} {i j : Fin (n + 1 + 1)} (b✝ : ComponentIdx c) :
      b✝ ∈ (dropPair i j b✝).DropPairSection
      def TensorSpecies.Tensor.ComponentIdx.DropPairSection.ofFin {k : Type} [CommRing k] {C G : Type} [Group G] {V : C → Type} [(c : C) → AddCommGroup (V c)] [(c : C) → Module k (V c)] {basisIdx : C → Type} [(c : C) → Fintype (basisIdx c)] [(c : C) → DecidableEq (basisIdx c)] {rep : (c : C) → Representation k G (V c)} {b : (c : C) → Module.Basis (basisIdx c) k (V c)} {S : TensorSpecies k C G V basisIdx rep b} {n : ℕ} {c : Fin (n + 1 + 1) → C} {i j : Fin (n + 1 + 1)} (hij : i ≠ j) :
      ComponentIdx (c ∘ i.succSuccAbove j) → (x : basisIdx (c i) × basisIdx (c j)) → ComponentIdx c

      Given a b in ComponentIdx (c ∘ Fin.succSuccAbove i j)) and an x in Fin (S.repDim (c i)) × Fin (S.repDim (c j)), the corresponding coordinate parameter in ComponentIdx c.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        @[simp]
        theorem TensorSpecies.Tensor.ComponentIdx.DropPairSection.ofFin_apply_fst {k : Type} [CommRing k] {C G : Type} [Group G] {V : C → Type} [(c : C) → AddCommGroup (V c)] [(c : C) → Module k (V c)] {basisIdx : C → Type} [(c : C) → Fintype (basisIdx c)] [(c : C) → DecidableEq (basisIdx c)] {rep : (c : C) → Representation k G (V c)} {b : (c : C) → Module.Basis (basisIdx c) k (V c)} {S : TensorSpecies k C G V basisIdx rep b} {n : ℕ} {c : Fin (n + 1 + 1) → C} {i j : Fin (n + 1 + 1)} (hij : i ≠ j) (b✝ : ComponentIdx (c ∘ i.succSuccAbove j)) (x : basisIdx (c i) × basisIdx (c j)) :
        ofFin hij b✝ x i = x.1
        @[simp]
        theorem TensorSpecies.Tensor.ComponentIdx.DropPairSection.ofFin_apply_snd {k : Type} [CommRing k] {C G : Type} [Group G] {V : C → Type} [(c : C) → AddCommGroup (V c)] [(c : C) → Module k (V c)] {basisIdx : C → Type} [(c : C) → Fintype (basisIdx c)] [(c : C) → DecidableEq (basisIdx c)] {rep : (c : C) → Representation k G (V c)} {b : (c : C) → Module.Basis (basisIdx c) k (V c)} {S : TensorSpecies k C G V basisIdx rep b} {n : ℕ} {c : Fin (n + 1 + 1) → C} {i j : Fin (n + 1 + 1)} (hij : i ≠ j) (b✝ : ComponentIdx (c ∘ i.succSuccAbove j)) (x : basisIdx (c i) × basisIdx (c j)) :
        ofFin hij b✝ x j = x.2
        theorem TensorSpecies.Tensor.ComponentIdx.DropPairSection.ofFin_mem_succSuccAboveSection {k : Type} [CommRing k] {C G : Type} [Group G] {V : C → Type} [(c : C) → AddCommGroup (V c)] [(c : C) → Module k (V c)] {basisIdx : C → Type} [(c : C) → Fintype (basisIdx c)] [(c : C) → DecidableEq (basisIdx c)] {rep : (c : C) → Representation k G (V c)} {b : (c : C) → Module.Basis (basisIdx c) k (V c)} {S : TensorSpecies k C G V basisIdx rep b} {n : ℕ} {c : Fin (n + 1 + 1) → C} {i j : Fin (n + 1 + 1)} (hij : i ≠ j) (b✝ : ComponentIdx (c ∘ i.succSuccAbove j)) (x : basisIdx (c i) × basisIdx (c j)) :
        ofFin hij b✝ x ∈ b✝.DropPairSection
        def TensorSpecies.Tensor.ComponentIdx.DropPairSection.ofFinEquiv {k : Type} [CommRing k] {C G : Type} [Group G] {V : C → Type} [(c : C) → AddCommGroup (V c)] [(c : C) → Module k (V c)] {basisIdx : C → Type} [(c : C) → Fintype (basisIdx c)] [(c : C) → DecidableEq (basisIdx c)] {rep : (c : C) → Representation k G (V c)} {b : (c : C) → Module.Basis (basisIdx c) k (V c)} {S : TensorSpecies k C G V basisIdx rep b} {n : ℕ} {c : Fin n.succ.succ → C} {i j : Fin (n + 1 + 1)} (hij : i ≠ j) (b✝ : ComponentIdx (c ∘ i.succSuccAbove j)) :
        basisIdx (c i) × basisIdx (c j) ≃ ↥b✝.DropPairSection

        The equivalence between ContrSection b and basisIdx (c i) × basisIdx (c j).

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          @[simp]
          theorem TensorSpecies.Tensor.ComponentIdx.DropPairSection.ofFinEquiv_apply_fst {k : Type} [CommRing k] {C G : Type} [Group G] {V : C → Type} [(c : C) → AddCommGroup (V c)] [(c : C) → Module k (V c)] {basisIdx : C → Type} [(c : C) → Fintype (basisIdx c)] [(c : C) → DecidableEq (basisIdx c)] {rep : (c : C) → Representation k G (V c)} {b : (c : C) → Module.Basis (basisIdx c) k (V c)} {S : TensorSpecies k C G V basisIdx rep b} {n : ℕ} {c : Fin (n + 1 + 1) → C} {i j : Fin (n + 1 + 1)} (hij : i ≠ j) (b✝ : ComponentIdx (c ∘ i.succSuccAbove j)) (x : basisIdx (c i) × basisIdx (c j)) :
          ↑((ofFinEquiv hij b✝) x) i = x.1
          @[simp]
          theorem TensorSpecies.Tensor.ComponentIdx.DropPairSection.ofFinEquiv_apply_snd {k : Type} [CommRing k] {C G : Type} [Group G] {V : C → Type} [(c : C) → AddCommGroup (V c)] [(c : C) → Module k (V c)] {basisIdx : C → Type} [(c : C) → Fintype (basisIdx c)] [(c : C) → DecidableEq (basisIdx c)] {rep : (c : C) → Representation k G (V c)} {b : (c : C) → Module.Basis (basisIdx c) k (V c)} {S : TensorSpecies k C G V basisIdx rep b} {n : ℕ} {c : Fin (n + 1 + 1) → C} {i j : Fin (n + 1 + 1)} (hij : i ≠ j) (b✝ : ComponentIdx (c ∘ i.succSuccAbove j)) (x : basisIdx (c i) × basisIdx (c j)) :
          ↑((ofFinEquiv hij b✝) x) j = x.2
          @[simp]
          theorem TensorSpecies.Tensor.ComponentIdx.DropPairSection.ofFinEquiv_dropPair {k : Type} [CommRing k] {C G : Type} [Group G] {V : C → Type} [(c : C) → AddCommGroup (V c)] [(c : C) → Module k (V c)] {basisIdx : C → Type} [(c : C) → Fintype (basisIdx c)] [(c : C) → DecidableEq (basisIdx c)] {rep : (c : C) → Representation k G (V c)} {b : (c : C) → Module.Basis (basisIdx c) k (V c)} {S : TensorSpecies k C G V basisIdx rep b} {n : ℕ} {c : Fin (n + 1 + 1) → C} {i j : Fin (n + 1 + 1)} (hij : i ≠ j) (r : ComponentIdx c) :
          ↑((ofFinEquiv hij (dropPair i j r)) (r i, r j)) = r

          Restoring the two entries dropped from a component index recovers that component index.