Documentation

DescriptiveComplexity.Problems.CircuitNumber

The number written by a circuit is complete for FP #

DescriptiveComplexity.CircuitNumber: given a Boolean circuit with several output gates and a comparison of them, compute the number whose binary digits are the values of the outputs. It is the function counterpart of the circuit value problem (DescriptiveComplexity.CVP), and plays for FP, under parsimonious reductions, the part CVP plays for PTIME: DescriptiveComplexity.circuitNumber_FP_parsimoniousComplete.

The proof #

So the digit-definable problems are exactly those of FP (DescriptiveComplexity.digitDefinable_iff_mem_FP): the normal form in the proof that QFO(LFP) captures FP (Arenas, Muñoz, Riveros 2020, Theorem 4.4), here a theorem about the logic with no machine in it.

Relativized reductions #

FP is closed under relativized parsimonious reductions as well (DescriptiveComplexity.mem_FP_of_relOrderedParsimonious), those whose target universe is a definable set of tagged tuples. No pullback of a quantitative term through such a reduction is needed: the reduction is composed down to this problem, which ignores isolated elements (DescriptiveComplexity.circuitNumber_of_embedding), so that the tuples outside the domain can be kept.

Attribution #

The statement that this problem is complete for FP under first-order parsimonious reductions was not found in the literature. Under polynomial-time reductions every function of FP is complete for it, so the question only arises for reductions this weak; the proof combines the normal form of Arenas, Muñoz and Riveros with the classical completeness of circuit value for PTIME.

A digit-definable problem is in FP: it reduces to the number written by a circuit, which is.

Dependency graph

The digit-definable problems are those of FP. Registered in the Lax archive as Lax366625.FPByDigits.digitDefinable_iff_mem_FP.

Dependency graph

The number written by a circuit is hard for FP under parsimonious reductions.

Dependency graph

The number written by a circuit is complete for FP under parsimonious reductions. Registered in the Lax archive as Lax366625.FPComplete.circuitNumber_FP_parsimoniousComplete.

Dependency graph

FP is closed under relativized ordered parsimonious reductions. Registered in the Lax archive as Lax366625.FPClosure.FP_mem_of_relOrderedParsimonious.

Dependency graph