Level-p-complexity of Boolean functions using Thinning, Memoization, and Polynomials

02/05/2023
by   Julia Jansson, et al.
0

This paper describes a purely functional library for computing level-p-complexity of Boolean functions, and applies it to two-level iterated majority. Boolean functions are simply functions from n bits to one bit, and they can describe digital circuits, voting systems, etc. An example of a Boolean function is majority, which returns the value that has majority among the n input bits for odd n. The complexity of a Boolean function f measures the cost of evaluating it: how many bits of the input are needed to be certain about the result of f. There are many competing complexity measures but we focus on level-p-complexity – a function of the probability p that a bit is 1. The level-p-complexity D_p(f) is the minimum expected cost when the input bits are independent and identically distributed with Bernoulli(p) distribution. We specify the problem as choosing the minimum expected cost of all possible decision trees – which directly translates to a clearly correct, but very inefficient implementation. The library uses thinning and memoization for efficiency and type classes for separation of concerns. The complexity is represented using polynomials, and the order relation used for thinning is implemented using polynomial factorisation and root-counting. Finally we compute the complexity for two-level iterated majority and improve on an earlier result by J. Jansson.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/21/2020

Partial Boolean functions with exact quantum 1-query complexity

We provide two sufficient and necessary conditions to characterize any n...
research
06/26/2023

On the distribution of sensitivities of symmetric Boolean functions

A Boolean function f(x⃗) is sensitive to bit x_i if there is at least on...
research
11/16/2021

The Stochastic Boolean Function Evaluation Problem for Symmetric Boolean Functions

We give two approximation algorithms solving the Stochastic Boolean Func...
research
04/27/2020

Classical-Quantum Separations in Certain Classes of Boolean Functions– Analysis using the Parity Decision Trees

In this paper we study the separation between the deterministic (classic...
research
03/23/2021

Separations between Combinatorial Measures for Transitive Functions

The role of symmetry in Boolean functions f:{0,1}^n →{0,1} has been exte...
research
01/10/2018

A Composition Theorem via Conflict Complexity

Let (·) stand for the bounded-error randomized query complexity. We show...
research
06/02/2023

Broadcasting in random recursive dags

A uniform k-dag generalizes the uniform random recursive tree by picking...

Please sign up or login with your details

Forgot password? Click here to reset