Weighted shift tensors and the weighted Landsberg–Michałek tensors #
Tensor3.weightedShifts o gis the tensor inℂ^α ⊗ ℂ^m ⊗ ℂ^mwhoset-th slice is the weighted shift matrix with offseto tand weightsg t: its(t, j, ℓ)coordinate isg t jifℓ = j + o t(as integers) and0otherwise.Tensor3.lmTensor k γis the tensorT_k(γ) = ∑_{i, j} γ_{i, j} a_i ⊗ b_j ⊗ c_{i + j}inℂ^{2k+1} ⊗ ℂ^{2k+1} ⊗ ℂ^{2k+1}of Landsberg and Michałek, Towards finding hay in a haystack, Theory of Computing 2025, (1.1), with the coefficientsγ(theirp_{ij}) as a parameter. The slice indexa : Fin (2k+1)stands for the offseti = a - k ∈ [-k, k], soT_k(γ) = weightedShifts (a ↦ a - k) γ.Tensor3.lmWeight k a j = 2^{2^{a (2k+1) + j}}are explicit coefficients: the exponenta (2k+1) + jis an injective code of the position(a, j).Tensor3.weightedLMTensor kis the Landsberg–Michałek tensorT_k(lmWeight k)with these doubly exponential weights.Tensor3.periodicWeight k A M a j = 2^{2^{(a mod A) M + (j mod M)}}are periodic coefficients: the exponent codes the position(a, j)only modulo(A, M), so forA, M > 0it lies belowA Mwhateverkis.Tensor3.periodicLMTensor k A MisT_k(periodicWeight k A M); forA, M > 0its entries lie in the set{0} ∪ {2^{2^e} : e < A M}, which does not depend onk.Tensor3.selectSlices cis the matrix of the linear mapℂ^α → ℂ^{α'}keeping the coordinatesc t; applied to the first factor,map (selectSlices c) 1 1 Tkeeps the slicesc tofT. For a strictly increasingc : Fin (2p+1) → Fin (2k+1)(a cluster of slices) it projectsT_k(γ)to the cluster tensor, with2p + 1slices.Tensor3.clusterOffsets k c t = c t - kare the offsets of the slices of a cluster.Tensor3.sumSpread p ois the spread of the sums∑_{t ∈ K} o tover the subsetsKof sizeporp + 1: the largest minus the smallest of these sums.Tensor3.subsetSumSpread p ois the spread of the sums∑_{t ∈ I} o tover the subsetsIof sizeponly. It is at mostsumSpread p o, and at mostp Lfor monotone offsets of diameterL, whatever their median. The labels of the weights need only be distinct on positions whose columns differ by at mostsubsetSumSpread p o.
The Koszul-flattening bound for cluster tensors is in
Complexitylib.Algebraic.LinearAlgebra.Tensor.Diagonal.
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
- Algebraic.Tensor3.lmTensor k γ = Algebraic.Tensor3.weightedShifts (fun (a : Fin (2 * k + 1)) => ↑↑a - ↑k) γ
Instances For
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
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.
Instances For
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
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
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
- Algebraic.Tensor3.sumSpread p o = (Algebraic.Tensor3.adjacentSubsets p ×ˢ Algebraic.Tensor3.adjacentSubsets p).sup fun (KK : Finset α × Finset α) => (∑ t ∈ KK.1, o t - ∑ t ∈ KK.2, o t).toNat
Instances For
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.