Change of basis of a monotone span program #
Multiplying every matrix M_i of a monotone span program on the right by one square matrix R
gives the program (M_i * R)_i of Boneh and Shoup, Lemma 22.15, p. 982. When
R is invertible and its top row is e₁, the two programs accept the same coalitions: R
fixes the target vector e₁, and an invertible R maps a combination of rows to e₁ exactly
when the combination itself is e₁. That the two programs also generate the same distribution
of shares is Lemma 22.15 itself, in
CslibFrontier.Crypto.Protocols.SecretSharing.AccessStructure.LinearEquivalence.
Main definitions #
Cslib.Circuits.MonotoneSpanProgram.mulRight: the program(M_i * R)_i.
Main results #
Cslib.Circuits.MonotoneSpanProgram.accepts_mulRight: for an invertibleRwith top rowe₁, both programs accept the same coalitions.
References #
- D. Boneh, V. Shoup, A Graduate Course in Applied Cryptography, Lemma 22.15, p. 982.
The span program whose matrices are M_i * R ([BS23], Lemma 22.15, p. 982). It
has the same row dimensions and number of columns as P.
Multiplying on the right by an invertible matrix whose top row is e₁ does not change the
accepted coalitions.