与$n$维布尔立方体权序关系有关的若干问题及算法
Some Problems and Algorithms Related to the Weight Order Relation on the $n$-dimensional Boolean Cube
摘要:
问题“给定一个布尔函数$f$的$n$变量由其真值表向量。找到(如果存在)最大(或最小)权重的向量$α\in \{0,1\}^n$,使得$f(α)= 1$。”在这里考虑。它与布尔函数代数次数的快速计算问题密切相关。它是一个重要的密码参数,用于设计的S盒在现代分组密码,PRNG在流密码,在Reed-Muller码等,为了找到有效的解决方案,这个问题,我们探索的顺序的$n$维布尔立方体$\{0,1\}^n$的向量按照其权重。$\{0,1\}^n$的“$k$ -第层”概念涉及“权序”关系的定义和检验。它与已知的关系“先于”。解决了与这些关系有关的几个枚举问题,并在OEIS(OnlineEncyclopediaofSequences)中为3个序列添加了相应的注释。一个特殊的顺序(众多的重量订单)的定义和详细检查。字典序是等权向量的排序的第二个标准。因此,一个总的顺序称为重量字典顺序(WLO)。提出了两种生成WLO序列的算法和两种生成各层特征向量的算法。他们的结果被用于在OEIS中创建2个新序列:A294648和A305860。两种算法用于解决所考虑的问题的开发-第一个作品在字节的方式,并使用WLO序列,和第二个作品在按位的方式,并使用的特征向量作为掩码。经过多次测试的实验结果证实了这些算法的有效性。还讨论了所获得的算法的一些其他应用-例如,当表示,生成和排名其他组合对象。
英文摘要:
The problem "Given a Boolean function $f$ of $n$ variables by its truth table vector. Find (if exists) a vector $α\in \{0,1\}^n$ of maximal (or minimal) weight, such that $f(α)= 1$." is considered here. It is closely related to the problem of fast computing the algebraic degree of Boolean functions. It is an important cryptographic parameter used in the design of S-boxes in modern block ciphers, PRNGs in stream ciphers, at Reed-Muller codes, etc. To find effective solutions to this problem we explore the orders of the vectors of the $n$-dimensional Boolean cube $\{0,1\}^n$ in accordance with their weights. The notion of "$k$-th layer" of $\{0,1\}^n$ is involved in the definition and examination of the "weight order" relation. It is compared with the known relation "precedes". Several enumeration problems concerning these relations are solved and the corresponding comments were added to 3 sequences in the On-line Encyclopedia of Integer Sequences (OEIS). One special order (among the numerous weight orders) is defined and examined in detail. The lexicographic order is a second criterion for an ordinance of the vectors of equal weights. So a total order called Weight-Lexicographic Order (WLO) is obtained. Two algorithms for generating the WLO sequence and two algorithms for generating the characteristic vectors of the layers are proposed. Their results were used in creating 2 new sequences: A294648 and A305860 in the OEIS. Two algorithms for solving the problem considered are developed--the first one works in a byte-wise manner and uses the WLO sequence, and the second one works in a bitwise manner and uses the characteristic vector as masks. The experimental results after many tests confirm the efficiency of these algorithms. Some other applications of the obtained algorithms are also discussed--for example, when representing, generating and ranking other combinatorial objects.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。