English

Fast Computing the Algebraic Degree of Boolean Functions

Discrete Mathematics 2019-05-22 v1 Data Structures and Algorithms

Abstract

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 nn-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 nn variables, the bitwise implementation of the search by WLO has total time complexity O(n.2n)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 Θ((9n2).2n7)=Θ(n.2n)\Theta((9n-2).2^{n-7})=\Theta(n.2^n). All algorithms discussed have time complexities of the same type, but with big differences in the constants hidden in the Θ\Theta-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.

Keywords

Cite

@article{arxiv.1905.08649,
  title  = {Fast Computing the Algebraic Degree of Boolean Functions},
  author = {Valentin Bakoev},
  journal= {arXiv preprint arXiv:1905.08649},
  year   = {2019}
}

Comments

The paper will be published in CAI 2019 LNCS 11545 proceedings

R2 v1 2026-06-23T09:15:30.120Z