Documentation

Physlib.Relativity.Tensors.Contraction.Pure

Contractions on pure tensors #

Pure.contrPCoeff #

dropPair #

def TensorSpecies.Tensor.Pure.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) (p : Pure S c) :

Given i j : Fin (n + 1 + 1), c : Fin (n + 1 + 1) → C and a pure tensor p : Pure S c, dropPair i j _ p is the tensor formed by dropping the ith and jth parts of p.

Equations
Instances For
    @[simp]
    theorem TensorSpecies.Tensor.Pure.dropPair_equivariant {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) (p : Pure S c) (g : G) :
    dropPair i j hij (g • p) = g • dropPair i j hij p
    theorem TensorSpecies.Tensor.Pure.dropPair_symm {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) (p : Pure S c) :
    dropPair i j hij p = permP id ⋯ (dropPair j i ⋯ p)
    theorem TensorSpecies.Tensor.Pure.dropPair_comm {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 + 1 + 1) → C} (i1 j1 : Fin (n + 1 + 1 + 1 + 1)) (i2 j2 : Fin (n + 1 + 1)) (hij1 : i1 ≠ j1) (hij2 : i2 ≠ j2) (p : Pure S c) :
    let i2' := i1.succSuccAbove j1 i2; let j2' := i1.succSuccAbove j1 j2; have hi2j2' := ⋯; let i1' := i2'.predPredAbove j2' hi2j2' i1 ⋯; let j1' := i2'.predPredAbove j2' hi2j2' j1 ⋯; dropPair i2 j2 hij2 (dropPair i1 j1 hij1 p) = permP id ⋯ (dropPair i1' j1' ⋯ (dropPair i2' j2' hi2j2' p))
    @[simp]
    theorem TensorSpecies.Tensor.Pure.dropPair_update_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 : ℕ} [inst : DecidableEq (Fin (n + 1 + 1))] {c : Fin (n + 1 + 1) → C} (i j : Fin (n + 1 + 1)) (hij : i ≠ j) (p : Pure S c) (x : V (c i)) :
    dropPair i j hij (p.update i x) = dropPair i j hij p
    @[simp]
    theorem TensorSpecies.Tensor.Pure.dropPair_update_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 : ℕ} [inst : DecidableEq (Fin (n + 1 + 1))] {c : Fin (n + 1 + 1) → C} (i j : Fin (n + 1 + 1)) (hij : i ≠ j) (p : Pure S c) (x : V (c j)) :
    dropPair i j hij (p.update j x) = dropPair i j hij p
    @[simp]
    theorem TensorSpecies.Tensor.Pure.dropPair_update_succSuccAbove {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 : ℕ} [inst : DecidableEq (Fin (n + 1 + 1))] {c : Fin (n + 1 + 1) → C} (i j : Fin (n + 1 + 1)) (hij : i ≠ j) (p : Pure S c) (m : Fin n) (x : V (c (i.succSuccAbove j m))) :
    dropPair i j hij (p.update (i.succSuccAbove j m) x) = (dropPair i j hij p).update m x
    @[simp]
    theorem TensorSpecies.Tensor.Pure.dropPair_permP {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 n1 : ℕ} {c : Fin (n + 1 + 1) → C} {c1 : Fin (n1 + 1 + 1) → C} (i j : Fin (n1 + 1 + 1)) (hij : i ≠ j) (σ : Fin (n1 + 1 + 1) → Fin (n + 1 + 1)) (hσ : IsReindexing c c1 σ) (p : Pure S c) :
    dropPair i j hij (permP σ hσ p) = permP (i.funPredPredAbove j hij σ ⋯) ⋯ (dropPair (σ i) (σ j) ⋯ p)
    theorem TensorSpecies.Tensor.Pure.permP_dropPair_dropPair_congr {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} {nP nOut : ℕ} {c : Fin (nP + 1 + 1 + 1 + 1) → C} {cOut : Fin nOut → C} (p : Pure S c) (aL bL : Fin (nP + 1 + 1 + 1 + 1)) (habL : aL ≠ bL) (a2L b2L : Fin (nP + 1 + 1)) (hab2L : a2L ≠ b2L) (σ1L : Fin nOut → Fin nP) (h1L : IsReindexing ((c ∘ aL.succSuccAbove bL) ∘ a2L.succSuccAbove b2L) cOut σ1L) (aR bR : Fin (nP + 1 + 1 + 1 + 1)) (habR : aR ≠ bR) (a2R b2R : Fin (nP + 1 + 1)) (hab2R : a2R ≠ b2R) (σ1R : Fin nOut → Fin nP) (h1R : IsReindexing ((c ∘ aR.succSuccAbove bR) ∘ a2R.succSuccAbove b2R) cOut σ1R) (hslot : ∀ (m : Fin nOut), aL.succSuccAbove bL (a2L.succSuccAbove b2L (σ1L m)) = aR.succSuccAbove bR (a2R.succSuccAbove b2R (σ1R m))) :
    permP σ1L h1L (dropPair a2L b2L hab2L (dropPair aL bL habL p)) = permP σ1R h1R (dropPair a2R b2R hab2R (dropPair aR bR habR p))

    Two permP–dropPair–dropPair towers over a common pure tensor agree once their composite slot maps agree pointwise. Comparing two orders of dropping two pairs of slots this way keeps every slot map an opaque variable, so the comparison closes by unification rather than by whnf-reducing the color and index-map composites.

    theorem TensorSpecies.Tensor.Pure.permP_dropPair_permP_congr {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} {nP nOut mL mR : ℕ} {c : Fin nP → C} {cL : Fin (mL + 1 + 1) → C} {cR : Fin (mR + 1 + 1) → C} {cOut : Fin nOut → C} (p : Pure S c) (σ0L : Fin (mL + 1 + 1) → Fin nP) (h0L : IsReindexing c cL σ0L) (aL bL : Fin (mL + 1 + 1)) (habL : aL ≠ bL) (σ1L : Fin nOut → Fin mL) (h1L : IsReindexing (cL ∘ aL.succSuccAbove bL) cOut σ1L) (σ0R : Fin (mR + 1 + 1) → Fin nP) (h0R : IsReindexing c cR σ0R) (aR bR : Fin (mR + 1 + 1)) (habR : aR ≠ bR) (σ1R : Fin nOut → Fin mR) (h1R : IsReindexing (cR ∘ aR.succSuccAbove bR) cOut σ1R) (hslot : ∀ (m : Fin nOut), σ0L (aL.succSuccAbove bL (σ1L m)) = σ0R (aR.succSuccAbove bR (σ1R m))) :
    permP σ1L h1L (dropPair aL bL habL (permP σ0L h0L p)) = permP σ1R h1R (dropPair aR bR habR (permP σ0R h0R p))

    Two permP–dropPair–permP towers over a common pure tensor agree once their composite slot maps agree pointwise. The one-contraction, inner-relabelled sibling of permP_dropPair_dropPair_congr.

    Contraction coefficient #

    noncomputable def TensorSpecies.Tensor.Pure.contrPCoeff {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 → C} (i j : Fin n) (hij : i ≠ j ∧ S.τ (c i) = c j) (p : Pure S c) :
    k

    Given a pure tensor p : Pure S c and a i j : Fin n corresponding to dual colors in c, contrPCoeff i j _ p is the element of the underlying ring k formed by contracting p i and p j.

    Equations
    Instances For
      theorem TensorSpecies.Tensor.Pure.contrPCoeff_congr {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 → C} (p : Pure S c) {i i' j j' : Fin n} (hi : i = i') (hj : j = j') {hij : i ≠ j ∧ S.τ (c i) = c j} {hij' : i' ≠ j' ∧ S.τ (c i') = c j'} :
      contrPCoeff i j hij p = contrPCoeff i' j' hij' p

      contrPCoeff is insensitive to its proof arguments once the two contracted slots agree. Lets a coefficient comparison rewrite the slots without a congr search through the proof fields.

      @[simp]
      theorem TensorSpecies.Tensor.Pure.contrPCoeff_permP {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 n1 : ℕ} {c : Fin n → C} {c1 : Fin n1 → C} (i j : Fin n1) (hij : i ≠ j ∧ S.τ (c1 i) = c1 j) (σ : Fin n1 → Fin n) (hσ : IsReindexing c c1 σ) (p : Pure S c) :
      contrPCoeff i j hij (permP σ hσ p) = contrPCoeff (σ i) (σ j) ⋯ p
      @[simp]
      theorem TensorSpecies.Tensor.Pure.contrPCoeff_update_succSuccAbove {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 : ℕ} [inst : DecidableEq (Fin (n + 1 + 1))] {c : Fin (n + 1 + 1) → C} (i j : Fin (n + 1 + 1)) (hij : i ≠ j ∧ S.τ (c i) = c j) (m : Fin n) (p : Pure S c) (x : V (c (i.succSuccAbove j m))) :
      contrPCoeff i j hij (p.update (i.succSuccAbove j m) x) = contrPCoeff i j hij p
      @[simp]
      theorem TensorSpecies.Tensor.Pure.contrPCoeff_update_fst_add {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 : ℕ} [inst : DecidableEq (Fin n)] {c : Fin n → C} (i j : Fin n) (hij : i ≠ j ∧ S.τ (c i) = c j) (p : Pure S c) (x y : V (c i)) :
      contrPCoeff i j hij (p.update i (x + y)) = contrPCoeff i j hij (p.update i x) + contrPCoeff i j hij (p.update i y)
      @[simp]
      theorem TensorSpecies.Tensor.Pure.contrPCoeff_update_snd_add {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 : ℕ} [inst : DecidableEq (Fin n)] {c : Fin n → C} (i j : Fin n) (hij : i ≠ j ∧ S.τ (c i) = c j) (p : Pure S c) (x y : V (c j)) :
      contrPCoeff i j hij (p.update j (x + y)) = contrPCoeff i j hij (p.update j x) + contrPCoeff i j hij (p.update j y)
      @[simp]
      theorem TensorSpecies.Tensor.Pure.contrPCoeff_update_fst_smul {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 : ℕ} [inst : DecidableEq (Fin n)] {c : Fin n → C} (i j : Fin n) (hij : i ≠ j ∧ S.τ (c i) = c j) (p : Pure S c) (r : k) (x : V (c i)) :
      contrPCoeff i j hij (p.update i (r • x)) = r * contrPCoeff i j hij (p.update i x)
      @[simp]
      theorem TensorSpecies.Tensor.Pure.contrPCoeff_update_snd_smul {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 : ℕ} [inst : DecidableEq (Fin n)] {c : Fin n → C} (i j : Fin n) (hij : i ≠ j ∧ S.τ (c i) = c j) (p : Pure S c) (r : k) (x : V (c j)) :
      contrPCoeff i j hij (p.update j (r • x)) = r * contrPCoeff i j hij (p.update j x)
      theorem TensorSpecies.Tensor.Pure.contrPCoeff_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} (a b✝ : Fin (n + 1 + 1)) (hab : a ≠ b✝) (i j : Fin n) (hij : i ≠ j ∧ S.τ (c (a.succSuccAbove b✝ i)) = c (a.succSuccAbove b✝ j)) (p : Pure S c) :
      contrPCoeff i j hij (dropPair a b✝ hab p) = contrPCoeff (a.succSuccAbove b✝ i) (a.succSuccAbove b✝ j) ⋯ p
      theorem TensorSpecies.Tensor.Pure.contrPCoeff_symm {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 → C} {i j : Fin n} {hij : i ≠ j ∧ S.τ (c i) = c j} {p : Pure S c} :
      contrPCoeff i j hij p = contrPCoeff j i ⋯ p
      theorem TensorSpecies.Tensor.Pure.contrPCoeff_mul_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 + 1 + 1) → C} (i1 j1 : Fin (n + 1 + 1 + 1 + 1)) (i2 j2 : Fin (n + 1 + 1)) (hij1 : i1 ≠ j1 ∧ S.τ (c i1) = c j1) (hij2 : i2 ≠ j2 ∧ S.τ (c (i1.succSuccAbove j1 i2)) = c (i1.succSuccAbove j1 j2)) (p : Pure S c) :
      let i2' := i1.succSuccAbove j1 i2; let j2' := i1.succSuccAbove j1 j2; have hi2j2' := ⋯; let i1' := i2'.predPredAbove j2' hi2j2' i1 ⋯; let j1' := i2'.predPredAbove j2' hi2j2' j1 ⋯; contrPCoeff i1 j1 hij1 p * contrPCoeff i2 j2 hij2 (dropPair i1 j1 ⋯ p) = contrPCoeff i2' j2' ⋯ p * contrPCoeff i1' j1' ⋯ (dropPair i2' j2' ⋯ p)
      @[simp]
      theorem TensorSpecies.Tensor.Pure.contrPCoeff_invariant {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 → C} {i j : Fin n} {hij : i ≠ j ∧ S.τ (c i) = c j} {p : Pure S c} (g : G) :
      contrPCoeff i j hij (g • p) = contrPCoeff i j hij p

      Contractions #

      noncomputable def TensorSpecies.Tensor.Pure.contrP {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 ∧ S.τ (c i) = c j) (p : Pure S c) :

      For c : Fin (n + 1 + 1) → C, i j : Fin (n + 1 + 1) with dual color, and a pure tensor p : Pure S c, contrP i j _ p is the tensor (not pure due to the n = 0 case) formed by contracting the ith index of p with the jth index.

      Equations
      Instances For
        @[simp]
        theorem TensorSpecies.Tensor.Pure.contrP_update_add {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 : ℕ} [inst : DecidableEq (Fin (n + 1 + 1))] {c : Fin (n + 1 + 1) → C} (i j m : Fin (n + 1 + 1)) (hij : i ≠ j ∧ S.τ (c i) = c j) (p : Pure S c) (x y : V (c m)) :
        contrP i j hij (p.update m (x + y)) = contrP i j hij (p.update m x) + contrP i j hij (p.update m y)
        @[simp]
        theorem TensorSpecies.Tensor.Pure.contrP_update_smul {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 : ℕ} [inst : DecidableEq (Fin (n + 1 + 1))] {c : Fin (n + 1 + 1) → C} (i j m : Fin (n + 1 + 1)) (hij : i ≠ j ∧ S.τ (c i) = c j) (p : Pure S c) (r : k) (x : V (c m)) :
        contrP i j hij (p.update m (r • x)) = r • contrP i j hij (p.update m x)
        @[simp]
        theorem TensorSpecies.Tensor.Pure.contrP_equivariant {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 ∧ S.τ (c i) = c j) (p : Pure S c) (g : G) :
        contrP i j hij (g • p) = g • contrP i j hij p
        theorem TensorSpecies.Tensor.Pure.contrP_symm {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 ∧ S.τ (c i) = c j} {p : Pure S c} :
        contrP i j hij p = (permT id ⋯) (contrP j i ⋯ p)

        contrP as a multilinear map #

        noncomputable def TensorSpecies.Tensor.Pure.contrPMultilinear {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 ∧ S.τ (c i) = c j) :
        MultilinearMap k (fun (i : Fin (n + 1 + 1)) => V (c i)) (S.Tensor (c ∘ i.succSuccAbove j))

        The multi-linear map formed by contracting a pair of indices of pure tensors.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For