Linear Decomposition of the Majority Boolean Function using the Ones on Smaller Variables
Anupam Chattopadhyay, Debjyoti Bhattacharjee, Subhamoy Maitra
TL;DR
The paper tackles decomposing an $n$-input Majority function $M_n$ into $k$-input Majority functions $M_k$ with $k<n$, a central question in circuit complexity. It introduces two constructive approaches: a counter-graph (counter-tree) method and a restricted set partition function method, deriving near-optimal and suboptimal bounds respectively. The counter-graph construction achieves $O(n)$ occurrences of $M_k$, approaching the known lower bound $\Omega\left(\frac{n}{k}\log k\right)$, and the partition-based method yields $O\left(\frac{n}{k^2}e^{\sqrt{n}}\right)$, with both extendable to Threshold functions. Experimental validation in CIRCT MLIR using an SLS dialect demonstrates practical feasibility and alignment with theoretical predictions, supporting the relevance of these techniques for large-scale logic synthesis and emerging computing technologies.
Abstract
A long-investigated problem in circuit complexity theory is to decompose an $n$-input or $n$-variable Majority Boolean function (call it $M_n$) using $k$-input ones ($M_k$), $k < n$, where the objective is to achieve the decomposition using fewest $M_k$'s. An $\mathcal{O}(n)$ decomposition for $M_n$ has been proposed recently with $k=3$. However, for an arbitrary value of $k$, no such construction exists even though there are several works reporting continual improvement of lower bounds, finally achieving an optimal lower bound $Ω(\frac{n}{k}\log k)$ as provided by Lecomte et. al., in CCC '22. In this direction, here we propose two decomposition procedures for $M_n$, utilizing counter trees and restricted partition functions, respectively. The construction technique based on counter tree requires $\mathcal{O}(n)$ such many $M_k$ functions, hence presenting a construction closest to the optimal lower bound, reported so far. The decomposition technique using restricted partition functions present a novel link between Majority Boolean function construction and elementary number theory. These decomposition techniques close a gap in circuit complexity studies and are also useful for leveraging emerging computing technologies.
