Metric reductions and #P-hardness under one-query reductions #
A metric reduction Krentel from f : α → Y to g : β → Z is a pair of
polynomial-time functions, a query map r : α → β and a recovery map post : α × Z → Y, with
f a = post (a, g (r a)): one query to g, whose answer is post-processed together with the
input. Parsimonious reductions are the metric reductions whose recovery returns the answer
(ParsimoniousReducible.metricReducible). The reductions of Valiant's theorem
Valiant, Arora and Barak, Section 9.2,
Goldreich, Section 6.2.1 are of this form but are not parsimonious: the
permanent of the matrix built from a formula is a fixed power c ^ m times the number of
satisfying assignments, and the integer permanent is recovered from a 0/1 permanent by reduction
modulo a large number.
Both books define #P-completeness by polynomial-time oracle (Cook) reductions. A metric reduction
makes one oracle query; SharpPMetricHard is #P-hardness under metric reductions, a strengthening
of the books' notion that is weaker than parsimonious hardness (SharpPHard.sharpPMetricHard).
It already rules out polynomial-time algorithms unless every function in #P is polynomial-time
computable (SharpPMetricHard.computableInPolyTime).
Main definitions #
Cslib.Complexity.MetricReducible: one-query polynomial-time counting reductions.Cslib.Complexity.SharpPMetricHard,Cslib.Complexity.SharpPMetricComplete.
Main results #
Cslib.Complexity.MetricReducible.refl,Cslib.Complexity.MetricReducible.trans.Cslib.Complexity.ParsimoniousReducible.metricReducible: parsimonious reductions are metric.Cslib.Complexity.SharpPHard.sharpPMetricHard,Cslib.Complexity.SharpPMetricHard.trans.Cslib.Complexity.SharpPMetricHard.computableInPolyTime: a polynomial-time computable #P-hard function puts all of #P in polynomial time.
References #
- M. Krentel, The complexity of optimization problems
- L. Valiant, The complexity of computing the permanent
- S. Arora, B. Barak, Computational Complexity: A Modern Approach, 2007 draft
- [O. Goldreich, Computational Complexity: A Conceptual Perspective, 2007 draft] [Gol07b]
f reduces to g by a metric reduction: a polynomial-time query map r and a polynomial-time
recovery map post, reading the input and the answer of g, satisfy f a = post (a, g (r a)).
Every function reduces to itself by a metric reduction.
Metric reductions compose: query the second reduction's instance and recover twice.
g is #P-hard under metric reductions: every function in #P, with any encoding of its
instances, reduces to g by a metric reduction. The values of g are encoded by encZ, so that
integer-valued problems such as the integer permanent are included.
Parsimonious #P-hardness implies #P-hardness under metric reductions.
Parsimonious #P-completeness implies #P-completeness under metric reductions.
#P-hardness under metric reductions transfers along a metric reduction.
If a function that is #P-hard under metric reductions is computable in polynomial time, then so is every function in #P.