Documentation

CslibFrontier.Computability.Complexity.Reduction.LogSpaceAutoreducibility

Logspace truth-table autoreducibility #

Query-avoiding versions of the indexed logspace truth-table reductions: the count, generator, evaluator, encodings and answer word are exactly those of LogSpaceTruthTableReducible. Only active queries must avoid the input; unused indices are unrestricted. Since encA is injective, avoidance of instances is equivalent to avoidance of their encoded words. Each variant instantiates Cslib.Complexity.TruthTableAutoreducibleBy from CslibFrontier.Computability.Reduction.TruthTable, whose lemmas give the forgetful maps, zero-query L autoreductions, complement closure, and complement-reduction witnesses.

Main definitions #

Main results #

Source mapping #

The source is the expanded ECCC TR13-047 version dated 18 March 2013, Proposition 2.7(1), printed page 5 (PDF index 4), with autoreducibility as in Definition 2.2, page 4. For every encoded instance type, C is closed under set complement; completeness includes membership and hardness for every encoded problem in C. On bit words with encBits, this specializes to the paper's language setting. More generally the theorem retains the existing library's explicit injective encodings. Count output uses encUnary, query inputs use encPair encA encUnary, and evaluation uses encPair encA encBits with output encBool. The inherited resource predicate is plain ComputableInLogSpace; the evaluator convention is L, as documented in LogSpaceTruthTable. Here the evaluator just negates one bit, so no unbounded truth-table evaluation claim is needed. The bound is at most one query, with a witness asking exactly one on every input.

The proof is the paper's existing complement-reduction argument specialized to many-one reductions, not a new proof idea. A witness for $A^c \le_m^L A$ satisfies $x \notin A \leftrightarrow f(x) \in A$, which forces $f(x) \ne x$; negate the oracle answer. Proposition 2.7(2,3), concerning bounded disjunctive/conjunctive completeness, is not proved here. Neither the full paper nor an application to parity logspace is claimed.

References #

A logspace truth-table reduction to the same set, with no active query equal to its input.

A query-avoiding logspace truth-table reduction with at most k queries on each input.

A query-avoiding logspace truth-table reduction with some constant query bound.

Forgetting query avoidance gives an ordinary logspace truth-table reduction.

Forgetting query avoidance preserves the query bound.

Increasing the allowed number of queries preserves autoreducibility.

Negating the combiner and the answers it reads gives an autoreduction of the complement with the same queries.

Negating the combiner and the answers it reads gives a k-query autoreduction of the complement with the same queries.

Bounded truth-table autoreducibility in logarithmic space is closed under complement.

A fixed query bound witnesses bounded truth-table autoreducibility.

Forgetting the constant bound gives truth-table autoreducibility, retaining avoidance.

A bounded autoreduction is an ordinary bounded reduction.

Every problem in L is k-truth-table autoreducible via a zero-query reduction.

theorem Cslib.Complexity.LogSpaceBTTAutoreducible.of_mem_L {α : Type} {encA : α ↪ List Bool} {A : Set α} (hA : A ∈ L encA) :

Every problem in L is bounded truth-table autoreducible.

Every problem in L is truth-table autoreducible.

A reduction from the complement suffices; query avoidance follows from its correctness.

theorem Cslib.Complexity.logSpaceKTruthTableAutoreducible_one_of_complement_witness {α : Type} {encA : α ↪ List Bool} {A : Set α} {f : α → α} (hf : Turing.MultiTapeTM.ComputableInLogSpace f encA encA) (hA : ∀ (a : α), a ∉ A ↔ f a ∈ A) :

The many-one case of the complement-reduction argument in [GNR+13], Proposition 2.7, page 5: a logspace witness reducing Aᶜ to A cannot fix any input; query it and negate the answer.

theorem Cslib.Complexity.LogSpaceComplete.logSpaceKTruthTableAutoreducible_one {α : Type} {encA : α ↪ List Bool} {A : Set α} {C : {α : Type} → (α ↪ List Bool) → Set (Set α)} (h : LogSpaceComplete (fun {α : Type} => C) encA A) (hcompl : ∀ {β : Type} (enc : β ↪ List Bool), ∀ B ∈ C enc, Bᶜ ∈ C enc) :

Proposition 2.7(1) of the expanded ECCC version of [GNR+13], page 5: many-one complete sets of a complement-closed class are one-query truth-table autoreducible in logspace.