Theorem D.1 for entry procedures: the resource analysis #
The instance of the contraction interface for entry procedures
(Cslib.Circuits.Frontier.EntryContractionAlgorithm) given by the native machine
EntryContraction.fastCore (milestone E1.3 of #1538): for every native certificate ce of an
entry procedure, CountingSimulation.entryContractionAlgorithm ce contracts the networks admissible
for ce (Cslib.Circuits.Frontier.EntryAdmissible) in time poly(n) 2 ^ O(s / √⌊log₂ s⌋) and
polynomial space. This includes Theorem D.1 of [OAI26k] (p. 53) at truncation order 1,
with the entries given by procedures, and extends its root precision to
P ≤ D s (⌊log₂ s⌋ + 1) for each fixed D. The schedule absorbs the extra logarithm in
(D.11), while the clock charges P / (⌊log₂ m⌋ + 1) at m edges.
The analysis follows the one for explicit networks (CountingSimulation.FastAnalysis,
CountingSimulation.fastSizes, CountingSimulation.fastLeaves), with the root call of
EntryContraction.rootCall, the precision in unary and the guard EntryContraction.guard, which
every admissible input at the modulus passes. The one new ingredient is the cost of the root
entries at a leaf (§D.4.7, p. 64):
- root descriptors stay with their ports (
FastContraction.Reach.exists_root_of_inl): every root descriptor of a reached call is the descriptor of a vertex of the input network with as many ports, since the native child renumbers the ports of the vertices it keeps. So the entry bounds of admissibility apply at every reached leaf; - the leaf bound with entry costs (
FastContraction.exists_leafCertificate_le_of_entry): a leaf whose root entries take timeEand spaceEStakes timeK (n + ES + 1) ^ K 2 ^ (K s / √⌊log₂ s⌋) (E + 1); - the entry costs fit the budget:
E ≤ C (s + L + 1) ^ C 2 ^ (C ⌈s ^ (9/10)⌉), andC ⌈s ^ (9/10)⌉ ≤ s / √⌊log₂ s⌋from some size on (exists_mul_ceilNineTenths_le).
Main results #
Cslib.Complexity.CountingSimulation.entry_length_le_of_reach: polynomial sizes along the recursion from a guarded input.Cslib.Complexity.CountingSimulation.exists_entryLeaves_le: the leaf bounds on admissible inputs.Cslib.Complexity.CountingSimulation.exists_entryAnalysis: the resource analysis of the recursion on admissible inputs.Cslib.Complexity.CountingSimulation.exists_fastCore_le: the machine within the interface's bounds.Cslib.Complexity.CountingSimulation.entryContractionAlgorithm: the contraction algorithm for entry procedures.
References #
- OpenAI, The Exponential Time Hypothesis is False, Theorem D.1 (p. 53) and Appendix D.4.7 (p. 64).
The root #
The parts of an encoded input (P, fl, r, G) against its length.
Guarded roots are on the schedule, for every constant C ≥ 1 with precision at most
C m (⌊log₂ m⌋ + 1).
Linear root precision is also allowed.
The clock is subexponential on admissible inputs: with s ≤ m ≤ C s edges and precision
P ≤ D s (⌊log₂ s⌋ + 1), it is at most 2 ^ (K₀ (C + D) s / √⌊log₂ s⌋).
The sizes #
Polynomial sizes along the recursion: every call reached from the root of a guarded input
of encoded length n, its frames and its tagged value are at most 2 ^ 55 (n + 1) ^ 24 long.
The leaves #
The facts at the reached calls that the leaf bounds use. For all constants C and D
there is s₀ such that on every guarded input at the modulus with s ≤ m ≤ C s edges and
precision P ≤ D s (⌊log₂ s⌋ + 1), every reached call has scale m, at most 2 m edges and,
from s₀ on,
precision at most m ^ 4, and at most leafSize m edges if the machine treats it as a leaf.
The leaf bounds on admissible inputs: for a native certificate ce of the entry procedure
and all constants C and D there is K such that on every input at the modulus admissible at
size s ≥ 2 with constant C and precision 1 ≤ P ≤ D s (⌊log₂ s⌋ + 1), direct summation
at every reached
call that the machine treats as a leaf takes time at most K (n + 1) ^ K 2 ^ (K s / √⌊log₂ s⌋) and
space at most K (n + 1) ^ K. The root entries take time at most
C (s + L + 1) ^ C 2 ^ (C ⌈s ^ (9/10)⌉) at every reached leaf
(FastContraction.Reach.exists_root_of_inl), within the budget from some size on
(exists_mul_ceilNineTenths_le).
The resource analysis #
The resource analysis of the recursion on admissible inputs. For a native certificate ce
of the entry procedure and all constants C and D there are K and s₀ such that on every input
at the modulus admissible at size s ≥ 2 with constant C and precision
1 ≤ P ≤ D s (⌊log₂ s⌋ + 1), the
root call has a derivation whose nodes, frames and values are at most F long, whose leaves take
time at most TL and space at most SL, with H open calls, such that
H + F + SL ≤ K (n + 1) ^ K and TL ≤ K (n + 1) ^ K 2 ^ (K s / √⌊log₂ s⌋) for the input length
n; and from s₀ on its N nodes fit in the clock, 2 N - 1 ≤ clock.
The resources of the machine #
The machine within the interface's bounds. For a native certificate ce of the entry
procedure and all constants C and D there is K such that on every input at the modulus
admissible at size s ≥ 2 with constant C and precision 1 ≤ P ≤ D s (⌊log₂ s⌋ + 1),
the machine
EntryContraction.fastCore ce takes time at most K (n + 1) ^ K 2 ^ (K s / √⌊log₂ s⌋) and space at
most K (n + 1) ^ K. Admissible inputs pass the guard; from some size on the clocked run returns
the root's value, and below it direct summation costs a constant factor.
The contraction algorithm #
Theorem D.1 for entry procedures with logarithmic root precision. Extending
[OAI26k], p. 53, at truncation order 1: for
every native certificate ce of an entry procedure, the guarded native recursion with direct
summation as the fallback (EntryContraction.fastCore ce) is a contraction algorithm for the
networks admissible for ce, in time poly(n) 2 ^ O(s / √⌊log₂ s⌋) and polynomial space.