arXiv:2008.06801v4 [cs.CC] 14 May 2021 ftecnnrm hsnwicrainepot h elkno well the exploits incarnation new This abi conundrum. circumv We our the lengths. hinders of input varying argument across pigeonhole functions Boolean the Namely, deficiency. size bevto htteeaeruhysekn esthan less speaking roughly are there that observation oe one nsz letcueyby crudely albeit size in bounded lower o h eMra ola oml opeiyo oefamilia some of complexity c formula this Boolean from Morgan devise De We form the Boolean measure. for Morgan complexity De Kolomogorov the arithm the that 3 show j of we depth results particular strong In These that argues bounds. bounds. therefore lower work circuits present o The arithmetic investigations 3 reduce le depth Hya79] machine circui of GKKS16, and Boolean Raz13, physics of AV08, in aspects i [VS81, play to of they complexity importance circuit role arithmetic central The the to SY10]. by reader [CKW11, forced the algori complexity refer We deterministic arithmetic derivatives. known in partial Corn of fastest recently, method the More a of using [BS83]. runtime the Strassen match and Baur by complexity ain o h ola ler.Ti ler evsa h fi math the of as branch serves the [GIM algebra initiated recognition This also Boole algebra. George Boolean terestingly, the for dations ntgtdteueo ieeta prtr ocntutin construct to Cayl operators Arthur Cayley’s differential Boole, as of George b of use can work the origin the instigated Their to notably old. pillar Most very second is theory. the theory intr invariant are were in machines Turing machines operators Turing computation. of We machines. model functio Red27]. Turing Pol37, Boolean of Pol40, of [Sha49, incarnations analysis Redfield and the Pólya in Shannon, consequen symmetries emphasizes of theory Invariant importance Boole. by pioneered ealte“ede nahytc”cnnrm h conundrum The conundrum. haystack” a in “needles the Recall naeohmkn oktte A netgto fteLw o Laws the of Investigation “An titled book epoch-making a In s mn the among NPRILDFEETA NOIG FBOENFUNCTIONS BOOLEAN OF ENCODINGS DIFFERENTIAL PARTIAL ON Ω rcs.I opeiyter,dffrniloeaoswere operators differential theory, complexity In process. + 2 9 M1,Ar6 r2]ta ihitrlyrltsthese relates interplay rich a that Gro20] Aar16, GMQ16, 19, (2 n ) osbeBoenfntoson functions Boolean possible 1. ata ifrnilEncodings. Differential Partial O 2 n n notntl,ti atclricrainsffr rma from suffers incarnation particular this Unfortunately, . DNHK GNANG K. EDINAH n s 3 btbnr nu tig.Cneunl otcrut are circuits most Consequently strings. input binary -bit 1 s opeiy otntl,rcn et euto results reduction depth recent Fortunately, complexity. t ainso ru cin.Tefaeoki loknown also is framework The actions. group of variants ola icis(xrse nteD ognbss of basis) Morgan De the in (expressed circuits Boolean n hsdabc ycnieigadffrn incarnation different a considering by drawback this ent mtc nw sivratter Wl8.Teei a is There [Wol08]. theory invariant as known ematics rcdbc otewr ferypoer finvariant of pioneers early of work the to back traced e xeln eetsreso ata ieeta methods differential partial on surveys recent excellent e hc tmfo ymtiso akteef The thereof. lack or symmetries from stem which ces siyorepai nlwdphaihei circuits. arithmetic depth low on emphasis our ustify h o eetn ugah fbuddpath-width bounded of subgraphs detecting for thm tccrut oe onsyedBoencrutlower circuit Boolean yield bounds lower circuits etic swswl nw opoer ftefil,sc as such field, the of pioneers to known well was ns dcdb lnTrn Tr6 samathematical a as [Tur36] Turing Alan by oduced ftecmuigrvlto.Teueo differential of use The revolution. computing the of s ftoplaso h optn eouin In- revolution. computing the of pillars two of rst iyt oe on h ieo pcfi aiisof families specific of size the bound lower to lity rig h rsn okfral is set of aspects ties, formally work present The arning. ola functions. Boolean r rtmtccrutlwrbud oinvestigations to bounds lower circuit arithmetic f neto e o-rva pe n oe bounds lower and upper non-trivial new onnection yadJmsJsp yvse Cy9 y5]who Syl52] [Cay89, Sylvester Joseph James and ey lu rn n ei rt B2]wr beto able were [BP20] Pratt Kevin and Brand elius nagbaccrepnec nrdcdb Boole by introduced correspondence algebraic wn netgt ntepeetwr,prildifferential partial work, present the in investigate l opeiyuprbud nagbacvariants algebraic an upper-bounds complexity ula vsiaigprildffrniloeaosi rein- is operators differential partial nvestigating huh” ereBoe[o5]li h foun- the laid [Boo54] Boole George Thought”, f rnltsmteaial Sa9,it the into [Sha49], mathematically translates netgtdi h otx farithmetic of context the in investigated emnl eaaebace both branches separate seemingly crippling ONPARTIALDIFFERENTIALENCODINGSOFBOOLEANFUNCTIONS 2
[Boo54].
True 1, → False 0, → (1.1) x [i] 1 x [i] , ¬ → − x [i] x [j] x [i]+ x [j] x [i] x [j] , ∨ → − · x [i] x [j] x [i] x [j] . ∧ → · and
1 True, → 0 False, → (1.2) x [i] x [j] x [i] x [j] , · → ∧ 1 x [i] x [i] , − → ¬ (x [i]+ x [j]) mod 2 (x [i] x [j]) (x [i] x [j]) . → ∨ ∧ ¬ ∧ Polynomials in Boolean variables x [i]: i Z 1 are taken modulo algebraic relations { ∈ n} (x [i])2 x [i] (1.3) . i ≡Z ∀ ∈ n n 1 ( 0,1 × ) Proposition 1. The congruence class of a polynomial interpolant for a Boolean function F 0, 1 { } such as ∈{ }
x [0] + (2 x [i])i d [0] (2 d [j])j 0
(x [i])2 x [i] modulo relations − , necessarily includes a unique multilinear polynomial viewed as a member of i Zn Z ∀ ∈ ( /2Z)[x [0] , , x [n 1]]. ··· −
1 For notational convenience let Zn := [0,n) ∩ Z. ONPARTIALDIFFERENTIALENCODINGSOFBOOLEANFUNCTIONS 3
Proof. Consider the polynomial interpolant for a Boolean function F given by
x [0] + (2 x [i])i d [0] (2 d [j])j 0
x [j]2j d [k]2k 2 0 j Further reducing the expanded form of the polynomial on the right-hand side modulo prescribed algebraic relations yields a multilinear polynomial. By Lagrange’s interpolation construction, we know that the unique multilinear interpolant of F is such that for all i Z ∈ n (x[i] 1)F (x[0], ,x[i 1],0,x[i+1], ,x[n 1]) F (x [0] , , x [i 1] , x [i] , x [i + 1] , , x [n 1]) − ··· − ··· − + ··· − ··· − ≡ 0 1 (1.7) − (x[i] 0)F (x[0], ,x[i 1],1,x[i+1], ,x[n 1]) − ··· 1− 0 ··· − mod 2. − Repeatedly applying the identity above to intermediary restrictions F (x [0] , , x [i 1] , 0, x [i + 1] , , x [n 1]) ··· − ··· − and F (x [0] , , x [i 1] , 1, x [i + 1] , , x [n 1]) ··· − ··· − yields the desired claim. Alternatively, the justifications for Prop. (1) can be viewed from two vantage points. The first vantage point is provided by the sum product rule [Sha49]. The sum product rule, depicts an interpolation construction over the Boolean hypercube expressed by x [i] d [i] x (1 b [i]) (1.8) − = i − − , b [i] d [i] 2b [i] 1 n 1 0 i x [j]2j d [k]2k 0 j The latter construction somewhat implicitly prescribes the same multilinear polynomial as the former. Crucially, note that both constructions express a arithmetic circuit of the form PQP (1.10) B [u, v, 0]+ B [u,v,w + 1] x [w] . · n 1 0 v n 1 b 0, 1 × d (n+1) ∈{ } × × s.t. F (b)=1 We say that the hypermatrix B C underlies the arithmetic circuit in Eq. ∈ (1.10). Such sums of products of linear functionals play a central role in our discussion. We take multilinear polynomials to be canonical representative of congruence classesPQP associated with polynomial interpolants modulo relations prescribed by Eq. (1.3). In fact such representatives inspire the following alternative n 1 ( 0,1 × ) encoding scheme for any Boolean function F 0, 1 { } (1.11) ∈{ } 1 T [i] n 1 ∂ x [i] (1 b [i]) 1 0, 1 × , F (1 ) − − mod 2. ∀ T ⊂{ } T ≡ ∂x [i] 2b [i] 1 0 i H [u, v, 0]+ H [u, v, 1+ w] x [w] = F (1R) τR x [j] , k · 0 u<ρ 0 v ONPARTIALDIFFERENTIALENCODINGSOFBOOLEANFUNCTIONS 5 Their PDEs are respectively expressed using multilinear polynomials of the forms (1.15) τR x [j] and τR x [j] , R S j R R S j R X⊆ Y∈ X⊇ Y∈ where m (1.16) (τ ) =1, R Z k . R ∀ ⊆ n Note that 1 if T = S (1.17) F=S (1T ) = (F S (1T ) F S (1T )) = , ⊆ ∧ ⊇ 0 otherwise is such that m 1 ∂ T [i] (1.18) F (1 )= P (x) . =S T ∂x [i] =S i Z nk x=0 ∈Y nk 1 × where (1.19) τ x [j]: R S τ x [j]: R S = P (x) , R ⊆ ∩ R ⊇ =S j R j R Y∈ Y∈ (1.20) = P (x)= τ x [j] . ⇒ =S S j S Y∈ S For a fixed integer m> 0, the counting argument stems from the observation that there are exactly m(2| |) distinct choices for m-th roots of unity which make up non-vanishing coefficients of the multilinear polynomial (1.21) τR x [j] , R S j R X⊆ Y∈ nk S and m 2 −| | distinct choices for m-th roots of unity which make up non-vanishing coefficients of the multilinear polynomial (1.22) τR x [j] . R S j R X⊇ Y∈ PDEs for F S and F S expressed via the families of multilinear polynomials above make up our proverbial “haystack”.⊆ Needles embedded⊇ in this haystack are “optimal” PDEs. The optimality criterion for PDEs is pre- scribed relative to the size of the smallest hypermatrix [Raz13, Kru77, Str72] which underlies the expression ( i.e. the arithmetic circuit ) of a multilinear polynomial used to specify a PDE. An optimal PDE is such that k B Cρ d (1+n ) thePQP hypermatrix × × which underlies the expression of the corresponding multilinear polynomial, minimizes the product∈ ρ d 1+ nk . For instance, in the equalities · · (1.23) τ x [j] = B [u, v, 0]+ B [u, v, 1+ w] x [w] , R · R S j R 0 u<ρ 0 v (1.24) τR x [j] = B′ [u, v, 0]+ B′ [u, v, 1+ w] x [w] , k · R S j R 0 u<ρ′ 0 v (1.25) P S (x)= (1 + x [i]) and P S (x)= x [i] (1 + x [i]) ⊆ ⊇ i S i S ! i S Y∈ Y∈ Y∈ yield PDEs m 1 ∂ T [i] (1.26) F S (1T )= µ P S (diag (u) x) , ⊆ ∂x [i] ⊆ · i Z nk x=0 ∈Y nk 1 × m T ∂| |µ P S (diag (u) x) (1.27) = F S (1T )= ⊆ · . ⇒ ⊆ ∂x [i] i T x=0 ∈ nk 1 Q × and m 1 ∂ T [i] (1.28) F S (1T )= µ P S (diag (u) x) , ⊇ ∂x [i] ⊇ · i Z nk x=0 ∈Y nk 1 × m T ∂| |µ P S (diag (u) x) (1.29) = F S (1T )= ⊇ · . ⇒ ⊇ ∂x [i] i T x 0 ∈ = nk 1 Q × m m m m where u◦ = 1nk 1, µ =1 ( recall that u◦ [i] = (u [i]) ) express optimal PDEs for F S and F S as established by the following proposition.× ⊆ ⊇ Proposition 2. Polynomials whose expanded form are m (τR) =1 (1.30) τR x [j] and τR x [j] , where , R Znk R S j R R S j R ∀ ⊆ X⊆ Y∈ X⊇ Y∈ are optimally expressed as sums of products of linear forms respectively by (1.31) µ P S (diag (u) x) and µ P S (diag (u) x) , ⊆ · ⊇ · m m where u◦ = 1nk 1, µ =1 . × Proof. Prime factors in the factorization of the integer count for the number of non-vanishing monomial terms in the expanded form of P S (x) and P S (x) yield lower bounds for the number of non-vanishing terms which make ⊆ ⊇ S (nk S ) up each linear form. There are 2| | non-vanishing monomial terms in the expanded form of P S (x) and 2 −| | ⊆ non-vanishing terms in the expanded form of P S (x). ⊇ ONPARTIALDIFFERENTIALENCODINGSOFBOOLEANFUNCTIONS 7 Consequently, the smallest hypermatrix which underlies a polynomial which expands into an expression of the form (τ )m =1 τ x [j] , where R , R R S R S j R ∀ ⊆ X⊆ Y∈ is of size 1 S 1+ nk . Similarly, the smallest hypermatrix which underlies a polynomial which expands into an expression× | of|× the form (τ )m =1 τ x [j] , where R , R R S R S j R ∀ ⊇ X⊇ Y∈ k k is of size 1 n 1+ n . Furthermore, the expanded form of polynomials used to specify optimal PDEs for F S , × × S ⊆ S +1 2| | account for m| | polynomials out of a total m possible expanded polynomials. Similarly the expanded form k nk S n S +1 2 −| | of polynomials used to specify optimal PDEs for F S , account for m −| | polynomials out of a total of m possible expanded polynomials. ⊇ It serves our purpose to think of the nk entries of x as associated with distinct directed hyperedges of a complete directed n-vertex hypergraph of order k. Optimal PDEs such as the ones devised for F S and F S, epitomize membership of these Boolean functions to the class P. Namely the class of Boolean functions⊆ which admit⊇ efficient PDEs ( i.e. PDEs whose size is upper bounded by some polynomial in nk ). 2. PDEs of cardinality variants of F S and F S. ⊆ ⊇ We now discuss slightly more intricate families of Boolean functions associated with cardinality variants of F S ⊆ and F S defined by ⊇ 1 if T S 1 if T S | | ≤ | | | | ≥ | | (2.1) F S (1T )= and F S (1T )= . ≤| | ≥| | 0 otherwise 0 otherwise k With the goal in mind to express optimal PDEs for F S and F S , consider the symbolic n 1 orbital vector Z ≤| | ≥| | × k O whose entries depict the action of the symmetric group Snk on the hyperedge set. Each entry of the n 1 orbital k k × vector Z are monomials in entries of a symbolic n n ! matrix Z such that O × (2.2) Z [i]= Z [σ ( i) , lex (σ)] , i Z k . O ∀ ∈ n σ S ∈Ynk The canonical representative of the congruence class R S (2.3) P S ( Z) mod Z [i, lex (σ)] Y [j, lex (R)] : | | ≤ | | , ⊆ O − σ Snk i R j R ∈ Y∈ Y∈ denotes the unique member of the congruence class which depends only upon entries ofY and crucially does not depend upon any entry of Z. We emphasize that the reduction by the prescribed algebraic relations be done in decreasing order of the cardinalities of the set parameter R. Proposition 3. The canonical representative of R S (2.4) P S ( Z) mod Z [i, lex (σ)] Y [j, lex (R)] : | | ≤ | | , ⊆ O − σ Snk i R j R ∈ Y∈ Y∈ ONPARTIALDIFFERENTIALENCODINGSOFBOOLEANFUNCTIONS 8 is the orbit list generating polynomial (nk R )! R ! S −| | ·| | (2.5) | | Y [i, lex (R)] . t 0 t S Z i R ! ≤X≤| | R Y nk Y∈ R⊆ = t | | Proof. The canonical representative of Z R nk (2.6) P S ( Z) mod Z [i, lex (σ)] Y [j, lex (R)] : ⊆ ⊆ O − σ Snk i R j R ∈ Y∈ Y∈ is obtained by replacing into the expanded form of P S ( Z) every occurrence of monomials in the entries of Z given by ⊆ O R Z k (2.7) Z [i, lex (σ)] ⊆ n , ∀ σ Snk i R ∈ Y∈ with the monomial in entries of Y given by (2.8) Y [j, lex (R)] . j R Y∈ Since the replacement is performed in decreasing order of the cardinalities of the set parameter R. Previous replacements performed for sets of larger cardinalities are unaffected by subsequent replacements performed for sets of smaller cardinalities. It follows that the canonical representative is nk R ! R ! ( −| |) ·| | Y [i, lex (T )] , i T R Znk T Znk ∈ R⊆P S T ⊆Q= R Q | | ≤ | | | | | | (2.9) nk R ! R ! ( −| |) ·| | = Y [i, lex (T )] . 0 t S Z i T ≤ ≤| | T nk ∈ P T ⊆Q= R Q | | | | An identical argument establishes that the canonical representative of R S (2.10) P S ( Z) mod Z [i, lex (σ)] Y [j, lex (R)] : | | ≥ | | , ⊇ O − σ Snk i R j R ∈ Y∈ Y∈ ONPARTIALDIFFERENTIALENCODINGSOFBOOLEANFUNCTIONS 9 is the orbit list generating polynomial nk R ! R ! ( −| |) ·| | Y [i, lex (T )] , i R R Znk T Znk ∈ R⊆P S T ⊆Q= R Q | | ≥ | | | | | | (2.11) (nk R )! R ! nk S −| | ·| | = −|t | Y [i, lex (R)] S t nk i R R Z k | |≤ ≤ n ∈ P R⊆Q= t Q | | We modify slightly the orbit list generating polynomial to devise PDEs for F S and F S . Let canonical repre- sentative of ≤| | ≥| | (2.12) x[i] i R ∈ Z k 1 S R n , R S Z k Q | | P S (x)= P S ( ) mod Z [i, lex (σ)] (n R )! R ! ( R ) : ⊆ | | ≤ | | [0, 1] , ≤| | ⊆ O − −| | ·| | · | | σ Snk i R 0 1 ∈ Y∈ (2.13) x[i] i R ∈ Z k 1 Q nk S R n , R S x Z Z k −| | P S ( )= P S ( ) mod [i, lex (σ)] (n R )! R ! ( R ) : ⊆ | | ≥ | | [0, 1] , ≥| | ⊇ O − −| | ·| | · | | σ Snk i R 0 1 ∈ Y∈ and x[i] i R Z 1 ∈ R nk , R = S (2.14) P= S (x)= P=S ( Z) mod Z [i, lex (σ)] (nk QR )! R ! : ⊆ | | | | [0, 1] , | | O − −| | ·| | σ Snk i R 0 1 ∈ Y∈ denote members of respective congruence classes which depe nd only upon entries of x and crucially do not depend upon any entries of Z. Proposition 4. Multivariate multilinear polynomials P S (x) and P S (x) are used to specify PDEs (2.15) ≤| | ≥| | m m T T ∂| |µP S (diag (u) x) ∂| |µP S (diag (u) x) F S (1T )= ≤| | · and F S (1T )= ≥| | · , ≤| | ∂x [i] ≥| | ∂x [i] i T x 0 i T x 0 ∈ = nk 1 ∈ = nk 1 Q × Q × m m where u◦ = 1nk 1 and µ =1. × Proof. Similarly to the argument used in to prove Prop. (3), canonical representatives for the first of these con- gruence classes is obtained by replacing into the expanded form of P S ( Z) every occurrence of monomials in the entries of Z given by ⊆ O R Z k (2.16) Z [i, lex (σ)] , ⊆ n , ∀ σ Snk i R ∈ Y∈ by the 2 2 matrix × x[i] i R ∈ 1 S k Q | | (2.17) (n R )! R ! ( R ) , −| | ·| | · | | 0 1 ONPARTIALDIFFERENTIALENCODINGSOFBOOLEANFUNCTIONS 10 canonical representatives for the second of the two congruence classes is obtained by replacing into the expanded form of P S ( Z) every occurrence of monomials in the entries of Z given by ⊇ O R Z k (2.18) Z [i, lex (σ)] , ⊆ n , ∀ σ Snk i R ∈ Y∈ by the 2 2 matrix × x[i] i R ∈ 1 Q nk S k −| | (2.19) (n R )! R ! ( R ) −| | ·| | · | | 0 1 The desired multilinear polynomial appears as the [0, 1] entry of the 2 2 matrix resulting from the substitutions. × Note that if there were other PDEs for F S and F S specified via polynomials whose expansion had fewer than ≤| | ≥| | the number of terms found in the expansion of P S (x) and P S (x) respectively, then this would contradict the ≤| | ≤| | optimality assertion for P S (x) and P S (x). ⊆ ⊇ nk ( t ) S +1 0 t S The construction above accounts only for m| | of the m ≤ ≤| | possible PDEs for F S . Similarly, the P ≤| | nk k ( t ) n S +1 S t nk construction above accounts for m −| | of the m| |≤P≤ possible PDEs for F S . Incidentally, ≥| | 1 if T = S | | | | (2.20) F= S (1T )= F S (1T ) F S (1T ) = , | | ≤| | ∧ ≥| | 0 otherwise m T ∂| |µP= S (diag (u) x) (2.21) = F= S (1T )= | | · , ⇒ | | ∂x [i] i T x=0 ∈ nk 1 Q × where (2.22) P= S (x)= x [j] . | | Z j R R X nk Y∈ R⊆= S | | | | In the equality (2.23) P S (x)= B [u, v, 0]+ B [u,v,w + 1] x [w] , ≤| | · 0 u<ρ 0 v