Documentation

Complexitylib.Algebraic.LinearAlgebra.Tensor.Diagonal.Defs

Weighted shift tensors and the weighted Landsberg–Michałek tensors #

The Koszul-flattening bound for cluster tensors is in Complexitylib.Algebraic.LinearAlgebra.Tensor.Diagonal.

def Algebraic.Tensor3.weightedShifts {α : Type u_1} {m : ℕ} (o : α → ℤ) (g : α → Fin m → ℂ) :
Tensor3 α (Fin m) (Fin m)

The tensor whose t-th slice is the weighted shift matrix with offset o t and weights g t: its (t, j, ℓ) coordinate is g t j if ℓ = j + o t and 0 otherwise.

Equations
Instances For
    def Algebraic.Tensor3.lmTensor (k : ℕ) (γ : Fin (2 * k + 1) → Fin (2 * k + 1) → ℂ) :
    Tensor3 (Fin (2 * k + 1)) (Fin (2 * k + 1)) (Fin (2 * k + 1))

    The Landsberg–Michałek tensor T_k(γ) = ∑_{i, j} γ_{i, j} a_i ⊗ b_j ⊗ c_{i + j} with coefficients γ. The slice index a : Fin (2k+1) stands for the offset i = a - k: the (a, j, ℓ) coordinate is γ a j if ℓ = j + (a - k) and 0 otherwise.

    Equations
    Instances For
      def Algebraic.Tensor3.lmWeight (k : ℕ) (a j : Fin (2 * k + 1)) :

      Doubly exponential coefficients 2^{2^{a (2k+1) + j}}, indexed by an injective code of the position (a, j).

      Equations
      Instances For
        def Algebraic.Tensor3.weightedLMTensor (k : ℕ) :
        Tensor3 (Fin (2 * k + 1)) (Fin (2 * k + 1)) (Fin (2 * k + 1))

        The weighted Landsberg–Michałek tensor T_k(lmWeight k): its (a, j, ℓ) coordinate is 2^{2^{a (2k+1) + j}} if ℓ = j + (a - k) and 0 otherwise.

        Equations
        Instances For
          def Algebraic.Tensor3.periodicWeight (k A M : ℕ) (a j : Fin (2 * k + 1)) :

          Periodic doubly exponential coefficients 2^{2^{(a mod A) M + (j mod M)}}. The exponent codes the position (a, j) modulo (A, M): it separates two positions whose slices differ by less than A and whose columns differ by less than M, and it is less than A M when A, M > 0, whatever k is.

          Equations
          Instances For
            def Algebraic.Tensor3.periodicLMTensor (k A M : ℕ) :
            Tensor3 (Fin (2 * k + 1)) (Fin (2 * k + 1)) (Fin (2 * k + 1))

            The periodic Landsberg–Michałek tensor T_k(periodicWeight k A M): its (a, j, ℓ) coordinate is 2^{2^{(a mod A) M + (j mod M)}} if ℓ = j + (a - k) and 0 otherwise. For fixed A, M > 0 its entries come from a finite set independent of k.

            Equations
            Instances For
              def Algebraic.Tensor3.selectSlices {α : Type u_1} {α' : Type u_2} [DecidableEq α] (c : α' → α) :
              Matrix α' α ℂ

              The matrix of the linear map ℂ^α → ℂ^{α'} that keeps the coordinates c t: its (t, a) entry is 1 if a = c t and 0 otherwise.

              Equations
              Instances For
                def Algebraic.Tensor3.clusterOffsets (k : ℕ) {n : ℕ} (c : Fin n → Fin (2 * k + 1)) (t : Fin n) :

                The offsets c t - k of the slices c t of the Landsberg–Michałek tensor T_k.

                Equations
                Instances For

                  The subsets of α of size p or p + 1, which index the bases of Λ^p ℂ^α and Λ^{p+1} ℂ^α.

                  Equations
                  Instances For
                    def Algebraic.Tensor3.sumSpread {α : Type u_1} [Fintype α] (p : ℕ) (o : α → ℤ) :

                    The spread of the subset sums of o: the largest value of ∑_{t ∈ K} o t - ∑_{t ∈ K'} o t over subsets K, K' of size p or p + 1, that is, the largest minus the smallest of the sums ∑_{t ∈ K} o t.

                    Equations
                    Instances For
                      def Algebraic.Tensor3.subsetSumSpread {α : Type u_1} [Fintype α] (p : ℕ) (o : α → ℤ) :

                      The spread of the p-subset sums of o: the largest value of ∑_{t ∈ I} o t - ∑_{t ∈ I'} o t over subsets I, I' of size p. In one block of the single-cluster minor the columns w + ∑_{t ∈ I} o t lie in a window of this length.

                      Equations
                      Instances For