Promised-source normalization for EOPL and SOPL #
Fearnley, Gordon, Mehta and Savani, Definition 9 defines
End-of-Potential-Line on {0, 1} ^ n under two syntactic conditions at the distinguished source
0 ^ n:
P (0 ^ n) = 0 ^ n ≠ S (0 ^ n)(LineSourcePromise); andV (0 ^ n) = 0, with potentials in{0, …, 2 ^ m - 1},
asking for a vertex x of type
- (R1)
S (P x) ≠ x ≠ 0 ^ norP (S x) ≠ x; or - (R2)
x ≠ S x,P (S x) = xandV (S x) ≤ V x,
without any fallback clause at 0 ^ n for a failed source promise.
In CslibFrontier.Computability.Complexity.Classes.TFNP.Subclasses.PotentialLine, the relations
endOfPotentialLineViolationRel and sinkOfPotentialLineViolationRel make (R1) ∨ (R2) total on
arbitrary raw families by also accepting 0 ^ n when LineSourcePromise fails, and omit
V (0 ^ n) = 0. This module formalizes the uniform polynomial-time (n + 1)-bit normalization to
the exact promised convention (PromisedPotentialLine, endOfPotentialLinePromisedRel, and
sinkOfPotentialLinePromisedRel):
- On bit-width
normalizedPotentialWidth n a = n a + 1with new distinguished source0 ^ (n a + 1) = false :: 0 ^ (n a), the normalized family setsS' (0 ^ (n a + 1)) = true :: 0 ^ (n a),P' (0 ^ (n a + 1)) = 0 ^ (n a + 1), andV' (0 ^ (n a + 1)) = 0; embeds the pruned graph of(n, P, S, V)on{true} × {0, 1} ^ (n a)viaS' (true :: u) = true :: potentialSucc (a, u),P' (true :: 0 ^ (n a)) = 0 ^ (n a + 1),P' (true :: u) = true :: potentialPred (a, u)(u ≠ 0 ^ (n a)), andV' (true :: u) = V u + 1; and leaves everyfalse :: uwithu ≠ 0 ^ (n a)isolated at potential0. PromisedPotentialLineholds unconditionally for every instancea, even when(n, P, S, V)violatesLineSourcePromise, hasV (a, 0 ^ (n a)) > 0, has equal-potential edges, or has widthn a = 0(promisedPotentialLine_normalized).- Binary potential values grow by at most
+ 1(size_normalizedPotential_le,normalizedPotential_lt_two_pow_succ,exists_normalizedPotentialBound). - Solutions
wofendOfPotentialLinePromisedRel(resp.sinkOfPotentialLinePromisedRel) on the normalized family are in exact bijectionu ↔ true :: uwith endsendOfPotentialLineRel(resp. sinkssinkOfPotentialLineRel) of(n, P, S, V)(endOfPotentialLinePromisedRel_normalized_iff,sinkOfPotentialLinePromisedRel_normalized_iff). - Composing
w ↦ w.tailwithpotentialLineBack(normalizedViolationBack) maps normalized promised solutions back to raw violations of(n, P, S, V), sending failed-promise instances to0 ^ (n a)(endOfPotentialLineViolationRel_normalizedViolationBack,sinkOfPotentialLineViolationRel_normalizedViolationBack). mem_EOPL_iff_promised,mem_EOPL_iff_promised_bounded,mem_SOPL_iff_promised, andmem_SOPL_iff_promised_boundedshow that imposingPromisedPotentialLine, pure(R1)/(R2)solutions, and explicit unary potential bit-bounds leavesEOPLandSOPLunchanged.
Canonical Boolean-circuit completeness of End-of-Potential-Line, UEOPL, and CLS are not
formalized here.
Main definitions #
Cslib.Complexity.PromisedPotentialLine:LineSourcePromise n P S a ∧ V (a, 0 ^ (n a)) = 0.Cslib.Complexity.endOfPotentialLinePromisedRel,Cslib.Complexity.sinkOfPotentialLinePromisedRel: pure(R1) ∨ (R2)relations without the failed-promise fallback at0 ^ (n a).Cslib.Complexity.normalizedPotentialWidth,Cslib.Complexity.normalizedPotentialPred,Cslib.Complexity.normalizedPotentialSucc,Cslib.Complexity.normalizedPotential: the uniform(n + 1)-bit promised-source normalization.Cslib.Complexity.normalizedViolationBack: witness back-mappotentialLineBack n P S V (a, w.tail)from normalized promised solutions to raw circuit-style violations.
Main results #
Cslib.Complexity.promisedPotentialLine_normalized,Cslib.Complexity.exists_normalizedPotentialBound: unconditional source promise, zero source potential, and polynomial binary bit-bound on{0, 1} ^ (n a + 1).Cslib.Complexity.endOfPotentialLinePromisedRel_normalized_iff,Cslib.Complexity.sinkOfPotentialLinePromisedRel_normalized_iff: exacttrue :: usolution characterizations.Cslib.Complexity.endOfPotentialLineRel_searchReducible_promised_normalized,Cslib.Complexity.promised_normalized_searchReducible_endOfPotentialLineRel,Cslib.Complexity.endOfPotentialLineViolationRel_searchReducible_promised_normalized(andSOPLcounterparts): polynomial-timeSearchReducibleequivalences.Cslib.Complexity.mem_EOPL_iff_promised,Cslib.Complexity.mem_EOPL_iff_promised_bounded,Cslib.Complexity.mem_SOPL_iff_promised,Cslib.Complexity.mem_SOPL_iff_promised_bounded.
References #
Promised convention and pure (R1)/(R2) solution relations #
Exact (R1) ∨ (R2) solution relation of
Fearnley et al., Definition 9, without the failed-promise fallback
at 0 ^ (n a):
- (R1)
S (P x) ≠ x ≠ 0 ^ (n a)orP (S x) ≠ x; or - (R2)
x ≠ S x,P (S x) = x, andV (S x) ≤ V x.
Instances For
Exact sink-only (R1) ∨ (R2) solution relation, dropping both the start-of-line clause
S (P x) ≠ x ≠ 0 ^ (n a) and the failed-promise fallback at 0 ^ (n a).
Instances For
endOfPotentialLineViolationRel is endOfPotentialLinePromisedRel together with the fallback
witness 0 ^ (n a) when LineSourcePromise fails.
sinkOfPotentialLineViolationRel is sinkOfPotentialLinePromisedRel together with the fallback
witness 0 ^ (n a) when LineSourcePromise fails.
Under LineSourcePromise, the totalized violation relation coincides with the pure (R1)/(R2)
relation of Fearnley et al., Definition 9.
Under LineSourcePromise, the totalized sink violation relation coincides with the pure
sink-only (R1)/(R2) relation.
Any length-preserving family satisfying LineSourcePromise is total for the pure (R1)/(R2)
relation endOfPotentialLinePromisedRel.
Any successor-length-preserving family satisfying LineSourcePromise is total for the pure
sink-only relation sinkOfPotentialLinePromisedRel.
Uniform (n + 1)-bit promised-source normalization #
Padded vertex bit-width n a + 1 of the promised-source normalization.
Normalized predecessor map on b :: u of length n a + 1: fixes false :: u (in particular
0 ^ (n a + 1)), steps true :: 0 ^ (n a) back to 0 ^ (n a + 1), and follows the pruned
predecessor true :: potentialPred n P S V (a, u) on true :: u for u ≠ 0 ^ (n a).
Normalized successor map on b :: u of length n a + 1: steps 0 ^ (n a + 1) to
true :: 0 ^ (n a), fixes every other false :: u, and follows the pruned successor
true :: potentialSucc n P S V (a, u) on {true} × {0, 1} ^ (n a).
Normalized potential on b :: u: V (a, u) + 1 on {true} × {0, 1} ^ (n a) and 0 on
{false} × {0, 1} ^ (n a) (so V' (0 ^ (n a + 1)) = 0 and the source edge 0 ^ (n a + 1) → true :: 0 ^ (n a) strictly increases the potential from 0 to V (0 ^ (n a)) + 1).
Witness back-map from normalized promised solutions w to raw circuit-style violations of
(n, P, S, V): projects w.tail and applies potentialLineBack (which returns 0 ^ (n a) when
LineSourcePromise n P S a fails).
The normalized family satisfies LineSourcePromise on every instance a, regardless of whether
the original family satisfies LineSourcePromise or has width n a = 0.
The normalized family satisfies the full syntactic promise PromisedPotentialLine of
Fearnley et al., Definition 9 (P' (0 ^ (n + 1)) = 0 ^ (n + 1) ≠ S' (0 ^ (n + 1)) and V' (0 ^ (n + 1)) = 0) on every instance a.
On the normalized family, endOfPotentialLineViolationRel coincides with the pure (R1)/(R2)
relation endOfPotentialLinePromisedRel.
On the normalized family, sinkOfPotentialLineViolationRel coincides with the pure sink-only
relation sinkOfPotentialLinePromisedRel.
normalizedPotentialPred preserves the vertex bit-length n a + 1.
normalizedPotentialSucc preserves the vertex bit-length n a + 1.
Binary length growth of normalizedPotential: incrementing V (a, w.tail) adds at most 1 bit
to its binary representation.
If V lies below B on {0, 1} ^ (n a), then normalizedPotential V lies below B + 1 on
{0, 1} ^ (n a + 1).
If V fits in m bits (< 2 ^ m) on {0, 1} ^ (n a), then normalizedPotential V fits in
m + 1 bits (< 2 ^ (m + 1)) on {0, 1} ^ (n a + 1).
Active edges and exact witness bijection #
No active edge of the normalized family is pruned: potentialPred agrees with
normalizedPotentialPred on every non-empty bit string b :: u.
No active edge of the normalized family is pruned: potentialSucc agrees with
normalizedPotentialSucc on every non-empty bit string b :: u.
Ends of the normalized potential line are precisely true :: u for ends u of
(n, P, S, V).
Sinks of the normalized potential line are precisely true :: u for sinks u of
(n, P, S, V).
Exact (R1)/(R2) solution characterization (EOPL). Pure (R1)/(R2) solutions of the
normalized family (with no failed-promise fallback) are precisely the strings true :: u with u
an end of (n, P, S, V).
Exact sink-only (R1)/(R2) solution characterization (SOPL). Pure sink-only (R1)/(R2)
solutions of the normalized family are precisely the strings true :: u with u a sink of
(n, P, S, V).
Forward witness embedding (EOPL): every end u of (n, P, S, V) embeds as true :: u.
Backward witness projection (EOPL): the tail w.tail of any normalized promised solution w
is an end of (n, P, S, V).
Forward witness embedding (SOPL): every sink u of (n, P, S, V) embeds as true :: u.
Backward witness projection (SOPL): the tail w.tail of any normalized promised sink solution
w is a sink of (n, P, S, V).
When LineSourcePromise n P S a fails, normalizedViolationBack returns the raw violation
witness 0 ^ (n a).
Under LineSourcePromise n P S a, normalizedViolationBack steps back to P (a, w.tail) on
non-increasing incoming active edges and returns w.tail otherwise.
Normalized promised solutions map back to raw EOPL violations (handling both promised and
failed-promise instances of (n, P, S, V)).
Normalized promised sink solutions map back to raw SOPL violations (handling both promised
and failed-promise instances of (n, P, S, V)).
The normalized family is total for endOfPotentialLinePromisedRel whenever S preserves length
n a (no length hypothesis on P is needed because normalizedPotentialPred uses pruned
potentialPred only on active potential-increasing edges).
The normalized family is total for sinkOfPotentialLinePromisedRel whenever S preserves
length n a.
Polynomial-time computability and FNP membership #
Explicit unary bit-width bound for normalizedPotential V: if V is polynomial-time computable
in binary, some unary polynomial-time m' (m a + 1) bounds normalizedPotential V (a, w) < 2 ^ m' a on {0, 1} ^ (n a + 1).
SearchReducible equivalences and EOPL / SOPL characterizations #
endOfPotentialLineRel search-reduces to the pure (R1)/(R2) relation of its promised-source
normalization via w ↦ w.tail.
The pure (R1)/(R2) relation of the promised-source normalization search-reduces back to
endOfPotentialLineRel via u ↦ true :: u.
sinkOfPotentialLineRel search-reduces to the pure sink-only (R1)/(R2) relation of its
promised-source normalization via w ↦ w.tail.
The pure sink-only (R1)/(R2) relation of the promised-source normalization search-reduces back
to sinkOfPotentialLineRel via u ↦ true :: u.
Any raw circuit-style EOPL violation family (even one violating LineSourcePromise)
search-reduces to the pure (R1)/(R2) relation of its promised-source normalization via
normalizedViolationBack.
Any raw circuit-style SOPL violation family (even one violating LineSourcePromise)
search-reduces to the pure sink-only (R1)/(R2) relation of its promised-source normalization via
normalizedViolationBack.
EOPL under the exact promised convention of Fearnley et al., Definition
9. A search problem R lies in EOPL iff it lies in FNP and
search-reduces to the pure (R1)/(R2) relation endOfPotentialLinePromisedRel of a uniform
polynomial-time family satisfying PromisedPotentialLine (P (0 ^ n) = 0 ^ n ≠ S (0 ^ n) and
V (0 ^ n) = 0) on every instance.
EOPL under the promised convention with explicit unary potential bit-bound m. Includes
the range bound V (a, u) < 2 ^ m a ({0, …, 2 ^ m - 1}) of
Fearnley et al., Definition 9.
SOPL under the promised source convention. A search problem R lies in SOPL iff it lies
in FNP and search-reduces to the pure sink-only relation sinkOfPotentialLinePromisedRel of a
uniform polynomial-time family satisfying PromisedPotentialLine on every instance.
SOPL under the promised convention with explicit unary potential bit-bound m.