Documentation

TauCeti.LinearAlgebra.QuadraticForm.RegularFormClass.TensorProduct

Tensor products of regular-form classes #

The tensor product of diagonal forms is diagonal: if p has weights a i and q has weights b j, their tensor product has weights a i * b j. This file packages that operation on TauCeti.RegularFormPresentation, proves that it presents Mathlib's QuadraticForm.tmul, and descends it to isometry classes.

Tensor product makes TauCeti.RegularFormClass K a commutative monoid. Together with the orthogonal-sum structure from TauCeti.LinearAlgebra.QuadraticForm.RegularFormClass.Basic, this is the multiplicative half of the semiring whose additive group completion underlies the Witt--Grothendieck ring.

Main definitions #

Main results #

References #

Tensor products of presentations #

The diagonal presentation of the tensor product of two presented forms. Its weights are all pairwise products of a weight from each factor.

Instances For
    @[simp]

    Tensor product multiplies the ranks of presentations.

    @[simp]
    theorem TauCeti.RegularFormPresentation.tmul_apply {K : Type u} [Field K] (p q : RegularFormPresentation K) (i : Fin p.fst) (j : Fin q.fst) :
    (p.tmul q).snd (Fin.cast ⋯ (finProdFinEquiv (i, j))) = p.snd i * q.snd j

    A tensor-product weight is the product of the corresponding weights of its factors.

    @[simp]
    theorem TauCeti.RegularFormPresentation.rankOne_tmul {K : Type u} [Field K] (a : Kˣ) (p : RegularFormPresentation K) :
    tmul ⟨1, fun (x : Fin 1) => a⟩ p = ⟨p.fst, fun (i : Fin p.fst) => a * p.snd i⟩

    Tensoring on the left with a rank-one presentation scales every coefficient.

    theorem TauCeti.RegularFormPresentation.prod_tmul {K : Type u} [Field K] (p q : RegularFormPresentation K) :
    ∏ k : Fin (p.tmul q).fst, (p.tmul q).snd k = (∏ i : Fin p.fst, p.snd i) ^ q.fst * (∏ j : Fin q.fst, q.snd j) ^ p.fst

    The weight product of a tensor presentation: each factor's weight product raised to the rank of the other factor.

    Tensoring two diagonal presentations presents the tensor product of their quadratic forms.

    Instances For
      @[simp]
      theorem TauCeti.presentedFormTensorIsometryEquiv_tmul_apply {K : Type u} [Field K] [Invertible 2] (p q : RegularFormPresentation K) (x : Fin p.fst → K) (y : Fin q.fst → K) (i : Fin p.fst) (j : Fin q.fst) :

      The comparison isometry sends a pure tensor to the corresponding products of coordinates.

      Multiplication of isometry classes #

      The form presented by tensoring two presentations is isometric to the tensor product of the forms they present.

      Tensoring presentations respects isometry in each argument.

      Tensoring presentations is commutative up to isometry.

      Tensoring presentations is associative up to isometry.

      The rank-one presentation with weight one.

      Instances For
        @[simp]

        The unit presentation has rank one.

        @[simp]

        The sole weight of the unit presentation is one.

        The rank-one presentation with weight one presents the square form.

        Instances For
          @[simp]

          The comparison from the unit presentation to the square form evaluates its sole coordinate.

          Tensoring a presentation on the right with the rank-one presentation preserves its form up to isometry.

          @[instance_reducible]

          Tensor product of isometry classes.

          @[instance_reducible]

          The class of the rank-one form with coefficient one.

          @[simp]

          The product of two classes is represented by pairwise products of their weights.

          The multiplicative unit is represented by the rank-one presentation with weight one.

          theorem TauCeti.RegularFormClass.mk_rankOne_one {K : Type u} [Field K] :
          ⟦⟨1, fun (x : Fin 1) => 1⟩⟧ = 1

          The class of the rank-one presentation with weight one is the multiplicative unit.

          theorem TauCeti.RegularFormClass.mk_rankOne_mul_mk_rankOne {K : Type u} [Field K] [Invertible 2] (a b : Kˣ) :
          ⟦⟨1, fun (x : Fin 1) => a⟩⟧ * ⟦⟨1, fun (x : Fin 1) => b⟩⟧ = ⟦⟨1, fun (x : Fin 1) => a * b⟩⟧

          The tensor product of rank-one classes: ⟨a⟩ ⊗ ⟨b⟩ = ⟨ab⟩.

          @[instance_reducible]

          Tensor product makes regular-form classes a commutative monoid.

          @[simp]

          Rank is multiplicative on tensor products of classes.

          @[simp]

          The multiplicative unit has rank one.

          The class of a tensor product #

          The tensor product of two regular finite-dimensional quadratic forms is regular.

          @[simp]

          The class of a tensor product is the product of the classes of its factors.

          theorem TauCeti.formClass_smul {K : Type u} [Field K] [Invertible 2] {V : Type v} [AddCommGroup V] [Module K V] [FiniteDimensional K V] (a : Kˣ) (Q : QuadraticForm K V) (hQ : QuadraticMap.Nondegenerate) :
          formClass (↑a • Q) ⋯ = ⟦⟨1, fun (x : Fin 1) => a⟩⟧ * formClass Q hQ

          The class of the scalar multiple a • Q of a regular form by a unit a is the product of the class of Q with the rank-one class ⟨a⟩.