The block-counting network families #
The explicit block-counting networks of #1833 (Turing.MultiTapePTM.explicitBlockNetwork) form
a network family (Cslib.Complexity.CountingSimulation.NetworkFamily) for the accept count of
every finite-state fair-coin machine, with explicit networks encoded by
Cslib.Circuits.Frontier.ExplicitTensorNetwork.encExplicitNetwork and admissibility
Cslib.Complexity.CountingSimulation.ExplicitAdmissible. This discharges the network interface
of the counting simulation (milestone H3 of #1833), so the conditional class containments of
CslibFrontier.Computability.Complexity.Classes.CountingSimulation.Containments hold assuming only
a
contraction algorithm. The joint time-and-space forms keep a single deciding machine within
time 2 ^ (C * T n / √⌊log₂ (T n)⌋) and workspace T n ^ d, for a time-constructible
T with max n 2 ≤ T n. The contraction algorithm remains an explicit hypothesis here;
Cslib.Complexity.CountingSimulation.NTIME_subset_iUnion_DTIME_two_pow_div_sqrt_log_two and its
siblings discharge it with the contraction algorithm of Theorem D.1.
The family. At the input x, the clock t and the schedule number σ, the network
(Cslib.Complexity.CountingSimulation.blockNetworkOf) is the explicit block-counting network
with blocks of blockLength t = ⌈log₂ (t + 2)⌉ steps, numBlocks t intervals and the schedule
of σ's base-3 digits (Turing.MultiTapePTM.scheduleOfNat), together with its `numBlocks t (3 k
- 2)
row vertices. The number of blocked heads isk + 1(the input head and thekwork heads), and the admissibility constant is6 (3 k + 1) (s + k + 4)fors` states.
- Construction. The network is computed on numbers
(
Turing.MultiTapePTM.explicitBlockNetwork_eq_explicitNetworkNum), in polynomial time (Turing.MultiTapePTM.computableInPolyTime_explicitNetworkNum), with2 ^ b ≤ 2 (t + 2). - Counting identity. Summing over the
3 ^ ((k + 1) numBlocks t)schedule numbers is summing over the schedules (Turing.MultiTapePTM.sum_range_scheduleOfNat), which gives the accept count at the padded time (Turing.MultiTapePTM.sum_contraction_explicitBlockNetwork). - Admissibility follows from
Turing.MultiTapePTM.admissible_explicitBlockNetwork, with the vertex count, the table lengths andt ≤ numBlocks t * blockLength t ≤ numEdges.
Main definitions #
Cslib.Complexity.CountingSimulation.blockNetworkOf: the network of an input, a clock and a schedule number.Cslib.Complexity.CountingSimulation.blockNetworkFamily: the network family of a machine.
Main results #
Cslib.Complexity.CountingSimulation.computableInPolyTime_blockNetworkOf: the construction is polynomial-time.Cslib.Complexity.CountingSimulation.networkFamilies_explicitAdmissible: network families exist for all machines.Cslib.Complexity.CountingSimulation.NTIME_subset_iUnion_DTIME_of_contractionAlgorithm,BPTIME_subset_iUnion_DTIME_of_contractionAlgorithm,PPTIME_subset_iUnion_DTIME_of_contractionAlgorithm: the class containments assuming only a contraction algorithm.SharpTIME_subset_iUnion_FTIME_of_contractionAlgorithm: exact terminal counting with binary output, assuming only a contraction algorithm.exists_computableInTimeAndSpace_of_mem_SharpTIME_of_contractionAlgorithm: its joint time and polynomial-workspace bound.exists_decidableInTimeAndSpace_of_mem_NTIME_of_contractionAlgorithm,exists_decidableInTimeAndSpace_of_mem_BPTIME_of_contractionAlgorithm,exists_decidableInTimeAndSpace_of_mem_PPTIME_of_contractionAlgorithm: the joint time and polynomial-workspace bounds, assuming only a contraction algorithm.
References #
- J. Hopcroft, W. Paul, L. Valiant, On Time Versus Space
- OpenAI, The Exponential Time Hypothesis is False, Theorem D.1 (contraction).
The block-counting network of the input x, the clock t and the schedule number σ:
the explicit block-counting network with blocks of blockLength t steps, numBlocks t
intervals and the schedule of σ, with its numBlocks t * (3 * k + 2) row vertices.
An interval of a clock t has at most 2 (t + 2) choice strings.
The construction is polynomial-time, from the input in binary, the clock in unary and the schedule number in binary.
The counting identity: summed over the schedule numbers, the contractions of the networks are the accept count at the padded time.
Admissibility: from the clock t = 2 on, every network is admissible at size t with
the constant 6 (3 k + 1) (s + k + 4).
The block-counting network family of a finite-state fair-coin machine, for its accept
count: k + 1 blocked heads, admissibility constant 6 (3 k + 1) (s + k + 4), and the networks
blockNetworkOf.
Network families for all machines (milestone H3 of #1833): the explicit block-counting networks discharge the network interface of the counting simulation.
The class containments assuming a contraction algorithm #
Exact terminal-path counting with subexponential time and polynomial workspace, conditional only on a contraction algorithm for admissible explicit networks.
The functional counting containment, assuming only the explicit-network contraction algorithm. Output is the exact natural count in binary.
Nondeterministic time with polynomial workspace, conditional only on a
contraction algorithm for admissible explicit networks. For time-constructible T with
max n 2 ≤ T n, one deterministic machine decides each problem in NTIME[T] within time
2 ^ (C * T n / √⌊log₂ (T n)⌋) and workspace T n ^ d.
Bounded-error probabilistic time with polynomial workspace, conditional only on a
contraction algorithm for admissible explicit networks. For time-constructible T with
max n 2 ≤ T n, one deterministic machine decides each problem in BPTIME[T] within time
2 ^ (C * T n / √⌊log₂ (T n)⌋) and workspace T n ^ d.
Strict-majority probabilistic time with polynomial workspace, conditional only on a
contraction algorithm for admissible explicit networks. For time-constructible T with
max n 2 ≤ T n, one deterministic machine decides each problem in PPTIME[T] within time
2 ^ (C * T n / √⌊log₂ (T n)⌋) and workspace T n ^ d.
NTIME[T] ⊆ ⋃ C, DTIME[2 ^ (C * T / √⌊log₂ T⌋)], conditional only on a contraction
algorithm for admissible explicit networks, for a time-constructible T with max n 2 ≤ T n.
BPTIME[T] ⊆ ⋃ C, DTIME[2 ^ (C * T / √⌊log₂ T⌋)], conditional only on a contraction
algorithm for admissible explicit networks, for a time-constructible T with max n 2 ≤ T n.
PPTIME[T] ⊆ ⋃ C, DTIME[2 ^ (C * T / √⌊log₂ T⌋)], conditional only on a contraction
algorithm for admissible explicit networks, for a time-constructible T with max n 2 ≤ T n.