Species whose bases at dual colors are dual bases #
i. Overview #
This file defines HasContrDualBases: species whose basis at S.τ c is dual to the basis at c
under the pairing S.contr c.
A matching e : basisIdx (S.τ c) ≃ basisIdx c satisfies the δ law (IsContrDualMatching) if
S.contr c (b c x₁ ⊗ₜ b (S.τ c) x₂) = if x₁ = e x₂ then 1 else 0. The class asks for one such
matching at every color, so the label types need only be in bijection.
Over a nontrivial ring the matching is unique (IsContrDualMatching.unique). Hence
contrDualIdxEquiv, although picked by choice, is the only matching, so nothing depends on the
choice. A concrete species identifies it through contrDualIdxEquiv_eq_of_isContrDualMatching,
and the double-dual law contrDualIdxEquiv_tau is a theorem.
The contraction functionals are the dual basis of b c (contr_tmul_basis_eq_dualBasis).
Contracted basis vectors have δ coefficients (Pure.contrPCoeff_basisVector), and components of a
contraction are single sums (contrT_basis_repr_apply_eq_sum_dual).
ii. Key results #
TensorSpecies.IsContrDualMatching.unique: the δ law determines the matching.TensorSpecies.HasContrDualBases: the class.TensorSpecies.HasContrDualBases.contrDualIdxEquiv: the matching of the labels atS.τ cwith those atc.TensorSpecies.HasContrDualBases.contr_basis_eq_ite: the δ law forcontrDualIdxEquiv.TensorSpecies.HasContrDualBases.contrDualIdxEquiv_eq_of_isContrDualMatching: any matching satisfying the δ law iscontrDualIdxEquiv.TensorSpecies.HasContrDualBases.dualIdxEquiv: the equivalence between labels of dual indices.TensorSpecies.HasContrDualBases.contrDualIdxEquiv_tau: the matching atS.τ cis the inverse of the one atc, throughS.τ (S.τ c) = c.TensorSpecies.HasContrDualBases.dualIdxEquiv_symm: the inverse ofdualIdxEquivfromc1toc2isdualIdxEquivfromc2toc1.TensorSpecies.HasContrDualBases.contr_tmul_basis_eq_dualBasis: contracting with a basis vector atS.τ cis an element ofModule.Basis.dualBasis.
iii. Table of contents #
- A. Matchings satisfying the δ law
- B. The class
- C. The matching
- D. The double dual
- E. The dual basis
iv. References #
There are no known references for the material in this module.
A. Matchings satisfying the δ law #
A matching e of the basis labels at S.τ c with those at c satisfies the δ law:
contracting a basis vector at c with one at S.τ c gives 1 if e matches their labels and
0 otherwise.
Equations
Instances For
Over a nontrivial ring the δ law determines the matching: the label matched with x₂ is the
one whose basis vector pairs with b (S.τ c) x₂ to 1.
B. The class #
A tensor species whose basis at S.τ c is dual to its basis at c under the pairing
S.contr c: for every color some matching of the labels satisfies the δ law.
- exists_matching (c : C) : ∃ (e : basisIdx (S.τ c) ≃ basisIdx c), S.IsContrDualMatching c e
At every color, some matching of the labels at
S.τ cwith those atcsatisfies the δ law.
Instances
C. The matching #
A matching of the basis labels at S.τ c with those at c satisfying the δ law, chosen by
Classical.choose. Over a nontrivial ring it is the only one
(contrDualIdxEquiv_eq_of_isContrDualMatching).
Equations
Instances For
The δ law for contrDualIdxEquiv.
Any matching satisfying the δ law is contrDualIdxEquiv. This is how a concrete species
identifies its matching.
The equivalence between labels of dual indices: a label at c1 carried across the variance
dual by contrDualIdxEquiv, then along h.
Equations
Instances For
D. The double dual #
The matching at S.τ c is the inverse of the one at c, once S.τ (S.τ c) is identified
with c by S.τ_τ_apply. The inverse matching satisfies the δ law at S.τ c by
contr_tmul_symm, so uniqueness identifies the two.
The inverse of dualIdxEquiv from c1 to c2 is dualIdxEquiv from c2 to c1.
E. The dual basis #
The functional v ↦ S.contr c (v ⊗ₜ b (S.τ c) x) is the element of (b c).dualBasis at the
label matched with x.