High-incidence branching for Lemma D.2 #
Lemma D.2 of [OAI26k] (p. 54) counts the common zeros of a sparse polynomial system over
๐ฝโ by tensor contraction. The first step of its proof (p. 54) fixes, in all possible ways, the
variables that belong to more than
D* = max{1, โNโ / nโ} โโฮปโ
scopes, where ฮป = โlogโ nโ and Nโ = โ_i |I_i| is the number of pairs (i, v) with v in the
scope I_i of test i. This file defines that threshold and proves what the proof uses about it.
The branching itself is HeavyBranchFold.countByBranching, with its exactness and its streaming
time and space bounds.
- Threshold (
threshold).D*reuses the ยง5.5 selectorParameterCheck.heavyIncidenceCutoffatmax 1 Nโ, andthreshold_eq_ceilstates the source's formula. It is polynomial-time (computableInPolyTime_threshold). - Few branching variables. At most
n / โโฮปโvariables exceedD*(length_branchVars_le), so there are at most2 ^ (n / โโฮปโ)branches. Every reduced branch keepsn' โฅ n / 2free variables (IsReducedBranch.le_two_mul) and is no longer to encode than its parent (IsReducedBranch.length_enc_le). - Polylogarithmic threshold. Under the hypotheses of Lemma D.2 (
IsSparseSystem k c n),D* โค max{1, c k ฮป^c} โโฮปโ(threshold_le), henceD* โค ฮป ^ (c + 2)oncec k โค ฮป(threshold_le_pow). - The branching instance. For
n โฅ 5and2 ^ ((c + 1) k) โค n, every reduced branch(n', sys')satisfies the branch hypothesesIsSparseBranch k (2 c + 4) n' sys', stated at the branch's own variable count (isSparseBranch_of_isReducedBranch). These are the hypotheses that the branch solver consumes: they bound the number of equations by(2c + 4) n', and the monomials, scope and incidences byโlogโ n'โ ^ (2c + 4). - The counter (
count). It is exact whenever the branch solver is exact on reduced branches (count_eq_rootCount,count_eq_commonZeroCount). For a solver certificate, it has a certificate whose time is(2 ^ |S| + 1) (K (|x| + 1) ^ K + R)and whose space isK (|x| + 1) ^ K + Q, whereRandQbound the solver on the reduced branches andKdoes not depend on the solver (exists_count_certificate).
The source normalizes the system before branching. Here the system is assumed normalized
(IsCanonicalEquation), as HeavyBranchFold.substituteEquation keeps it on every branch.
Main definitions #
Cslib.Complexity.SubexponentialSAT.IncidenceBranching.threshold: the thresholdD*.Cslib.Complexity.SubexponentialSAT.IncidenceBranching.branchVars: the variables aboveD*.Cslib.Complexity.SubexponentialSAT.IncidenceBranching.IsReducedBranch: the reduced branches.Cslib.Complexity.SubexponentialSAT.IncidenceBranching.count: the counter, branching onbranchVarsand calling a solver on each reduced branch.Cslib.Complexity.SubexponentialSAT.IncidenceBranching.IsSparseSystem,Cslib.Complexity.SubexponentialSAT.IncidenceBranching.IsSparseBranch: the hypotheses of Lemma D.2, and those of its branch solver.
Main results #
Cslib.Complexity.SubexponentialSAT.IncidenceBranching.threshold_eq_ceil,Cslib.Complexity.SubexponentialSAT.IncidenceBranching.IsSparseSystem.incidences_le,Cslib.Complexity.SubexponentialSAT.IncidenceBranching.threshold_le,Cslib.Complexity.SubexponentialSAT.IncidenceBranching.threshold_le_pow: the threshold and the number of scope incidences.Cslib.Complexity.SubexponentialSAT.IncidenceBranching.length_branchVars_le,Cslib.Complexity.SubexponentialSAT.IncidenceBranching.length_branchVars_le_div_sqrt_log,Cslib.Complexity.SubexponentialSAT.IncidenceBranching.IsReducedBranch.le_two_mul,Cslib.Complexity.SubexponentialSAT.IncidenceBranching.IsReducedBranch.length_enc_le: few branching variables, and branches no larger than their parent.Cslib.Complexity.SubexponentialSAT.IncidenceBranching.isSparseBranch_of_isReducedBranch: the branching instance.Cslib.Complexity.SubexponentialSAT.IncidenceBranching.count_eq_rootCount,Cslib.Complexity.SubexponentialSAT.IncidenceBranching.count_eq_commonZeroCount: exactness.Cslib.Complexity.SubexponentialSAT.IncidenceBranching.computableInPolyTime_threshold,Cslib.Complexity.SubexponentialSAT.IncidenceBranching.computableInPolyTime_branchVars,Cslib.Complexity.SubexponentialSAT.IncidenceBranching.computableInPolyTime_branchInput,Cslib.Complexity.SubexponentialSAT.IncidenceBranching.exists_count_certificate: resources.
References #
- OpenAI, The Exponential Time Hypothesis is False, Appendix D, Lemma D.2 and the first paragraph of its proof (p. 54).
The threshold, the branching variables and the counter #
The branching threshold D* = max{1, โNโ / nโ} โโฮปโ of Lemma D.2 (p. 54), for a system on
n variables with Nโ = โ_i |equationVars P_i| scope incidences and ฮป = โlogโ nโ. It is the
ยง5.5 selector ParameterCheck.heavyIncidenceCutoff at max 1 Nโ; see threshold_eq_ceil.
The input (n, S, sys) of the streaming branching, with S = branchVars n sys.
(n', sys') is a reduced branch of (n, sys): fixing the branching variables to some
values leaves the nonempty system sys' on its n' relabeled free variables, without a
contradictory equation.
The high-incidence branching of Lemma D.2. Branch on every assignment to branchVars n sys,
call solver on each reduced branch, and add the branch counts. Contradictory branches count 0,
and branches with no equation left count 2 ^ n'.
The hypotheses of Lemma D.2 (p. 54) on a normalized system sys on n declared variables:
at most c n equations, each listing at most โlogโ nโ ^ c distinct monomials of degree at most
k.
Every variable is declared: it is below
n.Every equation is normalized: strictly increasing, pairwise distinct monomials.
At most
c nequations.Every equation lists at most
โlogโ nโ ^ cmonomials.Every monomial has degree at most
k.
The hypotheses of the branch solver of Lemma D.2: those of the lemma, together with scopes
of at most โlogโ nโ ^ c variables and every variable in at most โlogโ nโ ^ c scopes (p. 54).
Every scope has at most
โlogโ nโ ^ cvariables.Every variable lies in at most
โlogโ nโ ^ cscopes.
The threshold #
The number of scope incidences under the hypotheses of Lemma D.2:
Nโ = โ_i |I_i| โค c k ฮป^c n (p. 54).
D* is polylogarithmic (p. 54): under the hypotheses of Lemma D.2,
D* โค max{1, c k ฮป^c} โโฮปโ, with โโฮปโ = โโ(ฮป - 1)โ + 1.
Reduced branches #
A reduced branch keeps at least half the variables (p. 54): for n โฅ 3, it has
n' = n - |S| free variables and n โค 2 n'.
A reduced branch is no longer to encode than its parent system, so bounds on the branch solver in the encoded length of the branch transfer to the parent input.
The branching instance of Lemma D.2 (p. 54). Under the hypotheses of the lemma, for
n โฅ 5 and 2 ^ ((c + 1) k) โค n, every reduced branch (n', sys') satisfies the branch solver's
hypotheses at its own variable count, with the explicit constant 2 c + 4:
at most (2c + 4) n' equations, and at most โlogโ n'โ ^ (2c + 4) monomials per equation,
variables per scope and scopes per variable. Also n โค 2 n'.
Exactness #
Exactness of the branching (p. 54): if every variable is below n and solver counts the
common zeros of every reduced branch, count solver n sys counts those of sys.
Exactness against commonZeroCount: for a normalized system on n variables, the counter
returns the number of common zeros of the equations toFinsetEquation n sys[i] on Fin n.
Resources #
D* is polynomial-time (n in unary, the result in binary).
The branching variables are polynomial-time.
The input of the streaming branching is polynomial-time.
The largest cost of a solver over the reduced branches of branchInput n sys is at most any
bound on its cost on the reduced branches of (n, sys).
Resources of the high-incidence branching (p. 54). There is K such that, for every
solver bounded by 2 ^ n' and every certificate for it, the counter has a certificate with the
following bounds. On an input x = (n, sys) whose reduced branches the solver handles in time at
most R and space at most Q, the time is at most (2 ^ |S| + 1) (K (|x| + 1) ^ K + R), with
S = branchVars n sys, and the space is at most K (|x| + 1) ^ K + Q. Here |x| is the encoded
length of the input. With length_branchVars_le, 2 ^ |S| โค 2 ^ (n / โโฮปโ).