Arithmetizing read-once parity branching programs #
Over a commutative ring, a contact testing x i = true becomes the variable X i, a contact
testing x i = false becomes 1 - X i, and a rectifier becomes 1. Summing over the paths from a
node to the target the products of these literals gives, at a point of the Boolean cube, the
number of paths that the point switches on Volk, Section 2.
Cslib.BranchingPrograms.NBP.toArith computes these sums with an arithmetic circuit, one node
after the other: the value of a node is, starting from a 0 shared by all nodes, the sum over its
wires of the literal of the wire times the value of its head. A wire is kept when some path leads
from its head to the target and the coordinate it tests is tested on no such path. Dropping the
other wires makes the circuit syntactically multilinear
(Cslib.BranchingPrograms.NBP.isSyntacticallyMultilinear_toArith), and drops nothing that matters
in a read-once program: there the source computes the number of paths an input switches on
(Cslib.BranchingPrograms.NBP.eval_toArith_bitPoint). So the circuit computes the multilinear
extension of the path count (Cslib.BranchingPrograms.NBP.eval_toArith_X). It has two gates for
the constants 0 and 1 and at most five for each wire
(Cslib.BranchingPrograms.NBP.size_toArith_le), so its size is linear in the number of wires,
whatever the number of nodes.
Over F₂, the proof of Volk's Claim 2.6 replaces each ¬ x i by 1 + x i, turning a read-once
parity program into a syntactically multilinear algebraic branching program with the same edges,
and his Claim 2.2 turns a syntactically multilinear algebraic branching program of size S into a
syntactically multilinear circuit of size O(S) Volk, Section 2. toArith builds the
circuit directly, combining the two steps.
Main definitions #
Cslib.BranchingPrograms.NBP.toArith: the arithmetic circuit of a branching program.
Main results #
Cslib.BranchingPrograms.NBP.size_toArith_le: its size.Cslib.BranchingPrograms.NBP.isSyntacticallyMultilinear_toArith: it is syntactically multilinear.Cslib.BranchingPrograms.NBP.eval_toArith_bitPoint: for a read-once program it counts the switched-on paths at the Boolean points.Cslib.BranchingPrograms.NBP.eval_toArith_X: it computes the multilinear extension of the path count.Cslib.BranchingPrograms.NBP.exists_syntacticallyMultilinear: in characteristic two, syntactically multilinear circuits simulate read-once parity programs.
References #
Literals and term circuits #
Appending terms #
The circuit of a branching program #
The arithmetic circuit counts paths. For a read-once program, the circuit at a Boolean
point computes, in every R-algebra, the number of paths from the source to the target that the
point switches on.
A read-once program computes the multilinear extension of its path count. The polynomial computed by the arithmetic circuit of a read-once program is the multilinear extension of the number of switched-on paths.
In characteristic two the arithmetic circuit of a read-once parity program computes the multilinear representative of the function it computes by parity.
Syntactically multilinear circuits simulate read-once parity programs. In characteristic
two, the function computed by parity by a syntactic read-once parity branching program with w
wires has a syntactically multilinear circuit with at most 2 + 5 w gates computing its
multilinear representative Volk, Claims 2.2 and 2.6.