Documentation

CslibFrontier.Computability.Complexity.Problems.MonotoneCircuitValue

The monotone circuit value problem #

The monotone circuit value problem asks whether a monotone circuit (Cslib.Circuits.Monotone: constants, binary conjunction and binary disjunction, no negation) outputs true on a given input [Gol77], Arora and Barak, Section 6.7. As for the circuit value problem (Cslib.Complexity.CircuitValue), an instance (Cslib.Complexity.MonotoneCircuitValueInstance) is a single-output monotone circuit of arity n together with an input in BitString n. A monotone circuit is encoded as the same circuit read in the De Morgan basis (Cslib.Circuits.Monotone.toDeMorgan), so an encoded instance of the monotone problem is an encoded instance of the circuit value problem (Cslib.Complexity.encMonotoneCircuitValue).

The problem reduces to the circuit value problem in logarithmic space, indeed by the identity on encodings (Cslib.Complexity.MonotoneCircuitValue.logSpaceReducible_circuitValue), and hence is in P (Cslib.Complexity.MonotoneCircuitValue.mem_P). It is P-complete under logarithmic-space reductions (CslibFrontier/Computability/Complexity/Problems/MonotoneCircuitValue/Completeness.lean).

Main definitions #

Main results #

References #

An instance of Monotone Circuit Value: an input arity, a single-output monotone circuit of that arity, and an input bit-string.

The monotone circuit value problem: the monotone circuits with one output, each with an input of its arity, whose output on that input is true [Gol77].

A monotone instance read as an instance of the circuit value problem, in the De Morgan basis.

A monotone instance is a yes-instance exactly when its De Morgan reading is.

Instances of the monotone circuit value problem, encoded as the instances of the circuit value problem with the same circuit read in the De Morgan basis (encCircuitValue).

The monotone circuit value problem reduces to the circuit value problem in logarithmic space, indeed by the identity on encodings.