Sign-rank #
A real matrix A sign-represents a Boolean function f : X → Y → Bool when each entry of A is
nonzero with the sign of the corresponding entry of the sign matrix signMatrix ℝ f: negative
where f is true and positive where f is false (SignRepresents). The sign-rank of f is
the least rank of such a matrix (signRank) Paturi and Simon
Sherstov and Wu, §2.8. It is invariant under negating f (signRank_not) and
exchanging the players (signRank_swap), does not increase on submatrices
(signRank_comap_le), and is at most the rank of the sign matrix (signRank_le_rank_signMatrix).
A sign-representation of least rank factors through signRank f dimensions
(exists_mul_signRepresents), and by scaling and rounding every factorization can be replaced by
an integer one (exists_int_mul_signRepresents).
The sign-rank can be much smaller than the rank. The communication matrix of equality on n
inputs is the identity, of rank n, but its sign-rank is at most three: for an injective
numbering e of the inputs, the matrix (e x - e y) ^ 2 - 1 / 4 sign-represents equality and
has rank at most three (signRank_equality_le_three). With three or more inputs it is at least
two (two_le_signRank_equality), and for four or more it is at least three
(three_le_signRank_equality), hence equal to three (signRank_equality_eq_three), the sign-rank
step of Claim 3 in Alon, Moran and Yehudayoff (arXiv:1503.07648v2,
§1.2 and §3.2.1; the VC-dimension part of Claim 3 is tracked in
#3262).
The sign-rank characterizes unbounded-error communication; see
CslibFrontier.Computability.Communication.PaturiSimon.
Main definitions #
Cslib.Communication.SignRepresents: a real matrix sign-represents a Boolean function.Cslib.Communication.signRank: the sign-rank of a Boolean function.
Main results #
Cslib.Communication.signRank_le_rank,Cslib.Communication.signRank_le_iff: sign-rank in terms of sign-representations.Cslib.Communication.signRank_le_rank_signMatrix,Cslib.Communication.signRank_le_rank_communicationMatrix_add_one: sign-rank is at most rank.Cslib.Communication.signRank_comap_le: monotonicity under submatrices.Cslib.Communication.exists_mul_signRepresents,Cslib.Communication.exists_int_mul_signRepresents: real and integer factorizations.Cslib.Communication.signRank_equality_le_three,Cslib.Communication.two_le_signRank_equality,Cslib.Communication.three_le_signRank_equality,Cslib.Communication.signRank_equality_eq_three: bounds and exact value for equality, the sign-rank step of Claim 3 in Alon, Moran and Yehudayoff.
References #
A real matrix A sign-represents a Boolean function f when each of its entries has the
sign of the corresponding entry of the sign matrix of f: negative where f is true and positive
where f is false. In particular every entry is nonzero.
Scaling by a positive constant preserves sign-representation.
Negating a matrix sign-represents the negated function.
Transposing a matrix sign-represents the function with its arguments exchanged.
Submatrices sign-represent the restricted function.
The sign matrix of f sign-represents f.
The sign-rank of a Boolean function f: the least rank of a real matrix that
sign-represents f Sherstov and Wu, §2.8. The sign matrix itself is such a
matrix, so the infimum is attained (exists_signRepresents_rank_eq).
The sign-rank is at most the rank of the sign matrix.
The sign-rank is at most the number of columns.
The sign-rank is at most the number of rows.
Integer sign-representations #
Integer sign-representations. If a product U * V of real matrices through ι
sign-represents f on finite sets of inputs, so does a product of integer matrices through the
same ι: for large N, the matrices ⌊N U⌋ and ⌊N V⌋ have a product within o(N ^ 2) of
N ^ 2 (U * V), whose entries are bounded away from zero.
Equality #
Equality has sign-rank at most three: for an injective numbering e of the inputs, the
matrix (e x - e y) ^ 2 - 1 / 4 sign-represents equality and has rank at most three.
On three or more inputs, equality has sign-rank at least two: a product u x * v y takes the
same sign on two rows x₁ ≠ x₂ with u x₁, u x₂ of the same sign, but equality separates them
in column x₁.
On four or more inputs, equality has sign-rank at least three: in a rank-two factorization
U * V on four inputs, the first three rows of U satisfy a nontrivial linear relation in ℝ²;
testing that relation against the fourth column of V rules out coefficients all of one sign, and
testing against the first three columns rules out a single positive or single negative
coefficient.
The sign-rank step of Claim 3 in Alon, Moran and Yehudayoff
(arXiv:1503.07648v2, §1.2 and §3.2.1): on four or more inputs, equality has sign-rank three. The
source states Claim 3 for the N × N signed identity matrix (+1 on the diagonal and -1 off
the diagonal, i.e. -signMatrix ℝ equality, which has the same sign-rank by signRank_not), and
pairs it with a VC-dimension assertion not formalized here (see
#3262).