Monotone Span Programs #
A monotone span program over a field F for a party type Party ([BS23], Definition
22.21, p. 978) assigns to each party i : Party a rowDim i × (tailDim + 1) matrix matrix i
over F. The book's column count d is tailDim + 1 ≥ 1 so that the target row vector
e₁ = (1, 0, …, 0) ∈ F^{tailDim + 1} is always well-defined and nonzero. A coalition s is
accepted iff target = e₁ lies in the F-linear span of all rows of {matrix i}_{i ∈ s}.
Main definitions #
Cslib.Circuits.MonotoneSpanProgram: a monotone span program over fieldFandParty.Cslib.Circuits.MonotoneSpanProgram.target: the unit row vectore₁ = Pi.single 0 1.Cslib.Circuits.MonotoneSpanProgram.rowSpan: the row span of{P.matrix i}_{i ∈ s}.Cslib.Circuits.MonotoneSpanProgram.Accepts: acceptance predicateP.target ∈ P.rowSpan s.
Main results #
Cslib.Circuits.MonotoneSpanProgram.accepts_mono: acceptance is monotone under coalition inclusion.Cslib.Circuits.MonotoneSpanProgram.not_accepts_empty: the empty coalition is never accepted.Cslib.Circuits.MonotoneSpanProgram.accepts_iff_exists_vecMul: acceptance iff there exist per-party row weights summing toP.target.Cslib.Circuits.MonotoneSpanProgram.exists_nullVector_of_not_accepts: every unauthorized coalition admits a right-kernel vectorvwithv 0 = 1.
References #
- [BS23] Dan Boneh and Victor Shoup, A Graduate Course in Applied Cryptography, v0.6, Section 22.5.2.
The target row vector e₁ = (1, 0, …, 0) ∈ F^{tailDim + 1}
([BS23], Definition 22.21, p. 978).
Acceptance by a monotone span program is monotone under coalition inclusion ([BS23], Definition 22.21, p. 978).
The empty coalition is never accepted by a monotone span program over a field.
A coalition s is accepted iff there exist per-party row coefficient vectors w i whose
weighted sum of rows equals P.target = e₁ ([BS23], Construction 22.2, p. 980).
Sufficient certificate of non-acceptance: any column vector v with v 0 = 1 in the right
kernel of P.matrix i for all i ∈ s witnesses ¬ P.Accepts s.
For every unauthorized coalition s, there exists a column vector v : Fin (P.tailDim + 1) → F
with v 0 = 1 that lies in the right kernel of P.matrix i for every i ∈ s.