Time-bounded accepting-path counting #
SharpTIME enc t consists of the natural-valued functions counting the accepting terminal
branches of one fixed finite-control binary native List-choice machine. Every branch halts by
c₁ * t n + c₂ on instances whose encoding has length n; the constants and machine are fixed
before the input. Transition occurrences, including repeated identical actions, are separate
choices. Acceptance means the terminal output is exactly [true].
This reuses the native counting model of SharpP.Machine. The machine is globally nonblocking,
as in the existing native characterization of SharpP; all-branch halting is required on the
image of the instance encoding. Increasing a sufficient clock does not multiply the count:
a terminal branch is counted once, with no extra choices after its first halt. Thus SharpTIME
is distinct from a count of freely padded fair-coin strings.
Main definitions #
Cslib.Complexity.SharpTIME: time-bounded accepting terminal-path counting.
Main results #
Cslib.Complexity.mem_SharpTIME: the fixed-machine and exact terminal-count contract.Cslib.Complexity.SharpTIME_mono: larger sufficient clocks preserve membership and counts.Cslib.Complexity.SharpTIME_mono_of_le_mul_add: constant factors of the clock are absorbed.Cslib.Complexity.SharpTIME_pow_mono: polynomial slices are monotone in the degree.Cslib.Complexity.SharpTIME.subset_SharpP: every polynomial-time slice belongs toSharpP.Cslib.Complexity.mem_SharpP_iff_exists_mem_SharpTIME: their union is exactlySharpP.
References #
The occurrence-labelled counting model and its verifier correspondence are developed in
MultiTape.Counting and Classes.SharpP.Machine, with the source references recorded there.
Exact accepting terminal-branch counts of fixed nonblocking finite-control native machines
whose every branch halts within time c₁ * t n + c₂. Repeated transition occurrences retain
multiplicity, while post-halting padding contributes no new branch.
The native machine, its constants and finite control are chosen before the input; the count is the accepting terminal-path count at the all-branches clock.
Constant factors and additive constants of the time bound are absorbed by the constants of
SharpTIME. This uses stability of terminal counts after a sufficient all-branches clock, rather
than freely padding accepting coin strings.