We propose a unified theory of generalized weights for linear codes endowed with an arbitrary distance. Instead of relying on supports or anticodes, the weights of a code are defined via the intersections of the code with a chosen family of spaces, which we call a test family. The choice of test family determines the properties of the corresponding generalized weights and the characteristics of the code that they capture. In this general framework, we prove that generalized weights are weakly increasing and that certain subsequences are strictly increasing. We also prove a duality result reminiscent of Wei's Duality Theorem. The corresponding properties of generalized Hamming and rank-metric weights follow from our general results by selecting optimal anticodes as a test family. For sum-rank metric codes, we propose a test family that results in generalized weights that are closely connected to -- but not always the same as -- the usual generalized weights. This choice allows us to extend the known duality results for generalized sum-rank weights to some sum-rank-metric codes with a nonzero Hamming component. Finally, we explore a family of generalized weights obtained by intersecting the underlying code with MDS or MRD codes.
翻译:我们提出了一种针对任意距离线性码的广义权重统一理论。码的权重不是通过支撑集或反码来定义,而是通过码与选定空间族的交集来定义,我们称之为测试族。测试族的选择决定了相应广义权重的性质以及它们所捕捉的码的特征。在此一般框架下,我们证明了广义权重是弱递增的,并且某些子序列是严格递增的。我们还证明了一个类似于魏对偶定理的对偶结果。通过选择最优反码作为测试族,广义汉明权重和秩度量权重的相应性质可以从我们的一般结果中推导出来。对于和-秩度量码,我们提出了一个测试族,其产生的广义权重与通常的广义权重密切相关——但并不总是相同。这种选择使我们能够将已知的广义和-秩权重对偶结果扩展到一些具有非零汉明分量的和-秩度量码。最后,我们探讨了一类通过将底层码与MDS码或MRD码相交而获得的广义权重。