Circuits for Lin and P_L #
Boneh and Shoup, Theorem 22.14, p. 981 calls the algorithm Lin efficient and
the program P_L efficiently computable. For the deterministic algorithms Lin and P_L, the
book's efficiency requirement (Definition 2.8, p. 30) is one algorithm on bit-string inputs whose
running time is polynomially bounded uniformly across inputs; Definition 2.8 additionally permits a
negligible running-time tail for probabilistic algorithms. This file
bounds the circuits that compute MonotoneSpanProgram.recombination,
MonotoneSpanProgram.nullVector and MonotoneSpanProgram.normalForm themselves, with the program
and the coalition as inputs. The bounds are a step toward the efficiency claims of Theorem 22.14,
not those claims.
For each shape of program (number of parties N, tailDim + 1 columns, row dimensions
rowDim), there is one circuit. Its available wires are the matrix entries M i row c and, for
each party, a membership value χ i, nonzero for the members; at an input x the program is
⟨tailDim, rowDim, fun i row c => M i row c x⟩ and the coalition is {i | χ i x ≠ 0}. The gates
are those of fullInterpretation (k := 2) over the field: one gate computes any function of at
most two field elements, so a zero test with selection, a product and a quotient a⁻¹ * b each
count as one gate. The bounds therefore count field operations and zero tests, not bit
operations. With r = ∑ i, rowDim i rows, d = tailDim + 1 columns and
kernelVecCost r n = 8 * (r + 1) * (n + 1) ^ 2, the bounds are of order
(r + 1) * d ^ 2 + d * (r + 1) ^ 2.
Open: a bound in bit operations over an encoded field, and uniformity of the circuits in the
shape (N, tailDim, rowDim) (#5293).
Main results #
Cslib.Circuits.Synthesis.full_recombination: the entries ofLin.Cslib.Circuits.Synthesis.full_nullVector: the kernel vector.Cslib.Circuits.Synthesis.full_normalForm: the entries ofP_L.
References #
- D. Boneh, V. Shoup, A Graduate Course in Applied Cryptography, Theorem 22.14, p. 981.
A field-gate circuit for Lin for each shape of program, a step toward the efficiency claim
of [BS23], Theorem 22.14(a) (p. 981), not that claim. For a program with
r = ∑ i, rowDim i rows and tailDim + 1 columns whose entries, together with the membership
values of a coalition, are available wires, the entries of the recombination vectors of that
coalition cost at most kernelVecCost (tailDim + 1) (r + 1) + r * (tailDim + 2) + 2 gates, one
gate being any function of at most two field elements. A bound in bit operations and uniformity
in the shape are open (#5293).
A circuit for the kernel vector. For a program with r = ∑ i, rowDim i rows and
tailDim + 1 columns whose entries, together with the membership values of a coalition, are
available wires, the entries of nullVector of that coalition cost at most
kernelVecCost r (tailDim + 1) + r * (tailDim + 1) gates, one gate being any function of at most
two field elements.
A field-gate circuit for P_L for each shape of program, a step toward the efficiency claim
of [BS23], Theorem 22.14(b) (p. 981), not that claim. For a program with
r = ∑ i, rowDim i rows and tailDim + 1 columns whose entries, together with the membership
values of a coalition, are available wires, all entries of normalForm of that coalition cost
at most kernelVecCost r (tailDim + 1) + r * (3 * tailDim + 4) gates, one gate being any
function of at most two field elements. A bound in bit operations and uniformity in the shape
are open (#5293).