Stolarsky's invariance principle quantifies the deviation of a subset of a metric space from the uniform distribution. Classically derived for spherical sets, it has been recently studied in a number of other situations, revealing a general structure behind various forms of the main identity. In this work we consider the case of finite metric spaces, relating the quadratic discrepancy of a subset to a certain function of the distribution of distances in it. Our main results are related to a concrete form of the invariance principle for the Hamming space. We derive several equivalent versions of the expression for the discrepancy of a code, including expansions of the discrepancy and associated kernels in the Krawtchouk basis. Codes that have the smallest possible quadratic discrepancy among all subsets of the same cardinality can be naturally viewed as energy minimizing subsets in the space. Using linear programming, we find several bounds on the minimal discrepancy and give examples of minimizing configurations. In particular, we show that all binary perfect codes have the smallest possible discrepancy.
翻译:Stolarsky 的不一致性原则量化了一个计量空间子集与统一分布的偏差。 最近对球形组进行了一系列其他情况的典型研究,揭示了各种主要特性形式背后的一般结构。 在这项工作中,我们考虑了有限度空间的情况,将子数的二次差异与该子数的距离分布的某种函数联系起来。我们的主要结果与哈明空间的不一致性原则的具体形式有关。我们得出了一个代码差异表达的数种等同版本,包括克劳丘克基础的差异和相关内核的扩展。同一基点中所有子组之间差别最小的代码可以自然地被视为空间能量最小化子子。我们用线性编程来找出最小差异的几个界限,并举例说明最小化配置。特别是,我们显示所有二进制完美代码都有最小的可能差异。