arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1905.08649cs.DMcs.DS
收藏

布尔函数代数次数的快速计算

Fast Computing the Algebraic Degree of Boolean Functions

Valentin Bakoev

摘要:

在这里,我们考虑一种快速计算布尔函数代数次数的方法。它结合了快速计算ANF(称为ANF变换),然后通过使用$n$维布尔立方体的向量的权重字典序(WLO)的代数程度。讨论了基于WLO的逐字节和逐位搜索版本及其实现。它们相比,通常的穷举搜索应用于计算代数的程度。对于$n$变量的布尔函数,WLO搜索的按位实现具有总时间复杂度$O(n.2^n)$。当这样一个函数由它的真值表向量给出,并且它的代数次数由所讨论的算法的按位版本计算时,总的时间复杂度是$Θ((9n-2).2^{n-7})=Θ(n.2^n)$。所讨论的所有算法都具有相同类型的时间复杂度,但在$Θ$ -符号中隐藏的常数方面存在很大差异。经过多次测试后的实验结果证实了理论结果-按位实现的运行时间比按字节算法的运行时间好几十倍。

英文摘要:

Here we consider an approach for fast computing the algebraic degree of Boolean functions. It combines fast computing the ANF (known as ANF transform) and thereafter the algebraic degree by using the weight-lexicographic order (WLO) of the vectors of the $n$-dimensional Boolean cube. Byte-wise and bitwise versions of a search based on the WLO and their implementations are discussed. They are compared with the usual exhaustive search applied in computing the algebraic degree. For Boolean functions of $n$ variables, the bitwise implementation of the search by WLO has total time complexity $O(n.2^n)$. When such a function is given by its truth table vector and its algebraic degree is computed by the bitwise versions of the algorithms discussed, the total time complexity is $Θ((9n-2).2^{n-7})=Θ(n.2^n)$. All algorithms discussed have time complexities of the same type, but with big differences in the constants hidden in the $Θ$-notation. The experimental results after numerous tests confirm the theoretical results - the running times of the bitwise implementation are dozens of times better than the running times of the byte-wise algorithms.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑