Multi-output MCSP #
The Multi-output Minimum Circuit Size Problem [IlangoLoffOliveira2020, Definition 1, p. 22:3]
asks, given positive integers n, m and s in unary and a function f : {0,1}^n → {0,1}^m as
a string of length m · 2^n, whether some Boolean circuit of size at most s computes f. A
circuit computes a multi-output function "if for each component f_i of f, there is a gate or
input wire in C that computes f_i" [p. 22:3]. Such a circuit is a cslib Program together
with a wire for each component, which is a Circuit with m designated outputs; outputs cost
nothing and every gate counts, used or not, in the source and here alike
(MultiMCSP.mem_iff_exists_program_wires).
MultiMCSP I is defined for any interpretation I, through the complexity ecomplexity I in
ℕ∞, so a basis need not be complete. Only MultiMCSP Boolean.DeMorgan.interpretation, over the
source's basis of fan-in-two AND and OR and NOT without constants, is Definition 1 exactly.
MultiMCSP Boolean.interpretation, over cslib's basis with constants, is a library variant with a
different size measure: a constant costs one gate there, but two (x ∧ ¬x) in the source's basis.
Results proved for both use the class Boolean.DeMorganBasis.
Presentation choices #
- Zero parameters. The source asks for positive
n,mands; the typeMultiMCSP.Instancealso allows0.MultiMCSP.Instance.Positivesingles out the source's instances. - Bit order. The source does not fix the order of the
m · 2^nbits. Here they are component-major: the truth table of component0, then that of component1, and so on (MultiMCSP.Instance.tableBits,MultiMCSP.Instance.tableBits_eq_flatten). Each component's table lists its2 ^ nvalues in the order ofMCSP.truthTable. - Delimiters. The encoding writes
n,mandsin unary, each framed, then the table bits (MultiMCSP.encInstance).
Main definitions #
Cslib.MultiMCSP.Instance,Cslib.MultiMCSP.Instance.function: instances and the multi-output function an instance gives.Cslib.MultiMCSP.Instance.Positive: the instances of Definition 1 proper, withn,mandspositive.Cslib.MultiMCSP.Instance.tableBits: them · 2^ntable bits, component-major.Cslib.MultiMCSP.encInstance: the encoding of Definition 1.Cslib.MultiMCSP: the yes-instances over an interpretationI.Cslib.MultiMCSP.Instance.ofMCSP: a single-output MCSP instance as an instance with one output.Cslib.MultiMCSP.Instance.ofFunction: the instance with a given function and threshold.
Main results #
Cslib.MultiMCSP.mem_iff_exists_circuit,Cslib.MultiMCSP.mem_iff_exists_program_wires: the yes-instances, as circuits with designated outputs and as the source's programs with a wire for each component.Cslib.MultiMCSP.length_encInstance: the length of the encoding.Cslib.MultiMCSP.ofMCSP_mem_iff: with one output, Multi-MCSP overBoolean.interpretationis MCSP.Cslib.MultiMCSP.ofFunction_mem_iff: the instance with functionfand thresholdsis a yes-instance exactly whenfcosts at mosts.Cslib.MultiMCSP.subset_of_preserves,Cslib.MultiMCSP.deMorgan_subset_boolean: a larger basis has more yes-instances.
References #
An instance of Multi-output MCSP [IlangoLoffOliveira2020, Definition 1, p. 22:3]: the number
n of inputs, the number m of outputs, a size threshold s, and the truth table of each of the
m components. The source asks for positive n, m and s; this type also allows 0.
An instance of Definition 1 proper [IlangoLoffOliveira2020, p. 22:3]: n, m and s are
positive.
Instances For
The m · 2^n table bits of an instance, component-major: bit j of component i is at
position i · 2^n + j (tableBits_eq_flatten).
The table bits determine the tables, for fixed numbers of inputs and outputs.
The encoding of Definition 1 [IlangoLoffOliveira2020, p. 22:3]: n, m and s in unary,
each framed, then the m · 2^n table bits, component-major (Instance.tableBits).
Multi-output MCSP [IlangoLoffOliveira2020, Definition 1, p. 22:3] over the basis I: the
instances whose multi-output function has a circuit over I with at most threshold gates. The
complexity is taken in ℕ∞, so I need not be complete. Definition 1 is the case
I = Boolean.DeMorgan.interpretation; over other bases, such as cslib's Boolean.interpretation,
whose constants cost one gate instead of two, this is a library variant.
An instance is a yes-instance exactly when some circuit with m designated outputs and at most
threshold gates computes its function.
The source's circuits [IlangoLoffOliveira2020, p. 22:3]: an instance is a yes-instance
exactly when some program with at most threshold gates has, for each component of the function,
an input or gate wire computing it. Gates that no chosen wire uses still count.
Raising the threshold keeps a yes-instance a yes-instance.
A meaning-keeping map of signatures turns yes-instances into yes-instances.
Every yes-instance over the constant-free basis of the source is a yes-instance over cslib's basis with constants.
A single-output MCSP instance as a Multi-output MCSP instance with one output.
With one output, the multi-output function is the single function of the MCSP instance.
With one output, Multi-MCSP is MCSP, both over cslib's De Morgan basis with constants.
The instance with function f and threshold s is a yes-instance exactly when f costs at
most s.