Abstract

The problem “Given a Boolean function [Formula: see text] of [Formula: see text] variables by its truth table vector. Find (if exists) a vector [Formula: see text] of maximal (or minimal) weight, such that [Formula: see text].” is considered here. It is closely related to the problem of computing the algebraic degree of Boolean functions which is an important cryptographic parameter. To solve this problem efficiently, we explore the orders of the vectors of the [Formula: see text]-dimensional Boolean cube [Formula: see text] according to their weights. The notion of “[Formula: see text]th layer” of [Formula: see text] 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 relevant notes were added to three sequences in the on-line encyclopedia of integer sequences (OEIS). One special weight order is defined and examined in detail. In it, 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. The results obtained by them were used in creating two 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 from numerous tests confirm the efficiency of these algorithms. Other applications of the obtained algorithms are also discussed — when representing, generating and ranking other combinatorial objects.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.