- Boxes
- definitions
- Ellipses
- theorems and lemmas
- Blue border
- the statement of this result is ready to be formalized; all prerequisites are done
- Orange border
- the statement of this result is not ready to be formalized; the blueprint needs more work
- Blue background
- the proof of this result is ready to be formalized; all prerequisites are done
- Green border
- the statement of this result is formalized
- Green background
- the proof of this result is formalized
- Dark green background
- the proof of this result and all its ancestors are formalized
- Dark green border
- this is in Mathlib
If \(f\) has degree at most \(k\), then \(\lVert f \rVert _4 \le \sqrt{3}^{\, k}\, \lVert f \rVert _2\).
The map \(f\mapsto \breve f\) is pointwise concave on nonnegative functions. If \(R\subseteq S\), then \(\breve f(S)\le \breve f(R)\). Furthermore, \(0\le \breve f(R)\le \mathbb {E}f=\breve f(\varnothing )\), and \(\breve f([n])\) is the harmonic mean of \(f\).
\(\lVert T_{1/\sqrt{3}} f \rVert _2 \le \lVert f \rVert _{4/3}\) for every \(f\).
If \(f\) is a degree-at-most-\(d\) polynomial threshold, \(0\le \rho \le 1\), and \(m\in \mathbb N\), then
Here \(\rho \) is the correlation parameter, so the corresponding bit-flip rate is \((1-\rho )/2\).
For every \(C{\gt}0\), some nonconstant finite Boolean function \(f\) requires exact decision-tree depth greater than \(C s(f)^2\). There are also a fixed \(\alpha {\gt}2\) and a family \(F_m\) such that every exact tree computing \(F_m\) has depth at least \(s(F_m)^\alpha \) for \(m\ge 1\). Every choice of exact trees for that family has depth tending to infinity.
There are oracles \(A\) and \(B\) with \(\mathsf{P}^A = \mathsf{NP}^A\) and \(\mathsf{P}^B \neq \mathsf{NP}^B\).
If for some \(\varepsilon {\gt} 0\) there is a pseudorandom function family in \(\mathsf{P/poly}\) against which no distinguisher of size \(2^{n^{\varepsilon }}\) has advantage \(2^{-n^{\varepsilon }}\) or more, then no \(\mathsf{P/poly}\)-constructive property of density at least \(2^{-O(n)}\) is useful against \(\mathsf{P/poly}\). The pseudorandomness hypothesis is an explicit assumption, not a proved fact.
For every \(\varepsilon {\gt}0\), eventually every exact scalar Fourier circuit has more than \((25/9-\varepsilon )n\) gates, in either representation. For every \(\varepsilon ,c{\gt}0\), arbitrarily large sizes admit CSLib circuits whose gate counts lie strictly between \((25/9-\varepsilon )n\) and \(cn\log _2n\). Consequently no positive eventual \(n\log _2n\) lower bound holds in this unrestricted scalar model.
For every \(A{\gt}0\), eventually every OR-AND-OR or AND-OR-AND circuit computing \(F_{n+1}\) has more than \(2^{A\sqrt{n+1}}\) gates. The same OR-AND-OR lower bound holds for the complement of \(F_{n+1}\).
The imported language has the same unrestricted OR-of-CNF gate lower bound and the same real-margin and integer threshold-weight bounds when formulas are complexitylib’s canonical CNFs. The gate bound counts all clauses and conjunction gates, not merely top fan-in.
Under the same eventual width bound, if integer coefficients \(z_j\) satisfy
then
An integer bias can again be included as the coefficient of the empty CNF.
Fix \(s\ge 0\), and write \(d=\lfloor n/5\rfloor \) and \(k=\lceil 3(s+1)\sqrt d\rceil \). Eventually, every finite collection of width-\(k\) CNFs \(H_j\) and real coefficients \(a_j\) satisfying
has
A bias is allowed by including the empty, identically true CNF as a feature.
The original hard language belongs to \(\mathsf P\), and its one-bit verdict belongs to \(\mathsf{FP}\). Its balanced padding belongs to \(\mathsf P\), accepts exactly half of every positive-length input cube, and eventually requires more than \(2^{A\sqrt n}\) gates for every \(A{\gt}0\) in both depth-three polarities.
Every symmetric function has depth-three circuits of size \(2^{O(\sqrt n)}\). In particular, majority has circuits of depth at most \(d\) and size \(2^{O(n^{1/(d-1)})}\) at each fixed \(d\ge 2\), with input-only negations in both statements.
Suppose \(Q_2\) is existential-SO definable, \(\operatorname {queryLanguage}(Q_1)\) is NP-hard, and \(Q_1\le _{\mathsf{FO}}Q_2\) under the universe-preserving API. Then \(\operatorname {queryLanguage}(Q_2)\) is NP-complete for the existing machine definitions. The source hardness is an explicit hypothesis.
For clusters as in Theorem 1388 inside a set \(S\) of slices, with medians \(r\) and \(-s\),
where \(\Phi _n\) is the width of Definition 1394. There is no condition on \(k\), \(p\), \(L\), \(r\), or \(s\). The same bound holds for \(T_k(\gamma )\) with coefficients \(2^{2^{e}}\) whose labels separate an \((L, pL)\) window, as in Theorem 1388.
Under the preceding source, advice, and size hypotheses, set \(e=t+2a+\lceil \log _2(a+1)\rceil +10\). If
the actual complete program has retained-law error at most \(2^{-t}\). The finite program guard uses this chosen local error exponent.
Choose \(e,L,m\) from \(n,a,t,o\) as above. Let the original law have normalized left and right factors given \(Z\), with a nonnegative honest-left joint point-mass envelope \(\mu \) of total at most \(2^{-m}\). Suppose the honest right input is conditionally uniform on \(m\) bits. For any two fixed unequal advice words of length \(a\), the actual \(o\)-bit truncated program output has error at most \(2^{-t}\), retaining the original \((Z,B)\) and the actual truncated tampered output. No size guard, reserve inequality, field instance, primitive extractor, or intermediate security witness is supplied by the caller. The source hypotheses govern feasibility; the theorem does not assert the reserve fits every left-input width. The selected runtime is certified below; later asymptotic family composition remains separate.
Every De Morgan formula computing the parity of \(n \ge 1\) bits has at least \(n^2\) leaves, and for \(n = 2^k\) the minimum number of leaves is exactly \(n^2\). For \(1 \le k \le n\), every De Morgan formula computing the threshold function “at least \(k\) of the \(n\) inputs are \(1\)” has at least \(k (n + 1 - k)\) leaves; for strict majority (\(k = \lfloor n/2 \rfloor + 1\), ties rejected) this is \((n - \lfloor n/2 \rfloor )(\lfloor n/2 \rfloor + 1)\), which equals \(((n + 1)/2)^2\) for odd \(n\).
Under the hypotheses of Theorem 363, if \(20\, s(n) \le n\) for all large \(n\), then every single-output full-binary-basis circuit computing the length-\(n\) member whose shared gates have total fan-out at most \(s(n)\) satisfies \(n^2 \le 128(c+3)\log _2 n\, (\mathrm{size} + s(n) + 1)\). If \(s(n) = o(n)\), such circuits have superlinear size. Only the reuse of computed gate outputs is restricted: the size is unrestricted and input variables may be read any number of times. With \(s = 0\) this is the formula bound of Theorem 363; it does not apply to general circuits, whose shared fan-out is typically proportional to their size.
If moreover \(f\) has at least \(2^{n - 2}\) accepting inputs, then every split satisfies \(n \le \max (i + |B|, n - i + |A|) + \lceil \log _2 K \rceil + 2\), and hence \(\max (i + |B|, n - i + |A|) {\gt} n - \log _2 K - 3\). In particular, for every injective ranking of the wires some prefix, the wires ranked below a threshold, is crossed by at least \(\lfloor n/2 \rfloor - \lceil \log _2 K \rceil - 2\) forward and backward signals.
Let the inputs have in-degree zero and every vertex in-degree at most two. Under the hypotheses of Theorem 786, for every \(\varepsilon {\gt}0\) and all large \(N\) every such \(N\)-superconcentrator has at least \((1+1/A-\varepsilon )N\) vertices that are not inputs. This is \((4-\varepsilon )N\) for \(A=1/3\), the corresponding bound of Lev and Valiant, and \(\bigl(1+\pi /(3\arccos \tfrac {1+2\sqrt2}{4})-\varepsilon \bigr)N\approx (4.5625-\varepsilon )N\) for the edge-score coefficient.
For the polynomial-time family \(\mathrm{sourceReductionHardFamily}\) of Theorem 912, for every \(k\ge 1\) and \(\varepsilon {\gt}0\) and all large \(n\), every OR of CNFs of width at most \(k\) and every AND of DNFs of width at most \(k\) computing it has at least \(2^{(1/k-\varepsilon )n}\) CNFs, respectively DNFs.
For every \(\varepsilon {\gt}0\) and all sufficiently large \(p\), let \(F:\{ 0,1\} ^{2p}\to \{ 0,1\} ^m\) with \(m\le 2p\). If
then every circuit with at most \(s\) gates disagrees with \(F\) on more than \(2^p\) input rows. For a scalar function, replace \(3\) by \(1\). The thresholds are uniform in the functions and in \(s\).
Let \(F_p,G_p\) be vector functions on \(2p\) bits, with arbitrary common output width depending on \(p\). Suppose that eventually they differ on at most \(2^p\) rows and at most \(2p\) output coordinates. If \(2^p=o(C(F_p))\), then
Let \(f\) be two-sided \(K\)-rectangle-free with \(K\le 2^k\), and let a weighted threshold program with \(s_{\mathrm{in}}\) input-reading gates compute \(f\). Then:
(C1) \(2^n{\lt}4K^2\cdot 4^{s_{\mathrm{in}}}\), so \(n{\lt}2k+2+2s_{\mathrm{in}}\);
(C2) if every input weight vector is a real multiple of one vector, \(2^n{\lt}16K^2\cdot 2^{s_{\mathrm{in}}}\), so \(n{\lt}2k+4+s_{\mathrm{in}}\);
(C3) if the gates split into \(B\) direction runs, \(2^n{\lt}4K^2\cdot 4^B\cdot 2^{s_{\mathrm{in}}}\), so \(n{\lt}2k+2+2B+s_{\mathrm{in}}\).
- Algebraic.Threshold.TwoSidedRectangleFree.two_pow_lt_four_pow_inputGates
- Algebraic.Threshold.TwoSidedRectangleFree.lt_two_mul_add_two_mul_inputGates
- Algebraic.Threshold.TwoSidedRectangleFree.two_pow_lt_of_direction
- Algebraic.Threshold.TwoSidedRectangleFree.lt_of_direction
- Algebraic.Threshold.TwoSidedRectangleFree.two_pow_lt_of_runs
- Algebraic.Threshold.TwoSidedRectangleFree.lt_of_runs
Let \(f\) be two-sided \(K\)-rectangle-free with \(K\le 2^k\). (C2\('\)) If \(f(x)=F(\langle w,x\rangle )\) for a function \(F:\mathbb {R}\to \{ 0,1\} \) changing at most \(T\) times, then \(2^n{\lt}4K^2\max (1,4T)\), and \(T{\gt}2^{n-2k-4}\) when \(2k+4\le n\). (C4) If an activation program computes \(f\) and the activation of each input-reading gate \(j\) changes at most \(T_j\) times, then \(2^n{\lt}4K^2\prod _j\max (1,4T_j)\), the product ranging over the input-reading gates.
Let \(C\) be a circuit whose dependency graph has longest paths of at most \(2^k\) vertices, and let \(r \le k\). There is a set \(F\) of dependency edges with \(k\, |F| \le r \cdot \mathrm{totalFanIn}(C)\) whose removal leaves a graph whose longest paths have at most \(2^{k-r}\) vertices.
For the concrete universal machine \(\mathtt{utmTM}\): every string has finite plain complexity, and there are constants \(c, a, k\) with \(C^t_{\mathtt{utmTM}}(x) \le |x| + c\) whenever \(t \ge a(2|x|+3)^k\).
The binary NFA with \(9(n+2)\) states constructed above has a complement whose every \(s\)-state two-way nondeterministic recognizer satisfies
Consequently no real polynomial in the source state count bounds complementation of all ordinary binary NFAs by two-way NFAs. The statement concerns the complement of the full binary language.
For every \(n\), there is a binary Mathlib NFA with exactly \(9(n+2)\) states such that every \(s\)-state two-way deterministic recognizer of its language satisfies
Here \(\delta =2\) for positive-run acceptance and \(\delta =1\) otherwise. This is a statement about the full language accepted by the NFA.
For any alphabet and any code mapping relation letters on \(h\ge 2\) vertices to words, every \(s\)-state two-way NFA agreeing with the complement of liveness on all encoded words satisfies \(2^{\lfloor (h-2)/127\rfloor }\le 2(s+1)\). The code lengths and behavior outside the encoded words are unrestricted.
Let \(c\) map relation letters on \(h\ge 2\) points to words over any alphabet. Extend \(c\) to words by concatenation. If an \(s\)-state two-way deterministic automaton accepts \(c(w)\) exactly when \(w\) is live, then
with the same acceptance-convention constant \(\delta \) as above. There is no code-length assumption or loss in the state bound. The automaton’s answers on other words are unrestricted by the hypothesis.
Under either acceptance convention, there are no constants \(C,c{\gt}0\) such that every \(n\)-state one-way nondeterministic automaton over every finite alphabet has an equivalent two-way deterministic automaton with at most \(Cn^c\) states. Consequently, such a simulation is impossible for unrestricted two-way nondeterministic automata as well.
The complement of \(\mathrm{SAT}\) (as a set of bit strings, so including all malformed strings) is \(\mathsf{coNP}\)-complete. \(\mathrm{SAT} \in \mathsf{P} \iff \mathsf{P} = \mathsf{NP}\), and \(\mathrm{SAT} \in \mathsf{coNP} \iff \mathsf{NP} = \mathsf{coNP}\).
Let \(C\) be a fan-in-two circuit with \(s + a\) inputs, \(a \ge 1\), and \(M \ge 1\) outputs, whose first \(s\) inputs are a random seed, and let a decidable predicate say which outputs are correct for which inputs \(u \in \{ 0,1\} ^a\). If for every \(u\) the seeds \(\sigma \) on which \(C(\sigma u)\) is incorrect for \(u\) have probability at most \(2^{-(a+1)}\), then one seed is correct for every \(u\), and hardwiring it gives a circuit on \(a\) inputs with the same internal gate count and the same size that is correct for every \(u\).
Now fix \(q \ge 1\), \(t\), and sets \(S_u \subseteq \{ 0,1\} ^n\) for \(u \in \{ 0,1\} ^a\), and say \(C\) implements the relative estimator if, for every seed \(\sigma \) and every \(u\), the output of \(C(\sigma u)\) read as a little-endian unsigned integer equals the output of the estimator of Theorem 216 on \(S_u\) with seed \(\sigma \). Then \(C\) fails to output a relative-error-\(1/q\) approximation of \(|S_u|\) exactly on the estimator’s failure seeds, hence with probability at most \(2^{-t}\) for every \(u\); for \(t = a + 1\), hardwiring a seed gives a circuit of the same size that is accurate on every \(u\). The same holds for a fixed-round adaptive oracle program of fan-in-two circuits (AdaptiveOracleProgram): inlining circuits that answer every query of the right width as the oracle does preserves implementing the estimator, and if the program implements it with \(t = a + 1\) relative to every oracle deciding a language \(A \in \mathsf{P/poly}\), then for some polynomial-size circuit family deciding \(A\), inlining that family and hardwiring a seed gives an ordinary circuit, of the same size as the inlined program, that is accurate on every \(u\).
- Complexity.Circuit.badSeedEvent
- Complexity.Circuit.exists_uniform_correct_seed
- Complexity.Circuit.exists_hardwired_correct_circuit
- Complexity.ApproximateCounting.Relative.OutputIsAccurate
- Complexity.ApproximateCounting.Relative.CircuitImplements
- Complexity.ApproximateCounting.Relative.badSeedEvent_eq_failureEvent
- Complexity.ApproximateCounting.Relative.eventProb_badSeedEvent_le_two_pow
- Complexity.ApproximateCounting.Relative.exists_hardwired_accurate_circuit
- Complexity.ApproximateCounting.Relative.OracleProgramImplements
- Complexity.ApproximateCounting.Relative.inlineCircuitImplements
- Complexity.ApproximateCounting.Relative.exists_hardwired_accurate_of_mem_PPoly
Every \(F : \{ 0,1\} ^n \to \{ 0,1\} \) on bit strings determines the Boolean-valued function \(x \mapsto \chi (F(x))\) on the cube. This must be a public bridge. The PCP development has only a related map, Complexity.signOf in an internal module, which sends an \(\mathbb {F}_2\)-valued function on the cube to its \(\pm 1\) encoding. It does not act on bit strings.
The convolution is \((f * g)(x) = \mathbb {E}_y[f(y)\, g(x + y)]\). A density is a nonnegative \(\varphi \) with \(\mathbb {E}[\varphi ] = 1\). The density of a nonempty set \(A\) is \(\varphi _A = 1_A / \mathbb {E}[1_A]\). For \(A = \emptyset \) the Lean definition divides by zero and returns the zero function, so theorems about \(\varphi _A\) assume \(A\) is nonempty.
For nonempty \(X\subseteq \{ 0,1\} ^I\), let \(\mu _X\) be its uniform mass function and \(D_\infty (X)=|I|-\log _2|X|\). Given \(S\subseteq I\) and \(x\in X\), the fiber \(X_{x,S}\) consists of patterns on \(S\) whose completion using \(x\) outside \(S\) belongs to \(X\). Its deficit is measured relative to the \(|S|\)-dimensional cube. The real-valued Lean definition takes value \(|I|\) at the empty set; entropy interpretations require nonemptiness. Write \(x[S\leftarrow y]\) for replacing \(x\) on \(S\) using \(y\), \(\rho _X(S,x)=|X_{x,S}|/2^{|S|}\) for the fiber density, and \(f_X=2^{|I|}\mu _X\) for the normalized cube density.
\(\mathrm{BooleanFunction}(n)\) is the real vector space of functions \(f : \mathbb {F}_2^n \to \mathbb {R}\). Its inner product space structure comes from the uniform-measure inner product \(\langle f, g \rangle = 2^{-n} \sum _x f(x) g(x)\). The uniform expectation \(\mathbb {E}[f]\) is the average of \(f\) over the cube, so \(\mathbb {E}[f] = 2^{-n} \sum _x f(x)\) and \(\langle f, g \rangle = \mathbb {E}_x[f(x) g(x)]\). The type is a def rather than an abbrev, so the \(L^2\) norm does not clash with Mathlib’s sup norm on function types.
The degree-\(k\) part of \(f\) is \(f^{=k} = \sum _{|S| = k} \widehat{f}(S) \chi _S\), and \(f^{\le k} = \sum _{|S| \le k} \widehat{f}(S) \chi _S\). The weight above degree \(k\) is \(W^{{\gt}k}[f] = \sum _{|S| {\gt} k} \widehat{f}(S)^2\). The degree of \(f\) is \(\max \{ |S| : \widehat{f}(S) \neq 0\} \), valued in \(\mathbb {N} \cup \{ \bot \} \) with \(\bot \) for \(f = 0\). For Boolean-valued \(f\), the spectral sample is the probability distribution \(S \mapsto \widehat{f}(S)^2\) on subsets of \([n]\).
\(x^{\oplus i}\) flips coordinate \(i\) of \(x\). This is an involutive equivalence of the cube. The derivative is defined spectrally: \(D_i f = \sum _{S \ni i} \widehat{f}(S)\, \chi _{S \setminus \{ i\} }\). The sensitivity operator is \(L_i f(x) = (f(x) - f(x^{\oplus i}))/2\). These are different operators: by Theorem 1195, \(D_i\) removes \(i\) from each frequency, while \(L_i\) keeps only the frequencies that contain \(i\).
The Fourier coefficient of \(f\) on \(S\) is \(\widehat{f}(S) = \langle f, \chi _S \rangle \), and its Fourier weight is \(\widehat{f}(S)^2\). The weight at degree \(k\) is \(W^k[f] = \sum _{|S| = k} \widehat{f}(S)^2\).
For nonnegative \(f\) on a nonempty finite set, its harmonic mean is \((\mathbb {E}_x f(x)^{-1})^{-1}\) if all entries are positive, and zero otherwise. On the Boolean cube, let \(f_R(z)=\mathbb {E}[f(x)\mid x_R=z]\). The harmonic transform is \(\breve f(R)=(\mathbb {E}_z f_R(z)^{-1})^{-1}\), with the same zero convention. Bernoulli coordinate expectations assign a mask \(R\) weight \(p^{|R|}(1-p)^{n-|R|}\).
Spectrally, \(\mathrm{Inf}_i[f] = \sum _{S \ni i} \widehat{f}(S)^2\) and \(\mathbf{I}[f] = \sum _S |S|\, \widehat{f}(S)^2\).
\(f\) is linear if \(f = \chi _S\) for some \(S\). It is multiplicative if \(f(x + y) = f(x) f(y)\) for all \(x, y\). It is \(\varepsilon \)-close to \(g\) if \(\mathrm{dist}(f, g) \le \varepsilon \), and \(\varepsilon \)-close to a property \(P\) if it is \(\varepsilon \)-close to some \(g\) satisfying \(P\). The BLR acceptance probability is \(\Pr _{x,y}[f(x) f(y) = f(x + y)]\) for independent uniform \(x\) and \(y\).
For real \(p \ge 1\), \(\lVert f \rVert _p = \mathbb {E}[|f|^p]^{1/p}\) under the uniform measure. It should agree with the existing \(L^2\) norm at \(p = 2\) and satisfy Hölder’s inequality.
\(\mathrm{Var}[f] = \mathbb {E}[f^2] - \mathbb {E}[f]^2\) and \(\mathrm{Cov}[f,g] = \mathbb {E}[fg] - \mathbb {E}[f]\mathbb {E}[g]\). The uniform probability of a predicate \(P\) is \(\Pr [P] = \mathbb {E}[1_P]\), where \(1_P\) is the \(0\)–\(1\) indicator of \(P\), and the relative Hamming distance is \(\mathrm{dist}(f,g) = \Pr _x[f(x) \neq g(x)]\).
Order the cube coordinatewise by the values \(\chi (x_i) \in \{ -1, 1\} \). So \(x \le y\) iff \(y\) is obtained from \(x\) by changing some coordinates from \(1\) to \(0\). A function \(f\) is monotone if \(x \le y\) implies \(f(x) \le f(y)\). This is O’Donnell’s order on \(\{ -1,1\} ^n\). It is the reverse of the bitwise order on \(\mathbb {F}_2^n\), and the Lean definition must record the choice explicitly. The circuit library’s IsMonotoneBoolFun is a different notion: monotonicity of \(\{ 0,1\} \)-valued functions on bit strings in the bitwise order.
All four are defined spectrally, for \(\rho \in \mathbb {R}\):
\(\mathrm{Stab}_\rho [f] = \sum _S \rho ^{|S|} \widehat{f}(S)^2\);
\(\mathrm{Stab}_\rho [f,g] = \sum _S \rho ^{|S|} \widehat{f}(S)\widehat{g}(S)\);
the noise (Bonami–Beckner) operator \(T_\rho f = \sum _S \rho ^{|S|} \widehat{f}(S) \chi _S\);
\(\mathrm{NS}_\rho [f] = (\langle f, f \rangle - \mathrm{Stab}_\rho [f])/2\).
\(\chi : \mathbb {F}_2 \to \mathbb {R}\) sends \(b \mapsto (-1)^b\). For \(S \subseteq [n]\), the parity function is \(\chi _S(x) = \prod _{i \in S} \chi (x_i)\), so \(\chi _\emptyset = 1\). A function is Boolean-valued if every value is \(1\) or \(-1\).
Set \(\ell =2m+1\). Inputs have \(k\) blocks of \(\ell \) bits, represented either by their true-coordinate subsets or by ordinary \(\mathbb F_2\) assignments. Write \(h_i(x)=[|x^{(i)}|{\gt}m]\) and \(H(x)=\sum _i h_i(x)\) in \(\mathbb F_2\). Define \(\operatorname {corr}(f,g)=|\mathbb E_x(-1)^{f(x)+g(x)}|\) for uniform \(x\), and \(N_{m,d}=\# \{ A\subseteq [\ell ]:|A|\le m{\lt}|A|+d\} \).
- Complexity.BooleanAnalysis.PolynomialCorrelation.BlockCube
- Complexity.BooleanAnalysis.PolynomialCorrelation.majority
- Complexity.BooleanAnalysis.PolynomialCorrelation.xorMajority
- Complexity.BooleanAnalysis.PolynomialCorrelation.xorMajorityBits
- Complexity.BooleanAnalysis.PolynomialCorrelation.polynomialEval
- Complexity.BooleanAnalysis.PolynomialCorrelation.correlation
- Complexity.BooleanAnalysis.PolynomialCorrelation.middleBandCount
For \(p\in \mathbb R[X_1,\ldots ,X_n]\), let \(f_p(x)=\operatorname {sign}(p(\chi (x_1),\ldots ,\chi (x_n)))\), with \(\operatorname {sign}(0)=1\). A function is a degree-at-most-\(d\) polynomial threshold if it is \(f_p\) for some \(p\) of total degree at most \(d\). Its sign-cube multilinearization reduces each monomial exponent modulo two.
Let \(V_m\) span the squarefree monomials \(x^A\) with \(|A|\le m\). A product generator \(x^{\mathbf A}h^S\) has weight \((m+1)|S|+\sum _{i\notin S}|A_i|\), with each \(|A_i|\le m\). Let \(F_r\) be the span of generators of weight at most \(r\).
- Complexity.BooleanAnalysis.PolynomialCorrelation.monomial
- Complexity.BooleanAnalysis.PolynomialCorrelation.Low
- Complexity.BooleanAnalysis.PolynomialCorrelation.lowSpan
- Complexity.BooleanAnalysis.PolynomialCorrelation.Term
- Complexity.BooleanAnalysis.PolynomialCorrelation.termEval
- Complexity.BooleanAnalysis.PolynomialCorrelation.weight
- Complexity.BooleanAnalysis.PolynomialCorrelation.filtration
For a finite Boolean function \(f\), let \(s(f,x)\) count coordinates whose individual flips change \(f(x)\). Let \(\operatorname {bs}(f,x)\) be the maximum number of pairwise disjoint nonempty coordinate blocks whose flips change \(f(x)\). Write \(s(f)\) and \(\operatorname {bs}(f)\) for the maxima over inputs.
Hirahara’s 2018 distribution \(D^u\): at parameter \(m {\gt} 0\), choose \(n \in \{ 0, \dots , m-1\} \) uniformly and \(x \in \{ 0,1\} ^n\) uniformly, and output \(\mathrm{pair}(x, 1^{m-n})\). The library realizes this with the seed space \(\{ 0, \dots , m-1\} \times \{ 0,1\} ^m\), keeping the first \(n\) bits of the \(m\)-bit string as \(x\), so the slice has \(m \cdot 2^m\) equiprobable seeds. The parameter \(m\) is the sum \(|x| + (m-n)\) of the component lengths, not the length of the encoded pair. The slice \(m = 0\) is totalized as the point \(\mathrm{pair}(\epsilon , \epsilon )\) (a single seed), a library convention.
A heuristic is a deterministic map from strings to the three answers accept, reject and fail; it is errorless for \(L\) if it never accepts outside \(L\) and never rejects inside \(L\). It runs in polynomial time when its answer, encoded as \([\mathrm{true}]\), \([\mathrm{false}]\) or the empty string respectively, is a function in \(\mathsf{FP}\). A distributional problem is a language with a finite ensemble of input strings. For \(\delta \colon \mathbb {N} \to \mathbb {Q}\), \(\mathsf{AvgP}_\delta \) consists of the distributional problems having a polynomial-time errorless heuristic whose failure probability on slice \(n\) is at most \(\delta (n)\) for every \(n\). \(\mathsf{AvgP} = \bigcap _{c \in \mathbb {N}} \mathsf{AvgP}_{\delta _c}\) with \(\delta _c(n) = 1/\max (1,n)^c\), which is \(n^{-c}\) for \(n \ge 1\) and \(1\) at \(n = 0\): for each \(c\) there is a possibly different polynomial-time errorless heuristic meeting \(\delta _c\). This is not the single-scheme formulation in which the heuristic receives \(1/\delta \) as an input; relating the two is part of Definition 1135. The heuristic does not receive \(n\), and its time is polynomial in the sample length \(|x|\); since samples need not have length \(n\), this is stricter than the textbook bound polynomial in \(n\) when samples are much shorter than \(n\), so Definition 1134 should require samples of length polynomially related to \(n\).
A generator is any map \(G \colon \{ 0,1\} ^d \to \{ 0,1\} ^m\) (no efficiency is built in). A test \(T \subseteq \{ 0,1\} ^m\) has distinguishing advantage \(|\Pr _s[G(s) \in T] - \Pr _y[y \in T]|\). Relative to a machine \(M\), clock \(t\) and threshold \(r\): \(T\) is a random test if every \(y \in T\) has \(C^t_M(y) \ge r\); \(T\) is \(\delta \)-dense if \(\Pr _y[y \in T] \ge \delta \); and \(G\) has low complexity if every output satisfies \(C^t_M(G(s)) {\lt} r\).
For an oracle machine \(N\) and Boolean oracle \(A\), \(C^{t,A}_N(x)\) is the minimum length of a program on which \(N^A\) produces \(x\) within \(t\) steps (\(\infty \) if there is none). The random-access oracle of a string \(y\) answers canonical tagged queries “bit \(i\) of \(y\)” and “is \(i {\lt} |y|\)” (malformed and out-of-range queries answer false), so it determines both the contents and the length of \(y\). Conditional complexity is \(C^t_N(x \mid y) = C^{t, \mathrm{oracle}(y)}_N(x)\). Other conditioning conventions (sequential input, paper-specific evaluators) are not identified with this one.
\(\mathrm{cd}^{s,t}_M(x) = C^s_M(x) - C^t_M(x)\) and \(\mathrm{cd}^{s}_M(x) = C^s_M(x) - C_M(x)\), where the difference is \(\infty \) if either term is \(\infty \) and truncated natural subtraction otherwise. Both are defined for all clocks; the second subtraction is always exact, and the first is exact when \(s \le t\) (then \(C^t_M(x) \le C^s_M(x)\)), the case in which its laws are stated.
An ensemble is polynomial-time samplable when a single machine computes its sample map from a polynomially long seed in time polynomial in \(n\), with closure under polynomial-time maps, pairing, padding, products and efficiently chosen mixtures. \(\mathsf{DistNP}\) consists of pairs \((L, D)\) with \(L \in \mathsf{NP}\) and \(D\) polynomial-time samplable. Levin-style domination is kept as a separate notion if needed.
A finite ensemble assigns to each parameter \(n\) a nonempty finite seed space \(S_n\) (with decidable equality) and a sample map \(S_n \to \alpha \); the distribution at \(n\) is the pushforward of the uniform distribution on \(S_n\), with multiplicity. A dyadic ensemble is the special case \(S_n = \{ 0,1\} ^{\ell (n)}\), and its embedding into finite ensembles preserves every event probability. No sample map is called efficient until a machine realizes it (Definition 1134). Samples need not have length \(n\).
Hirahara 2022, Definitions 6.1 and 6.5. Fix an ordinary machine \(M\) and a conditional oracle machine \(N\). For a widening trivariate clock \(\tau (|x|, |y|, t) \ge t\), the promise \(\mathsf{GapMINcKT}\) on canonical \((x, y, 1^t, 1^s)\) has yes side \(C^t_N(x \mid y) + \mathrm{cd}^{t,\tau }_M(y) \le s\) and no side \(C^{\tau }_N(x \mid y) {\gt} s + \lfloor \log _2 \tau \rfloor \). The multiplicative version with factor \(\phi \colon \mathbb {N} \to \mathbb {N}\), \(\phi \ge 1\), has the same yes side and no side \(C^{\tau }_N(x \mid y) {\gt} \phi (|x|) \cdot s + \lfloor \log _2 \tau \rfloor \). A conditional estimator \(B\) satisfies Proposition 6.2’s sandwich if \(B(x, y, 1^t) \le C^t_N(x \mid y) + \mathrm{cd}^{t,\tau }_M(y)\) and \(C^{\tau }_N(x \mid y) \le B(x, y, 1^t) + \lfloor \log _2 \tau \rfloor \) on every instance.
Hirahara 2022, Definition 3.3: for a widening clock \(\tau (n, t) \ge t\), the promise on canonical \((x, 1^t, 1^s)\) with yes side \(C^t_U(x) \le s\) and no side \(C^{\tau }_U(x) {\gt} s + \lfloor \log _2 \tau \rfloor \), where \(\tau = \tau (|x|, t)\). An estimator \(B\) satisfies Fact 3.4’s sandwich if \(B(x, 1^t) \le C^t_U(x)\) and \(C^{\tau }_U(x) \le B(x, 1^t) + \lfloor \log _2 \tau \rfloor \) on every instance \((x, 1^t)\); it satisfies it on a set \(E\) of instances if these hold for every instance in \(E\).
Heuristics that may answer incorrectly on a set of bounded probability, \(\mathsf{Heur}_\delta \mathsf{P}\) and \(\mathsf{HeurP}\), the single-scheme versions of \(\mathsf{AvgP}\) and \(\mathsf{HeurP}\), randomized variants, and the standard amplification and inclusion lemmas.
An NW design is an ordered family \(S_1, \dots , S_m\) of \(\ell \)-element subsets of \([d]\), each enumerated injectively. It has overlap budget \(b\) if for every \(i\), \(\sum _{j{\lt}i} 2^{|S_i \cap S_j|} + (m - i) \le b\) (Hirahara’s weak-design cost). For \(f \colon \{ 0,1\} ^\ell \to \{ 0,1\} \) the generator is \(\mathrm{NW}^f(s) = (f(s|_{S_1}), \dots , f(s|_{S_m}))\).
Distributional Kolmogorov complexity, approximation-preserving padding, and the Meta-Complexity Padding Conjecture of Hirahara 2023 stated as an explicit hypothesis, together with its conditional characterization of one-way functions. It is never used as an unconditional theorem.
For an ordinary machine \(M\), a conditional oracle machine \(N\), a clock transformation \(\kappa \) and a loss \(\lambda \), \(\mathrm{SoI}(M, N, \kappa , \lambda )\) asserts, for all \(x, y, t\) with \(|x| + |y| \le t\),
The polynomial package asks for some \(\kappa \) with \(\kappa (t) \ge t\) and \(\kappa (t) \le a(t+1)^k\) for all \(t\), and \(\lambda (t) = \lfloor \log _2 \kappa (t) \rfloor + c\) for a constant \(c\). The inequality holds trivially wherever \(C^t_M(\mathrm{pair}(x,y)) = \infty \), in particular whenever \(t\) is too small for \(M\) to print \(\mathrm{pair}(x,y)\), and everywhere for a machine \(M\) that describes nothing; so SoI has content only for machines constrained by other hypotheses. (An earlier version also required \(C^t_M(\mathrm{pair}(x,y)) {\lt} \infty \) whenever \(|x| + |y| \le t\). That is impossible, since a run of \(t\) steps writes at most \(t\) output bits while \(|\mathrm{pair}(x,y)| = 2|x| + 2 + |y| {\gt} t\) at \(t = |x| + |y|\), and the requirement was removed.) SoI is a hypothesis; nothing in the library asserts it.
An enumeration \(i \mapsto (M_i, p_i)\) of oracle TMs paired with polynomial clocks such that every polynomial-time oracle language, relative to every oracle, is decided by some clocked \(M_i\), and the clocked machines are simulated uniformly in the oracle.
A family of properties \(P_n\) of \(n\)-bit Boolean functions is large with density \(\delta (n)\) if \(\mathrm{density}(P_n) \ge \delta (n)\); constructive if membership of a truth table of length \(N = 2^n\) is decidable in time polynomial in \(N\) (or by circuits of size polynomial in \(N\)); and useful against \(\mathsf{SIZE}(s)\) if, for all sufficiently large \(n\), no function in \(P_n\) has circuits of size \(s(n)\). The quantifier over lengths and the scale of constructivity are part of the definition.
Fix an oracle \(O\) and an oracle TM \(M\); all runs are relative to \(O\), and every step, local or lookup, counts toward a budget. \(M\) accepts \(x\) (within \(t\) steps) if the run on \(x\) reaches the halt state (after at most \(t\) steps) with output cell \(1\) equal to \(1\). \(M\) decides \(L\) in time \(T : \mathbb {N} \to \mathbb {N}\) if on every input \(x\) it reaches the halt state within \(T(|x|)\) steps, with output cell \(1\) equal to \(1\) if \(x \in L\) and equal to \(0\) if \(x \notin L\). \(M\) halts on a program \(p\) within \(t\) steps if the run on \(p\) reaches the halt state after at most \(t\) steps, and produces \(y\) on \(p\) within \(t\) steps if moreover the halted output tape has output \(y\). \(M\) halts on \(p\) (produces \(y\) on \(p\)) if it does so within some finite budget. These have the same shape as the corresponding definitions for ordinary machines.
An oracle NTM has two local transition functions selected by a choice bit and the same query mechanism and cost as an oracle TM, with execution along a fixed choice sequence and existential acceptance within a time bound.
A Boolean oracle is a function \(O : \{ 0,1\} ^* \to \{ 0,1\} \); it decides a language \(A\) if \(O(w) = 1 \iff w \in A\) for every \(w\). An oracle TM with \(k\) work tapes has a finite state type with decidable equality, a start state and a halt state; the input, \(k\) work and output tapes of an ordinary TM plus a dedicated read-write query tape; a partial map sending each query state to a pair (yes-successor, no-successor); and a local transition that reads the symbols under all heads (the query head included), writes symbols of \(\Gamma _w\) on the query, work and output tapes, and moves every head, moving right every head that reads \(\triangleright \). The initial configuration on \(x\) is in the start state with \(x\) on the input tape and every other tape empty. One step relative to \(O\) is defined as follows. The halt state has no successor. In a non-halted query state the machine reads the query word, formed by the cells strictly between the left marker and the query head in left-to-right order (a cell reads \(1\) only if it holds \(1\); \(0\), blank and \(\triangleright \) read as \(0\)), and enters the yes-successor if \(O\) answers \(1\) on it and the no-successor otherwise. The lookup costs exactly one step and changes nothing but the state; in particular the query tape is not erased, and writing the query costs ordinary local steps. Every other non-halted state applies the local transition. The relation \(c \to _O^t c'\) holds when \(c'\) is reached from \(c\) in exactly \(t\) steps relative to \(O\).
An oracle machine \(U\) simulates an oracle machine \(M\) under a compiler \(c : \{ 0,1\} ^* \to \{ 0,1\} ^*\) if for every oracle \(O\) and program \(p\): \(U\) halts on \(c(p)\) relative to \(O\) if and only if \(M\) halts on \(p\) relative to \(O\), and for every \(y\), \(U\) produces \(y\) on \(c(p)\) relative to \(O\) if and only if \(M\) produces \(y\) on \(p\) relative to \(O\). \(U\) simulates \(M\) under \(c\) in time \(\tau : \{ 0,1\} ^* \times \mathbb {N} \to \mathbb {N}\) if for every oracle \(O\), whenever \(M\) produces \(y\) on \(p\) within \(t\) steps relative to \(O\), \(U\) produces \(y\) on \(c(p)\) within \(\tau (p, t)\) steps relative to \(O\); unlike the ordinary timed simulation, bounded halting alone is not required to transfer. \(U\) is universal if for every \(k\) and every oracle machine \(M\) with \(k\) work tapes there is a compiler \(c\), computable by an ordinary deterministic machine, such that \(U\) simulates \(M\) under \(c\). For a policy of admissible clocks, \(U\) is efficiently universal for the policy if moreover \(c\) has additive overhead (\(|c(p)| \le |p| + C\)) and \(U\) simulates \(M\) under \(c\) in some admissible clock \(\tau \); it is efficiently universal if this holds for the polynomial policy, which admits \(\tau \) when \(\tau (p, t) \le a (|p| + t + 1)^e\) for some constants \(a, e\). In every case the compiler, constant and clock depend on \(M\) but are chosen once for all oracles.
A keyed family \(f_k : \{ 0,1\} ^n \to \{ 0,1\} \) computable in polynomial time, and its security game against a nonuniform class of distinguishers with oracle access (or with the full truth table): the advantage in telling \(f_k\) for a random key from a uniformly random function, required to be negligible, or bounded by an explicit function of the distinguisher’s size.
For a language \(A\), \(\mathsf{P}^A\) is the class of languages decided in polynomial time by an oracle TM relative to an oracle deciding \(A\), and \(\mathsf{NP}^A\) is the nondeterministic analogue. Query length is charged through the time needed to write the query.
Every TM with \(k\) work tapes is an oracle TM with \(k\) work tapes, the same states, start and halt state, and no query states. Its local transition applies the source transition to the input, work and output tapes and keeps the query tape inert: it writes only blanks there, and moves the query head right when it reads \(\triangleright \) and leaves it in place otherwise. Erasing the query tape maps an oracle configuration to the ordinary configuration with the same state and input, work and output tapes.
\(\mathsf{BPTIME}(T)\) is the set of languages \(L\) for which there are a machine \(N\) (with any number of work tapes) and \(f = O(T)\) such that every path halts within \(f(|x|)\) steps, \(\mathrm{acceptProb}_N(x, f(|x|)) \ge 2/3\) for \(x \in L\), and \(\mathrm{acceptProb}_N(x, f(|x|)) \le 1/3\) for \(x \notin L\). \(\mathsf{BPP} = \bigcup _k \mathsf{BPTIME}(n^k)\).
A basis is a type of operations, each with an arity constraint (any fan-in, fan-in exactly \(k\), or fan-in at most \(k\)) and an evaluation map on bit strings of admissible length. A circuit over a basis \(B\) with \(N \ge 1\) inputs, \(M \ge 1\) outputs and \(G\) internal gates consists of \(G\) internal gates and \(M\) output gates. A gate applies an operation of \(B\) to a list of wires whose length the operation admits, and each gate input carries its own negation flag. The wires are the \(N\) inputs followed by the \(G\) internal gates. Internal gate \(i\) may read only wires \(0, \dots , N + i - 1\), so the circuit is acyclic by construction, and an output gate may read any wire. Evaluation \(C : \{ 0,1\} ^N \to \{ 0,1\} ^M\) gives each input wire its input bit and each gate the value of its operation on its input wires, each negated when its flag is set. The size of \(C\) is \(G + M\). The depth of an input wire is \(0\), the depth of a gate is one more than the largest depth of a wire it reads (\(1\) for a gate with no inputs), and the depth of \(C\) is the largest depth of an output gate.
For \(m \in \mathbb {N}\), the AND/OR/\(\mathrm{MOD}_m\) basis has AND, OR and \(\mathrm{MOD}_m\) gates of any fan-in, with the free negation flags on their inputs. A \(\mathrm{MOD}_m\) gate outputs \(1\) when the number of its inputs equal to \(1\) is not divisible by \(m\); since negations are free, the complementary convention defines the same classes. \(\mathsf{AC}^i[m]\) is defined like \(\mathsf{AC}^i\) over this basis, and \(\mathsf{AC}^0[m]\) is the case \(i = 0\).
The bases whose operations are AND and OR with fan-in exactly \(2\), with fan-in at most \(k\), and with any fan-in. In the last two a gate may have no inputs, and then computes the empty conjunction \(1\) or the empty disjunction \(0\). Negation is available only through the free per-input flags. Unless stated otherwise, a circuit is a circuit over the fan-in-two basis.
A width-\(w\) permutation branching program is a list of instructions \((i, \pi _0, \pi _1)\) with \(i \in \mathbb {N}\) and \(\pi _0, \pi _1 \in S_w\); the instruction reads variable \(i\). Under an assignment \(\alpha \), an instruction selects \(\pi _{\alpha (i)}\), and the program evaluates to the product \(\pi ^{(1)} \pi ^{(2)} \cdots \pi ^{(k)}\) of the selected permutations in \(S_w\), where \((\pi \tau )(y) = \pi (\tau (y))\). A program computes \(f\) through \(\sigma \) if, under every assignment \(\alpha \), it evaluates to \(\sigma \) when \(f(\alpha ) = 1\) and to the identity otherwise.
A fan-in-two single-output circuit is serialized as its gate count in terminated unary followed by its gates in index order, the output gate last. A gate is written as an operation bit, two negation flags, and two absolute wire references in terminated unary. The partial evaluator \(\mathrm{evalCode}(N, c, x)\) decodes \(c\), rejects inputs of the wrong length and codes that are malformed, have trailing bits, are empty, or reference a wire that is not yet computed, and evaluates the gates in order with a memo array. The code of a family at length \(0\) is the bit \(0\) followed by the stored answer; at length \(n \ge 1\) it is the bit \(1\) followed by the code of \(C_n\). The family evaluator runs a code \(c\) on a string \(x\) as follows: if \(x\) is empty, \(c\) must be \(0\, b\) for a bit \(b\), and the answer is \(b\); if \(x\) is nonempty, \(c\) must be \(1\, c'\), and the answer is \(\mathrm{evalCode}(|x|, c', x)\); every other case is rejected. The evaluation language is the set of strings \(\langle c, x \rangle \) (the library’s self-delimiting pairing) on which the family evaluator returns \(1\).
For selected gates \(S\), input \(x\), and guesses \(a:S\to U\), evaluate an unselected gate normally and a selected gate by its guess. The guess is consistent when each selected gate’s own operation, applied to the values of its argument wires under this evaluation, gives its guessed value.
A circuit is a straight-line program with addition, subtraction, and multiplication by a fixed complex scalar. Each operation costs one gate; inputs, a zero wire, fanout, and output selection are free. It computes \(F_n\) when its output equals \(F_nx\) for every complex input vector, where \((F_n)_{jk}=\exp (2\pi i/n)^{jk}\). Write \(L(n)\) for the least gate count of such a circuit.
The signature has zero, binary addition and subtraction, and unary scaling by each complex scalar. Translate the source’s free zero wire to an explicit zero gate, then copy each source gate and its wire references.
A circuit family over \(B\) consists of a single-output circuit \(C_n\) over \(B\) on \(n\) inputs, with any number of internal gates, for every \(n \ge 1\), together with an output bit for the empty input. It computes the Boolean function family given by \(C_n\) at length \(n \ge 1\) and by the stored bit at length \(0\), and it decides the language of strings on which it outputs \(1\). Its size at \(n \ge 1\) is the size of \(C_n\), and its size at \(0\) is \(0\). It has polynomial size if a single polynomial \(p \in \mathbb {N}[X]\) satisfies \(\mathrm{size}(n) \le p(n)\) for every \(n\).
A Boolean formula is a tree built from variables \(x_i\) (\(i \in \mathbb {N}\)), the two constants, negation, and binary conjunction and disjunction. It is evaluated under a total assignment \(\mathbb {N} \to \{ 0,1\} \). Its size is its number of nodes, its depth is the length of a longest root-to-leaf path, with each negation counted as one level, and its variables are the indices \(i\) of the variables \(x_i\) occurring in it.
\(\mathsf{FormulaNC1}\) is the class of Boolean function families computed by a family of formulas \((\varphi _n)\) in which \(\varphi _n\) reads only variables below \(n\), is evaluated on \(x \in \{ 0,1\} ^n\) under the assignment sending \(i {\lt} n\) to \(x_i\) (and every other index to \(0\)), and has depth at most \(c \lfloor \log _2 n \rfloor + c\) for a constant \(c\). \(\mathsf{Width5BP}\) is the class of Boolean function families decided by a family of width-\(5\) programs \(P_n\) for \(n \ge 1\), each reading only variables below \(n\) and with a designated point \(x_n\), together with an explicit answer at \(n = 0\); on \(x \in \{ 0,1\} ^n\) the output is \(1\) exactly when the value of \(P_n\) under the same assignment moves \(x_n\), and the length of \(P_n\) is at most \(C (n + 1)^k\) for constants \(C, k\).
Set \(F_{n+1}(b,x)=L(x)\mathbin \oplus b\). Interpret the same circuit wiring dually by exchanging AND and OR at every layer and complementing its literal and constant inputs. This gives an AND-OR-AND circuit with the same gate count.
Convert each canonical clause to its finite set of signed literals. For an OR of CNFs, place one bottom gate at every clause occurrence, one middle gate per CNF, and one top OR gate.
Replace each input variable by another variable or a Boolean constant, normalize each resulting clause, and discard tautological clauses. A CNF’s width is the maximum number of distinct variables in one clause.
A depth-three circuit has bottom OR gates over signed literals and constants, middle AND gates over selected bottom gates, and one top OR gate. Lower gates can be shared. Fan-in is unrestricted at every layer. The gate count is the number of bottom and middle gates plus one.
A machine has finite control, a finite alphabet with a distinguished blank, and finitely many bilateral read-write tapes. One designated tape initially holds the input bits. A step reads all tape heads, then writes and moves them, or halts. A Boolean verdict is read from the halting control state. The time bound counts transitions to a halting configuration.
A Boolean function is symmetric when it is constant on each Hamming-weight level. Majority accepts precisely when \(2|x| \ge n\), including ties. A circuit has input-only negations when every negated gate argument reads a primary input; no internal gate output is negated.
A basis is complete if, for all \(N, M \ge 1\), every function \(\{ 0,1\} ^N \to \{ 0,1\} ^M\) is computed by some circuit over it; the fan-in-two AND/OR basis is complete. For \(N \ge 1\), \(f : \{ 0,1\} ^N \to \{ 0,1\} \) and a basis \(B\), \(\mathrm{size}_B(f)\) is the least size of a single-output circuit over \(B\) computing \(f\). The general version takes values in \(\mathbb {N} \cup \{ \infty \} \) and equals \(\infty \) exactly when no circuit over \(B\) computes \(f\). For a complete basis a natural-number-valued version is provided, and it agrees with the general one.
A threshold gate with cutoff \(t\) outputs \(1\) when at least \(t\) of its inputs are \(1\); the threshold basis has unweighted threshold gates of any fan-in, with the free negation flags on their inputs. \(\mathsf{TC}^i\) is defined like \(\mathsf{AC}^i\) over this basis.
A wire use is one gate-argument slot or one designated output; repeated occurrences count separately. Write \(u(v)\) for the number of uses of wire \(v\), \(w\) for the sum over original input wires, and \(e=\sum _{v\text{ a gate}}\max \{ u(v)-1,0\} \). A shared gate has \(u(v)\ge 2\). There are no unused gates when every gate has at least one use.
A tuple has the little-endian base-\(n\) index \(a_0+n a_1+\cdots +n^{k-1}a_{k-1}\). The address of a relation-table entry adds \(n+1\) for the header and the lengths of all earlier relation tables. A constant-table address adds the header, all relation-table lengths, \(cn\) for the preceding \(c\) constant blocks, and the chosen element’s value. Fixed-width tuple decoding repeatedly takes remainder and quotient by \(n\), recovering coordinates from an index in the same little-endian order.
Given a cardinality \(n\), a bit string, and natural-number variable values, evaluate terms and formulas directly by arithmetic table access. A constant is the first marked position in its one-hot block, or \(n\) if no position is marked. First-order quantifiers range over \(0,\ldots ,n-1\). The functions are total, including on malformed strings; semantic correctness requires a valid structure encoding and variable values in its universe.
A graph is bipartite if a Boolean color assignment gives different colors to the endpoints of every directed edge. Symmetry and loop-freeness are not assumed. Its proposed sentence is \(\exists X\, \forall x\, \forall y\, (E(x,y)\to (X(x)\leftrightarrow \neg X(y)))\).
At a fixed universe size \(n\), an input layout assigns wires to relation-table entries and one-hot constant blocks. There is a fixed finite numbering of all these sites, independent of the structure’s relation and constant values. Compile a formula under an assignment of its free variables as follows: relation atoms select a table entry by testing all argument values; equality tests whether both terms select the same value; negation uses De Morgan duality; Boolean connectives remain gates; and quantifiers become unbounded gates over the \(n\) possible values. The result is an AC0Formula.
Define \(P_\varphi \in \mathbb N[X]\) by \(P_{R(\bar t)}=1+(a+2)X^a\) for an \(a\)-ary relation, \(P_{t=u}=1+3X\), \(P_{\neg \varphi }=P_\varphi \), \(P_{\varphi \wedge \psi }=P_{\varphi \vee \psi }=1+P_\varphi +P_\psi \), and \(P_{Qx\, \varphi }=1+XP_\varphi \) for \(Q\in \{ \exists ,\forall \} \). This is the finite expansion used in Immerman, Section 5.4, Theorem 5.22.
- Complexity.DescriptiveComplexity.StructureInput
- Complexity.DescriptiveComplexity.StructureInput.Represents
- Complexity.DescriptiveComplexity.StructureInput.compile
- Complexity.DescriptiveComplexity.InputSite
- Complexity.DescriptiveComplexity.tableLayout
- Complexity.DescriptiveComplexity.tableInput
- Complexity.DescriptiveComplexity.Formula.expansionPolynomial
A decision problem bundles a query with its isomorphism invariance. Logical definability supplies this law. Complement, intersection, and union inherit it. This is the interface of Senellart–Gnatenko, Section 3.1, restricted to our convention of at least two elements.
- Complexity.DescriptiveComplexity.DecisionProblem
- Complexity.DescriptiveComplexity.DecisionProblem.ofFODefinable
- Complexity.DescriptiveComplexity.DecisionProblem.ofExistSODefinable
- Complexity.DescriptiveComplexity.DecisionProblem.complement
- Complexity.DescriptiveComplexity.DecisionProblem.inter
- Complexity.DescriptiveComplexity.DecisionProblem.union
A computable parser \(\mathrm{dec} : \{ 0,1\} ^* \to V\text{-structures} \cup \{ \bot \} \). It checks the unary size and total length, reads relation bits and the first set bit in each constant block, and accepts only when re-encoding this candidate reproduces the entire input. It returns \(\bot \) on malformed input, including a size below \(2\), a constant block that is not one-hot, or trailing data.
A dimension-\(k\) interpretation defines the target universe as a definable subset of \(\mathrm{dom}^k\). Each target relation of arity \(a\) is defined by a formula with \(a k\) free variables. This requires a codec \(\mathrm{Fin}(n^k) \simeq (\mathrm{Fin}(k) \to \mathrm{Fin}(n))\) and a way to assemble environments for the \(a k\) variables.
For a fixed \(c{\gt}0\), interpret a graph on \(\mathrm{Fin}(c)\times \mathrm{Fin}(n)\) with \(E((i,x),(j,y))\) iff \(i=j\) and \(E(x,y)\) in the source. This defines the union of \(c\) disjoint copies and a reduction of bipartiteness to itself.
Evaluate the defining relation formulas to obtain a decidable target structure on the same universe, with constants copied from their designated source constants. The binary map decodes, interprets, and re-encodes, sending every malformed string to \([]\). A separate arithmetic generator writes the header, all target relation truth tables, and the designated one-hot constant blocks at a supplied cardinality, without validating the source string.
A decidable structure of size \(n\) is encoded, computably, as the concatenation of three blocks:
the size in unary, \(1^n 0\);
for each relation symbol in index order, its truth table, listed over a computable enumeration of all tuples of its arity;
for each constant symbol in index order, a one-hot block of length \(n\) whose bit \(i\) is \(1\) exactly when the constant is \(i\).
The encoding depends on the canonical order of \(\mathrm{Fin}(n)\).
Assign each relation and constant-table wire its actual bit position in the full structure encoding. Present an encoded structure as a Boolean input vector of length \(\ell _V(n)\). This layout is computable.
Enumerate relation and constant-table sites in the encoder’s order. A site’s bit position is its index in this list plus \(n+1\) for the unary prefix. The full length is \(\ell _V(n)=n+1+\sum _R n^{\mathrm{ar}(R)}+cn\).
At length \(\ell _V(n)\), conjoin the test \(n\ge 2\), a signed-literal test for the unary header \(1^n0\), and a one-hot test for every constant block. A one-hot test is a disjunction over the \(n\) possible values, each given by a conjunction of \(n\) signed literals. Relation-table bits are unrestricted. Write \(E_V(X)=X+4+c(1+X(1+X))\) for its size polynomial, with \(c\) constant symbols. The validated expansion conjoins this validator with the sentence expansion; its size polynomial is \(V_\varphi =1+E_V+P_\varphi \).
- Complexity.DescriptiveComplexity.encodingHeaderFormula
- Complexity.DescriptiveComplexity.constantValueFormula
- Complexity.DescriptiveComplexity.encodingValidityFormula
- Complexity.DescriptiveComplexity.encodingValidityPolynomial
- Complexity.DescriptiveComplexity.Sentence.validatedExpansion
- Complexity.DescriptiveComplexity.Sentence.validatedPolynomial
List the existential prefix’s arities from outermost to innermost. Consume one truth-table block at each relation quantifier, extending the Boolean relation environment. At the FO matrix, require an empty remaining certificate and run matrix evaluation. For an encoded input, first decode the structure and reject if decoding fails. These are computable functions.
To conjoin or disjoin two existential SO formulas, move each leading existential relation quantifier outward, weakening the other operand past its binder. Once both prefixes have been removed, conjoin or disjoin the matrices. The total operation is also defined on arbitrary SO formulas; it moves only their leading existential SO quantifiers. This implements the existential prefix manipulation in Immerman, Section 7.1.
A formula is an FO matrix if it has no second-order quantifiers, though it may apply relation variables and use first-order quantifiers. It is in \(\exists \mathsf{SO}\) form if it is a possibly empty block of second-order existential quantifiers followed by an FO matrix.
A quantifier block binds the first \(k\) variables of a formula; its environment places the \(k\) coordinates before the old variables. Terms can be shifted across an entire block. Finite conjunctions and disjunctions are iterated binary connectives, with truth and falsity as their respective empty cases.
For queries \(Q_1\) over \(V\) and \(Q_2\) over \(W\), \(Q_1 \le _{\mathsf{FO}} Q_2\) if some dimension-1 interpretation \(I : V \to W\) has \(Q_1(\mathcal{A}) \iff Q_2(I(\mathcal{A}))\) for all \(V\)-structures \(\mathcal{A}\). An interpretation is quantifier-free if every defining formula has quantifier rank \(0\). \(Q_1\) first-order projection reduces to \(Q_2\) if such an \(I\) can be chosen quantifier-free. This condition is coarser than Immerman’s projective form, in which each target bit depends on a single source bit.
An environment for \(k\) free variables is a map \(\mathrm{Fin}(k) \to \mathrm{Fin}(|\mathcal{A}|)\). Extending it by an element puts that element at index \(0\) and shifts the others. Satisfaction \(\mathcal{A}, \sigma \models \varphi \) is Tarskian, and quantifiers range over \(\mathrm{Fin}(|\mathcal{A}|)\). \(\mathcal{A} \models \varphi \) means satisfaction of a sentence under the empty environment.
Terms with \(k\) free variables are de Bruijn variables \(x_i\) (\(i {\lt} k\)) or constant symbols. Formulas are built from relation atoms, equality, \(\neg \), \(\wedge \), \(\vee \), \(\exists \), and \(\forall \). A quantifier binds variable \(0\) and shifts the others. Sentences are formulas with no free variables. Quantifier rank (the quantifier nesting depth) and size (the number of nodes) are defined by structural recursion.
A dimension-1 interpretation \(I : V \to W\) consists of a \(V\)-formula with \(\mathrm{ar}(R)\) free variables for each relation symbol \(R\) of \(W\), and a source constant for each constant of \(W\). Applying \(I\) to a \(V\)-structure gives a \(W\)-structure on the same universe, in which \(R\) holds exactly where its defining formula does. Formulas translate backwards along \(I\), from \(W\) to \(V\): a target atom becomes its defining formula with the translated argument terms substituted, and a target constant becomes its source constant. Interpretations \(U \to V\) and \(V \to W\) compose to one \(U \to W\) by translating the outer defining formulas. The identity interpretation defines each relation by its own atom and sends each constant to itself.
- Complexity.DescriptiveComplexity.FOInterpretation
- Complexity.DescriptiveComplexity.FOInterpretation.apply
- Complexity.DescriptiveComplexity.FOInterpretation.idInterp
- Complexity.DescriptiveComplexity.FOInterpretation.translateTerm
- Complexity.DescriptiveComplexity.FOInterpretation.translate
- Complexity.DescriptiveComplexity.FOInterpretation.comp
An isomorphism \(\mathcal{A} \cong \mathcal{B}\) is a pair of mutually inverse maps between the universes whose forward map preserves and reflects every relation and preserves constants. Isomorphisms have identities, inverses, and composites. An embedding is an injective map that preserves and reflects every relation and preserves constants, as in model theory; its image is a substructure of \(\mathcal{B}\) isomorphic to \(\mathcal{A}\). Embeddings have identities and composites, and every isomorphism is one. An injective homomorphism only preserves relations, so \(\mathcal{B}\) may relate images of unrelated elements; every embedding is one. All three notions carry their maps as data.
- Complexity.DescriptiveComplexity.Iso
- Complexity.DescriptiveComplexity.Iso.refl
- Complexity.DescriptiveComplexity.Iso.symm
- Complexity.DescriptiveComplexity.Iso.trans
- Complexity.DescriptiveComplexity.Embedding
- Complexity.DescriptiveComplexity.Embedding.refl
- Complexity.DescriptiveComplexity.Embedding.trans
- Complexity.DescriptiveComplexity.Embedding.ofIso
- Complexity.DescriptiveComplexity.Embedding.toInjectiveHom
- Complexity.DescriptiveComplexity.InjectiveHom
- Complexity.DescriptiveComplexity.InjectiveHom.ofIso
\(\mathsf{FO}(\mathrm{LFP})\) extends first-order logic with \([\mathrm{lfp}_{R,\bar x}\, \varphi ](\bar t)\) for \(\varphi \) positive in \(R\). It is interpreted as the least fixed point of the monotone operator that \(\varphi \) induces on relations of the arity of \(R\). That fixed point is reached after at most \(n^{\mathrm{ar}(R)}\) iterations.
A Boolean relation environment assigns a Boolean table of the prescribed arity to every free relation variable. Interpret true bits as relation membership. Given an FO-matrix certificate, evaluate vocabulary atoms in the decidable structure, relation-variable atoms in these tables, and first-order quantifiers over the finite universe. Second-order quantifiers are excluded by the matrix certificate. Satisfaction with these inputs is decidable.
A computable \(\mathrm{Bool}\)-valued evaluator for first-order formulas on decidable structures. Atoms look up the \(\mathrm{Bool}\)-valued relations, and quantifiers become any and all over the list of universe elements. The sentence form runs it under the empty environment.
On \(\{ 0,\ldots ,n-1\} \), let \(\mathrm{BIT}(x,i)\) hold when bit \(i\) of \(x\) is one (counting from zero), \(\mathrm{ADD}(x,y,z)\) when \(x+y=z\) in \(\mathbb N\), and \(\mathrm{MUL}(x,y,z)\) when \(xy=z\) in \(\mathbb N\). The latter two are ternary relations restricted to the universe, without modular wraparound. Extend each input vocabulary by the selected predicates with these fixed semantics. Definability means agreement with a single sentence on every canonical expansion. The BIT profile adds only BIT; the arithmetic profile adds only ADD and MUL. These conventions follow Schweikardt and Schwentick, A note on the expressive power of linear orders, Section 2 (2011), https://lmcs.episciences.org/1008/pdf.
- Complexity.DescriptiveComplexity.NumericalPredicate
- Complexity.DescriptiveComplexity.NumericalPredicate.Holds
- Complexity.DescriptiveComplexity.Vocabulary.withNumerical
- Complexity.DescriptiveComplexity.Vocabulary.withBit
- Complexity.DescriptiveComplexity.Vocabulary.withArithmetic
- Complexity.DescriptiveComplexity.FinStruct.withNumerical
- Complexity.DescriptiveComplexity.DecFinStruct.withNumerical
- Complexity.DescriptiveComplexity.FOInterpretation.forgetNumerical
- Complexity.DescriptiveComplexity.Formula.withNumerical
- Complexity.DescriptiveComplexity.Formula.numerical
- Complexity.DescriptiveComplexity.Formula.bit
- Complexity.DescriptiveComplexity.Formula.add
- Complexity.DescriptiveComplexity.Formula.mul
- Complexity.DescriptiveComplexity.FODefinableWithNumerical
Append a designated binary relation for canonical strict order on \(\mathrm{Fin}(n)\), retaining the input relations and constants. Order atoms use the existing first-order syntax. Satisfaction on canonical expansions can depend on the labeling of the original structure. Derived successor and endpoint formulas remain planned.
A Boolean query over \(V\) is a property of finite \(V\)-structures. It is order-independent if isomorphic structures agree on it, that is, if it is invariant under isomorphism. Complement, intersection, and union are defined pointwise.
For each binary input length \(N\), define \(\mathrm{queryFamily}(Q)_N(x)=1\) exactly when the list of bits in \(x\) belongs to \(\mathrm{queryLanguage}(Q)\). This noncomputable characteristic family is defined for every query, including queries that are not decidable.
The language of \(Q\) is \(\{ \mathrm{enc}(\mathcal{A}) : \mathcal{A} \text{ decidable}, Q(\mathcal{A})\} \), where \(Q\) is applied to the structure that \(\mathcal{A}\) coerces to. By definition every string in it is an encoding, and the encoding of a decidable structure satisfying \(Q\) lies in it. This is the bridge from queries to the machine-model languages.
For a universe of size \(n\) and relation arities \(k_1,\ldots ,k_m\), concatenate the relation truth tables in context order, using the structure encoder’s tuple enumeration. The arities and \(n\) are external parameters, so no header is needed. The expected length is \(\sum _j n^{k_j}\). Direct reading supplies false for missing entries; the checked decoder accepts only the exact length.
- Complexity.DescriptiveComplexity.DecREnv.EncodingSite
- Complexity.DescriptiveComplexity.DecREnv.encodingSites
- Complexity.DescriptiveComplexity.DecREnv.encodingLength
- Complexity.DescriptiveComplexity.DecREnv.encodingPolynomial
- Complexity.DescriptiveComplexity.DecREnv.encode
- Complexity.DescriptiveComplexity.DecREnv.read
- Complexity.DescriptiveComplexity.DecREnv.decode
A relation renaming maps de Bruijn indices between contexts while preserving each relation’s arity. Its lift fixes a newly bound relation and renames the older variables. Weakening shifts all free relation indices past a fresh binder. Formula renaming lifts beneath both kinds of SO quantifier, leaving element variables and vocabulary symbols unchanged. Pullback reads a target relation environment at the renamed source indices.
- Complexity.DescriptiveComplexity.RelRenaming
- Complexity.DescriptiveComplexity.RelRenaming.id
- Complexity.DescriptiveComplexity.RelRenaming.comp
- Complexity.DescriptiveComplexity.RelRenaming.lift
- Complexity.DescriptiveComplexity.RelRenaming.weaken
- Complexity.DescriptiveComplexity.RelRenaming.pull
- Complexity.DescriptiveComplexity.SOFormula.renameRel
A relation environment assigns to each relation variable in the context a \(\mathrm{Prop}\)-valued relation of its arity on the universe. Extending it puts the new relation at index \(0\). Satisfaction is defined under an element environment and a relation environment, and second-order quantifiers range over all \(\mathrm{Prop}\)-valued relations of the quantified arity on the universe. \(\mathcal{A} \models \varphi \) for a second-order sentence means satisfaction under the empty environments.
Second-order formulas extend first-order formulas with two constructs: applications of relation variables, and second-order quantifiers \(\exists R\), \(\forall R\) over a fresh relation of a given arity. Relation variables are de Bruijn-indexed by a context listing their arities, innermost first. A second-order sentence has an empty relation context and no free element variables. First-order formulas embed into second-order formulas over any relation context. Size counts nodes.
Supply each free relation as its truth-table string. Matrix evaluation uses arithmetic structure reads and tuple indices into these relation tables. Each existential relation quantifier checks that at least \(n^k\) bits remain, takes the next \(n^k\) bits as its new table, and recurses on the rest. At the matrix, require that no certificate bits remain. All operations are total; structure validity is checked separately.
A finite structure \(\mathcal{A}\) over \(V\) consists of:
a size \(n \ge 2\) and the universe \(\mathrm{Fin}(n)\);
for each relation symbol of arity \(k\), a \(\mathrm{Prop}\)-valued relation on \(k\)-tuples, that is, on maps \(\mathrm{Fin}(k) \to \mathrm{Fin}(n)\);
for each constant symbol, an element.
A decidable structure has the same data, with \(\mathrm{Bool}\)-valued relations, and coerces to a structure in which a relation holds where its value is \(\mathrm{true}\). The canonical order \(\le \), the successor relation (\(b = a + 1\)), the minimum \(0\), and the maximum \(n - 1\) of \(\mathrm{Fin}(n)\) are defined for every structure as meta-level helpers. They are not part of the structure, and no formula can mention them.
- Complexity.DescriptiveComplexity.FinStruct
- Complexity.DescriptiveComplexity.DecFinStruct
- Complexity.DescriptiveComplexity.DecFinStruct.toFinStruct
- Complexity.DescriptiveComplexity.FinStruct.leRel
- Complexity.DescriptiveComplexity.FinStruct.sucRel
- Complexity.DescriptiveComplexity.FinStruct.minElem
- Complexity.DescriptiveComplexity.FinStruct.maxElem
Simultaneous substitution \(\varphi [\rho ]\) takes a formula with \(m\) free variables and terms \(\rho (0), \dots , \rho (m-1)\) with \(n\) free variables, and replaces each \(x_k\) by \(\rho (k)\), giving a formula with \(n\) free variables. Under a binder, the substitution is lifted: variable \(0\) stays, and every other image is shifted up one de Bruijn index.
Evaluate the interpretation on decidable structures. An arithmetic generator extracts tags by division, coordinates by base expansion, selects a defining relation formula from the fixed finite tag cases, and packs source-constant tuples. The binary map decodes, interprets, and re-encodes; malformed inputs map to \([]\).
- Complexity.DescriptiveComplexity.TaggedFOInterpretation.applyDec
- Complexity.DescriptiveComplexity.TaggedFOInterpretation.relationEnvCode
- Complexity.DescriptiveComplexity.TaggedFOInterpretation.relationBitCode
- Complexity.DescriptiveComplexity.TaggedFOInterpretation.relationTableCode
- Complexity.DescriptiveComplexity.TaggedFOInterpretation.constantCode
- Complexity.DescriptiveComplexity.TaggedFOInterpretation.rawEncoding
- Complexity.DescriptiveComplexity.TaggedFOInterpretation.mapEncoding
For positive \(t,d\), the target universe is \(\mathrm{Fin}(t)\times \mathrm{Fin}(n)^d\), presented on \(\mathrm{Fin}(t n^d)\). A relation of arity \(a\) has a defining formula with \(ad\) variables for each assignment of tags to its arguments. Target constants are tagged tuples of source constants. This full-product construction has no domain restriction or quotient; it follows Senellart–Gnatenko, Section 3.2.
Pullback replaces each free target variable by a tag and a tuple of source terms. Equality compares tags and all coordinates. Quantifiers become finite tag choices followed by coordinate blocks. Composition pulls the outer relation formulas back along the inner interpretation and flattens the nested tuples. This is the tagged full-product case of Immerman, Definition 3.3; constants are source-constant tuples as allowed in its footnote.
- Complexity.DescriptiveComplexity.TaggedFOInterpretation.pullbackWith
- Complexity.DescriptiveComplexity.TaggedFOInterpretation.translate
- Complexity.DescriptiveComplexity.TaggedFOInterpretation.translateSentence
- Complexity.DescriptiveComplexity.TaggedFOInterpretation.comp
- Complexity.DescriptiveComplexity.TaggedFOInterpretation.idInterp
A tagged reduction \(P \leq Q\) supplies positive tag and dimension counts, a tagged interpretation \(I\), and \(P(\mathcal A)\iff Q(I(\mathcal A))\) for every source structure. Reducibility is existence of such a witness. Identities, composites, and complementary reductions are explicit witnesses. On one vocabulary this relation defines a preorder; the API also supports reductions across vocabularies.
- Complexity.DescriptiveComplexity.TaggedFOReduction
- Complexity.DescriptiveComplexity.TaggedFOReduction.refl
- Complexity.DescriptiveComplexity.TaggedFOReduction.trans
- Complexity.DescriptiveComplexity.TaggedFOReduction.complement
- Complexity.DescriptiveComplexity.TaggedFOReduces
- Complexity.DescriptiveComplexity.TaggedFOReduces.preorder
At cardinality \(n\), require \(n\ge 2\), total length \(\ell _V(n)\), header bits \(1^n0\), and exactly one true bit in every constant block. Express the latter as: for each constant there is an \(a{\lt}n\) such that every \(b{\lt}n\) has block bit equal to the truth value of \(a=b\). Relation-table bits are unrestricted.
A vocabulary has \(r\) relation symbols, indexed by \(\mathrm{Fin}(r)\), each with an arity in \(\mathbb {N}\), and \(c\) constant symbols, indexed by \(\mathrm{Fin}(c)\). It is relational if \(c = 0\). The graph vocabulary has one binary relation symbol and no constants.
For \(T \colon \mathbb {N} \to \mathbb {N}\), \(\mathsf{DTIME}(T)\) is the set of languages \(L\) for which there are a deterministic machine with some number \(k\) of work tapes and a function \(f\) with \(f = O(T)\) such that the machine decides \(L\) within time \(f\): on every input \(x\) it halts within \(f(|x|)\) steps with \(1\) in output cell \(1\) (the first cell after \(\triangleright \)) if \(x \in L\) and \(0\) there otherwise. Here \(f = O(T)\) means that \(f(n) \le C \cdot T(n)\) for some real constant \(C\) and all sufficiently large \(n\).
An \(n \times n\) Boolean matrix (the adjacency matrix of a directed graph on \(n\) vertices) corresponds bijectively to a bit string in \(\{ 0,1\} ^{n \cdot n}\) by row-major serialization, entry \((i, j)\) at position \(n i + j\). In particular there are exactly \(2^{n \cdot n}\) such matrices. No module of the library uses this codec yet.
\(\mathrm{bin}(v)\) is the minimal binary expansion of \(v \in \mathbb {N}\), least significant bit first, with \(\mathrm{bin}(0)\) empty. The decoder accepts a string only if it is the minimal expansion of its value, so representations with trailing high zeros are rejected. The code is not prefix-free; an enclosing framing layer fixes the field boundary.
\(\mathrm{toList}(x) = [x_0, \dots , x_{n-1}]\) serializes in increasing index order; \(\mathrm{ofList}\) reads a list whose length is proved to be \(n\); and \(\mathrm{toTotal}(x) : \mathbb {N} \to \{ 0,1\} \) extends \(x\) by \(0\) outside its range. The variable-length correspondence \(\{ 0,1\} ^* \simeq \Sigma _n \{ 0,1\} ^n\) is Mathlib’s.
\(\{ 0,1\} ^{a+b} \simeq \{ 0,1\} ^a \times \{ 0,1\} ^b\) splits a string into its length-\(a\) prefix and length-\(b\) suffix, with concatenation as the inverse, and \(\{ 0,1\} ^{kT} \simeq (\{ 0,1\} ^T)^k\) splits it into \(k\) blocks in row-major order: block \(i\) is positions \(iT, \dots , iT + T - 1\). For an event \(E \subseteq \{ 0,1\} ^T\) and \(w \in \{ 0,1\} ^{kT}\), \(\# _E(w)\) is the number of blocks of \(w\) lying in \(E\).
A raw circuit is a list of gates, each an AND or OR of two absolute wire indices with a negation flag on each input. At arity \(N\), wires \(0, \dots , N-1\) are the inputs and gate \(i\) produces wire \(N + i\); the raw circuit is well formed if it is nonempty and gate \(i\) reads only wires below \(N + i\). A raw circuit is encoded as its gate count in terminated unary (\(m\) ones, then a zero) followed by its gates, each gate as an operation bit (\(1\) for AND), two negation bits, and its two input wire indices in terminated unary. The code \(\mathrm{code}(C)\) of a single-output circuit \(C\) over the fan-in-two AND/OR basis is the encoding of the raw circuit formed by its internal gates in order followed by its output gate. The raw evaluator computes the wires in order in a memo array and returns the last gate’s value, failing on an empty gate list or on a reference to a wire not yet computed. \(\mathrm{evalCode}(N, w, x)\) fails unless \(|x| = N\); otherwise it decodes \(w\) exactly (rejecting malformed codes and trailing bits) and runs the raw evaluator on \(x\).
A binary codec for a type \(\alpha \) with a size measure \(\| \cdot \| \) consists of an encoder \(e : \alpha \to \{ 0,1\} ^*\), a partial decoder \(d : \{ 0,1\} ^* \to \alpha \cup \{ \bot \} \), the round trip \(d(e(a)) = a\), canonicity (\(d(w) = a\) implies \(w = e(a)\)), and an explicit size bound \(|e(a)| \le s(\| a\| )\). The existing rose-tree encodings (Definition 73) give injectivity only, with no decoder at the level of \(\alpha \) and no size bound.
From codecs for \(\alpha \) and \(\beta \), the product codec encodes \((a, b)\) as \(\langle e_\alpha (a), e_\beta (b) \rangle \), with \(|e(a, b)| = 2|e_\alpha (a)| + 2 + |e_\beta (b)|\), and the tagged-sum codec prefixes one tag bit. Both satisfy the codec laws.
A rose tree is a finite list of rose trees; the size of a node with children \(d_1, \dots , d_m\) is \(2 + \sum _i \mathrm{size}(d_i)\). A tree is serialized as balanced brackets: \(0\) opens a node, its children follow in order, and \(1\) closes it. A stack-based parser \(\mathrm{fromBits}\) returns a tree or fails. A type with an injective map into rose trees (instances exist for rose trees themselves, Booleans, natural numbers, lists, options, and products) gets a bit-string encoding by composing with this serialization. This layer supports the rose-tree machine model.
The block of \(x = x_1 \cdots x_n\) is \(\mathrm{delimit}(x) = x_1 x_1\, x_2 x_2 \cdots x_n x_n\, 0 1\): every bit is doubled and the separator \(01\) ends the block. The parser \(\mathrm{unpair?}\) reads one block off the front of a string and returns the payload and the remaining suffix, or fails on malformed input; \(\mathrm{undelimitBlocks}\) parses a string that consists entirely of blocks into the list of their payloads, or fails. The total helpers used by machines are: \(\mathrm{undelimitBlock}\), the payload of the leading block (empty on malformed input); \(\mathrm{takeFirstBlock}\), the leading block itself, framing included (empty on malformed input); \(\mathrm{hasBlock}\), whether the string begins with a well-formed block; and \(\mathrm{tagBlock}(z)\), which is \(1z\) if \(\mathrm{hasBlock}(z)\) and the empty string otherwise.
From a codec for \(\alpha \), a codec for lists over \(\alpha \) that frames each element as a block, with \(|e([a_1, \dots , a_m])| = \sum _i (2|e(a_i)| + 2)\).
Canonical codecs, with explicit length bounds, for finite functions (truth tables), machine states, configurations of time-bounded runs, and bounded interaction transcripts. (Internal fixed-width layouts of machine states and of bounded configuration windows, Complexity.qCodec and Complexity.codeCodec, have exact widths but total, non-canonical decoders.)
For \(f \in \{ 0,1\} ^k\), \(\mathrm{maj}(f) = 1\) if and only if more than \(k/2\) positions of \(f\) are \(1\) (strict majority). For \(w \in \{ 0,1\} ^{kT}\), \(\mathrm{maj}_E(w) = 1\) if and only if \(2\, \# _E(w) {\gt} k\).
\(\pi _1\) reads doubled bits until the separator (returning the bits read so far on malformed input), and \(\pi _2\) returns the suffix after the first block, or the empty string if there is no valid block. Both are total.
For a machine \(N\) with \(n\) work tapes, \(\mathrm{rep}(N, k, T)\) has \(k(n+1)\) work tapes and performs \(k\) sequential runs of \(N\) for exactly \(T\) steps each, each run on a fresh bank of \(n + 1\) work tapes (the last simulating the output tape). Two setup transitions precede the first run. After each run it rewinds the input tape and the run’s bank in exactly \(T + 1\) transitions and records the run’s verdict in one more; after the last run it writes the strict majority of the \(k\) verdicts to its output tape (so for \(k = 0\) it writes \(0\)). Every run occupies exactly \(2T + 2\) transitions whether or not \(N\) halts early, so the total time is \(2 + k(2T + 2)\), and simulated step \(t\) of run \(j\) uses the choice bit at the fixed position \(2 + j(2T + 2) + t\). The compact seed of a choice sequence is the \(kT\) bits at those positions, and the accepting event of \(N\) on \(x\) is the set of \(r \in \{ 0,1\} ^T\) along which \(N\) on \(x\) halts with output cell \(1\) equal to \(1\).
\(\mathsf{ZPP}_{\mathrm{LV}}\) is the class of languages \(L\) with a probabilistic machine \(N\) and a polynomial \(T\) such that every trace on every input \(x\) halts within \(T(|x|)\) steps with output either the correct verdict \([x \in L]\) or a designated “don’t know” answer, and the probability of “don’t know” is at most \(1/2\). (The textbook expected-polynomial-time formulation needs an expected-time machine semantics, which the library does not have.)
\(\mathsf{EXP} = \bigcup _{k} \mathsf{DTIME}(2^{n^k})\) and \(\mathsf{NEXP} = \bigcup _{k} \mathsf{NTIME}(2^{n^k})\).
\(\mathsf{FL}\) is the class of functions \(\{ 0,1\} ^* \to \{ 0,1\} ^*\) computed by a DTM in space \(S\) for some \(S = O(\log n)\). The output is unbounded in length and one-way. \(\mathsf{FNL}\) is the class of polynomially balanced relations whose pair language is in \(\mathsf{L}\), and \(\mathsf{TFNL}\) consists of the relations in \(\mathsf{FNL}\) that are total: every \(x\) has some \(y\) with \(R(x, y)\).
\(\mathsf{FNP}\) is the set of polynomially balanced relations \(R\) with \(\mathrm{pairLang}(R) \in \mathsf{P}\). \(\mathsf{TFNP}\) is the set of \(R \in \mathsf{FNP}\) such that every \(x\) has some \(y\) with \(R(x, y)\).
\(\mathsf{FP}\) is the set of functions \(f \colon \{ 0,1\} ^* \to \{ 0,1\} ^*\) for which some deterministic machine computes \(f\) within time \(T\) with \(T = O(n^d)\) for some \(d\): on every input \(x\) it halts within \(T(|x|)\) steps with \(f(x)\) written on the output tape, that is, output cells \(1, \ldots , |f(x)|\) hold the bits of \(f(x)\) and cell \(|f(x)| + 1\) is blank.
A tensor \(T \in A \otimes B \otimes C\), with \(A = \mathbb {C}^\alpha \), \(B = \mathbb {C}^\beta \), \(C = \mathbb {C}^\gamma \) for finite \(\alpha , \beta , \gamma \), is given by its coordinates \(T_{ijk}\). It has rank at most \(r\) if it is a sum of \(r\) outer products \(u \otimes v \otimes w\), and border rank at most \(r\) if it lies in the closure of the set of tensors of rank at most \(r\); \(\mathbf{R}(T)\) and \(\underline{\mathbf{R}}(T)\) are the least such \(r\). Matrices \(X, Y, Z\) act on the three factors by \(X \otimes Y \otimes Z\).
Index \(m = 2k + 1\) slices by their offsets \(-k, \dots , k\). For a block length \(L \ge 1\), the \(i\)-th positive block consists of the slices with offset in \([iL + 1, (i + 1)L]\) and the \(i\)-th negative block of those with offset in \([-(i + 1)L, -(iL + 1)]\); the offsets \(1, \dots , k\) of each sign split into runs of length \(L\), the last possibly shorter. A block \(B\) is good for a set \(S\) of surviving slices if \(|S \cap B| \ge R\). The width of a positive cluster at offset \(r\) paired with a negative cluster at offset \(-s\) is
A function \(\mathrm{LB}\) on sets of slices satisfies the paired-cluster hypothesis with constants \(D\) and \(E\) if, whenever a positive block and a negative block are both good for \(S\), some offsets \(r\) in the positive block and \(-s\) in the negative block satisfy \(D (\Phi _m(r, s) - E) \le \mathrm{LB}(S)\).
For an odd core dimension \(d=2k+1\), set \(L_p=(p+1)(3^{2p}+1)\), \(A_p=L_p+1\), and \(M_p=pL_p+1\). Search the integers \(1\le p\le \lfloor \log _2d\rfloor \) for the largest satisfying
Use the periodic tensor with periods \((A_p,M_p)\), or the zero tensor if no candidate exists. At ambient dimension \(m\), choose \(k=\lfloor (m-1)/2\rfloor \) and pad the odd core by zeros. This defines one computable nonnegative-integer-entry family \(T_m\), independent of any requested approximation parameter.
A parameterized problem is a language \(L\) with a polynomial-time parameter \(\kappa \). It is in \(\mathsf{FPT}\) if it is decidable in time \(g(\kappa (x)) \cdot |x|^{O(1)}\) for some computable \(g\). An fpt-reduction preserves membership, runs in fpt time, and bounds the target parameter by a function of the source parameter. \(\mathsf{W[1]}\) is the closure of \(k\)-Clique under fpt-reductions. First targets: Vertex Cover is in \(\mathsf{FPT}\) by a \(2^k\)-branching algorithm, and \(k\)-Clique is \(\mathsf{W[1]}\)-complete by definition, with \(k\)-Independent Set equivalent to it.
Order the basis \(a_i\) of \(A\) and let \(e_I = a_{i_1} \wedge \dots \wedge a_{i_p}\) for \(I = \{ i_1 {\lt} \dots {\lt} i_p\} \), so that \(a_i \wedge e_I = (-1)^{|\{ x \in I : x {\lt} i\} |} e_{I \cup \{ i\} }\) for \(i \notin I\). The Koszul flattening \(T_A^{\wedge p} \colon \Lambda ^p A \otimes B^* \to \Lambda ^{p+1} A \otimes C\) sends \(e_I \otimes b_j^*\) to \(\sum _{i,k} T_{ijk} (a_i \wedge e_I) \otimes c_k\) (Landsberg and Michałek, Towards finding hay in a haystack, Theory of Computing, 2025, Section 4.1).
These definitions come from the imported algebraic-circuits library. A De Morgan formula on \(n\) inputs is a binary tree whose leaves are literals \(x_i\) or \(\lnot x_i\) or Boolean constants and whose internal nodes are binary AND or OR gates. A protocol on \(n\) inputs is a binary tree whose leaves each name a coordinate \(i {\lt} n\) and whose internal nodes are each owned by Alice or by Bob and branch by an arbitrary Boolean function of the owner’s whole input in \(\{ 0,1\} ^n\); on inputs \(x\) for Alice and \(y\) for Bob it outputs the coordinate at the leaf it reaches. For both, the depth is the length of a longest root-to-leaf path (a leaf has depth \(0\)) and the size is the number of leaves, constant leaves included. A protocol solves the game on a rectangle \(A \times B\) if its output \(i\) satisfies \(x_i \neq y_i\) for all \(x \in A\) and \(y \in B\); it solves the Karchmer–Wigderson game of \(f : \{ 0,1\} ^n \to \{ 0,1\} \) if it solves the game on \(f^{-1}(1) \times f^{-1}(0)\). The minimum formula depth and size of \(f\) (over formulas computing \(f\) at every input) and the minimum protocol depth and size of its game are infima in \(\mathbb {N} \cup \{ \infty \} \), equal to \(\infty \) when no formula or protocol exists.
- Algebraic.KW.Formula
- Algebraic.KW.Formula.eval
- Algebraic.KW.Formula.depth
- Algebraic.KW.Formula.leaves
- Algebraic.KW.Formula.Computes
- Algebraic.KW.Protocol
- Algebraic.KW.Protocol.run
- Algebraic.KW.Protocol.depth
- Algebraic.KW.Protocol.leaves
- Algebraic.KW.Protocol.Solves
- Algebraic.KW.Protocol.SolvesKW
- Algebraic.KW.formulaDepth
- Algebraic.KW.formulaSize
- Algebraic.KW.protocolDepth
- Algebraic.KW.protocolSize
Let \(m = 2k + 1\). For coefficients \(\gamma \), the tensor \(T_k(\gamma ) = \sum _{i, j} \gamma _{i, j}\, a_i \otimes b_j \otimes c_{i + j}\) in \(\mathbb {C}^m \otimes \mathbb {C}^m \otimes \mathbb {C}^m\), with \(i \in [-k, k]\) and \(j, i + j \in [0, m)\), is the family of Landsberg and Michałek, Towards finding hay in a haystack, Theory of Computing, 2025, (1.1): its slice \(i\) is a weighted shift matrix supported on the diagonal of offset \(i\). The weighted tensor has the explicit coefficients \(\gamma _{a, j} = 2^{2^{a m + j}}\), where \(a = i + k\). A cluster is a choice of \(2p + 1\) slices, with offsets \(o_0, \dots , o_{2p}\); projecting the first factor onto them gives the cluster tensor, with \(2p + 1\) slices. The spread of the offsets is the largest minus the smallest of the sums \(\sum _{t \in K} o_t\) over the subsets \(K\) of size \(p\) or \(p + 1\); the \(p\)-subset spread is the same over the subsets of size exactly \(p\).
\(f \in \mathsf{FP}\) is one-way (against nonuniform adversaries) if for every family of polynomial-size circuits \((A_n)\), the function \(n \mapsto \Pr _{x \in \{ 0,1\} ^n}[f(A_n(f(x))) = f(x)]\) is negligible.
Let \(T\) be a tensor with \(m = 2k + 1\) slices. The property \(\mathrm{PK}_T(p, L, E)\) says: for every set \(S\) of slices and every two clusters \(c^+\) and \(c^-\) of \(2p + 1\) slices of \(S\) in increasing order, each with pairwise distinct \(p\)-subset sums of offsets and diameter at most \(L\), with the offsets of \(c^+\) in \([1, k]\) and those of \(c^-\) in \([-k, -1]\), and with medians \(r\) and \(-s\),
It is the interface between the paired-cluster certificate and the deletion game. For the weighted Landsberg–Michałek tensor \(T_k\) it is written \(\mathrm{PK}(k, p, L, E)\).
For \(A, M \ge 1\) the periodic Landsberg–Michałek tensor is \(T_k(\gamma )\) with the coefficients \(\gamma _{a, j} = 2^{2^{(a \bmod A) M + (j \bmod M)}}\). The exponent codes the position \((a, j)\) only modulo \((A, M)\).
A family \(G_m : \{ 0,1\} ^{\ell (m)} \to \{ 0,1\} ^m\) is a pseudorandom generator with seed length \(\ell \) if two conditions hold:
for every \(m\) and every circuit \(C\) of size at most \(m\) on \(m\) inputs, \(\lvert \Pr _s[C(G_m(s)) = 1] - \Pr _u[C(u) = 1] \rvert {\lt} 1/10\);
\(G_m\) is computable in time \(2^{O(\ell (m))}\).
A deterministic protocol for \(f : X \times Y \to Z\) is a binary tree. Each internal node is owned by Alice, who branches on a function of \(x\), or by Bob, who branches on a function of \(y\). Each leaf is labelled by an output. The cost is the depth, and \(D(f)\) is the minimum cost of a protocol computing \(f\). Only the protocols of Karchmer–Wigderson games are formalized (Definition 1374); their leaves name a coordinate, and they solve a relation rather than compute a function.
A tensor \(T \in A \otimes B \otimes C\) is tight if there are weights \(\tau _A \colon \alpha \to \mathbb {Z}\), \(\tau _B \colon \beta \to \mathbb {Z}\), \(\tau _C \colon \gamma \to \mathbb {Z}\) with \(\tau _A\) injective and \(\tau _A(i) + \tau _B(j) + \tau _C(k) = 0\) whenever \(T_{ijk} \ne 0\). Landsberg and Michałek (Definition 2.2) also ask \(\tau _B\) and \(\tau _C\) to be injective, so a tensor that is tight in their sense, in its tight basis, is tight here. For \(S \subseteq \alpha \), \(T|_S\) keeps the slices \(T_i\) with \(i \in S\) and zeroes the others: the restriction of \(T\) to \(\operatorname {span}\{ a_i^* : i \in S\} \subseteq A^*\) (their Definition 2.1), kept inside \(A \otimes B \otimes C\). For \(u \in A\), \(\Pi _u = 1 - (u^* u)^{-1} u u^*\) is the orthogonal projection onto \(u^\perp \).
Fix a field \(\mathbb {F}\). An arithmetic circuit is a DAG with \(+\) and \(\times \) gates over variables and field constants. \(\mathsf{VP}\) is the class of polynomial families \((f_n)\) with \(\mathrm{poly}(n)\) variables and degree, computed by \(\mathrm{poly}(n)\)-size arithmetic circuits. \(\mathsf{VNP}\) is the class of families \(f_n(x) = \sum _{e \in \{ 0,1\} ^{m(n)}} g_n(x, e)\) with \((g_n) \in \mathsf{VP}\) and \(m\) polynomial.
Map a QBF to an expression over \(\mathbb {F}\): \(\neg a \mapsto 1 - a\), \(a \wedge b \mapsto ab\), \(\forall x\, \varphi \mapsto \varphi |_{x=0} \cdot \varphi |_{x=1}\), \(\exists x\, \varphi \mapsto 1 - (1 - \varphi |_{x=0})(1 - \varphi |_{x=1})\), interleaved with linearization operators \(L_{x}\, p = (1 - x)\, p|_{x=0} + x\, p|_{x=1}\) that keep every intermediate polynomial of individual degree at most \(2\).
A constraint graph over an alphabet \(\Sigma \) has vertices \(\{ 0, \dots , V - 1\} \) and finitely many indexed directed edges (parallel edges and self-loops allowed), each carrying a Boolean-valued binary constraint on the labels of its tail and head. It is satisfiable if some labelling of the vertices satisfies every edge. For finite nonempty \(\Sigma \), its unsatisfiability value is the least, over all labellings, of the fraction of edges left unsatisfied (taken to be \(0\) for an edgeless graph); it is \(0\) exactly when the graph is satisfiable.
For \(0 \le s {\lt} c \le 1\) and fixed arity and alphabet, \(\mathrm{Gap}_{c,s}\)-CSP is the promise problem whose yes-instances are encoded constraint systems with value at least \(c\) and whose no-instances have value less than \(s\). \(\mathrm{Gap}\)-MAX-3SAT\(_{1,s}\) separates satisfiable 3CNFs from those in which every assignment satisfies fewer than an \(s\) fraction of the clauses.
\(\mathsf{IP}(c, s)\), \(\mathsf{MA}(c, s)\) and \(\mathsf{AM}(c, s)\): the classes with completeness \(c\) and soundness \(s\) as parameters, together with monotonicity in both thresholds and the identification of the hard-wired classes with \(c = 2/3\), \(s = 1/3\).
A label-cover instance is a bipartite constraint graph with label sets \(\Sigma _A\), \(\Sigma _B\) whose constraints are projections \(\pi _e : \Sigma _A \to \Sigma _B\); its value is the largest fraction of edges satisfied by a labelling.
For \(f : \{ 0,1\} ^m \to \mathbb {F}\), the multilinear extension \(\widetilde{f}(x) = \sum _{b \in \{ 0,1\} ^m} f(b) \prod _i (b_i x_i + (1 - b_i)(1 - x_i))\), with the facts that it agrees with \(f\) on the cube and is the unique multilinear polynomial doing so.
A PCP verifier is non-adaptive: it has a list of proof positions (natural numbers) for each input \(x\) and coin string \(r\), together with an \(\mathsf{FP}\) function mapping \(\mathrm{pair}(x, r)\) to the rose-tree serialization of that list, and a verdict language in \(\mathsf{P}\) that decides \(\mathrm{pair}(\mathrm{pair}(x, r), a)\), where \(a\) lists the bits of the proof (a finite bit string) found at those positions. A position past the end of the proof reads as \(0\). The verifier is query-bounded by \(q\) if it reads at most \(q(|x|)\) positions for every \(x\) and every coin string \(r\).
A transcript is a list of messages (bit strings); the verifier speaks at even positions and the prover at odd ones. A prover strategy is an arbitrary function from the visible transcript to the next message; it never sees the verifier’s coins, and it is bounded by \(m\) if the message it returns on every transcript has length at most \(m\). A protocol consists of a round count, a coin count \(c\) and a message-length bound (functions of the input length), a next-message function in \(\mathsf{FP}\) applied to the encoded view \(\mathrm{pair}(\mathrm{pair}(x, r), \langle \tau \rangle )\) of the input \(x\), the private coins \(r\) and the transcript \(\tau \) (where \(\langle \tau \rangle \) is the rose-tree serialization of \(\tau \)), a proof that for every \(x\), \(r\) and \(\tau \) the verifier’s message has length at most the message bound at \(|x|\), and a verdict language in \(\mathsf{P}\). Each round appends the verifier’s message, computed from the current view, and then the prover’s reply to the transcript extended by that message. The verifier accepts if the view of the transcript after the round count at \(|x|\) many rounds lies in the verdict language, and the accept event is the set of coin strings \(r \in \{ 0,1\} ^{c(|x|)}\) on which it accepts.
For a polynomial \(g\) in \(m\) variables over \(\mathbb {F}\) with individual degree at most \(d\), given by an evaluation oracle, and a claimed value \(v\) of \(\sum _{b \in \{ 0,1\} ^m} g(b)\): in round \(i\) the prover sends a univariate polynomial \(h_i\) of degree at most \(d\), the verifier checks \(h_i(0) + h_i(1)\) against the current claim, and replaces the claim by \(h_i(r_i)\) for a random \(r_i \in \mathbb {F}\); at the end it checks \(g(r_1, \dots , r_m)\) against the last claim.
\(L \in \mathsf{IP}\) if some protocol whose round count, coin count \(c\) and message bound \(m\) are given by polynomials with natural-number coefficients satisfies: for \(x \in L\) some strategy bounded by \(m(|x|)\) is accepted with probability at least \(2/3\), and for \(x \notin L\) every strategy bounded by \(m(|x|)\) is accepted with probability at most \(1/3\), the probability being over uniform \(r \in \{ 0,1\} ^{c(|x|)}\). The counts are required to be polynomials, not merely polynomially bounded, so that the verifier can compute them.
For a deterministic machine \(U\) (with any number of work tapes), a string \(x\) and a clock \(t\),
with values in \(\mathbb {N} \cup \{ \infty \} \) and value \(\infty \) when no program exists. Here “produces” means halting with exact output \(x\) (Definition 13), and “within \(t\) steps” means halting after at most \(t\) transitions. No universality is assumed. A prefix-free variant \(K_U\) is defined only for machines bundled with a proof that their halting domain is prefix-free (TM.PrefixFreeMachine); it is the plain minimum \(C_U\) of the certified machine.
A negation-normal unbounded formula over \(N\) variables is a tree built from constants, literals, and AND and OR gates of any fan-in; an empty AND is true and an empty OR is false. Its size counts all nodes (constants, literal occurrences, and gates), and its depth counts gates on a longest root-to-leaf path.
A multigraph is acyclic when some numbering of its vertices increases strictly along every edge, from its first endpoint to its second. A finite multigraph is acyclic exactly when no vertex reaches itself along a directed walk of positive length.
Run both actual advice programs on the original factored sample \((Z,B,A)\). The retained law is \(((Z,B,W'),W)\), where \(W,W'\) are the honest and tampered outputs after the additional final extraction. Thus the whole original right state remains, including both right inputs when these are arbitrary functions of \((Z,B)\). For advice length \(a\) and original left-envelope total \(\alpha \), define
The proof witness records a finite deterministic transcript of the original sample, its exact normalized left and right kernels, and pointwise equality of both current states with the executed programs. It bounds the original-source envelope totals by \(\alpha ,\beta \) and the honest-state discrepancy given the transcript by \(\rho \). Once the advice prefixes differ, the transcript fixes the tampered current state. Normalized original factors, nonnegative source envelopes, and an initial whole-state discrepancy construct the empty-prefix witness. This is internal proof data, not a security premise for the eventual public correlation-breaker theorem.
For left input length \(n\), advice length \(a\), target exponent \(t\), and requested output \(o\), set
The total chooser uses \(m\) both as source entropy reserve and intended right-source length. Capacity \(m\le n\) remains an explicit condition.
Initialize the right state from a prefix of \(y\), completed with false bits when short. Fold the actual flip-flop step over the advice bits in their given order, holding \(x,y\) fixed. This is the loop in Chattopadhyay–Goyal–Li Algorithm 2. The present construction additionally applies the depth-24 extractor to \(x\) using the final state’s seed prefix. The encoded runtime stores the sources, unary parameters, remaining advice, and current state explicitly.
- Algebraic.Cutwidth.Extractor.adviceInitialState
- Algebraic.Cutwidth.Extractor.adviceFold
- Algebraic.Cutwidth.Extractor.adviceCorrelationBreaker
- Algebraic.Cutwidth.Extractor.AdviceRunState
- Algebraic.Cutwidth.Extractor.adviceCorrelationBreakerRuntime
- Algebraic.Cutwidth.Extractor.adviceCorrelationBreakerEval
For \(K,J,D,C,\varepsilon \) as above, put
Set \(\rho _0=\rho \) and \(\rho _{i+1}=\Phi (\rho _i,D^{8i}\alpha ,C^{5i}\beta )\). The common update conservatively covers all three step estimates.
Decode \(\operatorname {pair}(\operatorname {pair}(x,y), \operatorname {pair}(\alpha ,\operatorname {pair}(t_{\rm word},o_{\rm word})))\). The last two word lengths are the target and output parameters. Compute the selected \(e,L,m\), normalize \(y\) to its first \(m\) bits with false completion, then execute the actual advice program and return its requested output prefix. Zero requested width returns immediately.
Return the first \(o\) coordinates of each actual output, completing positions beyond the full width \(d\) by false. Retain the original \((Z,B)\) and the truncated tampered output. This is a total definition for all widths; the uniformity guarantee below concerns \(o\le d\).
Execute the actual first phase and then the actual four-call round repeatedly, always on the same original source words. The selected construction runs \(R=\lceil \log _2(t+1)\rceil \) rounds and uses the first-phase chooser at target \(\sigma =\mathrm{target}+R+1\). Its retained law is the direct image of the original factored source law, keeping the original tag, full right state, and selected tampered outputs alongside the honest output. The selected string evaluator computes these parameters and normalizes the original right word before running the construction.
- Algebraic.Cutwidth.Extractor.affineCorrelationBreaker
- Algebraic.Cutwidth.Extractor.affineCorrelationBreakerWeight
- Algebraic.Cutwidth.Extractor.affineCorrelationBreakerSelected
- Algebraic.Cutwidth.Extractor.affineRoundsRuntime
- Algebraic.Cutwidth.Extractor.affineRoundsContextWord
- Algebraic.Cutwidth.Extractor.affineRoundsStepEval
- Algebraic.Cutwidth.Extractor.affineCorrelationBreakerRuntime
- Algebraic.Cutwidth.Extractor.affineCorrelationBreakerSelectedRuntime
- Algebraic.Cutwidth.Extractor.affineCorrelationBreakerSelectedEval
Sample \((Z,A,B)\) from a factored law. A left source \(x(Z,A)\) and right seed \(y(Z,B)\) give the retained law of \((Z,B,E(x(Z,A),y(Z,B)))\). The affine version first combines the left source with a right mask \(m(Z,B)\) using a specified operation, and applies the same extractor and actual seed. Both are deterministic images of the original factored law and retain the whole right variable.
An actual state consists of the transcript weight, normalized-factor candidates, unchanged original source maps, and left/right row contributions. It carries no extraction certificate. Each transition executes the five observations of one round and lifts the original source maps along the old-transcript projection. The invariant at capacity \(k\) and error \(\rho \) bounds the honest left row’s discrepancy from uniform while retaining every subset of at most \(k\) tampered rows.
- Algebraic.Cutwidth.Extractor.AffineRowInvariant
- Algebraic.Cutwidth.Extractor.affineIterationError
- Algebraic.Cutwidth.Extractor.affineRoundsOutput
- Algebraic.Cutwidth.Extractor.AffineIterationTranscript
- Algebraic.Cutwidth.Extractor.AffineIterationState
- Algebraic.Cutwidth.Extractor.AffineIterationState.next
- Algebraic.Cutwidth.Extractor.AffineIterationState.iterate
- Algebraic.Cutwidth.Extractor.AffineIterationState.transcript
- Algebraic.Cutwidth.Extractor.AffineIterationState.leftEnvelope
- Algebraic.Cutwidth.Extractor.AffineIterationState.rightEnvelope
- Algebraic.Cutwidth.Extractor.affinePhaseOneIterationState
- Algebraic.Cutwidth.Extractor.affinePhaseOneIterationLift
Set \(R=\lceil \log _2(t+1)\rceil \) and \(\sigma =\mathrm{target}+R+1\). Evaluate the unchanged first-phase chooser at \(\sigma \), writing its widths as \(L_0,L,D\), its original-left entropy reserve as \(\kappa \), and its local error exponent as \(e=\sigma +3\). The original-left reserve for the complete construction is \(2\kappa \). Write \(m_0=2^{64}L_0\), \(c_0=2^{24}L_0\), and \(c=2^{24}L\). The initial transcript losses are \(A_x=(t+1)m_0\) and \(A_y=(t+1)(c_0+m_0+c)\); one short-message family costs \(M=(t+1)c\) bits. The remaining source entropies before round \(i\) are \(2\kappa -A_x-2iM\) and \(D-A_y-4iM\).
- Algebraic.Cutwidth.Extractor.affineIterationRounds
- Algebraic.Cutwidth.Extractor.affineIterationTarget
- Algebraic.Cutwidth.Extractor.affineIterationSourceEntropy
- Algebraic.Cutwidth.Extractor.affineIterationInitialLeftLoss
- Algebraic.Cutwidth.Extractor.affineIterationInitialRightLoss
- Algebraic.Cutwidth.Extractor.affineIterationMessageBits
- Algebraic.Cutwidth.Extractor.affineIterationLeftEntropy
- Algebraic.Cutwidth.Extractor.affineIterationRightEntropy
Write \(F\) for the complete selected affine construction, with seed width \(d\), source reserve \(k\), and error \(2^{-q}\). Fix advice \(\alpha _0,\ldots ,\alpha _t\) and deterministic source observations \(L_0,\ldots ,L_t\) of width \(d\). The actual leaky law retains all \(F(A+b,y_i\oplus L_i(A),\alpha _i)\) for \(i{\gt}0\), together with the honest output \(F(A+b,y\oplus L_0(A),\alpha _0)\). An honest seed is bad at threshold \(\gamma \) if some shift and tampered seed tuple give conditional-uniformity distance greater than \(\gamma \). The complete leakage reserve is \(k+(t+1)d\).
Follow the three-stage first phase of Chattopadhyay–Liao, Theorem 6.1, https://arxiv.org/abs/2110.12652. On the same masked source \(X=A+B\), first extract linearly with a prefix of the right input, run the actual advice breaker with the source/seed roles reversed, and extract linearly again using its output. Index the honest execution by \(\mathsf{none}\) and the \(t\) tampered executions by \(\mathsf{some}(i)\). The transcript records all initial prefixes and mask contributions, all first extraction outputs, then all advice outputs. It retains the original latent variables in its factored representation. These total definitions alone assert no statistical guarantee.
- Algebraic.Cutwidth.Extractor.AffinePhaseOneCopies
- Algebraic.Cutwidth.Extractor.affinePhaseOneFirstSeed
- Algebraic.Cutwidth.Extractor.affinePhaseOneFirstOutput
- Algebraic.Cutwidth.Extractor.affinePhaseOneSecondSeed
- Algebraic.Cutwidth.Extractor.affinePhaseOneOutput
- Algebraic.Cutwidth.Extractor.affinePhaseOneRightMessage
- Algebraic.Cutwidth.Extractor.affinePhaseOneTranscript
- Algebraic.Cutwidth.Extractor.affinePhaseOneTranscriptWeight
- Algebraic.Cutwidth.Extractor.affinePhaseOneTranscriptLeft
- Algebraic.Cutwidth.Extractor.affinePhaseOneTranscriptRight
- Algebraic.Cutwidth.Extractor.affinePhaseOneTranscriptLeftEnvelope
- Algebraic.Cutwidth.Extractor.affinePhaseOneTranscriptRightEnvelope
For one tampered index \(i\), the second-seed law retains the first right message, complete original left state, and tampered advice output. The final pair laws retain the entire executed transcript, original right state, and corresponding tampered final value. One law contains the original-left extraction contributions; the other contains the actual masked program outputs. Set \(r_0=2^{64}L_0\), \(r=2^hL_1\), \(F=2^{2h+14}L_1\), and \(M=\sum \mu \). Their complete error budget is
where \(e_1^*\) is the requested error exponent of the advice call, whose internal exponent is selected by its checked error schedule.
For source width \(n\), tampering count \(t\), advice length \(a\), and target error exponent \(s\), set
Use \(h=\lceil \log _2(t+1)\rceil +64\), local target \(e=s+3\), and
The advice call uses its checked internal error schedule for target \(e\). These explicit conservative choices do not assert the paper’s sharp constants or universal capacity \(k\le n\).
- Algebraic.Cutwidth.Extractor.affinePhaseOneBase
- Algebraic.Cutwidth.Extractor.affinePhaseOneScale
- Algebraic.Cutwidth.Extractor.affinePhaseOneInitialScale
- Algebraic.Cutwidth.Extractor.affinePhaseOneRightBits
- Algebraic.Cutwidth.Extractor.affinePhaseOneLocalError
- Algebraic.Cutwidth.Extractor.affinePhaseOneSourceEntropy
False-complete the first seed prefix, perform the first depth-64 extraction, run the actual advice program with reversed input roles, and feed its output to the growing-depth final extraction on the same supplied source word. The paired evaluator reads three data words and six unary numerical words. Each component keeps its total behavior on invalid inputs.
Derive \(n\) and \(a\) from the supplied source and advice word lengths. With unary \(t,s\), compute the complete chooser, truncate or false-complete the right word to its chosen width \(d\), and run all three actual calls. The paired input stores source, right, and advice words followed by the two unary parameter words. No source-entropy or capacity test is performed.
Starting with a long row, use its short prefix to extract from the original right word, use that seed to extract a short row, reread the original right word with this short row, then extract the next long row from the unchanged original affine input \(X=A\mathbin {\oplus }B\). The proof tracks its left contribution and right mask separately. All calls are actual matched extractors. The transcript observes right prefix masks, actual prefixes, the first right seeds and short-row mask contributions, actual short rows, then the second right seeds. This is the round in Chattopadhyay–Liao, Theorem 6.1, printed pp.23–25.
- Algebraic.Cutwidth.Extractor.affineRoundPrefix
- Algebraic.Cutwidth.Extractor.affineRoundMiddleSeed
- Algebraic.Cutwidth.Extractor.affineRoundMiddleOutput
- Algebraic.Cutwidth.Extractor.affineRoundFinalSeed
- Algebraic.Cutwidth.Extractor.affineRoundOutput
- Algebraic.Cutwidth.Extractor.AffineRoundShortMessages
- Algebraic.Cutwidth.Extractor.affineRoundTranscript
- Algebraic.Cutwidth.Extractor.affineRoundTranscriptWeight
- Algebraic.Cutwidth.Extractor.affineRoundTranscriptLeft
- Algebraic.Cutwidth.Extractor.affineRoundTranscriptRight
Put \(c=2^{24}L\), \(m=2^hL\), \(k_{24}=2^{62}L\), and \(k_h=2^{2h+14}L\). For \(s=|S|\), \(u=|S\cup T|\) and original source envelope totals \(\alpha ,\beta \), define
Each law reads only actual original inputs and executed calls. The final left and masked output laws retain the complete transcript, original right state, and selected tampered outputs. Intermediate seed laws are the exact conditional marginals needed by the next call; no security property or replacement-source witness is a definition.
- Algebraic.Cutwidth.Extractor.affineRoundLeftRowsWeight
- Algebraic.Cutwidth.Extractor.affineRoundPrefixSeedWeight
- Algebraic.Cutwidth.Extractor.affineRoundMiddleSeedWeight
- Algebraic.Cutwidth.Extractor.affineRoundMiddleLeftRowsWeight
- Algebraic.Cutwidth.Extractor.affineRoundMiddleRowsWeight
- Algebraic.Cutwidth.Extractor.affineRoundMiddleSeedInputWeight
- Algebraic.Cutwidth.Extractor.affineRoundFinalSeedWeight
- Algebraic.Cutwidth.Extractor.affineRoundLeftSubsetWeight
- Algebraic.Cutwidth.Extractor.affineRoundSubsetWeight
Decode \(\operatorname {pair}(\operatorname {pair}(x,\operatorname {pair}(y,w)), \operatorname {pair}(t_{\rm word}, \operatorname {pair}(L_{\rm word},e_{\rm word})))\). The three parameter-word lengths specify \(t,L,e\). False-complete the old row’s short prefix and execute the four component string programs, rereading the original source words. The final depth is \(h=\lceil \log _2(t+1)\rceil +64\).
At each outer coordinate, XOR all component bits obtained by applying the correlation breaker to the same original source, the sampler’s candidate seed, and the candidate advice. This is a deterministic map; statistical and runtime guarantees are separate statements.
A mixed circuit contains arbitrary binary Boolean gates and special gates of the form \(h_j(\prod _i \phi _{ji}(z_i))\), where \(M_j\) is a finite commutative monoid, \(\phi _{ji}:\{ 0,1\} \to M_j\) is a slot-dependent contribution, and \(h_j:M_j\to \{ 0,1\} \) is arbitrary. Fan-in, fanout, depth, repeated slots, and special-to-special connections are unrestricted. For the actual \(q\) special occurrences, define
This counts one output-guess bit and one aggregate register per occurrence. An aggregate network adds local monoid contributions and a final predicate of their product to the Boolean wire constraints of a graph network.
If a mixed circuit has \(s\) binary gates and special registers \(M_j\), its exact capacity is \(B=s+\sum _j\log _2|M_j|\). The integral version rounds each logarithm upward. These capacities have no guessed-output term. A one-way summary for a coordinate split depends only on the sending coordinates and determines the output for every assignment to the remaining coordinates.
Let \(R\) be the product of all special-gate registers. A joint factorization consists of a finite commutative monoid \(M\), a homomorphism \(d:M\to R\), and one contribution \(a(w,b)\in M\) for each circuit wire \(w\) and Boolean value \(b\), such that \(d(a(w,b))\) is exactly the vector of that wire’s contributions to all special gates, counting repeated slots. Its budget is \(D_M=2\lceil \log _2|M|\rceil \).
Read all left seeds and right source copies from the original factored sample. Apply the same extractor to each pair, retaining the original transcript, every executed left seed, and the tampered outputs indexed by \(S\), alongside the honest output.
From the original factored law of \((Z,A,B)\), reveal \(v(Z,B)\) and compute a seed \(s(Z,v(Z,B),A)\). Alternating extraction applies \(E\) to the right source and this seed, retaining \((Z,v(Z,B),A)\). The affine two-call law instead obtains that seed by applying a first extractor to the combined left source and right mask. It retains the whole left state and the first call’s seed and extracted mask.
Set \(b=2^{24}L\) and \(h=\lceil \log _2(d+1)\rceil +64\). For an outer word of width \(8b\) and candidate word of width \(s=\mathrm{gammaBlockSeedBudget}(b)\), use the actual padded Gamma output as the seed of the actual growing matched extractor at error \(1/16\). Read its first \(d\) bits, completing with false bits if needed. Little-endian binary codes enumerate the outer and candidate words; concatenating the codes gives injective advice of length \(8b+s\).
- Algebraic.Cutwidth.Extractor.amplifiedMatchedSampler
- Algebraic.Cutwidth.Extractor.amplifiedMatchedSamplerEntropy
- Algebraic.Cutwidth.Extractor.amplifiedMatchedSamplerRuntime
- Algebraic.Cutwidth.Extractor.amplifiedMatchedSamplerEval
- Algebraic.Cutwidth.Extractor.sourceReductionIndexEquiv
- Algebraic.Cutwidth.Extractor.sourceReductionAdvice
Decode a bit list by polynomial interpretation and the quotient map into \(\mathbb F_2[X]/(M_s)\). Encode a quotient element by the coefficients of its unique reduced representative, retaining exactly \(2\cdot 3^s\) bits. This gives a semantic equivalence with lists of that exact length; it is not an algorithm on abstract quotient objects.
Write \(K_s=\mathbb F_2[X]/(M_s)\) and let \(t\) be its named root. For \(d=3^v\), define \(E_{s,v}(Z)=Z^d-t\) over \(K_s\). The binary quotient \(K_{s+v}\) is identified as an \(\mathbb F_2\) algebra with \(K_s[Z]/(E_{s,v})\).
Over the explicit field \(F_s=\mathbf F_2[X]/(M_s)\) of bit width \(b=2\cdot 3^s\), project to the first \(\ell \) coefficients. The runtime hash multiplies two supplied bit words, reduces modulo the generated binary trinomial, and takes the requested prefix. Its paired evaluator receives source, seed, modulus half-degree, and output count as runtime words. The decoded map uses a canonically encoded field seed.
The predicate \(\mathrm{BisectionBound}(\xi ,N_0)\) says that every simple \(3\)-regular graph on \(n{\gt}N_0\) vertices has a cut \((S,S^c)\) with \(||S|-|S^c||\le 1\) and at most \((1/6+\xi )n\) crossing edges. The Monien–Preis conclusion for every \(\xi {\gt}0\) and some \(N_0\) is proved in Theorem 461.
Addition XORs the coefficient lists with zero padding. Modular squaring reduces after each square, once per bit in a unary count word; it starts by reducing the dividend. The evaluator reads dividend, modulus, and count through nested pairing. A zero modulus gives the empty output.
Split a coefficient word into consecutive blocks of runtime width \(b\). For a runtime block count \(t\), evaluate the first \(t\) blocks by Horner’s rule from high to low, reducing modulo the supplied binary modulus after every step. Width and count are unary word lengths. Missing bits are zero, and a zero modulus gives empty output.
A bit list represents a polynomial over \(\mathbb F_2\), constant coefficient first, with high zero padding permitted. Carryless multiplication computes the parity of each coefficient convolution. The evaluator reads both operands through the standard pairing codec. Both polynomials are runtime inputs.
Significant length is one past the highest true coefficient, or zero. For a nonzero modulus of degree \(d\), scan the dividend from high to low, keeping \(d\) bits. Shift, insert the next coefficient, and XOR the modulus when needed to cancel the degree-\(d\) term. A zero modulus returns the dividend unchanged, following the polynomial remainder convention. The paired evaluator reads both lists at runtime.
A row-major \(d\) by \(b\) bit matrix is transposed by sending input position \(jb+i\) to output position \(id+j\). The output has exactly \(db\) bits. Absent input bits are false; excess bits are ignored. Both dimensions are supplied as unary word lengths.
Generate \(2d+1\) bits, true exactly at positions \(0,d,2d\). The rounded generator takes \(d=3^{\lceil \log _3 n\rceil }\), where \(n\) is the input word length; at \(n=0\), it takes \(d=1\).
A threshold-\(K\) source on \(t\) blocks is a normalized probability weight on \(\alpha ^t\) for which every one-block prefix extension satisfies \(Kp(u,a)\le p(u)\). This multiplicative definition includes zero-mass prefixes without conditional division. For \(K{\gt}0\) it expresses conditional min-entropy at least \(\log _2K\) in every block given its predecessors.
Split a tuple of \(t\) pairs into \(2t\) coordinates, preserving the order first coordinate, second coordinate, then the next pair. With zero-based indexing, pair \(i\) occupies positions \(2i\) and \(2i+1\). This map is an equivalence and introduces no randomness.
Let \(C\) be the vertex boundary of a side \(S\) and let \(X\subseteq S\setminus C\). The lift of \(X\) is \(X\) together with all vertices of \(C\) adjacent to \(X\). The shared boundary consists of those vertices of \(C\) with at least two neighbors in \(X\). When \(C\) is independent and each of its vertices has one outside neighbor in a cubic graph, each vertex of \(C\) represents a red edge between its two interior neighbors. The shared boundary counts internal red edges, preserving parallel edges as distinct boundary vertices.
Delete designated edges \(F\) and take the connected components of \(B-F\) as quotient vertices. Two distinct components are adjacent when an original black edge joins them. The region-boundary quotient designates the union of all black cuts of a supplied region family.
A multigraph with distinct vertices \(i_1,\dots ,i_n\) (inputs) and \(o_1,\dots ,o_m\) (outputs), \(n+m\) in all, is an \((n,m)\)-concentrator when every set \(X\) of at most \(m\) inputs is joined to some \(|X|\) outputs by \(|X|\) vertex-disjoint directed walks, one from each input of \(X\); the outputs are not prescribed, and the walks may pass through other inputs and outputs. Every path is a walk, so this includes the concentrators of Pinsker (On the complexity of a concentrator, 7th International Teletraffic Congress, 1973), defined with paths. Parallel edges are counted separately.
Let \(e_i(j)=\lfloor j/h^i\rfloor \bmod h\) and \(M_j(z)=\prod _{i{\lt}m}z_i^{e_i(j)}\). For \(K\) coefficient polynomials \(p_j\) define
Only the first \(K\) features are used, where \(K\) will be the actual source cardinality, rather than the full capacity \(h^m\).
The full neighbor of a source \(f\) at seed \(y\in F\) is \((y,((f^{h^i}\bmod E)(y))_{i{\lt}m})\). The neighbors of \(P\) are the union of these pairs over \(f\in P\) and every seed in \(F\).
A vector of \(m\) elements of \(F_s\) is encoded by concatenating its \(m\) canonical blocks of width \(b=2\cdot 3^s\). Decoding reads those blocks in the same order. The resulting equivalence is between coordinate vectors and bit words of length exactly \(mb\), including high zero bits. These semantic maps describe the existing runtime output layout.
Fix a signature and an interpretation of it. The conditional complexity of a target \(f\), possibly with several outputs, given supplied functions \(g_1, \ldots , g_k\) of the same input is the minimum number of gates, every gate counted, of a circuit \(h\) with \(h(x, g(x)) = f(x)\) for every \(x\): the original inputs and the supplied values are free extra inputs, and nothing is required of \(h(x, y)\) when \(y \ne g(x)\). It is \(\infty \) when no circuit computes \(f\) this way.
For a joint law \(p(a,b)\) with first marginal \(p_A(a)\), its conditional row is \(p(a,b)/p_A(a)\) when \(p_A(a)\ne 0\) and uniform otherwise. Uniform extension appends independent uniform randomness to a supplied first-coordinate law. Write \(U_2p(a,b)=p_A(a)/|B|\) for the law retaining the actual first marginal and uniformizing its second coordinate.
For an element \(\omega \) of a field and \(N\in \mathbb {N}\), the Fourier matrix is \(F_N=(\omega ^{rc})_{0\le r,c{\lt}N}\), with rows \(r\) the outputs and columns \(c\) the inputs. When \(\omega \) is a primitive \(N\)-th root of unity, \(x\mapsto F_Nx\) is the \(N\)-point discrete Fourier transform: over \(\mathbb {C}\) with \(\omega =e^{2\pi i/N}\) the classical DFT, for \(N=2^k\) the map computed by the fast Fourier transform, and over \(\mathbb {Z}/q\) with \(N\mid q-1\) a number-theoretic transform.
Four distinct vertices \(a,b,c,d\) form a valid switch when \(ab\) and \(cd\) are edges and \(ac\) and \(bd\) are absent. The switched graph deletes \(ab,cd\) and adds \(ac,bd\).
The runtime inputs are a coefficient word, unary half-degree, unary extension degree, seed word, unary stride, and unary output-coordinate count. Transpose the source coefficient blocks, square modulo the larger generated binary modulus, transpose back, and evaluate the blocks by Horner modulo the base modulus. Coordinate \(i\) uses \(ri\) squarings; concatenate the coordinates.
For semantic comparison, interpret the first \(d\) blocks of width \(b=2\cdot 3^s\) as a source polynomial over \(K_s\). The decoded map canonically encodes a field seed before running the program and decodes each output block. The runtime output omits the seed; strong distributional comparisons retain it externally.
Given a word of concatenated \(n\)-bit blocks, a seed word, a unary block count, and the condenser parameters, apply the scheduled bit program to each fixed-width input slice using the same seed and concatenate the resulting output words in block order.
Given source length \(n\), entropy budget \(k\), inverse-error exponent \(e\), and rate parameter \(u\), set \(T=e+\lceil \log _2(9(n+1)(k+1))\rceil +1\). Retain the sparse choices \(b=2\cdot 3^s\) and \(r=b-T\). Set \(v=\lceil \log _3\max (3,\lceil n/b\rceil )\rceil \), \(d=3^v\), and \(m=\lceil k/r\rceil \), with total natural-number division in degenerate cases. These rounding choices are deductions in this formalization from the credited sparse rate and loss bounds.
Compute the explicit dimensions from \(n,k,e,u\) and run the binary condenser on source and seed words. The paired evaluator takes the four numerical parameters as unary word lengths. The decoded map canonically encodes a field seed and reads the computed coordinates.
If the selected field width is \(b=2\cdot 3^s\) and the condenser has \(c\) field coordinates, set \(H=c3^s\). The paired map runs the actual scheduled bit program on the input and encoded field seed, then reads its first and second \(H\) bits as two Boolean vectors.
Strict majority returns false on ties, including the empty input. The margin on designated good coordinates is their number of true bits minus their number of false bits.
A function is a two-sided flat sumset disperser at threshold \(K\) if both Boolean values occur among the sums of every pair of sources of size at least \(K\). Balanced padding is the \((n+1)\)-bit function \(g(b,x)=b\oplus f(x)\), evaluated on lists by the corresponding tail evaluator followed by XOR with the first bit.
For finite seed and output sets, \(E\) is a flat seeded extractor at threshold \(K\) and error \(\epsilon \) if every uniform source of support at least \(K\), with an independent uniform seed, has output test-set discrepancy at most \(\epsilon \). For each test of density at most \(\epsilon \), an input is bad if more than a \(2\epsilon \) fraction of seeds hit that test. The sampler contract requires bad-input probability at most \(\delta \) for every source with point masses at most \(1/L\). The definition records this cap as \(Lp(x)\le 1\); its entropy interpretation requires \(L{\gt}0\).
For a field \(F\), additive group \(\Omega \), and additive map \(\pi :F\to \Omega \), set \(H(x,a)=\pi (ax)\). The multiplier \(a\) is the hash seed. Coefficient truncation gives the standard field hash of Guruswami–Umans–Vadhan, Lemma 5.1.
Let \(K\) be an algebra over \(F\) with a basis \(b_0,\dots ,b_{n-1}\). Multiplication in \(K\), written in coordinates, is the map \(F^{n+n}\to F^n\) sending the coordinates \(x\) and \(y\) of two elements to the coordinates of their product \(\bigl(\sum _i x_ib_i\bigr)\bigl(\sum _j y_jb_j\bigr)\). The first \(n\) inputs are the coordinates of the first factor and the last \(n\) inputs those of the second.
Set \(N=2^{8b}\), \(C=2^s\), \(a=8b+s\), \(q=54b+s+10\), and \(\gamma =2^{-(17b+10)}\). Let \(d\) be the selected seed width of the fixed affine breaker with \(4C-1\) tamperings. Use the actual enumerated sampler at width \(d\) and the binary advice above, XOR the \(C\) calls at each of the \(N\) outer coordinates, and take their strict majority. The source entropy \(k\) is the maximum of the actual affine leakage reserve and the amplified sampler reserve.
For a finite source support \(P\) and seeded map \(C\), let \(\Gamma _C(P)=\{ (y,C(x,y)):x\in P,\ y\in S\} \). The seeded test probability is the fraction of independent uniform source and seed pairs whose joint seed-output belongs to the test set. Repeated outputs retain their multiplicity in this probability.
Run both look-aheads and both selected refreshes, assuming the old transcript fixes the tampered right input. Retain the full common look-ahead history, selected tampered refresh, and original left state. Each selection bit chooses its second short output exactly when true.
Use the actual depth-24 extractor for \(W\) and \(Q\), and the actual depth-64 extractor \(R\) for refreshing from the original right source \(y\). A look-ahead returns \((r_1,r_2)\) from \(s_1=\operatorname {prefix}_d(q)\), \(r_1=W(x,s_1)\), \(s_2=Q(q,r_1)\), \(r_2=W(x,s_2)\). For advice zero, refresh with \(R(y,r_1)\), perform another look-ahead, and return \(R(y,\bar r_2)\); for advice one, use \(r_2\) and \(\bar r_1\). This is Chattopadhyay–Goyal–Li Algorithm 1, with all eight calls explicit.
- Algebraic.Cutwidth.Extractor.flipFlopSeedPrefix
- Algebraic.Cutwidth.Extractor.flipFlopLookAhead
- Algebraic.Cutwidth.Extractor.flipFlopStep
- Algebraic.Cutwidth.Extractor.FlipFlopSizeGuard
- Algebraic.Cutwidth.Extractor.flipFlopLookAheadRuntime
- Algebraic.Cutwidth.Extractor.flipFlopStepRuntime
- Algebraic.Cutwidth.Extractor.flipFlopStepEval
For arbitrary honest and tampered advice bits, record both pairs of right states and all eight short look-ahead outputs. Leave both final outputs unobserved. Each becomes a right-only map after fixing this transcript. The factors condition the original sources successively on the two actual look-ahead histories.
- Algebraic.Cutwidth.Extractor.FlipFlopFirstTranscript
- Algebraic.Cutwidth.Extractor.FlipFlopTranscript
- Algebraic.Cutwidth.Extractor.flipFlopTranscript
- Algebraic.Cutwidth.Extractor.flipFlopTranscriptWeight
- Algebraic.Cutwidth.Extractor.flipFlopTranscriptLeft
- Algebraic.Cutwidth.Extractor.flipFlopTranscriptRight
- Algebraic.Cutwidth.Extractor.flipFlopHonestOutput
- Algebraic.Cutwidth.Extractor.flipFlopTamperedOutput
- Algebraic.Cutwidth.Extractor.flipFlopTranscriptLeftEnvelope
- Algebraic.Cutwidth.Extractor.flipFlopTranscriptRightEnvelope
Give the runtime an \(8b\)-bit source and a seed of exactly \(r(b)=2^{27}\lceil \log _2(b+1)\rceil ^3\) bits. Read its \(b\) output coordinates to define the Boolean family. This definition invokes the actual total string program, including its specified small-size behavior.
For target \(b\), set \(L=\lceil \log _2(b+1)\rceil \), \(R=\lceil \log _2(L+1)\rceil \), \(h=\lfloor \log _2 b\rfloor -3R-15\) using natural subtraction, \(E=h+4\), and
The guard is \(3R+15\le \lfloor \log _2 b\rfloor \). Use \(N=8b\) input bits and keep the first \(b\) output bits. Output coverage holds even when the guard fails.
- Algebraic.Cutwidth.Extractor.gammaBlockLog
- Algebraic.Cutwidth.Extractor.gammaBlockDepth
- Algebraic.Cutwidth.Extractor.gammaBlockErrorExponent
- Algebraic.Cutwidth.Extractor.gammaBlockReserve
- Algebraic.Cutwidth.Extractor.GammaBlockSizeGuard
- Algebraic.Cutwidth.Extractor.gammaBlockSeedBits
- Algebraic.Cutwidth.Extractor.gammaBlockExtractor
Generate the rounded parameters from \(b\) and execute \(h\) levels if the size guard holds, or zero levels otherwise. Return the first \(b\) bits on the guarded branch and \(b\) zero bits otherwise. The single paired string evaluator infers \(b\) as the source-word length divided by eight.
Give each edge \(uv\) of a finite simple graph the Gaussian edge score \(\langle y_{uv},\omega \rangle \) with \(y_{uv}=(\hat a_u+\hat a_v)/\lVert \hat a_u+\hat a_v\rVert \), built from the kernel with decay rate \(q\) and radius \(R\). For \(c{\gt}0\) the band graph keeps the edges scoring in \([-c,c)\), and the band cluster of a vertex is its connected component in the band graph. The band hypothesis \(\mathrm{BandSubcritical}(q,R,c)\) says that for every \(\varepsilon {\gt}0\) some \(K\) makes the expected number of vertices whose band cluster has more than \(K\) vertices at most \(\varepsilon h\) on every simple cubic graph with \(h\) vertices. This is an open percolation hypothesis, not a theorem of the library: it asserts that the band clusters of the edge-score field are subcritical uniformly over cubic graphs. Numerically it holds on the infinite cubic tree for \(c{\lt}0.1826\), which appears to be the worst case.
For a finite simple graph, a decay rate \(q\), and a radius \(R\), the kernel row of a vertex \(v\) is \(a_v(z)=q^{\operatorname {dist}(v,z)}\) when \(\operatorname {dist}(v,z)\le R\) and \(0\) otherwise. Its normalization is \(\hat a_v=a_v/\lVert a_v\rVert \); the norm is at least one because \(a_v(v)=1\).
Write \(H_2(p)=-p\log _2p-(1-p)\log _2(1-p)\) and define
When \(k+3\le n\), the factor \(\alpha (n,k)\) is the probability that two designated distinct primary variables both lie on a uniformly chosen sending side of size \(n-k-1\). The constant \(c\) measures the information saving from a Boolean message whose probability of being true is at most one quarter.
Set \(\eta _2=1-H_2(4/9)\), \(\eta _3=1-H_2(8/27)\), \(\gamma =\log _2(3/2)\), \(c=1-H_2(1/4)\), and \(r=1-H_2(1/8)\). Put
The new exact coefficients and finite penalty are
- Algebraic.Cutwidth.Aggregate.Geometry.Fiber.Conditional.pairSaving
- Algebraic.Cutwidth.Aggregate.Geometry.Fiber.Conditional.tripleSaving
- Algebraic.Cutwidth.Aggregate.Geometry.Fiber.Conditional.fiberWeight
- Algebraic.Cutwidth.Aggregate.Geometry.Fiber.Conditional.wideWeight
- Algebraic.Cutwidth.Aggregate.Geometry.Fiber.Conditional.gateCoefficient
- Algebraic.Cutwidth.Aggregate.Geometry.Fiber.Conditional.inversionCoefficient
- Algebraic.Cutwidth.Aggregate.Geometry.Fiber.Conditional.inversionPenalty
Put \(c=1-H_2(1/4)\), \(r=1-H_2(1/8)\), \(\rho =H_2(1/4)-1/2\), and \(\beta =H_2(1/4)-3/4\). Define
The scalar and inversion constants are the exact ratios
with inversion penalty \(P_{\mathrm I}=4r/D_{\mathrm i}\). Their decimal approximations are \(C_{\mathrm F}\approx 1.2364849888\), \(C_{\mathrm I}\approx 1.5644077959\), and \(P_{\mathrm I}\approx 0.5640721944\).
- Algebraic.Cutwidth.Aggregate.Geometry.Fiber.messageLoss
- Algebraic.Cutwidth.Aggregate.Geometry.Fiber.fiberWeight
- Algebraic.Cutwidth.Aggregate.Geometry.Fiber.separateWeight
- Algebraic.Cutwidth.Aggregate.Geometry.Fiber.jointWeight
- Algebraic.Cutwidth.Aggregate.Geometry.Fiber.scalarNumerator
- Algebraic.Cutwidth.Aggregate.Geometry.Fiber.scalarDenominator
- Algebraic.Cutwidth.Aggregate.Geometry.Fiber.gateCoefficient
- Algebraic.Cutwidth.Aggregate.Geometry.Fiber.inversionNumerator
- Algebraic.Cutwidth.Aggregate.Geometry.Fiber.inversionDenominator
- Algebraic.Cutwidth.Aggregate.Geometry.Fiber.inversionCoefficient
- Algebraic.Cutwidth.Aggregate.Geometry.Fiber.inversionPenalty
With \(c=1-H_2(1/4)\), put \(C_{\mathrm G}=(7+4c)/(4+2c)\approx 1.771556\) and \(P_{\mathrm G}=(3+4c)/(4+2c)\approx 0.857781\).
Let \(K\) be a binary field and fix a linear isomorphism \(e:\mathbf F_2^n\longrightarrow K\). The Boolean map \(I_e\) encodes its input using \(e\), takes the multiplicative inverse in \(K\) with \(0^{-1}=0\), and decodes all \(n\) output bits in the same basis.
With binary entropy measured in bits, set
Here \(\beta {\gt}0\) charges distinct primary variables, while \(\rho {\gt}0\) is the gate saving in the joint message bound.
A gate is either an affine Boolean function \(b\oplus \bigoplus _i a_i z_i\), or an optionally negated conjunction \(b\oplus \bigwedge _i[z_i=p_i]\), with arbitrary finite arity and Boolean parameters. Every gate costs one. The existing acyclic circuit model allows arbitrary depth, fanout, and repeated wires, including opposite literals of the same wire. This basis contains unbounded AND, OR, and XOR, constants, and every binary Boolean operation; binary normalization preserves gate count and outputs. For a circuit with \(g\) gates, let \(h_2\) count conjunction-form gates whose slots directly read at least two distinct primary-input variables. This is a syntactic count and requires no independence of the values read.
The affine functions of the primary input bits form a submodule of all \(\mathbf F_2\)-valued functions. A Boolean map has independent nonaffine components when every nonzero linear combination of its output coordinates lies outside this submodule. Write \(q\) for the number of conjunction operations in a signed unbounded AND/OR/XOR circuit.
A function \(f:\mathbf F_2^n\to \mathbf F_2\) is affine on an affine flat \(V\) when \(f(x+y+z)=f(x)+f(y)+f(z)\) for all \(x,y,z\in V\); its values off \(V\) are unrestricted, and these functions form a subspace. A map \(F:\mathbf F_2^n\to \mathbf F_2^m\) is nonaffine on flats of \(2^D\) points when no nonzero component \(w\cdot F\) is affine on a flat with at least \(2^D\) points. The least such \(D\) is \(D(F)=A(F)+1\), where \(A(F)\) is the largest dimension of an affine flat on which some nonzero component of \(F\) is affine.
Write \(h=H_2(1/4)\) and \(r=1-H_2(1/8)\). The shared-control coefficient is \(C_{\mathrm s}=(3-h+3r)/(2+2r)\).
A comparator network on \(n\) wires with \(s\) comparators applies its comparators in the order \(0,1,\dots ,s-1\). Comparator \(c\) acts on two distinct wires \(p_c\) and \(q_c\), not necessarily with \(p_c{\lt}q_c\): it puts the smaller of their two values on \(p_c\) and the larger on \(q_c\), and leaves the other wires unchanged. The network acts on values in any linear order, and it commutes with monotone maps. The bottom half \(B\) is the set of wires \(w{\lt}\lfloor n/2\rfloor \) and the top half \(T\) the set of the others. The network is an \(\varepsilon \)-halver when for every input \(x\in \{ 0,1\} ^n\) with \(k\le n/2\) ones, at most \(\varepsilon k\) ones of the output lie in \(B\), and for every input with \(k\le n/2\) zeros, at most \(\varepsilon k\) zeros of the output lie in \(T\). For even \(n\) this is the \(0\)-\(1\) form of the \(\varepsilon \)-halvers of Ajtai, Komlós and Szemerédi (Sorting in \(c\log n\) parallel steps, Combinatorica, 1983): by the commutation with monotone maps, it is equivalent to asking, for every input with distinct values and every \(k\le n/2\), that at most \(\varepsilon k\) of the \(k\) largest inputs end in \(B\) and at most \(\varepsilon k\) of the \(k\) smallest in \(T\).
The wire graph of a comparator network on \(n\) wires with \(s\) comparators is a directed multigraph. Its vertices are an input and an output terminal for every wire and, for every comparator \(c\), its two ends \(c_p\) on \(p_c\) and \(c_q\) on \(q_c\). Its edges are the wire segments, which follow each wire from its input terminal through the ends of the comparators acting on it, in order, to its output terminal, and for every comparator a link from \(c_p\) to \(c_q\).
Write \(\partial S\) for the edges crossing the vertex cut \((S,S^c)\). The helpfulness of flipping a vertex set \(X\) is the signed integer
For \(X\subseteq S\), this is the helpfulness in Monien and Preis’s bisection argument: crossing edges removed minus internal edges made crossing by moving \(X\) to the other side.
A multigraph with distinct vertices \(i_1,\dots ,i_N\) (inputs) and \(o_1,\dots ,o_N\) (outputs), \(2N\) in all, is an \(N\)-hyperconcentrator when for every \(k\), every set of \(k\) inputs is joined to the first \(k\) outputs \(o_1,\dots ,o_k\) by \(k\) vertex-disjoint directed walks. The walks may pass through other inputs and outputs, and every path is a walk, so this includes hyperconcentrators defined with paths. Every superconcentrator is a hyperconcentrator. Parallel edges are counted separately.
Given transcript \(Z\), let the entire left tuple \((X,X_1,\ldots ,X_t)\) be independent of the entire right tuple \((Y,Y_1,\ldots ,Y_t)\). For index sets \(S,T\subseteq [t]\), the actual law applies \(E\) to each source-seed pair and retains \((Z,Y,Y_1,\ldots ,Y_t,(E(X_i,Y_i))_{i\in S\cup T})\) alongside \(E(X,Y)\). It is the deterministic image of the factored source law, and \(S,T\) may overlap.
Let \(D(f)\) and \(L(f)\) be the minimum depth and the minimum number of leaves, constant leaves included, of a De Morgan formula of Theorem 366 computing \(f\); they are defined for every number of inputs, \(0\) included. For \(f\) on \(m\) bits and \(g\) on \(n\) bits, the block composition \(f \diamond g\) applies \(f\) to the values of \(g\) on \(m\) disjoint blocks of \(n\) bits. Substituting formulas gives \(D(f \diamond g) \le D(f) + D(g)\) and \(L(f \diamond g) \le L(f)\, L(g)\) for all \(f\) and \(g\); both bounds are proved.
The Karchmer–Raz–Wigderson conjecture says these bounds are nearly tight. It is formalized in its strong form, with a constant slack. The depth form says that there is a constant \(c\) such that \(D(f) + D(g) \le D(f \diamond g) + c\) for all \(m\), \(n\) and all non-constant \(f\) and \(g\). The size form says that there is a constant \(c\) such that \(L(f)\, L(g) \le c \cdot L(f \diamond g)\) for all such \(f\) and \(g\). The constant does not depend on \(m\), \(n\), \(f\) or \(g\); forms whose slack grows with \(m\) or \(n\) are not formalized. The conjecture is open; it is formalized as a statement only.
Both non-constancy hypotheses are needed. If \(f\) or \(g\) is constant, so is \(f \diamond g\), and it is proved that dropping either hypothesis makes the depth form and the size form false for every \(c\).
- Algebraic.KW.NonConstant
- Algebraic.KW.KRWDepthWith
- Algebraic.KW.KRWSizeWith
- Algebraic.KW.KRWDepth
- Algebraic.KW.KRWSize
- Algebraic.KW.formulaDepth_compose_le
- Algebraic.KW.formulaSize_compose_le
- Algebraic.KW.not_forall_depth_of_constant_inner
- Algebraic.KW.not_forall_depth_of_constant_outer
- Algebraic.KW.not_forall_size_of_constant_inner
- Algebraic.KW.not_forall_size_of_constant_outer
From the original law \(w(z)l_z(a)r_z(b)\) compute \(s_1=p(q)\), \(r_1=W(x,s_1)\), \(s_2=Q(q,r_1)\), and \(r_2=W(x,s_2)\), and the same calls on arbitrarily correlated tampered values \(x',q'\). The seed law retains \(z,s_1,s_1',a\) alongside \(s_2\). The output law retains \(z,b,r_1,r_1'\) alongside \(r_2\).
The common transcript records \(Z\), both initial right states, and all four honest and tampered look-ahead outputs. The first refresh applies \(R(y,r_1)\), retaining this transcript and the full left state. The second-output refresh applies \(R(y,r_2)\) and additionally retains \(R(y',r_1')\). Both laws are direct images of the original factored law.
- Algebraic.Cutwidth.Extractor.LookAheadBaseTranscript
- Algebraic.Cutwidth.Extractor.lookAheadBaseWeight
- Algebraic.Cutwidth.Extractor.lookAheadBaseLeft
- Algebraic.Cutwidth.Extractor.lookAheadBaseRight
- Algebraic.Cutwidth.Extractor.lookAheadBaseLeftEnvelope
- Algebraic.Cutwidth.Extractor.lookAheadBaseRightEnvelope
- Algebraic.Cutwidth.Extractor.lookAheadFirstRefreshWeight
- Algebraic.Cutwidth.Extractor.lookAheadTamperedRefreshWeight
The product \(C=AB\) of two \(n\times n\) matrices over a semiring \(R\) is the map \(R^{n^2+n^2}\to R^{n^2}\) whose output \(C_{ik}\) is \(\sum _jA_{ij}B_{jk}\): the first \(n^2\) inputs hold the entries \(A_{ij}\) of the first factor and the last \(n^2\) inputs the entries \(B_{jk}\) of the second, index pairs numbered row by row. In a circuit computing it, the terminals are the wires of the inputs \(A_{ij}\) and \(B_{jk}\) and the output wires carrying \(C_{ik}\).
- Algebraic.Cutwidth.MultiOutput.matMul
- Algebraic.Cutwidth.MultiOutput.matMulLeft
- Algebraic.Cutwidth.MultiOutput.matMulRight
- Algebraic.Cutwidth.MultiOutput.matMulOutput
- Algebraic.Cutwidth.MultiOutput.matMulInput
- Algebraic.Cutwidth.MultiOutput.matMulTermA
- Algebraic.Cutwidth.MultiOutput.matMulTermB
- Algebraic.Cutwidth.MultiOutput.matMulTermC
Over a commutative semiring \(K\), the outputs of \(n\times n\) matrix multiplication are the polynomials \(C_{ik}=\sum _jA_{ij}B_{jk}\) in the \(2n^2\) inputs. For sets \(c_Y\), \(a_X\), \(b_X\) of index pairs and a set \(H\) of row indices, the row Jacobian sum is
and for a set \(H\) of column indices the column Jacobian sum is its mirror image
For placed terminals \(a\), \(b\), \(c\) (the pairs \((i,j)\), \((j,k)\), \((i,k)\) whose terminals \(A_{ij}\), \(B_{jk}\), \(C_{ik}\) are placed) with heavy rows \(H_I\) and heavy columns \(H_K\), the row Jacobian charge \(L_I\) is the row Jacobian sum of \((c^{\mathsf c},a,b,H_I)\) plus that of \((c,a^{\mathsf c},b^{\mathsf c},H_I^{\mathsf c})\), and the column Jacobian charge \(L_K\) is the column Jacobian sum of \((c^{\mathsf c},a,b,H_K)\) plus that of \((c,a^{\mathsf c},b^{\mathsf c},H_K^{\mathsf c})\).
The terminals of \(n\times n\) matrix multiplication are the edges of the complete tripartite graph on three copies \(I\), \(J\), \(K\) of \(\{ 0,\dots ,n-1\} \): \(A_{ij}\) joins \(i\) and \(j\), \(B_{jk}\) joins \(j\) and \(k\), and \(C_{ik}\) joins \(i\) and \(k\), so every vertex has degree \(2n\). A set of placed terminals (those whose wires lie in a split \(S\)) places \(d(v)\) terminals at each vertex \(v\). The minority at \(v\) is \(g(d(v))=\min \{ d(v),2n-d(v)\} \), and the charges are \(R_I=\sum _{i\in I}g(d(i))\), \(R_J=\sum _{j\in J}g(d(j))\) and \(R_K=\sum _{k\in K}g(d(k))\). A vertex is heavy when \(d(v)\ge n\) and light otherwise.
- Algebraic.Cutwidth.MultiOutput.Tripartite.rowSet
- Algebraic.Cutwidth.MultiOutput.Tripartite.colSet
- Algebraic.Cutwidth.MultiOutput.Tripartite.degI
- Algebraic.Cutwidth.MultiOutput.Tripartite.degJ
- Algebraic.Cutwidth.MultiOutput.Tripartite.degK
- Algebraic.Cutwidth.MultiOutput.Tripartite.minority
- Algebraic.Cutwidth.MultiOutput.Tripartite.chargeI
- Algebraic.Cutwidth.MultiOutput.Tripartite.chargeJ
- Algebraic.Cutwidth.MultiOutput.Tripartite.chargeK
- Algebraic.Cutwidth.MultiOutput.Tripartite.heavyI
- Algebraic.Cutwidth.MultiOutput.Tripartite.heavyJ
- Algebraic.Cutwidth.MultiOutput.Tripartite.heavyK
- Algebraic.Cutwidth.MultiOutput.Tripartite.heavyCount
- Algebraic.Cutwidth.MultiOutput.Tripartite.mixedPairs
- Algebraic.Cutwidth.MultiOutput.Tripartite.lightHeavy
- Algebraic.Cutwidth.MultiOutput.Tripartite.place
Set \(d=2^{24}L\) and output width \(2^hL\). On Boolean vectors of source width \(n\) and seed width \(d\), run the scheduled bit program with \(E=e+h+2\) and reserve \(4096(L+E+1)\). Feed exactly its prescribed seed prefix, completed by zero bits when necessary, and read the actual output in flat block order.
A unary runtime parameter \(t\) selects \(h=\lceil \log _2(t+1)\rceil +64\). Test the finite conditions of Theorem 593, then run the actual scheduled program with its exact seed prefix. Invalid parameters return the empty word. The paired interface stores the source and seed words, followed by unary \(t,L,e\).
Test the four finite conditions above before generating the schedule. A valid call cuts the supplied seed word to the exact schedule width and runs the bit program; an invalid call returns the empty word. A paired input supplies the source, seed, and unary depth, scale, and error.
For fixed \(n\) and \(s\), \(\mathsf{MCSP}_{n,s}\) is the Boolean function on \(N = 2^n\) truth-table bits that accepts exactly the truth tables whose (weighted) circuit complexity over a given signature is at most \(s\). Truth tables are indexed big-endian: the first input bit selects the lower or upper half, and pairing two \(2^n\)-bit tables gives the table of the multiplexer on the first bit. This differs from the language \(\mathsf{MCSP}\) of Definition 1107, which uses encoded instances, the library’s AND/OR basis, and little-endian indexing. The main cost model is the imported De Morgan signature with only AND and OR charged.
For \(x\in \mathbf F_2^n\), let \(w_3(x)\in \mathbf F_3\) be its Hamming weight modulo three, interpreting each binary coordinate as zero or one. This is the full three-valued residue, not a Boolean residue predicate.
Two wires of a straight-line program are linked when one is a gate reading the other; the components of the resulting undirected wire graph are its connected components. For a ranking of the wires, the prefix up to a wire \(w\) consists of the wires ranked at most as high as \(w\). For designated output wires and a split \(S\) of the wires with complement \(T\), let \(X_S\) and \(X_T\) be the inputs placed in \(S\) and in \(T\), and \(Y_S\) and \(Y_T\) the outputs whose wires lie in \(S\) and in \(T\). For a function \(f\) and an input \(x\), the left fibre of \(x\) is the set of inputs that agree with \(x\) on \(X_T\) and on which \(f\) agrees with \(f(x)\) on \(Y_T\); the right fibre is defined symmetrically. For a matrix \(M\), \(M[Y, X]\) is its block with rows \(Y\) and columns \(X\).
- Algebraic.Cutwidth.MultiOutput.Linked
- Algebraic.Cutwidth.MultiOutput.component
- Algebraic.Cutwidth.MultiOutput.gatesIn
- Algebraic.Cutwidth.MultiOutput.prefixUpTo
- Algebraic.Cutwidth.MultiOutput.prefixBelow
- Algebraic.Cutwidth.MultiOutput.outputsIn
- Algebraic.Cutwidth.MultiOutput.leftFibre
- Algebraic.Cutwidth.MultiOutput.rightFibre
- Algebraic.Cutwidth.MultiOutput.blockRank
Apply identity initialization, the specified paired condensers, and the shared one-shot extractor of length \(\ell \) at every leaf. The Boolean interface decodes the entire fixed-length seed word and flattens the \(\mathbf F_2\) outputs in block order.
For depth \(h\), reserve \(Q\), and error exponent \(E\), let
Starting at input width \(N\), recursively use the actual rounded paired condenser width at entropy \(k_i\), rate \(u\), and exponent \(E\). The seed length sums one field seed per level and the final one-shot condenser/hash seed pair. Initialization is the identity and needs no bits.
Encode level seeds in order, followed by the shared final condenser and hash seeds. The workspace records width, remaining depth and its power of two, block count, payload, and unused seed suffix. Each actual condenser step halves the stored remaining power and doubles the count. The final extractor reads both of its seeds at their exact widths.
A constraint network on \(n\) variables is a multigraph whose vertices carry local checks on the bits written on their incident edges, with a port (a vertex and an incident edge) for every variable it reads. It computes \(f\) when the accepted inputs are exactly those admitting an edge assignment that satisfies every check and carries the input on every port. For a prefix \(L\) of a vertex ordering and a cut assignment \(\sigma \), the past set consists of the assignments to the variables read in \(L\) that extend to an edge assignment satisfying the checks of \(L\) and agreeing with \(\sigma \) on the cut; the future set is defined symmetrically. The patterns realized on an edge set \(C\) are the restrictions to \(C\) of satisfying edge assignments. A subset \(T\) determines \(C\) when two satisfying assignments that agree on \(T\) agree on \(C\). The edges charged at a vertex are the cut before it and its incident edges.
Given transcript law \(w(z)\), source kernel \(p_z(a)\), and deterministic message \(f(z,a)\), the new transcript law is \(w'(z,u)=w(z)\Pr [f(z,A)=u\mid z]\). Its updated source kernel is the conditional law of \(A\) on that message, completed uniformly on null rows. Both original source coordinates remain available after updating.
Slice a payload into a runtime number of fixed-width blocks, apply the actual one-shot extractor to every block with the same condenser and hash seed words, and concatenate their \(\ell \)-bit outputs in order. The number of blocks is given in unary; short payloads use the existing total fixed-width slicing convention.
For source length \(n\), output length \(\ell \), and inverse-error exponent \(e\), set \(k=\ell +2e\). Condense with rate parameter \(u=1\) and error exponent \(e+1\). Write \(b\) for its field width and \(N\) for its output width. Choose the hashing field width \(B=2\cdot 3^{s_H}\) by sparse rounding above \(\max (N,\ell )\).
Run the scheduled condenser at \(k=\ell +2e\), error exponent \(e+1\), and \(u=1\), then hash its complete output with an independent field seed. The paired evaluator takes source, both seeds, and unary words for \(n,\ell ,e\). It emits the output bits; the decoded statistical map retains both seeds externally for joint tests.
Apply the concrete eight-call step to both original source pairs with opposite advice bits. Retain the original transcript, both initial and refreshed states, all eight look-ahead outputs, the tampered final output, and the full original left state. The honest final output and this transcript are a direct image of the original factored source law.
For a coefficient \(p\), a slack \(\xi \), and a threshold \(N_0\), the predicate \(\mathrm{PathwidthBound}(p,\xi ,N_0)\) says that every simple \(3\)-regular graph on \(h{\gt}N_0\) vertices has a path decomposition with bags of at most \((p+\xi )h+1\) vertices. The predicate \(\mathrm{CutwidthBound}(c,\xi ,N_0)\) says that every such graph has an injective vertex key all of whose prefixes are crossed by at most \((c+\xi )h\) edges. For a coefficient \(A\), a slack \(\eta \), and a constant \(C\), the graph-ordering hypothesis \(\mathrm{OrderingBound}(A,\eta ,C)\) says that every connected loopless multigraph of maximum degree three with \(N\) vertices and \(M\) edges has a vertex ordering all of whose prefix cuts have at most \((A+\eta )\max \{ M-N,0\} +3\log _2 N+C\) edges.
The parity tests are all nonempty subsets of the coordinate set of size at most \(t\). Given a bad-seed set for each test and each candidate position, the common bad-seed set is their union over both indices.
For a finite weighted sample space and \(m\) coordinates \(\sigma _i\), write \(S=\sum _i\sigma _i\). The parity-bias bound \(\delta \) requires \(|\mathbb E\prod _{i\in T}\sigma _i|\le \delta \) for every nonempty coordinate subset \(T\) of size at most four. The coordinates being signs and the weights being probabilities are separate hypotheses.
A path decomposition ends at \(X\) if it has a last bag and that bag is exactly \(X\); it starts at \(X\) if its first bag is exactly \(X\). Reversal exchanges the endpoint roles. The one-bag decomposition ends at the full vertex set.
Suppress a vertex set \(S\) by retaining vertices outside \(S\), keeping their original edges, and adding an edge between distinct vertices joined by a two-edge path through \(S\). The core graph suppresses the designated region vertices of the region-boundary quotient.
Polynomial multiplication maps the coefficients \(x_0,\dots ,x_{n-1}\) and \(y_0,\dots ,y_{n-1}\) of two polynomials of degree below \(n\), the first and the last \(n\) inputs, to the \(2n-1\) coefficients \(z_m=\sum _{i+j=m}x_iy_j\), \(0\le m\le 2n-2\), of their product; each \(z_m\) is also a polynomial in the \(2n\) inputs. For weights \(\mu \), the Hankel matrix of \(\mu \) is the \(n\times n\) matrix \(\Lambda =(\mu (i+j))\), and \(\left(\begin{smallmatrix} 0 & \Lambda \\ \Lambda ^{\mathsf T} & 0 \end{smallmatrix}\right)\) is indexed by the inputs, the \(x\) first. For a set \(X\) of inputs, \(X\cap x\) and \(X\cap y\) are the coefficients of the two factors whose inputs lie in \(X\).
Fix natural parameters \(a,e\). At input length \(n\), take \(L=\lceil \log _2(n+1)\rceil \), raw depth \(h=a\lceil \log _2(L+1)\rceil \), \(E=e+h+2\), and \(Q=4096(L+E+1)\). Instantiate the specified extractor with leaf length \(L\), source entropy threshold \(k=4^hQ\), and its actual retained seeds. These family definitions do not truncate the depth at small lengths.
- Algebraic.Cutwidth.Extractor.polylogBlockLength
- Algebraic.Cutwidth.Extractor.polylogBlockDepth
- Algebraic.Cutwidth.Extractor.polylogBlockErrorExponent
- Algebraic.Cutwidth.Extractor.polylogBlockReserve
- Algebraic.Cutwidth.Extractor.polylogBlockEntropy
- Algebraic.Cutwidth.Extractor.polylogBlockSeedBits
- Algebraic.Cutwidth.Extractor.polylogBlockOutputBits
- Algebraic.Cutwidth.Extractor.PolylogBlockSeeds
- Algebraic.Cutwidth.Extractor.polylogBlockExtractor
For fixed \(a,e\), read a paired source and flat seed word, compute the raw requested depth from the source’s actual length, and call the total scheduled evaluator. Thus one string function covers all source lengths; its clipped runtime behavior is also specified at the exceptional small lengths.
For a supplied polynomial \(E\), set \(g_0=f\bmod E\) and \(g_{j+1}=g_j^2\bmod E\). For exponent \(h=2^r\), output coordinates \(g_{ri}(y)\) for \(0\le i{\lt}m\); the seed \(y\) is kept separate. This is the polynomial map of Guruswami–Umans–Vadhan with the characteristic-power exponent used by Cheraghchi for source linearity. It is an algebraic specification using Mathlib’s polynomial type; an encoded evaluator and uniform field and modulus construction are separate obligations.
A local linear realization assigns a row \(v_w\in F^n\) to every original circuit wire. Input \(j\) carries \(e_j\), and each gate row lies in the span of its argument rows. A polynomial interpretation assigns each operation a polynomial in its argument slots, with unrestricted degree and coefficients. The full polynomial signature contains every such finite-arity polynomial.
A probability weight on a finite type is a nonnegative function \(p\) with \(\sum _xp(x)=1\). Its threshold-\(K\) cap is \(Kp(x)\le 1\) for every \(x\). Statistical distance is \(\frac12\sum _x|p(x)-q(x)|\); deterministic images sum the weights of all preimages. Marginals, uniform weights, and uniform weights supported on a finite subset use the same finite-sum conventions.
- Algebraic.Cutwidth.Extractor.IsProbabilityWeight
- Algebraic.Cutwidth.Extractor.CappedWeight
- Algebraic.Cutwidth.Extractor.weightDist
- Algebraic.Cutwidth.Extractor.weightTestProb
- Algebraic.Cutwidth.Extractor.mapWeight
- Algebraic.Cutwidth.Extractor.firstWeight
- Algebraic.Cutwidth.Extractor.uniformWeight
- Algebraic.Cutwidth.Extractor.flatWeight
The quadratic form of a square matrix \(M\) is \(x\mapsto x^{\mathsf T}Mx\). Over \(\mathbb {Z}/q\), the \(N\times N\) Hankel Cauchy matrix has entries \(1/(i+j+2)\) for \(0\le i,j{\lt}N\).
Starting from an initial seeded map, run \(h\) levels, each using its own fresh seed to condense all current blocks and split their pair outputs. Block alphabets and seed types can vary with the level. Starting from \(t\) blocks, level \(i\) has \(2^it\) blocks. The recursive extractor starts with a single condensed block and finally applies one shared-seed extractor to every leaf. Every seed is retained exactly once.
For depth \(h\), leaf reserve \(Q\), and common error exponent \(E\), set \(k_i=4^{h-i}Q\). Starting from width \(N\), recursively set \(n_{i+1}\) to the actual half-output width of the rate-three condenser on \(n_i\) bits at entropy \(k_i\) and exponent \(E\). Record its actual field seed width \(b_i\). The explicit reserve is \(Q=4096(L+E+1)\).
Let \(B\) be a simple black graph and \(R\) a red multigraph on the same finite vertex set. A set \(X\) is positive if its internal red edges outnumber its external black edges. Red edges retain distinct identities.
A restoration family consists of pairwise disjoint regions \(P_i\) with \(|\partial _B P_i|\le 2\), attached sets \(A_i\) with empty black cut, and a designated red edge between \(P_i\) and \(A_i\). Every \(P_i\) is disjoint from every \(A_j\); the attached sets may overlap one another. Its deleted graph is \(B\) with all cuts \(\partial _B P_i\) removed. Each boundary edge gives one endpoint mark to its endpoint outside \(P_i\). The family’s endpoint marks sum these contributions, retaining multiplicities at a shared outside vertex. These are the data used to restore a supplied family of isolated paths.
- Algebraic.Cutwidth.Bisection.RedBlack.RestorationFamily
- Algebraic.Cutwidth.Bisection.RedBlack.RestorationFamily.deletedEdges
- Algebraic.Cutwidth.Bisection.RedBlack.RestorationFamily.deletedGraph
- Algebraic.Cutwidth.Bisection.RedBlack.boundaryMarks
- Algebraic.Cutwidth.Bisection.RedBlack.RestorationFamily.endpointMarks
Given a joint weighting on an earlier seed and a current state, sample one fresh independent uniform seed, apply the specified deterministic step, and retain the ordered pair of seeds with the output. The new seed is independent of the entire old joint law.
A neighbor map sends each outer seed to a list of base seeds. Coverage \((K,\rho )\) means that every outer support of size at least \(K\) reaches at least a \(\rho \) fraction of base seeds. A somewhere sampler has a candidate list at each outer seed: the small-test failure event occurs when more than a \(2\epsilon \) fraction of outer seeds have every candidate output in the test. It has probability at most \(\delta \) for every source with point masses bounded by \(1/L\).
Supply an \(n\)-bit source and a \(d\)-bit seed to the actual program, where \(d\) is its specified total seed width. Read its output as \(2^h\) successive blocks of \(\ell \) Boolean coordinates. This definition directly runs the bit program and invokes no abstract field enumeration.
Encode the initial field seed, followed by the fresh level seeds in increasing order, followed by the final condenser seed and hash seed. A prefix through any level and the complete tuple are each equivalent to Boolean words of their exact summed field widths. These semantic equivalences require no field-enumeration instances.
- Algebraic.Cutwidth.Extractor.scheduledBlockSeedPrefixBits
- Algebraic.Cutwidth.Extractor.encodeScheduledBlockSeedPrefix
- Algebraic.Cutwidth.Extractor.decodeScheduledBlockSeedPrefix
- Algebraic.Cutwidth.Extractor.encodeScheduledBlockSeeds
- Algebraic.Cutwidth.Extractor.decodeScheduledBlockSeeds
- Algebraic.Cutwidth.Extractor.scheduledBlockSeedPrefixEquiv
- Algebraic.Cutwidth.Extractor.scheduledBlockSeedEquiv
Start with the actual rate-one condenser, run the scheduled rate-three paired condensers for \(h\) levels, and apply the actual one-shot extractor with output length \(\ell \) to all leaves. Its seed consists of one initial field seed, one fresh field seed per level, and one final field-seed pair shared by every leaf. Let \(d\) be the sum of their field bit widths.
- Algebraic.Cutwidth.Extractor.scheduledBlockInitialWidth
- Algebraic.Cutwidth.Extractor.ScheduledInitialSeed
- Algebraic.Cutwidth.Extractor.ScheduledLevelSeed
- Algebraic.Cutwidth.Extractor.ScheduledFinalSeed
- Algebraic.Cutwidth.Extractor.scheduledBlockInitial
- Algebraic.Cutwidth.Extractor.scheduledBlockStep
- Algebraic.Cutwidth.Extractor.scheduledBlockExtractor
- Algebraic.Cutwidth.Extractor.scheduledBlockSeedBits
Run initial compression and every internal level, then consume the final condenser/hash seed pair and extract all leaves. The total wrapper derives the source length from its actual input word and initializes the clipped schedule. Its single paired interface accepts a source, a flat seed word, unary requested depth, and unary error exponent. All projections and component programs are total on malformed encodings.
A runtime state contains the numerical dimensions, block count, concatenated block payload, and unused seed suffix. Initial compression consumes its first seed word. Each later step consumes one fresh seed prefix, applies the actual shared-seed condenser to every block, and keeps its two halves consecutively. The loop executes \(h\) such steps.
- Algebraic.Cutwidth.Extractor.ScheduledBlockRunState
- Algebraic.Cutwidth.Extractor.scheduledBlockRunStep
- Algebraic.Cutwidth.Extractor.encodeScheduledBlockRun
- Algebraic.Cutwidth.Extractor.scheduledBlockRunStepEval
- Algebraic.Cutwidth.Extractor.scheduledBlockRunInitial
- Algebraic.Cutwidth.Extractor.scheduledBlockRun
Store the current width and entropy in unary, with fixed error exponent \(E\). A numerical step computes the actual rate-three output half-width and divides the entropy by four. For arbitrary requested depth \(r\) and error exponent \(e\), the total initializer selects \(h=\min (r,\lceil \log _2(n+1)\rceil )\), \(E=e+h+2\), the explicit leaf reserve, and the actual rate-one initial compressed width.
- Algebraic.Cutwidth.Extractor.scheduledBlockStateStep
- Algebraic.Cutwidth.Extractor.encodeScheduledBlockState
- Algebraic.Cutwidth.Extractor.scheduledBlockStateStepEval
- Algebraic.Cutwidth.Extractor.scheduledBlockInputLog
- Algebraic.Cutwidth.Extractor.scheduledBlockDepth
- Algebraic.Cutwidth.Extractor.scheduledBlockErrorExponent
- Algebraic.Cutwidth.Extractor.scheduledBlockLeafReserve
- Algebraic.Cutwidth.Extractor.scheduledBlockInitialEntropy
- Algebraic.Cutwidth.Extractor.scheduledBlockRuntimeInitialWidth
- Algebraic.Cutwidth.Extractor.scheduledBlockStateInit
Given finitely many seeded maps \(C_i\) and real weights \(w_i\), define the mixture test value as \(\sum _i w_i\Pr [(Y,C_i(X_i,Y))\in T]\). Each \(X_i\) is uniform on its own finite source type, and \(Y\) is an independent uniform seed shared by all components.
Split the wires of a straight-line program, its inputs and its gates, into a set \(S\) and its complement \(\bar S\), and let \(i\) be the number of inputs in \(S\). The forward signals \(A\) are the wires in \(S\) read by some gate in \(\bar S\), and the backward signals \(B\) are the wires in \(\bar S\) read by some gate in \(S\). A signal is the value of one wire, counted once however many gates read it. The boundary key of an input \(x\) is the pair \((a, b)\) of the values of the signals in \(A\) and in \(B\). Mixing \(x\) and \(x'\) takes the coordinates of \(x\) whose input wires lie in \(S\) and the remaining coordinates of \(x'\). For a set \(Z\) of inputs and a key \(\sigma \), the left and right parts \(L_\sigma \) and \(R_\sigma \) are the restrictions of the members of \(Z\) with key \(\sigma \) to the inputs in \(S\) and in \(\bar S\).
Let the original left state determine \(X,X_1,\ldots ,X_t\) and an actual prefix \(Q\). The right state determines its seed family after \((Z,Q)\) is fixed. The source comparison retains \((Z,X_T)\); the seed comparison retains \((Z,Q,Y_S)\). The extraction law is the direct original-law image retaining \((Z,Q)\), complete original right state \(B\), and all actual tampered outputs in \(S\cup T\).
From the original factored law, retain \(H=((Z,U(Z,A)),Q(Z,A))\). The right seed \(Y(H,B)\) and right observation \(V(H,B)\) may depend on this entire transcript. The extraction law keeps \(H\), the complete original right variable \(B\), and a leak \(W(H,V(H,B),A)\) alongside \(E(X(Z,A),Y(H,B))\). Both \(Q\) and \(W\) are evaluated on the original left variable.
Set \(s=\lceil \log _3\lceil (u+1)T/2\rceil \rceil \), \(b=2\cdot 3^s\), \(r=b-T\), and \(m=\lceil k/r\rceil \). The Lean definitions are total natural-number functions; the following bounds specify their positive-parameter behavior.
For a finite seed set \(S\) and output set \(\Omega \), strong extraction compares \((Y,E(X,Y))\) with independent uniform seed and output on every test \(T\subseteq S\times \Omega \). The source \(X\) is uniform on any nonempty finite support \(P\) of size at least \(K\). The uniform test probability is \(|T|/(|S||\Omega |)\), and the permitted discrepancy is \(\epsilon \). Nonemptiness of \(P\) remains explicit when \(K=0\).
A Boolean function \(f\) on \(n\) bits is a flat-source sumset extractor with threshold \(K\) and error \(\nu \) when, for all sets \(P,Q\subseteq \{ 0,1\} ^n\) of cardinality at least \(K\), the fraction of pairs \((x,y)\in P\times Q\) with \(f(x\oplus y)=1\) lies in \([1/2-\nu ,1/2+\nu ]\). Source pairs are counted with multiplicity even when their sums coincide. On one bit, the identity function has threshold \(2\) and error zero. This finite example does not give an asymptotic family.
Direct every edge of a multigraph from its first to its second endpoint. A directed walk is a list of vertices in which each vertex is joined to the next by an edge directed towards it. A multigraph with distinct vertices \(i_1,\dots ,i_N\) (inputs) and \(o_1,\dots ,o_N\) (outputs), \(2N\) in all, is an \(N\)-superconcentrator when for every \(k\), all \(k\)-sets \(X\) of inputs and \(Y\) of outputs are joined by \(k\) vertex-disjoint directed walks from \(X\) to \(Y\). Every path is a walk, so this includes superconcentrators defined with paths.
Let every operation of a signature carry a polynomial in its argument slots with coefficients in a commutative ring \(K\), of any degree. Over every commutative \(K\)-algebra \(A\) the program is evaluated by substituting the arguments of each gate into its polynomial. The wire polynomial \(f_w\in K[X_0,\dots ,X_{n-1}]\) of a wire \(w\) is its value over the polynomial ring at the variables, and a circuit formally computes polynomials \(f_o\) when its output \(o\) carries \(f_o\). For a \(K\)-algebra \(L\) and \(a\in L^n\), the Jacobian of a family of polynomials and the Hessian of one polynomial at \(a\) are the matrices of their formal first and second partial derivatives evaluated at \(a\). Arithmetic circuits have the gate polynomials \(X_0+X_1\), \(X_0X_1\), and the constants.
- Algebraic.Cutwidth.MultiOutput.Taylor.algebraInterpretation
- Algebraic.Cutwidth.MultiOutput.Taylor.wirePolynomial
- Algebraic.Cutwidth.MultiOutput.Taylor.FormallyComputes
- Algebraic.Cutwidth.MultiOutput.Taylor.arithmeticPolynomial
- Algebraic.Cutwidth.MultiOutput.Taylor.jacobian
- Algebraic.Cutwidth.MultiOutput.Taylor.hessian
For each shaded thin path \(P\) and each of its \(\alpha (P)\) red attachments, give \(3-\alpha (P)\) marks to the attached small component. Marks are a finite map to natural numbers, so repeated targets retain their multiplicities. A count \(k\) satisfies the reserved cycle budget when, for every collection \(\mathcal C\) of original cyclic components of size at most \(M\),
Given eligible vertices \(U\), the regions are the connected components of \(B[U]\), viewed as subsets of the original vertex set. For a region \(P\), let \(A_M(P)\) be the distinct red edges joining \(P\) to an original black component of at most \(M\) vertices. For each such edge choose its attached small component, preferring the second endpoint when both orientations qualify. A region is thin if \(|P|\le M|A_M(P)|\).
- Algebraic.Cutwidth.Bisection.RedBlack.PathSystem.region
- Algebraic.Cutwidth.Bisection.RedBlack.PathSystem.attachmentEdges
- Algebraic.Cutwidth.Bisection.RedBlack.PathSystem.attachmentComponent
- Algebraic.Cutwidth.Bisection.RedBlack.PathSystem.attachment
- Algebraic.Cutwidth.Bisection.RedBlack.PathSystem.thinComponents
A matrix over a field is totally regular when every square submatrix is nonsingular. The Cauchy matrix of nodes \(x_i\) and \(y_j\) has entries \(1/(x_i-y_j)\); over \(\mathbb {Z}/q\), the explicit family takes \(x_i=i\) and \(y_j=N+j\) for \(0\le i,j{\lt}N\).
A shared transcript has law \(w(z)\), and the left and right variables have conditionally independent laws \(l_z(a),r_z(b)\). The source \(x(z,a)\) and observation \(u(z,a)\) depend on the left side; the seed \(y(z,b)\) and observation \(v(z,b)\) depend on the right. A further finite leak \(L(z,v,a)\) may depend on the left variable and the right observation together. The actual output law retains \((z,b,u(z,a),L(z,v(z,b),a))\) alongside \(E(x(z,a),y(z,b))\).
The runtime takes unary scale and enumeration counts and executes the actual sampler and affine calls, then XOR and majority. The length-indexed evaluator uses \(L=\lceil \log _2(n+1)\rceil \), the exact outer count, and candidate count \(\min (C,n+1)\). Its Boolean family is the unique output bit. XOR with a fresh first input bit gives the balanced hard evaluator, family, and accepted language.
- Algebraic.Cutwidth.Extractor.sourceReductionRuntime
- Algebraic.Cutwidth.Extractor.sourceReductionEval
- Algebraic.Cutwidth.Extractor.sourceReductionFamilyScale
- Algebraic.Cutwidth.Extractor.sourceReductionBoundedCandidates
- Algebraic.Cutwidth.Extractor.sourceReductionFamilyEval
- Algebraic.Cutwidth.Extractor.sourceReductionFamily
- Algebraic.Cutwidth.Extractor.sourceReductionHardEval
- Algebraic.Cutwidth.Extractor.sourceReductionHardFamily
- Algebraic.Cutwidth.Extractor.sourceReductionHardLanguage
Run the actual honest and tampered look-ahead computations and refresh the original right source using either honest output. Retain the full common history and original left state. The tampered final refresh is unobserved; the two current right states may coincide.
A family \(H:A\times S\to \Omega \) is universal when every pair of distinct inputs collides on at most \(|S|/|\Omega |\) seeds. The definition uses the integer inequality
It does not require pairwise independence or uniform output at each fixed input; linear hash families all send the zero input to zero.
A weighted strong extractor satisfies the retained-seed test bound for every normalized threshold-\(K\) capped source. A weighted strong condenser at thresholds \(K_{\rm in},K_{\rm out}\) sends each such input source within distance \(\varepsilon \) of a family \(q_y\) of normalized threshold-\(K_{\rm out}\) capped output weights, indexed by the seed. Both joint laws have a uniform seed marginal; the actual seed is independent of the input source.
Let \(\mathcal C_{n,s}\) be the finite family of sets \(T\subseteq \{ 0,1\} ^n\) with \(C(1_T)\le s\). A family shatters \(S\) if every \(A\subseteq S\) is \(S\cap T\) for some member \(T\) of the family. Its VC dimension is the largest cardinality of a shattered set, using Mathlib’s finite set-family definitions.
A clause set over \(N\) variables is a finite set of clauses, each a finite set of literals; \(x\) satisfies it when every clause has a true literal, and \(\mathrm{sol}(\psi )\) is its set of solutions. A CNF has the clause set of its clauses, and a clause set is listed as a CNF; both translations preserve the accepted inputs and do not increase the width. The occurrences of a variable are the clauses that mention it (for a CNF, counted with multiplicity). Two distinct variables are neighbours in the co-occurrence graph when some clause mentions both. For \(T\subseteq [N]\), \(x\oplus e_T\) flips the coordinates in \(T\). A set \(S\) contains a subcube of dimension \(d\) when some \(a\) and some set \(J\) of \(d\) coordinates have \(a\oplus e_T\in S\) for every \(T\subseteq J\). The isolated directions of \(x\) in \(S\) are the \(i\) with \(x\oplus e_i\notin S\).
- Complexity.ClauseSet
- Complexity.ClauseSet.Sat
- Complexity.ClauseSet.solutions
- Complexity.CNF.toClauseSet
- Complexity.ClauseSet.toCNF
- Complexity.ClauseSet.occurrences
- Complexity.CNF.occurrences
- Complexity.ClauseSet.neighbors
- Complexity.BitString.flipOn
- Complexity.ContainsSubcube
- Complexity.isolatedDirections
For \(F,G:\{ 0,1\} ^n\to \{ 0,1\} ^m\), let \(S=\{ x:F(x)\ne G(x)\} \), \(d=|S|\), and \(R=\{ j:F_j\not\equiv G_j\} \), with \(r=|R|\). The error vector \(E_R=(F\oplus G)|_R\) contains only the selected output coordinates. Write \(C^S(E_R)\) for the minimum size of a circuit agreeing with \(E_R\) on \(S\); its values outside \(S\) are unrestricted.
The correlation of Boolean functions \(f\) and \(g\) is \(|\Pr [f=g]-\Pr [f\ne g]|=|2\, \mathrm{agreement}(f,g)-1|\). A square matrix \(Q\) over \(\mathbb {F}_2\) defines the quadratic form \(f_Q(x)=\sum _{i,j}Q_{ij}x_ix_j\). The rank of a block of a matrix is the dimension of the span of its rows, and the cut rank \(\rho _Q(U)\) is the rank of the block of \(Q+Q^{\mathsf T}\) with rows \(U\) and columns \(U^c\). A matrix is submatrix-robust with deficiency \(t\) when every square block with \(k\) rows has rank at least \(k-t\). On inputs of length \(n\), with \(x\) the first \(\lfloor n/2\rfloor \) coordinates and \(y\) the next \(\lfloor n/2\rfloor \), the bilinear form \(x^{\mathsf T}Ry\) is the quadratic form of the matrix with \(R\) in the block with rows \(x\) and columns \(y\).
A decision tree queries a variable at each internal node and outputs a bit at each leaf. The finite-arity version queries only variables below \(N\). Its depth is the length of a longest root-to-leaf path.
A \((p,k)\)-density rectangle consists of nonempty sets \(X,Y\) of deficit at most \(k\), and some \(0{\lt}r\le p\) such that every point on one side is an \((r,k)\)-limit of the other. The actual rate \(r\) is retained because density-limit conditions need not be monotone in the sampling rate.
A \(\Sigma _3^k\) formula for \(f\colon \{ 0,1\} ^N\to \{ 0,1\} \) is a list of CNFs, each of width at most \(k\), whose OR computes \(f\); a \(\Pi _3^k\) formula is a list of DNFs of width at most \(k\) whose AND computes \(f\). \(\Sigma _3^k(f)\) and \(\Pi _3^k(f)\) are the least lengths of such lists (the top fan-in), which every reasonable size measure of these formulas bounds from above.
Input \(i\) is essential for \(f : \{ 0,1\} ^N \to \{ 0,1\} ^M\) if flipping bit \(i\) changes \(f(x)\) for some \(x\).
The cycle rank of a multigraph is \(\beta _1=|E|+1-|V|\), truncated at zero. A layout numbers the vertices \(0,\dots ,|V|-1\). The layout hypothesis \(\mathrm{LB}_d(A)\) says that for every \(\eta {\gt}0\) some \(C\) bounds, for every connected loopless multigraph of maximum degree \(d\), some layout all of whose initial segments are crossed by at most \((A+\eta )\beta _1+\eta |V|+C\) edges.
A network over \(U\) is a multigraph whose edges carry values in \(U\), with a local check at each vertex that sees the values of its incident edges and of the inputs read at that vertex; each input is read by at most one vertex. It accepts the inputs for which some edge assignment passes every check. A layout sweeps the accepted set: the message at step \(t\) is the assignment on the edges crossing the first \(t\) vertices.
For a set of coordinates \(X\subseteq \iota \), the rectangle with sides \(A\subseteq U^X\) and \(B\subseteq U^{X^c}\) consists of the inputs whose part on \(X\) lies in \(A\) and whose part on \(X^c\) lies in \(B\). A set \(S\subseteq U^\iota \) is \(K\)-rectangle-free when every rectangle contained in \(S\), for every \(X\), has a side with fewer than \(K\) elements. A sweep of \(S\) reveals coordinates over \(T\) steps, from none to all, and sends at each step a message such that inputs of \(S\) with the same message can exchange their unrevealed parts and remain in \(S\). A sweep is coherent when such an exchange also keeps the message, and every other message equals that of one of the two inputs.
A protocol is a tree indexed by a rectangle \(X \times Y\) of sets of inputs in \(\{ 0,1\} ^N\), \(X\) on the one side and \(Y\) on the zero side. At an internal node, Alice splits \(X\) or Bob splits \(Y\) by an arbitrary predicate, and the two children are indexed by the two parts. A leaf names a coordinate \(i\) with \(x_i = 1\) for all \(x \in X\) and \(y_i = 0\) for all \(y \in Y\). A protocol for the monotone Karchmer–Wigderson game of \(f : \{ 0,1\} ^N \to \{ 0,1\} \) is one indexed by the root rectangle \(f^{-1}(1) \times f^{-1}(0)\), so every node’s rectangle lies in it. The depth is the height of the tree.
Let \(L_{n,r}=\{ x\in \{ 0,1\} ^n:|x|=r\} \), where \(|x|\) is Hamming weight. The boundary layers of strict majority are \(X=L_{n,\lfloor n/2\rfloor }\) and \(Y=L_{n,\lfloor n/2\rfloor +1}\). Put \(K(n)=128+\log _2(2(n+1))\). A tie belongs to the false side.
A monotone circuit is an AND/OR circuit all of whose negation flags are false. Every monotone circuit computes a monotone function.
A monotone formula over \(N\) variables is a tree built from variables \(x_0, \dots , x_{N-1}\) and binary conjunction and disjunction, without constants or negation. Its leaves are its variable occurrences, and its depth is the length of a longest root-to-leaf path, variables having depth zero. A function \(f\) is monotone if \(x \le y\) pointwise and \(f(x) = 1\) imply \(f(y) = 1\).
A CNF (resp. DNF) over \(N\) variables is a list of clauses (resp. terms), each a list of literals. Its width is the largest number of literals in a clause (term), and its complexity is the number of clauses (terms). These finite-arity normal forms are distinct from the CNF formulas used for satisfiability and resolution.
Fix a clause set \(\psi \) and an order \(\sigma \) of the variables, a permutation placing \(v\) at position \(\sigma (v)\). On input \(y\) the decoder processes the variables in this order. At \(v\), if some clause has a literal on \(v\) and all its other literals are on earlier variables and false under the values already decoded, it sets \(v\) to satisfy such a literal (positive if some such literal is positive); otherwise it sets \(v := y_v\). The forced variables \(\mathrm{forced}_\sigma (x)\) are those at which the first rule fires on input \(y = x\).
A propositional proof system for unsatisfiable CNFs is a polynomial-time decidable relation \(V(\varphi , \pi )\) that is sound (\(V(\varphi , \pi )\) implies that \(\varphi \) is unsatisfiable) and complete (every unsatisfiable \(\varphi \) has some \(\pi \) with \(V(\varphi , \pi )\)). It is polynomially bounded if every unsatisfiable \(\varphi \) has such a \(\pi \) with \(|\pi | \le p(|\varphi |)\) for a fixed polynomial \(p\).
For \(q \in \mathbb {N}\), a seed assigns to each of \(N\) coordinates one of \(2q + 1\) symbols: one free symbol and \(q\) labelled copies of each fixed bit, so there are exactly \((2q + 1)^N\) seeds. A seed decodes to a finite-arity restriction, so a uniform seed leaves each coordinate free with probability \(1/(2q+1)\) and fixes it to each bit with probability \(q/(2q+1)\), independently. Events are measured by exact counts of seeds rather than by probabilities.
Clauses are lists of literals over variables in \(\mathbb {N}\), and a CNF is a list of clauses; an assignment is a finite list of bits, variables beyond its end reading \(0\). The resolvent of clauses \(C_1\) and \(C_2\) on a variable \(v\) deletes every occurrence of \(x_v\) from \(C_1\) and of \(\neg x_v\) from \(C_2\) and concatenates the rest. A clause is derivable from \(\varphi \) if it is a clause of \(\varphi \) or a resolvent of two derivable clauses. There is no weakening rule, and the pivot need not occur in the parents.
A resolution refutation of \(\varphi \) is a sequence of clauses ending in the empty clause, each a clause of \(\varphi \) or a resolvent of two earlier ones. Its size is its length and its width is the largest number of literals in one of its clauses. A clause is derivable exactly when it ends such a sequence.
A restriction assigns each variable \(x_i\), \(i \in \mathbb {N}\), either a fixed bit or “free”; the finite-arity version does this for exactly \(N\) variables. The composition \(\rho _1 \circ \rho _2\) fixes a variable to \(\rho _1\)’s value when \(\rho _1\) fixes it and to \(\rho _2\)’s value otherwise. A restriction acts on a total assignment by overwriting the fixed variables, and on a Boolean formula by replacing each fixed variable with the corresponding constant.
A protocol on coordinates \(I\) with alphabet \(M\) and at most \(d\) rounds either outputs a fixed coordinate or lets one player send a message in \(M\), followed by a protocol with one fewer round. The speaker depends only on the preceding transcript, and a message depends only on that speaker’s input. A solving protocol outputs a coordinate where the two inputs differ, in either orientation. For a function \(f\), Alice’s input belongs to \(f^{-1}(0)\) and Bob’s to \(f^{-1}(1)\). The bound \(|M|\le 2^m\) expresses per-message cost \(m\).
Read each bit as \(0\) or \(1\) in \(\mathbb {F}_3\). The monomial of a set \(S \subseteq [n]\) is the function \(x \mapsto \prod _{i \in S} x_i\), and a function \(\{ 0,1\} ^n \to \mathbb {F}_3\) has degree at most \(D\) when it is an \(\mathbb {F}_3\)-linear combination of monomials of sets of size at most \(D\).
An activation program has the same wiring and real weights as a weighted threshold program, but gate \(j\) outputs \(\phi _j\bigl(\langle w_j,x\rangle +\sum _{k{\lt}j}u_{jk}g_k(x)\bigr)\) for an arbitrary activation \(\phi _j:\mathbb {R}\to \{ 0,1\} \). A threshold gate is the activation \(t\mapsto [t+c_j\ge 0]\); input-reading gates are those with \(w_j\ne 0\).
A block decomposition of \(f\) is a sequence of histories \(h_0,\dots ,h_m\) on \(\{ 0,1\} ^n\), with \(h_0\) constant and \(f\) a function of \(h_m\), in which each step is either one-dimensional with \(T\) changes, \(h_{i+1}(x)=\Phi (h_i(x),\langle w,x\rangle )\) for a weight vector \(w\) and a map \(\Phi \) such that every \(\Phi (\eta ,\cdot )\) changes at most \(T\) times, or a summary with \(V\) values: for every split \((A,B)\), \(h_{i+1}(p,q)=\Phi (h_i(p,q),\sigma (p),q)\) for some \(\sigma \) with at most \(V\) values. Its cost is the product of \(4T\) over the one-dimensional steps with \(T\ge 1\) and of \(V\) over the summary steps. A split of a weighted threshold program into \(B\) direction runs numbers its gates monotonically by \(\{ 0,\dots ,B-1\} \) and assigns each run \(i\) a direction \(d_i\in \mathbb {R}^n\) such that the input weight vector of every gate is a real multiple of the direction of its run; \(r_i\) is the number of input-reading gates of run \(i\).
A weighted threshold program with \(n\) inputs and \(s\) gates assigns to each gate \(j\) a real input weight vector \(w_j\in \mathbb {R}^n\), real weights \(u_{jk}\) on the earlier gates \(k{\lt}j\), and a real bias \(c_j\), and designates an output gate. On \(x\in \{ 0,1\} ^n\), gate \(j\) outputs \(1\) exactly when \(\langle w_j,x\rangle +\sum _{k{\lt}j}u_{jk}g_k(x)+c_j\ge 0\), Booleans entering the sums as \(0\) and \(1\). The weights are arbitrary reals (integer weights are a special case), and depth, fan-in, and fan-out are unrestricted. The program computes \(f\) when its output gate equals \(f\) on every input. A gate is input-reading when \(w_j\ne 0\); \(s_{\mathrm{in}}\) denotes the number of input-reading gates, and gates that read only other gates are not counted. The evaluation with overrides sets the gates of a set \(F\) to given values and feeds every other gate \(j\) a real number \(z_j\) in place of \(\langle w_j,x\rangle \); the ordinary evaluation overrides nothing.
A function \(f:\{ 0,1\} ^n\to \{ 0,1\} \) is two-sided \(K\)-rectangle-free if for every split \([n]=A\sqcup B\), balanced or not, and all \(P\subseteq \{ 0,1\} ^A\) and \(Q\subseteq \{ 0,1\} ^B\) such that \(f\) is constant on \(P\times Q\) (with either value), \(|P|{\lt}K\) or \(|Q|{\lt}K\). A function \(\Psi :\mathbb {R}\to Y\) changes at most \(T\) times if along every nondecreasing sequence \(z_0\le z_1\le \cdots \) of reals, every set of positions \(i\) with \(\Psi (z_i)\ne \Psi (z_{i+1})\) has at most \(T\) elements; this is the discrete form of having at most \(T+1\) interval pieces. It has at most \(M\) pieces if it is constant on the level sets of a monotone map \(\pi :\mathbb {R}\to \{ 0,\dots ,M-1\} \).
\(L \in \mathsf{MA}\) if there are a polynomial \(p\) with natural-number coefficients and \(V \in \mathsf{P}\) such that for \(x \in L\) some proof \(w\) with \(|w| \le p(|x|)\) makes \(\mathrm{pair}(\mathrm{pair}(x, w), r) \in V\) for at least \(2/3\) of the \(r \in \{ 0,1\} ^{p(|x|)}\), and for \(x \notin L\) every such proof does so for at most \(1/3\) of them. \(L \in \mathsf{AM}\) if the coins \(r\) come first and are public: the fraction of \(r \in \{ 0,1\} ^{p(|x|)}\) admitting some reply \(w\) with \(|w| \le p(|x|)\) and \(\mathrm{pair}(\mathrm{pair}(x, r), w) \in V\) is at least \(2/3\) for members and at most \(1/3\) for non-members.
A source machine has finite alphabet and control state sets, distinguished blank and initial states, and a faithful encoding of binary digits by tape symbols. Blank terminates the decoded output. The bounded output contract requires a halted source run from the literal encoded input whose entire right-of-head tape is the encoded output followed by blanks.
For \(f \colon \{ 0,1\} ^n \to \{ 0,1\} \) with \(n {\gt} 0\) and a threshold \(s\), a finite list \(L \subseteq \{ 0,1\} ^n\) is an anti-checker for \((f, s)\) if every fan-in-two \(\{ \wedge ,\vee \} \) circuit with at most \(s\) gates disagrees with \(f\) on some input of \(L\).
Three promise formulations, all with yes side “minimum size at most the yes threshold” and no side “minimum size strictly above the no threshold”, and all placing malformed strings outside the promise: (a) canonical instances \((n, T, s)\) with yes threshold \(s\) and no threshold \(\rho (n, s)\) for a widening relaxation \(\rho (n, s) \ge s\); (b) slices \(\mathsf{GapMCSP}[s_{\mathrm{yes}}, s_{\mathrm{no}}]\) with arity-indexed thresholds \(s_{\mathrm{yes}}(n) \le s_{\mathrm{no}}(n)\) on canonical codes whose encoded threshold equals \(s_{\mathrm{yes}}(n)\); (c) the raw slice on bare truth tables of length exactly \(N = 2^n\), as in the magnification literature. Adding and erasing the canonical metadata are proved to be side-preserving maps between (b) and (c) in both directions (GapMCSP.rawSliceProblem_mapReducesVia_rawToCanonical, GapMCSP.sliceProblem_mapReducesVia_canonicalToRaw); that these maps are in \(\mathsf{FP}\) is not yet proved.
Parameters are a description loss \(\sigma (n, s)\) and a clock blow-up \(\tau (n, t)\); the promise problem takes a proof that they are widening (\(\sigma (n,s) \ge s\) and \(\tau (n,t) \ge t\) for all arguments), which makes its two sides disjoint. On canonical instances \((x, 1^t, 1^s)\), encoded as \(\mathrm{pair}(\mathrm{pair}(x, 1^t), 1^s)\), the promise \(\mathsf{GapMINKT}(U, \sigma , \tau )\) has yes side \(C^t_U(x) \le s\) and no side \(C^{\tau (|x|,t)}_U(x) {\gt} \sigma (|x|, s)\); malformed strings lie outside the promise. The exact logarithmic variant of Hirahara 2022 is Definition 1157.
Hamming distance, balls \(B(r)\) and their binomial volume on \(\{ 0,1\} ^n\); a set of words is \(d\)-separated when distinct words are at distance at least \(d\). A block code is an injective encoding \(\{ 0,1\} ^k \to \{ 0,1\} ^m\), with rate \(k/m\), a \(\mathrm{GF}(2)\)-linearity predicate (preserving zero and XOR), and the minimum-distance contract “distinct messages have codewords at distance at least \(d\)”. The repetition code with \(c \ge 1\) copies is a concrete \(\mathrm{GF}(2)\)-linear instance: it multiplies Hamming distance by exactly \(c\), so it has minimum distance at least \(c\), and for \(k \ge 1\) its rate is exactly \(1/c\).
- Complexity.BooleanHamming.distance
- Complexity.BooleanHamming.ball
- Complexity.BooleanHamming.volume
- Complexity.BooleanHamming.IsSeparated
- Complexity.BooleanCode
- Complexity.BooleanCode.rate
- Complexity.BooleanCode.IsLinear
- Complexity.BooleanCode.HasMinimumDistance
- Complexity.BooleanCode.repetitionCode
- Complexity.BooleanCode.repetitionCode_isLinear
- Complexity.BooleanCode.repetitionCode_rate
- Complexity.BooleanCode.distance_repetitionEncode
- Complexity.BooleanCode.repetitionCode_hasMinimumDistance
Levin’s \(\mathrm{Kt}_U(x) = \min \{ |p| + \lceil \log _2 t \rceil : U \text{ produces } x \text{ on } p \text{ within } t \text{ steps}\} \), and the random-access measure \(\mathrm{KT}_U(x) = \min \{ |d| + t\} \) over descriptions \(d\) from which an indexed-bit evaluator answers every query “what is bit \(i\) of \(x\)?” (including a fixed end-marker convention) within \(t\) steps. This requires an explicit random-access evaluator model and an efficient universal evaluator for it. The associated problems are \(\mathsf{MKtP}\) and \(\mathsf{MKTP}\) with a threshold, their search versions, and gap promise problems.
A list code with messages in \(\{ 0,1\} ^k\) encodes each message as a Boolean function on a finite coordinate set and decodes each received word to an indexed list of \(L\) candidate messages; it is list-decodable up to relative distance \(\rho \) if every message whose codeword disagrees with the received word on at most a \(\rho \) fraction of coordinates appears in the list. A family of list codes is indexed by message length \(k\) and inverse accuracy \(q\), with codeword coordinates in \(\{ 0,1\} ^{\ell (k,q)}\). It is list-decodable if each code is list-decodable up to relative distance \(1/2 - 1/q\) for \(q \ge 2\); it has polynomial parameters if \(2^{\ell (k,q)} \le a(k + q + 1)^e\) and the list size is at most \(b(q+1)^f\) for constants \(a, e, b, f\); and a uniform realization is one encoder machine, printing the full truth table of the codeword, and one decoder machine, reading the full truth table of any received word and printing all \(L\) candidates, that work for all \(k, q\) on canonically framed inputs within a common time bound \(a'(k + q + 1)^{e'}\).
- Complexity.BooleanListCode
- Complexity.BooleanListCode.relativeDistance
- Complexity.BooleanListCode.IsListDecodableAt
- Complexity.BooleanListCodeFamily
- Complexity.BooleanListCodeFamily.IsListDecodableAtInverseAccuracy
- Complexity.BooleanListCodeFamily.PolynomialParameterBounds
- Complexity.BooleanListCodeFamily.UniformPolynomialTimeRealization
Rational parameters are positive fractions \(a/b\) with \(a, b \ge 1\), and all roundings are explicit. For a positive rational \(\beta \) and an integer \(c \ge 1\), the raw problem at \((\beta , c)\) is the raw \(\mathsf{GapMCSP}\) slice with yes threshold \(\lfloor 2^{\lfloor \beta n \rfloor }/(cn) \rfloor \) and no threshold \(2^{\lfloor \beta n \rfloor }\) at arity \(n\). For a positive rational \(\varepsilon \), the size bound at input length \(N\) is \(2^{n + \lceil \varepsilon n \rceil }\) with \(n = \lfloor \log _2 N \rfloor \), which is the rounded \(N^{1+\varepsilon }\) at \(N = 2^n\). The hypothesis \(\mathrm{LB}(c)\) asserts: there is a positive rational \(\varepsilon \) such that for every sufficiently small positive rational \(\beta \) (that is, for all \(\beta \) at most some positive \(\beta _0\)), the raw problem at \((\beta , c)\) is not in \(\mathsf{PromiseEventuallySIZE}(N^{1+\varepsilon })\). The quantifier over small \(\beta \) is a filter at zero from above, kept separate from the eventual quantifier over input lengths.
- Complexity.PositiveRationalScale
- Complexity.PositiveRationalScale.atZeroFromPositive
- Complexity.GapMCSP.Magnification.Parameters
- Complexity.GapMCSP.Magnification.Parameters.rawProblem
- Complexity.GapMCSP.Magnification.circuitBound
- Complexity.GapMCSP.Magnification.Parameters.HasEventualCircuitLowerBound
- Complexity.GapMCSP.Magnification.DenominatorConstant.HasSmallBetaCircuitLowerBound
- Complexity.GapMCSP.Magnification.DenominatorConstant.HasMagnificationLowerBoundHypothesis
- Complexity.GapMCSP.Magnification.DenominatorConstant.hasMagnificationLowerBoundHypothesis_iff
An instance consists of an arity \(n\), a truth table \(T \in \{ 0,1\} ^{2^n}\) (entry \(k\) is the value on the input whose bit \(j\) is bit \(j\) of \(k\), a little-endian order) and a threshold \(s\), encoded canonically as \(\mathrm{pair}(\mathrm{bin}(n), \mathrm{pair}(\mathrm{bin}(s), T))\) with minimal binary naturals; strings that are not canonical codes (including tables of the wrong length) are no-instances. For \(n {\gt} 0\) the instance is a yes-instance iff some circuit of fan-in-two \(\{ \wedge ,\vee \} \) gates with free negation flags on gate inputs and at most \(s\) gates (input vertices free, the output gate counted) computes the function with truth table \(T\). Arity-zero instances are accepted at every threshold (the size-zero convention of circuit families).
Search-\(\mathsf{MCSP}\); linear-overhead transport of minimum size to other gate conventions; partial-function \(\mathsf{MCSP}\) (truth tables with don’t-care entries); formula, branching-program and oracle-circuit size versions; and implicit variants whose truth table is given by a circuit. Each keeps its qualifiers in its name, and results about a variant are never surfaced as statements about total \(\mathsf{MCSP}\), whose \(\mathsf{NP}\)-hardness is open.
Fix a machine \(U\) and a threshold \(r \colon \mathbb {N} \to \mathbb {N}\). An instance \((x, 1^t)\), with \(t \ge 0\) (the empty clock is \(t = 0\)), is encoded as \(\mathrm{pair}(x, 1^t)\), and \(\mathsf{MINKT}(U, r)\) is the language of canonical codes with the strict inequality \(C^t_U(x) {\lt} r(|x|)\). Malformed strings (a failed pairing or a clock containing a \(0\)) are no-instances.
A map \(f\) is side-preserving from \(\Pi \) to \(\Pi '\) when it sends \(\Pi _{\mathrm{yes}}\) into \(\Pi '_{\mathrm{yes}}\) and \(\Pi _{\mathrm{no}}\) into \(\Pi '_{\mathrm{no}}\); a polynomial-time promise reduction is a side-preserving map \(f \in \mathsf{FP}\). For a language class \(\mathcal{C}\), a promise problem is \(\mathcal{C}\)-hard when the total embedding of every language of \(\mathcal{C}\) reduces to it in this sense, and \(\mathcal{C}\)-complete when in addition it lies in \(\mathrm{Promise}\, \mathcal{C}\). Promise-\(\mathsf{NP}\)-hardness and promise-\(\mathsf{NP}\)-completeness are the case \(\mathcal{C} = \mathsf{NP}\).
\(\mathsf{PromiseSIZE}(s)\) and \(\mathsf{PromisePPoly}\) are the completion lifts of \(\mathsf{SIZE}(s)\) (fan-in-two \(\{ \wedge ,\vee \} \) gates with free negation flags on gate inputs) and \(\mathsf{P/poly}\). A circuit family has one circuit at each positive input length and a stored answer, of size \(0\), on the empty input. \(\mathsf{PromiseSIZE}(s)\) is equivalently the class of promise problems solved on both sides by one circuit family of pointwise size at most \(s\) (mem_PromiseSIZE_iff). \(\mathsf{PromiseEventuallySIZE}(s)\) asks for a family solving both sides whose size is at most \(s(n)\) for all sufficiently large \(n\). The library proves that an eventual polynomial bound already gives \(\mathsf{PromisePPoly}\) (PromiseEventuallySIZE_polynomial_subset_PromisePPoly).
An instance is an arity \(n\), a finite list of samples \((z_i, b_i) \in \{ 0,1\} ^n \times \{ 0,1\} \) (repetitions and contradictions allowed) and a threshold \(s\), with a canonical total codec. A canonical code is a yes-instance iff some fan-in-two \(\{ \wedge ,\vee \} \) circuit with at most \(s\) gates satisfies \(C(z_i) = b_i\) for every sample (for \(n = 0\): some constant is consistent with every sample, at every threshold). Malformed strings are no-instances.
For a machine \(N\), input \(x\), and clock \(T\), the acceptance probability is the rational number
and the probability of output \(y\) is defined the same way with the output condition in place of acceptance. Both are meaningful when every trace has halted by time \(T\).
For relations on \(n+2\) vertices, encode each truth-table row with a row marker, list its columns in decreasing order, and append a relation terminator. Encode these four letters by pairs of bits. The NFA has three groups of vertex counters (selecting a row, scanning columns, retaining a target) and a three-valued buffer for the first bit of each pair.
A configuration of a machine with state set \(Q\) and \(k\) work tapes consists of a state, an input tape, \(k\) work tapes, and an output tape, each a named field. The initial configuration on input \(x\) is in the start state, with \(x\) written from cell \(1\) of the input tape, every other tape empty, and every head at cell \(0\).
\(g\) is clock-constructible if there are an eight-work-tape machine \(M\) and a constant \(C\) such that, for every input \(x\) and every starting layout in which the input tape holds \(x\) with its head at cell \(1\), every work head is at a cell \(\ge 1\) not reading \(\triangleright \), work tapes \(5\) and \(6\) are blank with their heads at cell \(1\), and the output head is at cell \(1\) with \(\triangleright \) at cell \(0\) and nowhere else, \(M\) started in its start state halts within \(C (g(|x|) + |x| + 1)\) steps with: work tape \(6\) holding the unary clock of length \(g(|x|)\) (cells \(1, \dots , g(|x|)\) equal to \(1\), the rest blank, head at cell \(1\)); every other work tape exactly as it started (so the scratch tape \(5\) is again blank); the input head back at cell \(1\); and the output head at cell \(1\) with \(\triangleright \) still at cell \(0\) and nowhere else. The layout is pinned to the diagonalizer that consumes it.
On machines with the same \(k\) work tapes: \(\mathrm{seq}(M_1, M_2)\) runs \(M_1\) to completion and then \(M_2\) on the same tapes; \(\mathrm{if}(M_t, M_1, M_0)\) runs the test \(M_t\), rewinds the output head, and runs \(M_1\) if output cell \(1\) holds \(1\) and \(M_0\) otherwise; \(\mathrm{loop}(M_b, M_t)\) alternates the body and the test, rewinding the output head after each test, and halts once the test leaves \(1\) in output cell \(1\); \(\mathrm{complement}(M)\) runs \(M\), rewinds the output head, and exchanges \(0\) and \(1\) in output cell \(1\) (a blank stays blank). In \(\mathrm{seq}\) (from \(M_1\) to \(M_2\)), in \(\mathrm{loop}\) (from the body to the test), and in \(\mathrm{if}\) (from the branch to the final halt state), the handover is a single step in which every head reading \(\triangleright \) moves one cell right, the other heads stay, and no tape cell changes except that a \(\triangleright \) outside cell \(0\) would be overwritten by a blank. After the test in \(\mathrm{if}\) and \(\mathrm{loop}\) the handover takes several steps: one such step; then steps that move the output head left one cell at a time until it reads \(\triangleright \), and then one cell right; and a last step that reads the output cell under the head (cell \(1\) when \(\triangleright \) appears on the output tape only at cell \(0\)) and enters the chosen branch, the body, or the halt state. In each of these steps every input or work head reading \(\triangleright \) moves one cell right and the others stay, and cells change only as in the single-step handover. The machine \(\mathrm{union}(M_1, M_2)\), with \(M_i\) on \(k_i\) work tapes, has \(k_1 + 1 + k_2\) work tapes: it runs \(M_1\) with its output redirected to work tape \(k_1\), halts with \(1\) in output cell \(1\) if cell \(1\) of that work tape holds \(1\), and otherwise rewinds the input and runs \(M_2\) on the last \(k_2\) work tapes and the real output tape.
A finite automaton has states \(\{ 0,\ldots ,s-1\} \), an initial state, accepting states, and deterministic or nondeterministic transitions. Its input word is enclosed by distinct endmarkers that the head cannot cross. The head can move left, right, or stay. A finite run from the initial configuration accepts when it reaches an accepting state. Rejected inputs need not halt. The positive convention excludes zero-length runs; the other convention permits them. A one-way machine has no left moves.
- Complexity.FiniteAutomaton.Symbol
- Complexity.FiniteAutomaton.Move
- Complexity.FiniteAutomaton.DMachine
- Complexity.FiniteAutomaton.NMachine
- Complexity.FiniteAutomaton.FiniteRun
- Complexity.FiniteAutomaton.DMachine.Accepts
- Complexity.FiniteAutomaton.NMachine.Accepts
- Complexity.FiniteAutomaton.NMachine.NoLeft
- Complexity.FiniteAutomaton.DMachine.Recognizes
- Complexity.FiniteAutomaton.NMachine.Recognizes
For predicates \(\mathit{pre}, \mathit{post}\) on (input tape, work tapes, output tape) and a bound \(b \in \mathbb {N}\), the triple \(\{ \mathit{pre}\} \, M\, \{ \mathit{post}\} _b\) holds if \(M\), started in its start state on any tapes satisfying \(\mathit{pre}\), halts within \(b\) steps on tapes satisfying \(\mathit{post}\). The unbounded triple drops the step bound.
A letter is a binary relation on \(\{ 0,\ldots ,h-1\} \). A word \((R_1,\ldots ,R_k)\) is live if \(\exists x_0,\ldots ,x_k\ \bigwedge _{i=1}^k R_i(x_{i-1},x_i)\), equivalently if its relation product is nonempty. The standard NFA has these \(h\) points as states, all both initial and accepting, and uses the relation in each letter as its transition relation.
A program is a list of instructions over registers \(R_0, R_1, \dots \) holding natural numbers: immediate load, \(\mathrm{add}\), truncated \(\mathrm{sub}\), \(\mathrm{mul}\), indirect \(\mathrm{load}\) (\(R_d := R_{R_a}\)) and \(\mathrm{store}\) (\(R_{R_a} := R_s\)), conditional and unconditional jumps, and \(\mathrm{halt}\); a program counter past the end halts. On input \(x\), \(R_0 = |x|\), \(R_{i+1} = x_i\), and all other registers are \(0\). Each instruction costs \(1\) plus bit lengths of the values it touches: the constant of an immediate load; both operands and the result for \(\mathrm{add}\) and \(\mathrm{mul}\); both operands for \(\mathrm{sub}\) (whose result is no longer than its first operand); the runtime address and the value moved for indirect \(\mathrm{load}\) and \(\mathrm{store}\); the tested register for a conditional jump; nothing more for \(\mathrm{jmp}\) and \(\mathrm{halt}\). Register indices and jump targets written in the program are not charged. The logarithmic time of a run is the total cost of its non-halted steps, and its unit time is the number of those steps. The work space of a configuration on input \(x\) is the total bit length of the addresses and contents of the registers whose content differs from its initial value, so registers still holding the input are free, as the read-only input tape is for Turing machines; an overwritten input register is charged like any other. The space of a run is the peak work space over the configurations visited. The input-inclusive footprint, over all nonzero registers, is also recorded for compiled code.
A program decides \(L\) in time \(T\) if on every input \(x\) it halts after logarithmic cost at most \(T(|x|)\) with \(R_0 = 1\) if \(x \in L\) and \(R_0 = 0\) otherwise; deciding in space \(S\) bounds the peak work space instead. Then \(\mathsf{DTIME}_{\mathrm{RAM}}(T)\) and \(\mathsf{DSPACE}_{\mathrm{RAM}}(S)\) are the languages decided in time \(O(T)\) and space \(O(S)\), and \(\mathsf{P}_{\mathrm{RAM}} = \bigcup _k \mathsf{DTIME}_{\mathrm{RAM}}(n^k)\).
\(U\) simulates \(M\) under \(c\) in time \(\tau : \{ 0,1\} ^* \times \mathbb {N} \to \mathbb {N}\) if whenever \(M\) halts on \(p\) (resp. produces \(y\) on \(p\)) within \(t\) steps, \(U\) halts on \(c(p)\) (resp. produces \(y\) on \(c(p)\)) within \(\tau (p, t)\) steps. The compiler has additive overhead \(C\) if \(|c(p)| \le |p| + C\) for all \(p\). The clock \(\tau \) is polynomial if \(\tau (p, t) \le a (|p| + t + 1)^e\) for some constants \(a, e\).
The read alphabet is \(\Gamma = \{ 0, 1, \sqcup , \triangleright \} \) and the write alphabet is \(\Gamma _w = \{ 0, 1, \sqcup \} \), so no transition can write the start symbol \(\triangleright \). A head moves left, right, or stays. A tape is a head position \(h \in \mathbb {N}\) together with contents \(\mathbb {N} \to \Gamma \); the type allows any symbol in any cell. Initial tapes have \(\triangleright \) in cell \(0\) and nowhere else, writing at cell \(0\) is a no-op, and moving left at cell \(0\) stays there, so every tape reachable from an initial configuration keeps this marker invariant (statements about arbitrary tapes assume it explicitly). A tape has output \(y \in \{ 0,1\} ^*\) when cells \(1, \dots , |y|\) hold the bits of \(y\) and cell \(|y| + 1\) is blank.
\(T : \mathbb {N} \to \mathbb {N}\) is time-constructible if \(T(n) \ge n\) for all \(n\) and some deterministic machine computes \(x \mapsto \mathrm{bin}(T(|x|))\) (least significant bit first) in time \(O(T(n))\) (Arora–Barak Definition 1.12). The formalized hierarchy theorem does not use this notion.
The universal machine \(\mathcal{U}\) has six work tapes and is \(\mathrm{seq}(\mathrm{init}, \mathrm{seq}(\mathrm{loop}(\mathrm{body}, \mathrm{haltTest}), \mathrm{extract}))\). On input \(\langle \alpha , x \rangle \) it parses the description \(\alpha \) of a one-work-tape machine, simulates one step per loop iteration, tests for the halt state, and finally copies the simulated output tape to its own output tape.
An online witness machine has \(k\) ordinary work tapes and a separate read-only Boolean stream. A designated consuming state reads its next bit and advances that head; other states neither consult nor advance it. The witness begins at its first bit and has no observable end marker. Loading the external witness is part of initialization. A time bound \(T(|x|)\) must hold uniformly over all streams. Acceptance means halting with output \(1\); any other halted verdict rejects. Space is measured after forgetting the witness tape, using the ordinary decision-space convention for input, work, and output heads. Simultaneous bounds apply to this same machine and every prefix of every run.
- Complexity.WitnessTM
- Complexity.WitnessTM.run
- Complexity.WitnessTM.toNTM
- Complexity.NTM.toWitnessTM
- Complexity.WitnessTM.AllWitnessesHaltIn
- Complexity.WitnessTM.AcceptsInTime
- Complexity.WitnessTM.DecidesInTime
- Complexity.WitnessTM.DecidesInTimeSpace
- Complexity.WitnessTM.DecidesInSpace
- Complexity.NTM.DecidesInTimeSpace
These are classes of Boolean function families, one function \(\{ 0,1\} ^n \to \{ 0,1\} \) for each \(n\) (including \(n = 0\)), not of languages. The depth of a circuit family at length \(n \ge 1\) is the depth of \(C_n\), and at length \(0\) it is \(0\). For \(d : \mathbb {N} \to \mathbb {N}\), \(\mathsf{DEPTH}(d)\) consists of the families computed by a fan-in-two AND/OR circuit family of depth at most \(d(n)\) at every length \(n\), with no size bound; the same definition is available over any basis. A family is in \(\mathsf{NC}^i\) if a fan-in-two AND/OR circuit family of polynomial size and depth at most \(c\, (\lfloor \log _2 n \rfloor + 1)^i\) at every length \(n\), for some constant \(c \in \mathbb {N}\) (with \(\lfloor \log _2 0 \rfloor = 0\)), computes it. \(\mathsf{AC}^i\) is defined the same way with unbounded fan-in. \(\mathsf{NC}^0\), \(\mathsf{NC}^1\) and \(\mathsf{AC}^0\) are the special cases. These classes are nonuniform.
\(L\) is \(\mathsf{NP}\)-hard if \(L' \le _p L\) for every \(L' \in \mathsf{NP}\), and \(\mathsf{NP}\)-complete if moreover \(L \in \mathsf{NP}\).
\(\mathsf{NTIME}(T)\) is the set of languages \(L\) for which some nondeterministic machine (two transition functions selected by a choice bit) and some \(f = O(T)\) satisfy: every computation path on input \(x\) halts within \(f(|x|)\) steps, and \(x \in L\) if and only if some choice sequence of length \(f(|x|)\) ends in the halting state with \(1\) in output cell \(1\). Rejecting paths are not required to write \(0\).
A nondeterministic Turing machine has the same data as a deterministic one except that it has two transition functions \(\delta _0, \delta _1\), each subject to the same rule at \(\triangleright \). Its execution is defined only through the trace: given a choice sequence \(r \in \{ 0,1\} ^T\), run \(T\) steps, using \(\delta _{r_i}\) at step \(i\), and stay put once the halt state is reached. The same structure serves as a probabilistic machine, with \(r\) read as random bits. A deterministic machine embeds by taking \(\delta _0 = \delta _1 = \delta \).
A nondeterministic machine \(N\) accepts \(x\) in time \(T\) if some choice sequence of length \(T\) leads to the halt state with output cell \(1\) equal to \(1\). It decides \(L\) in time \(T\) if every trace on every input \(x\) has halted after \(T(|x|)\) steps, and \(x \in L\) exactly when \(N\) accepts \(x\) in time \(T(|x|)\) (Arora–Barak Definition 2.1). Rejection is the absence of an accepting path; it does not require output \(0\).
An advice function \(a : \mathbb {N} \to \{ 0,1\} ^*\) has polynomial length if \(|a(n)| \le p(n)\) for every \(n\) and a polynomial \(p \in \mathbb {N}[X]\). A deterministic machine \(M\) decides \(L\) with advice \(a\) in time \(T\) if on input \(\langle a(|x|), x \rangle \) (the library’s self-delimiting pairing) it halts within \(T(|x|)\) steps with \(1\) in the first output cell when \(x \in L\) and \(0\) otherwise. The time bound is measured in \(|x|\), not in the length of the paired input. \(\mathsf{PAdvice}\) is the class of languages decided, by a machine with any number of work tapes, with polynomial-length advice in time \(O(n^d)\) for some \(d\).
For a relation \(R \subseteq \{ 0,1\} ^* \times \{ 0,1\} ^*\), \(\mathrm{pairLang}(R) = \{ \langle x, y \rangle : R(x, y)\} \) using the library’s pairing codec. \(R\) is polynomially balanced if there is a polynomial \(p\) with \(R(x, y) \Rightarrow |y| \le p(|x|)\).
For arbitrary functions \(r, q : \mathbb {N} \to \mathbb {N}\), \(L \in \mathsf{PCP}(r, q)\) if some verifier query-bounded by \(q\), using exactly \(r(|x|)\) uniformly random coins, accepts some proof of each \(x \in L\) with probability \(1\), and accepts every proof of each \(x \notin L\) with probability at most \(1/2\).
For a polynomial \(p \in \mathbb {N}[X]\) and a language \(L'\), let \(\exists ^p L' = \{ x : \exists w\ (|w| \le p(|x|) \wedge \langle x, w \rangle \in L')\} \) and \(\forall ^p L' = \{ x : \forall w\ (|w| \le p(|x|) \Rightarrow \langle x, w \rangle \in L')\} \), where \(\langle \cdot , \cdot \rangle \) is the library’s pairing. For a class \(\mathcal{C}\), let \(\exists \mathcal{C}\) be the set of languages \(\exists ^p L'\) with \(p\) a polynomial and \(L' \in \mathcal{C}\), and similarly \(\forall \mathcal{C}\). Then \(\Sigma ^p_0 = \mathsf{P}\), \(\Pi ^p_k = \{ L : \overline{L} \in \Sigma ^p_k\} \), \(\Sigma ^p_{k+1} = \exists \Pi ^p_k\), and \(\mathsf{PH} = \bigcup _k \Sigma ^p_k\).
Bit strings are read least-significant bit first. Cobham’s algebra is the smallest class of functions \((\{ 0,1\} ^*)^n \to \{ 0,1\} ^*\), over all arities \(n\), that contains the projections, the empty-string constant, the bit successors \(x \mapsto b\, x\) (prepend \(b\)), and \(\mathrm{smash}(x, y) = 1^{|x| \cdot |y|}\), and is closed under composition and limited recursion on notation: if \(g, h_0, h_1, j\) are in the class and the function \(f\) defined by \(f(\varepsilon , v) = g(v)\) and \(f(b\, x, v) = h_b(x, f(x, v), v)\) satisfies \(|f(x, v)| \le |j(x, v)|\) for all \(x, v\), then \(f\) is in the class. The unary fragment is \(\mathsf{CobhamFP}\).
\(L\) is \(\mathsf{coNP}\)-hard if \(L' \le _p L\) for every \(L' \in \mathsf{coNP}\), and \(\mathsf{coNP}\)-complete if moreover \(L \in \mathsf{coNP}\).
Fix a codec for pairs \(\langle G, k \rangle \) of a finite simple graph (vertex count in unary and a row-major adjacency matrix) and a threshold \(k\) in unary, with malformed strings as no-instances. \(\mathrm{INDSET}\), \(\mathrm{CLIQUE}\), and \(\mathrm{VC}\) are the sets of \(\langle G, k \rangle \) such that \(G\) has an independent set of size at least \(k\), a clique of size at least \(k\), and a vertex cover of size at most \(k\), respectively.
A CNF formula is a list of clauses, a clause a list of literals, and a literal a sign with a variable index in \(\mathbb {N}\); an assignment is a bit string, with out-of-range variables read as false. Formulas are encoded as bit strings as follows: a literal is its sign bit followed by its variable index in unary, with every bit doubled; each literal is followed by the undoubled pair \(01\) and each clause by the undoubled pair \(10\). \(\mathrm{SAT}\) is the set of encodings of satisfiable formulas (so strings that encode no formula are excluded). The witness relation holds of \((z, \alpha )\) when \(z\) encodes some \(\varphi \), \(|\alpha | \le |z| + 1\), and \(\alpha \) satisfies \(\varphi \).
A function \(f\) from strings to natural numbers is polynomial-time if \(z \mapsto 1^{f(z)}\) is in \(\mathsf{FP}\), that is, if its value can be written in unary in polynomial time. A predicate \(p\) on strings is polynomial-time if there is a Boolean-valued \(g\) with \(z \mapsto [g(z)]\) in \(\mathsf{FP}\) and \(p(z) \iff g(z) = 1\) for all \(z\).
\(\mathsf{PPTIME}(T)\) is the set of languages \(L\) for which there are a machine \(N\) and \(f = O(T)\) such that every path halts within \(f(|x|)\) steps and \(x \in L \iff \mathrm{acceptProb}_N(x, f(|x|)) {\gt} 1/2\). \(\mathsf{PP} = \bigcup _k \mathsf{PPTIME}(n^k)\).
A deterministic machine \(M\) halts on a program \(p\) (within time \(t\)) if the run from the initial configuration on \(p\) reaches the halt state (within \(t\) steps). It produces \(y\) on \(p\) (within time \(t\)) if moreover the output tape of the halted configuration has output \(y\). The bounded evaluator \(\mathrm{run}(c, t)\) is the configuration after \(t\) steps, standing still once halted.
A promise problem \(\Pi = (\Pi _{\mathrm{yes}}, \Pi _{\mathrm{no}})\) is a pair of disjoint languages; inputs outside \(\Pi _{\mathrm{yes}} \cup \Pi _{\mathrm{no}}\) are unconstrained. For a language class \(\mathcal{C}\), \(\Pi \) lies in the lifted class \(\mathrm{Promise}\, \mathcal{C}\) when some completion \(L \in \mathcal{C}\) satisfies \(\Pi _{\mathrm{yes}} \subseteq L\) and \(L \cap \Pi _{\mathrm{no}} = \emptyset \). \(\mathsf{PromiseP}\) and \(\mathsf{PromiseNP}\) (and \(\mathsf{PromiseCoNP}\)) are the lifts of \(\mathsf{P}\) and \(\mathsf{NP}\) (and \(\mathsf{coNP}\)). An ordinary language \(L\) embeds as the total promise problem \((L, \overline{L})\).
For naturals \(a\) and \(e\): \(e\) approximates \(a\) within factor \(F\) if \(e \le Fa\) and \(a \le Fe\); and \(e\) approximates \(a\) with relative error \(1/q\) if \(q {\gt} 0\) and \((q - 1)a \le qe \le (q + 1)a\), that is, \((1 - 1/q)a \le e \le (1 + 1/q)a\).
A pairwise-independent family from \(n\)-bit to \(m\)-bit strings with \(s\)-bit seeds is a map \(h \colon \{ 0,1\} ^s \times \{ 0,1\} ^n \to \{ 0,1\} ^m\) such that, over a uniform seed, \(\Pr [h(x) = y] = 2^{-m}\) for all \(x, y\), and \(\Pr [h(x) = y \wedge h(x') = y'] = 2^{-2m}\) for all \(x \neq x'\) and all \(y, y'\). The affine family \(x \mapsto Ax + b\) over \(\mathrm{GF}(2)\), whose seed lists the \(m\) rows \((a_i, b_i)\) of \(n + 1\) bits each, so \(s = m(n+1)\), is one. For \(S \subseteq \{ 0,1\} ^n\), a target \(y \in \{ 0,1\} ^m\) and a seed \(\sigma \), the cell is \(C_\sigma = \{ x \in S : h_\sigma (x) = y\} \); \(\mu \) and \(\mathrm{Var}\) denote the average and the variance of \(|C_\sigma |\) over all \(2^s\) seeds.
- Complexity.PairwiseIndependentHash
- Complexity.PairwiseIndependentHash.affineSeedWidth
- Complexity.PairwiseIndependentHash.affineEval
- Complexity.PairwiseIndependentHash.affine
- Complexity.PairwiseIndependentHash.cell
- Complexity.PairwiseIndependentHash.cellSize
- Complexity.PairwiseIndependentHash.averageCellSize
- Complexity.PairwiseIndependentHash.cellSizeVariance
Let \(N\) be a machine, \(L\) a language, \(T \colon \mathbb {N} \to \mathbb {N}\) a clock, and \(c\) a rational. \(N\) accepts \(L\) with probability at least \(c\) at clock \(T\) if \(\mathrm{acceptProb}_N(x, T(|x|)) \ge c\) for every \(x \in L\), and \(N\) accepts non-members with probability at most \(c\) at clock \(T\) if \(\mathrm{acceptProb}_N(x, T(|x|)) \le c\) for every \(x \notin L\). \(N\) is probabilistic polynomial-time if there are \(f\) and \(d\) with \(f = O(n^d)\) such that every trace of \(N\) on every input \(x\) has halted after \(f(|x|)\) steps.
Evaluate exactly over rational matrices, rejecting singular inverse operands. On a list, the admissibility test searches for any defined value, and the nonzeroness test searches for a value with nonzero determinant. For a formula \(f\), use the generated list for size \(|f|+2\) for both tests.
A rational formula has rational constants, \(n\) variables, addition, ordered multiplication, and inverse. Its size counts all syntax nodes. Evaluation at a tuple of rational matrices is partial: every inverse node requires a two-sided inverse of its operand. A formula is admissible if it has a defined evaluation in some positive matrix dimension, and nonzero if some such evaluation has a nonzero value.
An output is a finite list of matrix tuples with one common positive dimension. It hits size \(s\) if every admissible nonzero formula of size at most \(s\) has an invertible evaluation at a tuple in the list. The output encoding includes its dimension, list length, and every reduced rational entry. The generation contract counts ordinary Mathlib \(\mathrm{TM0}\) transitions from the two unary parameters \(n,s\), separated by a nonblank symbol, to the complete binary output at and right of the halted head.
The input is \(\mathtt{true}^n\mathtt{false}\mathtt{true}^s\) with \(n,s\geq 1\). A five-state DFA validates this format. The total generator returns the complete binary encoding of the corresponding hitting list on valid inputs, and the empty string on all malformed strings.
\(\mathsf{RTIME}(T)\) is defined like \(\mathsf{BPTIME}(T)\) with acceptance probability at least \(1/2\) on \(x \in L\) and at most \(0\), that is equal to \(0\), on \(x \notin L\). \(\mathsf{RP} = \bigcup _k \mathsf{RTIME}(n^k)\) and \(\mathsf{coRP} = \{ L : \overline{L} \in \mathsf{RP}\} \).
\(\mathrm{acceptLeafCount}_N(x, T)\) is the number of accepting leaves of the computation tree of \(N\) on \(x\) truncated at depth \(T\): a halted configuration contributes \(1\) if its output cell \(1\) equals \(1\) and \(0\) otherwise, a configuration that has not halted at depth \(T\) contributes \(0\), and any other configuration contributes the sum over its two successors. So a path that halts at depth \(t {\lt} T\) is one leaf, unlike in \(\mathrm{acceptCount}\). \(\# \mathsf{P}\) is the set of \(f \colon \{ 0,1\} ^* \to \mathbb {N}\) for which some machine \(N\), some \(k\), and some \(T = O(n^k)\) satisfy: every path halts within \(T(|x|)\) steps and \(f(x) = \mathrm{acceptLeafCount}_N(x, T(|x|))\) for every \(x\).
A deterministic machine \(U\) simulates \(M\) under a compiler \(c : \{ 0,1\} ^* \to \{ 0,1\} ^*\) if for every program \(p\): \(U\) halts on \(c(p)\) if and only if \(M\) halts on \(p\), and for every \(y\), \(U\) produces \(y\) on \(c(p)\) if and only if \(M\) produces \(y\) on \(p\).
For \(s : \mathbb {N} \to \mathbb {N}\), \(\mathsf{SIZE}(s)\) is the class of languages decided by a fan-in-two AND/OR circuit family whose size at every length \(n\) is at most \(s(n)\). The same definition is available over any basis.
An alternating TM partitions its non-halting states into existential and universal states; acceptance is the least fixed point of the induced \(\vee \)/\(\wedge \) labelling of the configuration graph, or equivalently a bounded game between two players. \(\mathsf{AP}\) is the class of languages decided by an alternating machine all of whose paths halt in polynomial time.
Fix an input \(x\) of length \(n\) and a space bound \(s\), and consider configurations with state set \(Q\) and \(k\) work tapes. A configuration is windowed if its input tape holds the initial input contents, every work cell beyond position \(s\) is blank, and every output cell beyond position \(s + 1\) is blank; the initial configuration is windowed. The code of a configuration records its state, its input head clamped to at most \(n + s + 1\), each work head clamped to at most \(s\) together with work cells \(0, \dots , s\), and its output head clamped to at most \(s + 1\) together with output cells \(0, \dots , s + 1\). Two windowed configurations within decision space \(s\) with the same code are equal. There are exactly \(|Q|\, (n + s + 2)\, \bigl((s + 1)\, 4^{s + 1}\bigr)^k\, (s + 2)\, 4^{s + 2}\) codes, which is at most \(2^{|Q| + (n + s + 2) + 3k(s + 1) + 3(s + 2)}\). A DTM step, or an NTM step under either choice bit, from a windowed configuration within decision space \(s\) gives a windowed configuration. Hence, if every configuration reachable in the configuration graph from a windowed configuration is within decision space \(s\), then all of them are windowed. These declarations live in proof-internal modules and are shared by \(\mathsf{PSPACE} \subseteq \mathsf{EXP}\), \(\mathsf{NL} \subseteq \mathsf{P}\), Savitch’s theorem and the inductive-counting certificate. The sharper count for transducers under auxiliary space, in Theorem 236, is separate.
The configuration graph of an NTM has an edge from each non-halted configuration to each of its two successors, one per choice bit. \(\mathrm{ReachesCfg}\) is the reflexive-transitive closure of this relation, \(\mathrm{ReachesCfgIn}(t)\) and \(\mathrm{ReachesCfgLe}(t)\) are reachability in exactly and in at most \(t\) steps, and \(\mathrm{reachSet}(c_0, t)\) is the set of configurations reached from \(c_0\) within \(t\) rounds of successor closure, that is, the state of breadth-first search after \(t\) rounds.
\(S\) is space-constructible if some DTM maps \(1^n\) to the binary representation of \(S(n)\) in space \(O(S(n))\). This is distinct from the library’s time-constructibility and from the randomness-bound condition used in the PCP theorem.
A configuration on an input of length \(n\) is within auxiliary space \(s\) when every work head is at position at most \(s\) and the input head is at position at most \(n + s + 1\): the input and its first trailing blank are free, and travel farther into the blank tail is charged. The output head is not constrained. A configuration is within decision space \(s\) when in addition its output head is at position at most \(s + 1\); only the verdict cell \(1\) is free.
A DTM decides \(L\) in space \(S\) if every configuration reachable from its initial configuration on \(x\) is within decision space \(S(|x|)\) and, for every \(x\), some reachable configuration is halted with verdict \(1\) if \(x \in L\) and \(0\) if \(x \notin L\). An NTM decides \(L\) in space \(S\) if there is a time bound \(T\) such that every choice sequence halts within \(T(|x|)\) steps, \(x \in L\) exactly when some choice sequence of length \(T(|x|)\) ends halted with verdict \(1\), and every configuration along every path, up to time \(T(|x|)\), is within decision space \(S(|x|)\). A machine is a transducer if its transition function never moves the output head left (for an NTM, under either choice bit); the two deciding predicates do not require this. A DTM computes \(f\) in space \(S\) if it is a transducer, every reachable configuration is within auxiliary space \(S(|x|)\), and on every input \(x\) it halts with output \(f(x)\); the output length is not charged.
A DTM decides \(L\) in time \(T\) and space \(S\) if every reachable configuration on \(x\) is within decision space \(S(|x|)\) and on every input it halts within \(T(|x|)\) steps with the correct verdict. \(\mathsf{DTISP}(T, S)\) is the class of languages decided by a single DTM in time \(t\) and space \(s\) for some \(t = O(T)\) and \(s = O(S)\). Steve’s class is \(\mathsf{SC} = \bigcup _{k, j} \mathsf{DTISP}(n^k, (\log n)^j)\).
For a DTM \(M\), a precondition \(\mathit{pre}\) on (input tape, work tapes, output tape), an input length \(n\) and a space bound \(s\), the space contract holds if, whenever \(M\) starts in its start state on tapes satisfying \(\mathit{pre}\), every configuration it reaches is within auxiliary space \(s\) for input length \(n\). The time-and-space contract with bounds \(b\), \(n\) and \(s\) is the conjunction of the time-bounded triple \(\{ \mathit{pre}\} \, M\, \{ \mathit{post}\} _b\) with this space contract.
A program has a fixed finite set of registers, each holding a natural number of at most \(c \log n\) bits for a program constant \(c\). Instructions are read-only access to the input bit at a register-held index, the input length, successor, comparison and addition on registers, conditionals, bounded loops whose bounds are register values, sequencing, and appending a bit to a write-only output stream.
A QBF is built from variables \(x_i\) (\(i \in \mathbb {N}\)), the constants \(\top \) and \(\bot \), negation, conjunction, disjunction, and the quantifiers \(\exists x_i\) and \(\forall x_i\). It is evaluated under an assignment \(\alpha : \mathbb {N} \to \{ 0,1\} \); a quantifier over \(x_i\) evaluates its body under both updates of \(\alpha \) at \(i\) and takes the disjunction (\(\exists \)) or conjunction (\(\forall \)) of the two values. A formula is closed when it has no free variables, and true when it evaluates to \(1\) under the all-false assignment. The quantifier depth is the largest number of quantifiers on a root-to-leaf path; it bounds, but does not count, alternations, and a formula is quantifier-free when its depth is \(0\).
A bit-string codec for QBF with polynomial-time decoding and a polynomial size bound, and the language \(\mathsf{TQBF}\) of codes of closed true formulas.
A deterministic Turing machine with \(k\) work tapes consists of a finite state type \(Q\) with decidable equality, a start state and a halt state, and a transition function
that must move right every head reading \(\triangleright \). One step applies \(\delta \) to the current state and the symbols under the input head, the \(k\) work heads, and the output head, writes on the work and output tapes, and moves all heads; the halt state has no successor. The relation \(c \to ^t c'\) holds when \(c'\) is reached from \(c\) in exactly \(t\) steps, and \(c \to ^* c'\) is its reflexive–transitive closure.
A deterministic machine \(M\) computes \(f : \{ 0,1\} ^* \to \{ 0,1\} ^*\) in time \(T\) if on every input \(x\) it halts within \(T(|x|)\) steps and its output tape has output \(f(x)\). It computes \(f\) if it does so for some \(T\).
A deterministic machine \(M\) decides \(L\) in time \(T : \mathbb {N} \to \mathbb {N}\) if on every input \(x\) it reaches the halt state within \(T(|x|)\) steps, with output cell \(1\) equal to \(1\) if \(x \in L\) and equal to \(0\) if \(x \notin L\) (Arora–Barak Definition 1.2).
A fan-in-two circuit family is logspace-uniform if some function in \(\mathsf{FL}\) maps \(1^n\) to the family code at length \(n\), for every \(n\), as in Arora–Barak, Section 6.2. The generator reads \(n\) in unary, and its output at \(n = 0\) carries the stored empty-input answer. The class \(\mathsf{UniformPPoly}\) consists of the languages decided by a logspace-uniform circuit family of polynomial size. P-uniformity is not used.
A deterministic machine \(U\) is universal if for every \(k\) and every machine \(M\) with \(k\) work tapes there is a computable compiler \(c\) such that \(U\) simulates \(M\) under \(c\). It is efficiently universal for an admissibility predicate on clocks if for every such \(M\) there are a computable compiler \(c\), a constant \(C\), and a clock \(\tau \) such that \(U\) simulates \(M\) under \(c\), \(c\) has additive overhead \(C\), \(U\) simulates \(M\) under \(c\) in time \(\tau \), and \(\tau \) is admissible; it is efficiently universal when the predicate is polynomiality. Computability of \(c\) is essential: without it a machine that copies its input after a leading \(0\) and diverges after a leading \(1\) would be universal, with a compiler that consults the source machine’s halting behavior and output.
For all real \(a, b\), \(\frac{1}{2}\bigl((a + b/\sqrt{3})^4 + (a - b/\sqrt{3})^4\bigr) \le (a^2 + b^2)^2\). Read on one bit, this says \(\lVert T_{1/\sqrt{3}} f \rVert _4^4 \le \lVert f \rVert _2^4\) for \(f(x) = a + bx\). The Lean statement is only the real inequality; the library has no \(L^4\) norm or one-bit noise operator.
Let \(k\ge 1\), \(0\le r\le (512k)^{-1}\), and let \(X\) be a distribution on \(\{ 0,1\} ^n\) of min-entropy deficit at most \(k\). With probability at least \(63/64\) over \(R\subseteq _r[n]\), at most \(2^{|R|-k}\) patterns \(z\) have \(\Pr [X_R=z]\le 2^{-|R|-2k-2}\). In Lean the distribution is a nonnegative real mass function summing to one, with pointwise bound \(\mu (x)\le 2^{k-n}\). This is the min-entropy deficit condition; \(k\) is real. The statement includes zero masses, dimension zero, and \(r=0\). The coordinate type may be any finite type, including a subtype selected by a preceding sample.
Let \(X,Y\subseteq \{ 0,1\} ^I\), with \(X\) nonempty, \(D_\infty (X)\le k\), \(k\ge 1\), \(p{\gt}0\), and \(q=32768kp\le 1/2\). If every point of \(X\) is a \((p,k)\)-limit of \(Y\), there is a nonempty \(Y'\subseteq Y\) with \(D_\infty (Y')\le 2k+2\) such that every point of \(Y'\) is a \((q,194k)\)-limit of \(X\).
Suppose \(X\) is nonempty, \(D_\infty (X)\le k\), \(k\ge 1\), \(p{\gt}0\), and \(q=32768kp\le 1/2\). With probability at least \(31/32\) over independent \(P\subseteq _p I\), \(Q\subseteq _q I\), and uniform \(x\in X\),
Every function on \(\{ x:|x|\le m\} \) has an interpolant in \(V_m\). Every function on an odd block is \(q+hr\) for some \(q,r\in V_m\).
For \(0 {\lt} m\) and \(|x| = n {\lt} m\), \(D^u_m\) gives \(\mathrm{pair}(x, 1^{m-n})\) mass \(1/(m \cdot 2^n)\). For every machine \(U\) and threshold \(r\),
For every machine \(U\) and every function \(p \colon \mathbb {N} \to \mathbb {N}\), take the ordinary parameters of the iterated plan, whose transformed clock is \(\tau (n, t) = p(t)\) regardless of output length. No estimator satisfies Fact 3.4’s sandwich for \(U\) and \(\tau \) on every instance: at source time \(0\), no machine prints a string of length \(p(0) + 1\) within \(p(0)\) steps. The estimator hypotheses below are therefore restricted to the plan’s own queries.
Fix an oracle machine \(N\) and an oracle \(A\). (a) If \(t \le t'\) then \(C^{t',A}_N(x) \le C^{t,A}_N(x)\). (b) For an ordinary machine \(M\) viewed as an oracle machine that never queries, \(C^{t,A}_M(x) = C^t_M(x)\) for every oracle \(A\). (c) Suppose \(N\) simulates an oracle machine \(N'\) in time \(\tau \) under a compiler \(c\) (bounded productions transfer for every oracle; bounded halting is not required), with \(|c(p)| \le |p| + C\) and \(\tau (p, t) \le a (|p| + t + 1)^e\) for all \(p, t\). Then there are \(a', e'\), chosen once for all oracles, such that for every oracle \(A\), string \(x\), clock \(t\) and bound \(b\), \(C^{t,A}_{N'}(x) \le b\) implies \(C^{a'(b + t + 1)^{e'},A}_N(x) \le b + C\).
If an event has probability \(p\) under the uniform distribution on a nonempty finite sample space, the probability that at least one of \(k\) independent uniform draws hits it is exactly \(1 - (1-p)^k\), and it is at least \(kp/(1+kp)\); in particular it is at least \(1/2\) whenever \(kp' \ge 1\) for some lower bound \(p' \le p\).
For every \(m\), \(\ell \) and \(\rho {\gt} 1\) there is a polynomial-time computable NW design with \(\sum _{j{\lt}i} 2^{|S_i \cap S_j|} \le \rho (m-1)\) for every \(i\) and seed length \(d = \lceil \ell /\ln \rho \rceil \cdot \ell \) (Raz–Reingold–Vadhan weak designs); its overlap budget is at most \(\rho (m-1) + m\).
Fix a machine \(U\) and a function \(p \colon \mathbb {N} \to \mathbb {N}\), and let the plan of Theorem 1163 query \((\mathrm{pair}(x,y), 1^{p(t')})\) and \((y, 1^{p^3(t')})\), where \(t' = \max (t, |x|+|y|)\). If an estimator satisfies Fact 3.4’s sandwich for \(U\) at the ordinary clock \((n, t) \mapsto p(t)\) on the plan’s queries, then \(2n + 2 \le p(p(n))\) for every \(n\). If every query of the plan has finite complexity on \(U\) at its own clock, then \(2n + 2 \le p(n)\) for every \(n\). The identity is monotone, satisfies \(p(t) \ge t\) and is polynomially bounded, yet at \(p = \mathrm{id}\) no estimator satisfies the sandwich on the plan’s queries.
- Complexity.GapMINCKT.DifferenceEstimator.Unconditional.Iterated.isAdmissibleClock_id
- Complexity.GapMINCKT.DifferenceEstimator.Unconditional.Iterated.Slack.two_mul_add_two_le_clock_clock_of_satisfiesBoundsOn
- Complexity.GapMINCKT.DifferenceEstimator.Unconditional.Iterated.Slack.two_mul_add_two_le_clock_of_forall_ne_top
- Complexity.GapMINCKT.DifferenceEstimator.Unconditional.Iterated.Slack.not_satisfiesBoundsOn_plan_id
(a) A \(\delta \)-dense random test has advantage at least \(\delta \) against every low-complexity generator. (b) If \(m {\gt} 0\) and the advantage is at least \(\delta \), then for \(T\) or its complement there is \(i {\lt} m\) such that the Yao hybrid whose first \(i+1\) coordinates come from \(G\) (the rest uniform) is accepted with probability at least \(\delta /m\) more than the hybrid whose first \(i\) coordinates do. (c) Over any nonempty finite background space, the predictor that outputs a uniform candidate bit when the test accepts and its complement otherwise succeeds with probability exactly \(1/2\) plus the acceptance gain from substituting the true bit for the candidate.
For all sets \(P, Q\) of Boolean functions on \(n\) bits: \(|P| \le 2^{2^n}\), \(0 \le \mathrm{density}(P) \le 1\), \(\mathrm{density}(P^c) = 1 - \mathrm{density}(P)\) with \(P^c\) the complement among all Boolean functions on \(n\) bits, and \(\mathrm{density}(P \cup Q) \le \mathrm{density}(P) + \mathrm{density}(Q)\).
Sums of negligible functions and products of a negligible function with a polynomial are negligible; a function bounded in absolute value by a negligible function is negligible.
For every oracle, halting and producing \(y\) within \(t\) steps imply the same within any \(t' \ge t\) steps, and imply eventual halting and eventual production of \(y\), respectively.
Fix an oracle. A step is undefined exactly at the halt state; each configuration has at most one successor and each exact-time run has a unique final configuration. In a non-halted query state, a true answer is one step to the yes-successor and a false answer is one step to the no-successor, with all tapes unchanged. The query word of a tape whose head is at cell \(h\) has exactly \(h - 1\) bits (none when \(h = 0\)). A map from oracle configurations to configurations of an ordinary machine that sends every oracle step to an ordinary step sends every exact-time oracle run to an ordinary run with the same number of steps.
- Complexity.OracleTM.step_eq_none_iff_halted
- Complexity.OracleTM.stepRel_functional
- Complexity.OracleTM.reachesIn_functional
- Complexity.OracleTM.step_query_true
- Complexity.OracleTM.step_query_false
- Complexity.OracleTM.reachesIn_one_query_true
- Complexity.OracleTM.reachesIn_one_query_false
- Complexity.Tape.length_oracleQuery
- Complexity.OracleTM.reachesIn_map
Every oracle machine simulates itself under the identity compiler, in time \((p, t) \mapsto t\). If \(U_1\) simulates \(U_2\) under \(c_1\) and \(U_2\) simulates \(M\) under \(c_2\), then \(U_1\) simulates \(M\) under \(c_1 \circ c_2\), and likewise for timed simulations with clock \((p, t) \mapsto \tau _1(c_2(p), \tau _2(p, t))\). Efficient oracle universality for any clock policy, in particular the polynomial one, implies oracle universality, and enlarging the policy preserves efficient universality.
- Complexity.OracleTM.Simulates.refl
- Complexity.OracleTM.Simulates.comp
- Complexity.OracleTM.SimulatesInTime.refl
- Complexity.OracleTM.SimulatesInTime.comp
- Complexity.OracleTM.IsEfficientlyUniversalFor.isUniversal
- Complexity.OracleTM.IsEfficientlyUniversal.isUniversal
- Complexity.OracleTM.IsEfficientlyUniversalFor.mono
If \(A\) is PSPACE-complete under polynomial-time many-one reductions then \(\mathsf{P}^A = \mathsf{NP}^A = \mathsf{PSPACE}\).
Let \(P\) be a set of Boolean functions on \(n\) bits with density at least \(\delta \), and let a family \(\{ f_k\} \) have no member in \(P\). Then the test “the truth table lies in \(P\)” accepts a uniformly random function with probability at least \(\delta \) and accepts \(f_k\) with probability \(0\), so its distinguishing advantage is at least \(\delta \). No circuit assumption is used.
For every \(B\), the language \(U_B = \{ 1^n : B \text{ contains a string of length } n\} \) is in \(\mathsf{NP}^B\).
There are injective codes for formulas (a unary token count followed by the postfix token stream) and for width-\(5\) programs (a unary instruction count followed by the instructions, each a unary variable index and two seven-bit permutation ranks), and a total function \(g\) on bit strings, sending every string that does not decode to a formula to the empty string, such that for every formula \(\varphi \) of depth \(d\), \(g(\mathrm{code}(\varphi ))\) is the code of, and decodes to, the program compiled from \(\varphi \) at \(\sigma _0\) in Theorem 321, and \(|g(\mathrm{code}(\varphi ))| \le 4^d + 1 + 4^d (|\mathrm{code}(\varphi )| + 15)\).
- Complexity.FormulaCode.encode
- Complexity.FormulaCode.encode_injective
- Complexity.BPCode.Program.encode
- Complexity.BPCode.Program.encode_injective
- Complexity.barringtonCompileCode
- Complexity.barringtonCompileCode_encode
- Complexity.barringtonCompileCode_spec
- Complexity.length_barringtonCompileCode_encode_le
A deterministic transducer computes \(g(\mathrm{code}(\varphi ))\) from \(\mathrm{code}(\varphi )\) using \(O(\mathrm{depth}(\varphi ) + \log |\mathrm{code}(\varphi )|)\) work-tape cells.
For a width-\(w\) program \(P\) of length \(\ell \) and a point \(x\), there is a formula that, under every assignment, is true exactly when the value of \(P\) moves \(x\), and that has depth at most \((w + 1) \lceil \log _2 \ell \rceil + 2\), where \(\lceil \log _2 \ell \rceil \) is read as \(0\) for \(\ell \le 1\). If every instruction of \(P\) reads a variable below \(n\), then every variable of the formula is below \(n\).
For a fan-in-two single-output circuit \(C\) with \(N \ge 1\) inputs and size \(s\), \(\mathrm{evalCode}(N, \mathrm{code}(C), x) = C(x)\) for every \(x \in \{ 0,1\} ^N\), and \(|\mathrm{code}(C)| \le 1 + s\, (2(N + s) + 6)\).
The wiring digraph of a circuit has its \(N + G + M\) input, internal and output vertices, numbered in that order, and an edge from each wire to every gate that reads it. Every edge goes from a smaller index to a larger one, so the digraph is acyclic, and its number of edges is at most the total fan-in of the circuit (the number of gate-input occurrences, output gates included). The bound can be strict, since a gate that reads one wire twice contributes one edge.
Write \(\mathrm{size}\) for the fan-in-two AND/OR size complexity. Let \(m \ge 1\), let \(f : \{ 0,1\} ^{k + m} \to \{ 0,1\} \), and let \(g : \{ 0,1\} ^m \to \{ 0,1\} \) output \(1\) on \(y\) exactly when \(f(x\, y) = 1\) for some \(x \in \{ 0,1\} ^k\). Then \(\mathrm{size}(g) \le 2^k (\mathrm{size}(f) + 1)\).
Some two \(5\)-cycles in \(S_5\) have a \(5\)-cycle as their commutator, and every \(5\)-cycle in \(S_5\) is the commutator \([a, b] = a b a^{-1} b^{-1}\) of two \(5\)-cycles \(a\) and \(b\).
Let \(C\) be a fan-in-two circuit on \(k + m\) inputs with \(m \ge 1\), \(M \ge 1\) outputs and \(G\) internal gates, and let \(s \in \{ 0,1\} ^k\). There is a fan-in-two circuit \(C_s\) on \(m\) inputs, again with \(M\) outputs and \(G\) internal gates and hence of the same size as \(C\), such that \(C_s(y) = C(s\, y)\) for every \(y \in \{ 0,1\} ^m\), where \(s\, y\) is the concatenation.
Unfolding one output of a fan-in-two circuit \(C\) with \(N \ge 1\) inputs gives a formula whose variables are all below \(N\), which under every assignment \(\alpha \) computes that output of \(C\) on \((\alpha (0), \dots , \alpha (N - 1))\), and whose depth is at most twice the depth of that output gate. No size bound is claimed, since shared subcircuits are duplicated.
Let \(M\) be a deterministic machine and \(h : \mathbb {N} \to \mathbb {N}\). The direct unrolling of \(M\) at horizon \(h\) has at length \(n \ge 1\) the acceptance circuit of Theorem 294 at horizon \(h(n)\) on \(n\) inputs, the data on the inputs in order and every choice position on input \(0\). The padded direct unrolling \(P_{M,h}\) appends to this gate list constant-\(0\) gates up to \(\kappa _M (h(n) + 2)^3\) gates and then a gate copying the original output, so its gate count is a closed-form cubic in \(h(n)\); at length \(0\) it stores the output bit of the \(h(0)\)-step run on the empty input. Let \(D_{M,h}(n)\) be the family code of \(P_{M,h}\) at length \(n\). If \(M\) decides \(L\) in time \(h\), then \(P_{M,h}\) decides \(L\), and if \(h = O(n^d)\), then \(P_{M,h}\) has size \(O(n^{3d})\). For every polynomial \(q \in \mathbb {N}[X]\) and \(h(n) = q(n) + n + 1\), the map \(x \mapsto D_{M,h}(|x|)\) is in \(\mathsf{FL}\).
- Complexity.TM.directUnrollingCircuitFamily
- Complexity.TM.directUnrollingGateBound
- Complexity.TM.paddedDirectUnrollingRawCircuit
- Complexity.TM.paddedDirectUnrollingCircuitFamily
- Complexity.TM.paddedDirectUnrollingCode
- Complexity.TM.paddedDirectUnrollingCircuitFamily_encodeAt
- Complexity.TM.DecidesInTime.paddedDirectUnrollingCircuitFamily_decides
- Complexity.TM.paddedDirectUnrollingCircuitFamily_size_bigO
- Complexity.TM.directSerializerHorizonPolynomial
- Complexity.TM.paddedDirectUnrollingCode_mem_FL
Let \(G\) be a finite abelian group of order \(k\), let \(w:G\to G\) be a block weight vector, and fix a target \(t\in G\). A shift \(s:G\to G\) accepts when \(\sum _i s_i=\sum _{a\in G}a-t\) and the values \(w_i+s_i\) are distinct. Acceptance implies \(\sum _i w_i=t\). If \(\sum _i w_i=t\), exactly \(k!\) of the \(k^k\) shifts accept. For finitely many groups \(G_j\) and at most \(2^n\) valid inputs, a family of \(3^{\sum _j |G_j|}(n+1)\) simultaneous tests covers every valid input.
Let \(M\) be a probabilistic machine and \(f : \mathbb {N} \to \mathbb {N}\) such that, for every \(x\), the fraction of choice strings \(c \in \{ 0,1\} ^{f(|x|)}\) on which the \(f(|x|)\)-step trace of \(M\) on \(x\) under \(c\) is halted with output \(1\) is at least \(2/3\) if \(x \in L\) and at most \(1/3\) if \(x \notin L\); no halting assumption is made. For every \(n\) there is a single string of \(r(n) f(n)\) random bits, where \(r(n) = 12(n + 1) + 1\), on which the strict majority vote of these \(f(n)\)-step runs of \(M\), one on each of the \(r(n)\) consecutive blocks of \(f(n)\) bits, is correct for every \(x \in \{ 0,1\} ^n\).
The acceptance probability of \(N\) on \(x\) with clock \(T\) is the event probability of the set of accepting choice sequences in \(\{ 0,1\} ^T\), and the probability of output \(y\) is the event probability of the set of choice sequences along which \(N\) halts with output \(y\). Clocks can be extended: if every trace of length \(T\) from a configuration \(c\) ends halted and \(T \le T'\), then every decidable event on the final configuration has the same probability over traces of length \(T'\) from \(c\) as over traces of length \(T\). In particular, if every trace of \(N\) on \(x\) halts within \(T\) steps and \(T \le T'\), the acceptance probability and every output probability of \(N\) on \(x\) agree at clocks \(T\) and \(T'\); and if, on every input \(x\), every trace of \(N\) halts within \(T(|x|)\) steps and \(T \le T'\) pointwise, then for every \(x\) they agree at clocks \(T'(|x|)\) and \(T(|x|)\).
- Complexity.NTM.acceptProb_eq_eventProb
- Complexity.NTM.outputProb_eq_eventProb
- Complexity.NTM.traceEventProb_eq_of_le_of_allChoicesHalt
- Complexity.NTM.acceptProb_eq_of_le_of_allChoicesHalt
- Complexity.NTM.outputProb_eq_of_le_of_allChoicesHalt
- Complexity.NTM.acceptProb_eq_of_le_of_allPathsHaltIn
- Complexity.NTM.outputProb_eq_of_le_of_allPathsHaltIn
\(\mathrm{decode}(\mathrm{bin}(v)) = v\), and more precisely \(\mathrm{decode}(w) = v\) if and only if \(w = \mathrm{bin}(v)\); \(|\mathrm{bin}(v)|\) is the bit length of \(v\) (Mathlib’s Nat.size); and \(\mathrm{bin}\) is injective.
\(|\mathrm{toList}(x)| = n\) and the \(i\)-th entry of \(\mathrm{toList}(x)\) is \(x_i\); \(\mathrm{toList}(\mathrm{ofList}(\ell )) = \ell \) and \(\mathrm{ofList}(\mathrm{toList}(x)) = x\); \(\mathrm{toList}\) is injective; and \(\mathrm{toList}\) sends concatenation of bit strings to list append.
The number of \(w \in \{ 0,1\} ^{a+b}\) whose prefix satisfies \(P\) and whose suffix satisfies \(Q\) is \(|P| \cdot |Q|\). Exactly \(\binom {k}{r}\) vectors in \(\{ 0,1\} ^k\) have \(r\) ones. More generally, for a finite set \(\alpha \) and \(E \subseteq \alpha \), exactly \(\binom {k}{j} |E|^j (|\alpha | - |E|)^{k-j}\) tuples in \(\alpha ^k\) have exactly \(j\) entries in \(E\); for a finite set \(J\) of counts, the vectors (respectively tuples) whose number of ones (respectively entries in \(E\)) lies in \(J\) number the corresponding sum over \(j \in J\). In particular the number of \(w \in \{ 0,1\} ^{kT}\) with \(\# _E(w) = j\) is \(\binom {k}{j} |E|^j (2^T - |E|)^{k-j}\).
\(|\{ 0,1\} ^T| = 2^T\), and \(|\{ 0,1\} ^{a+b}| = 2^a \cdot 2^b\).
Let \(\pi : \{ 0,1\} ^m \to \{ 0,1\} ^c\) be a map each of whose fibers has exactly \(2^g\) elements, and let \(A \subseteq \{ 0,1\} ^m\) and \(G \subseteq \{ 0,1\} ^c\) satisfy \(w \in A \iff \pi (w) \in G\). Then \(|A| = |G| \cdot 2^g\), and if \(m = c + g\) then \(\Pr [A] = \Pr [G]\).
\(\mathrm{fromBits}(\mathrm{toBits}(d)) = d\) for every rose tree \(d\); the serialization of \(d\) has length \(\mathrm{size}(d)\); the serialization is injective; and the derived bit-string encoding of any encodable type is injective.
\(|\mathrm{delimit}(x)| = 2|x| + 2\). For all \(x, y\), \(\mathrm{unpair?}(\mathrm{delimit}(x)\, y) = (x, y)\), and conversely if \(\mathrm{unpair?}(z) = (x, y)\) then \(z = \mathrm{delimit}(x)\, y\). For every list of strings \(b_1, \dots , b_m\), \(\mathrm{undelimitBlocks}(\mathrm{delimit}(b_1) \cdots \mathrm{delimit}(b_m)) = [b_1, \dots , b_m]\). Finally \(\mathrm{undelimitBlock}(\mathrm{delimit}(x)\, y) = x\), \(\mathrm{takeFirstBlock}(\mathrm{delimit}(x)\, y) = \mathrm{delimit}(x)\), and \(\mathrm{hasBlock}(z)\) holds exactly when \(\mathrm{unpair?}(z)\) succeeds.
\(|E| \le 2^T\) and \(0 \le \Pr [E] \le 1\); \(E \subseteq F\) implies \(\Pr [E] \le \Pr [F]\); \(\Pr [E^c] = 1 - \Pr [E]\), and for every \(f : \{ 0,1\} ^T \to \{ 0,1\} \), \(\Pr [f = 1] = 1 - \Pr [f = 0]\); \(\Pr [\emptyset ] = 0\) and \(\Pr [\{ 0,1\} ^T] = 1\); and \(\Pr [\sigma (E)] = \Pr [E]\) for every bijection \(\sigma \) of \(\{ 0,1\} ^T\).
For every \(n \ge 1\) there is a codec for \(\{ 0, \dots , n-1\} \) all of whose codewords have length \(\lceil \log _2 n \rceil \), whose decoder rejects values \(\ge n\). (An internal fixed-width layout, Complexity.finCodec, already has width \(\lceil \log _2 n \rceil \) and a round trip, but its decoder is total, reducing modulo \(n\), so it is neither partial nor canonical.)
If \(\sum _{i \in I} \Pr [B_i] {\lt} 1\) for bad events \(B_i \subseteq \{ 0,1\} ^S\) indexed by a finite set \(I\), some seed lies in no \(B_i\). In particular, if \(\Pr [B_x] \le 2^{-(n+1)}\) for every \(x \in \{ 0,1\} ^n\), one seed avoids every \(B_x\).
\(|\{ f : \mathrm{maj}(f) = 1\} | = \sum _{r = \lfloor k/2 \rfloor + 1}^{k} \binom {k}{r}\) and \(|\{ f : \mathrm{maj}(f) = 0\} | = \sum _{r=0}^{\lfloor k/2 \rfloor } \binom {k}{r}\). For \(2r + 1\) blocks, \(|\{ w : \mathrm{maj}_E(w) = 0\} | = \sum _{j=0}^{r} \binom {2r+1}{j} |E|^j (2^T - |E|)^{2r+1-j}\). Moreover \(\# _E(w) + \# _{E^c}(w) = k\), and when \(k\) is odd, \(\mathrm{maj}_{E^c}(w) = 1 - \mathrm{maj}_E(w)\) and negating every bit of \(f\) flips \(\mathrm{maj}(f)\).
If \(\langle x_1, y_1 \rangle = \langle x_2, y_2 \rangle \) then \(x_1 = x_2\) and \(y_1 = y_2\). Moreover \(\mathrm{unpair?}(z) = (x, y)\) if and only if \(z = \langle x, y \rangle \).
\(|\langle x, y \rangle | = 2|x| + 2 + |y|\). Indexing from \(0\), with \(x = x_0 \cdots x_{|x|-1}\) and \(y = y_0 \cdots y_{|y|-1}\): bits \(2i\) and \(2i + 1\) of \(\langle x, y \rangle \) are \(x_i\) for \(i {\lt} |x|\), bits \(2|x|\) and \(2|x| + 1\) are \(0\) and \(1\), and bit \(2|x| + 2 + j\) is \(y_j\) for \(j {\lt} |y|\).
\(\pi _1 \langle x, y \rangle = x\), \(\pi _2 \langle x, y \rangle = y\), and \(|\pi _2(z)| \le |z|\) for every \(z\).
Let \(\ell = 2 + k(2T + 2)\). Entry \(iT + t\) of the compact seed of \(r \in \{ 0,1\} ^\ell \) (\(i {\lt} k\), \(t {\lt} T\)) is \(r_{2 + i(2T+2) + t}\). Every \(s \in \{ 0,1\} ^{kT}\) is the compact seed of exactly \(2^{2 + k(T+2)}\) sequences in \(\{ 0,1\} ^\ell \), so for every predicate \(P\) on \(\{ 0,1\} ^{kT}\) the number of \(r \in \{ 0,1\} ^\ell \) whose compact seed satisfies \(P\) is \(|P| \cdot 2^{2 + k(T+2)}\), and its probability is \(\Pr [P]\). Consequently, if a machine \(M\) on input \(x\) halts with output cell \(1\) equal to \(1\) along \(r \in \{ 0,1\} ^\ell \) exactly when the compact seed of \(r\) satisfies \(P\), then the acceptance probability of \(M\) on \(x\) with clock \(\ell \) is \(\Pr _{s \in \{ 0,1\} ^{kT}}[P(s)]\).
\(\Pr [E \cup F] \le \Pr [E] + \Pr [F]\), and \(\Pr [\bigcup _{i \in s} E_i] \le \sum _{i \in s} \Pr [E_i]\) for every finite family, with equality when the family is pairwise disjoint. If a map \(f\) sends every point of \(E\) into a finite set \(s\), then \(\Pr [E] = \sum _{i \in s} \Pr [E \cap f^{-1}(i)]\).
The number of points satisfying some \(p_i\), \(i \in s\), is at most \(\sum _{i \in s} |p_i|\). Consequently, if bad sets \(B_i \subseteq S\), indexed by a finite set \(I\), satisfy \(\sum _{i \in I} |B_i| {\lt} |S|\), some \(s \in S\) lies in no \(B_i\).
Choose rows \(f(i, b)\) and columns \(g(i, b)\) of a matrix \(A\) over a field, for \(i \in \iota \) within each block \(b \in \beta \), and a linear order on the blocks. If every entry from the rows of a block to the columns of an earlier block vanishes, and every square block \((A_{f(i, b), g(i', b)})_{i, i'}\) is nonsingular, then \(\operatorname {rank} A \ge |\iota | \cdot |\beta |\).
\(\underline{\mathbf{R}}(T) \le \mathbf{R}(T)\); border rank is subadditive; and neither rank nor border rank increases under \(X \otimes Y \otimes Z\) or under deleting or permuting slices in any factor.
- Algebraic.Tensor3.RankLE.borderRankLE
- Algebraic.Tensor3.BorderRankLE.mono
- Algebraic.Tensor3.BorderRankLE.add
- Algebraic.Tensor3.isClosed_setOf_borderRankLE
- Algebraic.Tensor3.BorderRankLE.map
- Algebraic.Tensor3.BorderRankLE.subtensor
- Algebraic.Tensor3.borderRank_le_tensorRank
- Algebraic.Tensor3.borderRank_map_le
If \(\underline{\mathbf{R}}(T) \le r + 1\) and \(A \ne 0\), then \(\underline{\mathbf{R}}((\Pi _u \otimes 1 \otimes 1) T) \le r\) for some \(u \ne 0\); no conciseness is assumed. Moreover, a bound on \(\underline{\mathbf{R}}((P \otimes Y \otimes Z) T)\) depends on \(P\) only through its kernel: it passes to every \(P'\) with \(\ker P \subseteq \ker P'\).
If \(o_0 \le \dots \le o_{2p}\) and \(o_{2p} - o_0 \le L\), then the spread is at most \(|o_p| + pL\), and the \(p\)-subset spread is at most \(pL\), whatever the median. The \(p\)-subset spread is always at most the spread.
A nonempty sum \(\sum _x \pm 2^{E_x}\) with pairwise distinct exponents is nonzero. Let \(M\) be a square matrix over a commutative ring of characteristic zero whose nonzero entries are \(\pm 2^{2^{L_{ij}}}\), with labels \(L_{ij}\) pairwise distinct on the nonzero entries. If the nonzero entries contain a perfect matching, then \(\det M \ne 0\). A minor of a matrix \(A\) that is block diagonal, with \(|\beta |\) nonsingular blocks of size \(|\iota |\), gives \(\operatorname {rank} A \ge |\iota | \cdot |\beta |\).
A finite set \(A \subseteq \mathbb {Z}\) with more than \(3^n\) elements contains integers \(x_0 {\lt} \dots {\lt} x_n\) whose subset sums \(\sum _{t \in I} x_t\), over \(I \subseteq \{ 0, \dots , n\} \), are pairwise distinct. Consequently, if at least \(3^{2p} + 1\) slices of a set \(S\) lie in one positive (negative) block of length \(L\), then \(2p + 1\) of them, in increasing order, form a cluster whose offsets have pairwise distinct subset sums, lie in \([1, k]\) (in \([-k, -1]\)), and have diameter at most \(L - 1\).
Every Landsberg–Michałek tensor \(T_k(\gamma )\) is tight, with weights \(\tau _A(a) = a - k\), \(\tau _B(j) = j\) and \(\tau _C(\ell ) = -\ell \), and all of its \(A\)-slices are nonzero when all coefficients \(\gamma _{a, j}\) are; in particular the weighted tensor is tight with nonzero slices.
A matrix over a field has rank at least \(k\) if and only if some \(k \times k\) minor is nonzero. Hence the matrices of rank at most \(r\) form a closed set, the rank of a block upper-triangular matrix is at least the sum of the ranks of its diagonal blocks, and deleting \(d\) rows and \(e\) columns lowers the rank by at most \(d + e\).
\(\Phi _n\) is symmetric, \(2\)-Lipschitz in each argument, and at least \(2n/3\). Let \(n = 2k + 1\), and let \(s \ge 0\) and \(T\) be integers with \(2n \le 3T + 3\). The integers \(r \in [1, k]\) with \(\Phi _n(r, s) \le T\) lie in the two intervals \([n - T, \lfloor T/2 \rfloor - s]\) and \([\lceil n - T/2 \rceil - s, \min (k, T - s)]\), and there are at most \((3T - 2n + 3)/2\) of them.
On Boolean points the arithmetized expression takes the value \(1\) exactly on true formulas and \(0\) otherwise, linearization does not change values on Boolean points, and with linearization every polynomial the protocol handles has individual degree at most \(2\) and total size polynomial in the formula.
Fix a protocol, an input \(x\), a coin count \(t\) and a message bound \(m\). A coin string \(r \in \{ 0,1\} ^t\) is consistent with a transcript \(\tau \) if every verifier message recorded in \(\tau \) is the one the verifier sends on coins \(r\). Define \(\mathrm{gval}\) at a transcript \(\tau \) by recursion on the number of remaining rounds: with none left it counts the coin strings consistent with \(\tau \) on which the verdict accepts the view of \(\tau \), and otherwise it sums, over the verifier messages that the consistent coin strings produce next, the maximum over replies of length at most \(m\) of the value one round down. Let \(\mathrm{gval}(x)\) be its value at the root: coin count \(c(|x|)\), message bound and round count at \(|x|\), and the empty transcript. Then every strategy bounded by the message bound at \(|x|\) has at most \(\mathrm{gval}(x)\) accepting coin strings, and a bounded strategy chosen for \(x\) (a maximizing reply at every node) has exactly \(\mathrm{gval}(x)\).
For \(f : \{ 0,1\} \to R\) with \(R\) a commutative ring, let \(\widetilde{f} : R \to R\) be \(\widetilde{f}(x) = f(0)(1 - x) + f(1)\, x\). Then \(\widetilde{f}(0) = f(0)\) and \(\widetilde{f}(1) = f(1)\), so \(\widetilde{f}\) agrees with \(f\) at both Boolean points.
For a rational \(s\), let \(\mathsf{PCP}_s(r, q)\) be the class with soundness error \(s\) in place of \(1/2\), so \(\mathsf{PCP}_{1/2}(r, q) = \mathsf{PCP}(r, q)\). If \(r\) is constructible and \(0 \le s\), then \(\mathsf{PCP}_s(r, q) \subseteq \mathsf{PCP}_{s^2}(2r, 2q)\). Consequently, if \(r\) is constructible and \(0 \le s {\lt} 1\), every language in \(\mathsf{PCP}_s(r, q)\) is in \(\mathsf{PCP}(2^j r, 2^j q)\) for some \(j \in \mathbb {N}\).
If \(p\) is a nonzero polynomial over a finite field \(\mathbb {F}\) of total degree at most \(d\) in \(m\) variables, a uniformly random point of \(\mathbb {F}^m\) is a root with probability at most \(d / |\mathbb {F}|\); in particular a nonzero univariate polynomial of degree \(d\) has at most \(d\) roots. Mathlib provides the counting statement for MvPolynomial (MvPolynomial.schwartz_zippel_totalDegree, over an integral domain with points drawn from \(S^m\) for a finite set \(S\)); nothing in this node is formalized in the library yet, and what remains is the bridge to the library’s finite probability over encoded coin strings.
The transcript after \(n\) rounds has length exactly \(2n\). If two strategies agree on all transcripts of length at most \(2n\), then for every input and every coin string the transcripts after \(n\) rounds coincide. Hence acceptance and the accept event on input \(x\) depend on the strategy only through its values on transcripts of length at most twice the round count at \(|x|\).
Every block of a totally regular matrix has rank at least the smaller of its dimensions. A Cauchy matrix with distinct \(x_i\), distinct \(y_j\), and \(x_i\ne y_j\) for all \(i\) and \(j\) is totally regular. In particular the explicit family over \(\mathbb {Z}/q\) is totally regular for every prime \(q\ge 2N\).
Let \(G\) be an acyclic \((n+1,m)\)-concentrator whose inputs have in-degree zero, with \(2\le m\le n\). Removing at least two edges of \(G\) and replacing its inputs leaves an acyclic \((n,m)\)-concentrator on the same vertices and outputs whose inputs have in-degree zero.
Let a network compute a \(K\)-rectangle-free function \(f\), \(K{\gt}1\), and fix a vertex ordering. If a subset \(T\subseteq C\) determines \(C\), at most \(2^{|T|}\) patterns are realized on \(C\). If at most \(P\) patterns are realized on the edges charged at every vertex, then either the final past set is small, so that fewer than \(K\cdot 2^{n-n'}\) inputs are accepted, where \(n'\) variables are read, or
With every prefix cut of size at most \(w\) and every degree at most three, \(P=2^{w+3}\) is admissible.
Let \(M=(x_c^{\, r})_{0\le r,c{\lt}N}\) for distinct nodes \(x_c\) of a field. For every set \(X\) of \(h\) columns with \(2h\le N\) and every set \(Y\) of rows,
In particular, for a primitive \(N\)-th root of unity \(\omega \) the Fourier matrix \(F_N\), with nodes \(\omega ^c\), satisfies this for \(h=\lfloor N/2\rfloor \).
The function \(\arccos \) is concave on \([0,1]\). For three unit vectors with inner products at least \(\kappa \ge 7/8\) with a unit vector, the sum of their pairwise angles over ordered pairs is at most \(6\arccos \bigl((3\kappa ^2-1)/2\bigr)\).
Score the edges of a simple cubic graph and fix \(c{\gt}0\). Call an edge low, band or high as its score lies below \(-c\), in \([-c,c)\), or at least \(c\), and split the band edges into blocks so that two band edges at a common vertex share a block. List the low edges by score, then the blocks one at a time in increasing order of the number of their vertices with a high edge minus the number with a low edge, then the high edges by score. Every bag of the resulting path decomposition has at most \(\max (S(-c),S(c))+|V_j|\) vertices for some block \(j\), or at most the number of vertices with incident scores on both sides of a threshold outside \([-c,c)\). Here \(S(t)\) counts the vertices whose edge scores straddle \(t\) and \(V_j\) the vertices of block \(j\).
- Algebraic.Cutwidth.Gaussian.exists_pathDecomposition_subset_edgeScore
- Algebraic.Cutwidth.Gaussian.card_filter_edgeScore_le_window
- Algebraic.Cutwidth.Gaussian.card_filter_edgeScore_le_of_grid
- Algebraic.Cutwidth.Gaussian.card_filter_edgeScore_le_of_grids
- Algebraic.Cutwidth.Gaussian.exists_pathDecomposition_of_bandJump
In a graph of maximum degree three, spheres of radius \(d\) have at most \(3\cdot 2^d\) vertices. For adjacent vertices \(u,v\) and \(q\ge 0\),
No girth or expansion hypothesis is needed.
Let \(\omega \) have independent standard Gaussian coordinates and let \(\alpha ,\beta \) have equal norms with \(\alpha +\beta \ne 0\). For every threshold \(t\), the probability that \(t\) separates \(\langle \alpha ,\omega \rangle \) and \(\langle \beta ,\omega \rangle \) is at most \((2/\pi )\lVert \beta -\alpha \rVert /\lVert \alpha +\beta \rVert \). A unit form lies in a window of width \(\delta \) with probability at most \(\delta /\sqrt{2\pi }\) and beyond \(\pm T\) with probability at most \(1/T^2\).
For unit vectors \(\alpha ,\beta \) with \(\langle \alpha ,\beta \rangle =\rho {\gt}-1\) and every threshold \(t\), the threshold separates \(\langle \alpha ,\omega \rangle \) and \(\langle \beta ,\omega \rangle \) with probability at most \(e^{-t^2/2}\arccos (\rho )/\pi \).
List the edges of a simple cubic graph by a real score, and keep each vertex in the bags between its first and last incident edge. A vertex in the bag of an edge of score \(t\) has incident edges scoring at most and at least \(t\). With thresholds \(a+i\delta \), if both tails hold few edges and every threshold has few vertices whose edge scores straddle it and few edges in the following window, every bag is small. A straddling vertex has at least four separated ordered pairs of incident edges.
Under a product of probability measures, let each event of a finite family depend only on a finite set of coordinates, each set meeting at most \(D\) of the sets. The number of occurring events has variance at most \(|F|D\), and deviates from its mean by at least \(c{\gt}0\) with probability at most \(|F|D/c^2\).
For independent standard Gaussians, \(|Z_1|\le k|Z_2|\) has probability \((2/\pi )\arctan k\). Consequently, for unit vectors \(\alpha ,\beta \) with \(\langle \alpha ,\beta \rangle =\rho {\gt}-1\), every threshold separates \(\langle \alpha ,\omega \rangle \) and \(\langle \beta ,\omega \rangle \) with probability at most \(\arccos (\rho )/\pi \), with equality at threshold zero.
If unit vectors \(y_1,\dots ,y_n\) satisfy \(\langle y_j,x\rangle \ge \kappa \ge 0\) for a unit vector \(x\), then \(\sum _{j\ne j'}\langle y_j,y_{j'}\rangle \ge n^2\kappa ^2-n\) and each \(\langle y_j,y_{j'}\rangle \ge 4\kappa -3\).
On the uniform distribution on a product of disjoint three-point majority fibers and unrestricted remaining coordinates, an assignment to any \(d\) distinct coordinates has probability at most \((2/3)^d\). Consequently a conjunction of two or at least three distinct prescribed coordinates has entropy at most \(H_2(4/9)\) or \(H_2(8/27)\), respectively. For a message with fibers of size at most \(K\), the logarithm of the domain size is at most its entropy bound plus \(\log _2 K\).
- Algebraic.Cutwidth.Aggregate.Geometry.Fiber.Conditional.three_pow_mul_card_evalLiterals_le
- Algebraic.Cutwidth.Aggregate.Geometry.Fiber.Conditional.evalLiteralsPairWeightBound
- Algebraic.Cutwidth.Aggregate.Geometry.Fiber.Conditional.evalLiteralsTripleWeightBound
- Algebraic.Cutwidth.Aggregate.Geometry.Fiber.Conditional.log_card_le_of_weight
The four constants \(\gamma _{\mathrm F},\ell ,\mu ,\nu \) are positive, and
- Algebraic.Cutwidth.Aggregate.Geometry.Fiber.messageLoss_pos
- Algebraic.Cutwidth.Aggregate.Geometry.Fiber.fiberWeight_pos
- Algebraic.Cutwidth.Aggregate.Geometry.Fiber.separateWeight_pos
- Algebraic.Cutwidth.Aggregate.Geometry.Fiber.jointWeight_pos
- Algebraic.Cutwidth.Aggregate.Geometry.Fiber.separateWeight_add_jointWeight
- Algebraic.Cutwidth.Aggregate.Geometry.Fiber.weighted_saving
- Algebraic.Cutwidth.Aggregate.Geometry.Fiber.jointWeight_mul_overlapPenalty
- Algebraic.Cutwidth.Aggregate.Geometry.Fiber.fiberWeight_mul_messageLoss
Every output of a signed unbounded AND/OR/XOR circuit is an affine function of the primary bits plus a linear combination of its actual conjunction gate outputs. Suppose the circuit computes all coordinates of inversion in any supplied binary-field basis. Let \(N\) count conjunction gates and let \(m\) count those reading at least two distinct primary coordinates. With \(c=1-H_2(1/4)\),
No independence, fan-in, fanout, depth, or nonlinear-reuse restriction is imposed.
Let \(s\) signed two-variable conjunctions have pairwise disjoint endpoints among \(a\) Boolean coordinates. The number of inputs on which every conjunction is false equals
Let a finite message map from these \(a\) input coordinates to an alphabet \(Y\) have fibres of size at most \(K{\gt}0\) on the majority event. Then
In particular, an \(r\)-bit residual message has \(\log _2|Y|=r\). Removing message coordinates that are fixed on the event preserves the original full-message fibre bound.
Let \(\varepsilon {\lt}1/2\). In an \(\varepsilon \)-halver, every set of wires closed under the comparators (each comparator has both wires in it or neither) is empty or all wires. Hence the wire graph is connected, and the halver has at least \(n-1\) comparators.
For a vertex set \(L\) of the wire graph and an input \(x\in \{ 0,1\} ^n\), let \(\mathrm{net}_x(L)\) be the number of ones of \(x\) at input terminals in \(L\) minus the number of ones of the output at output terminals in \(L\). For all inputs \(x\) and \(x'\), the cut of \(L\) has at least \(\mathrm{net}_x(L)-\mathrm{net}_{x'}(L)\) edges.
The wire graph of a comparator network on \(n\) wires with \(s\) comparators is loopless, has maximum degree three, \(2n+2s\) vertices and \(n+3s\) edges; its edges minus vertices are \(s-n\).
If \(M\) is symmetric and totally regular and \(2\ne 0\) in the field, then \(M+M^{\mathsf T}\) is totally regular. For a prime \(q{\gt}2N\) the Hankel Cauchy matrix over \(\mathbb {Z}/q\) is the Cauchy matrix with nodes \(x_i=i+1\) and \(y_j=-(j+1)\), so it and its symmetrization are totally regular.
Over any field, suppose the output rows of a local realization form \(M\). For any wire cut \(S\), its two crossing-signal sets \(A,B\) satisfy
Let \(C(f)\) be the minimum number of gates of a single-output circuit over the imported library’s De Morgan signature computing \(f : \{ 0,1\} ^n \to \{ 0,1\} \), every gate counted, constants and identities included. Then \(\lvert C(f) - C(g) \rvert \le 2n \cdot d_H(f, g)\), where \(d_H\) is the number of truth-table entries on which \(f\) and \(g\) differ. Consequently, if \(t \ge 1\) and \(t {\lt} C(h)\) for some \(h\), then some \(f\) has \(t {\lt} C(f) \le t + 2n\).
For every set of placed terminals, the number \(P\) of terminals with one light and one heavy endpoint satisfies \(P\le R_I+R_J+R_K\). If the number \(h\) of heavy vertices satisfies \(3n\le 2h\le 3n+3\), then
Placing one more terminal adds at most two heavy vertices. Consequently, if \(n\ge 1\) and the \(3n^2\) terminals of a program lie on distinct wires, then along every injective ranking of the wires some prefix of the form \(\{ w : \mathrm{rank}(w)\le \mathrm{rank}(w_0)\} \), with \(w_0\) a terminal, has \(3n\le 2h\le 3n+3\).
- Algebraic.Cutwidth.MultiOutput.Tripartite.minority_of_lt
- Algebraic.Cutwidth.MultiOutput.Tripartite.minority_of_le
- Algebraic.Cutwidth.MultiOutput.Tripartite.sum_card_row
- Algebraic.Cutwidth.MultiOutput.Tripartite.sum_card_col
- Algebraic.Cutwidth.MultiOutput.Tripartite.lightHeavy_le_charge
- Algebraic.Cutwidth.MultiOutput.Tripartite.card_mixedPairs
- Algebraic.Cutwidth.MultiOutput.Tripartite.three_mul_sq_le_two_mul_lightHeavy
- Algebraic.Cutwidth.MultiOutput.Tripartite.three_mul_sq_le_two_mul_charge
- Algebraic.Cutwidth.MultiOutput.Tripartite.heavyCount_le_add_two
- Algebraic.Cutwidth.MultiOutput.Tripartite.exists_threshold
At every point, the Hessian of \(\sum _m\mu (m)z_m\) is \(\left(\begin{smallmatrix} 0 & \Lambda \\ \Lambda ^{\mathsf T} & 0 \end{smallmatrix}\right)\) for the Hankel matrix \(\Lambda \) of \(\mu \). Over the field \(K(t)\) of rational functions, in every characteristic, the Hankel matrix \((t^{(i+j)^2})\) is totally regular. If \(\Lambda \) is totally regular, the block of \(\left(\begin{smallmatrix} 0 & \Lambda \\ \Lambda ^{\mathsf T} & 0 \end{smallmatrix}\right)\) with rows \(X\) and columns \(X^{\mathsf c}\) has rank at least \(\min \{ |X\cap x|,|X^{\mathsf c}\cap y|\} +\min \{ |X\cap y|,|X^{\mathsf c}\cap x|\} \).
- Algebraic.Cutwidth.MultiOutput.polyMul_append_eq_coeff
- Algebraic.Cutwidth.MultiOutput.polyMul_eq_eval
- Algebraic.Cutwidth.MultiOutput.polyMul_eq_aeval
- Algebraic.Cutwidth.MultiOutput.sum_smul_hessian_polyMulPolynomial
- Algebraic.Cutwidth.MultiOutput.totallyRegular_genericHankel
- Algebraic.Cutwidth.MultiOutput.min_add_min_le_blockRank_crossMatrix
A polynomial interpretation gives a local linear realization on the same program. Over an infinite field, if the circuit computes \(x\mapsto Mx\) as a function, its realization’s output rows are exactly the rows of \(M\).
Fix a program over any signature, with values in any type \(U\), and any number of outputs. If \(x\) and \(x'\) have the same boundary key, the mixed input takes the values of \(x\) on every wire of \(S\) and those of \(x'\) on every wire of \(\bar S\). The inputs in \(S\) and the values on \(B\) determine the values on all of \(S\); symmetrically, the inputs in \(\bar S\) and the values on \(A\) determine the values on all of \(\bar S\). Consequently, if \(Z\) is closed under mixing inputs with equal keys, then the members of \(Z\) with key \(\sigma \) correspond bijectively to \(L_\sigma \times R_\sigma \); for a fixed \(b\) the sets \(L_{(a, b)}\) are pairwise disjoint, so \(\sum _\sigma |L_\sigma | \le |U|^{i + |B|}\), and symmetrically \(\sum _\sigma |R_\sigma | \le |U|^{n - i + |A|}\). There are at most \(|U|^{|A| + |B|}\) keys.
- Algebraic.Cutwidth.SingleCut.trace_mix
- Algebraic.Cutwidth.SingleCut.trace_eq_of_agree_backward
- Algebraic.Cutwidth.SingleCut.trace_eq_of_agree_forward
- Algebraic.Cutwidth.SingleCut.boundaryKey_eq_of_leftPart_eq
- Algebraic.Cutwidth.SingleCut.boundaryKey_eq_of_rightPart_eq
- Algebraic.Cutwidth.SingleCut.card_filter_boundaryKey_eq
- Algebraic.Cutwidth.SingleCut.card_image_boundaryKey_le
- Algebraic.Cutwidth.SingleCut.sum_card_leftParts_le
- Algebraic.Cutwidth.SingleCut.sum_card_rightParts_le
Over every commutative \(K\)-algebra a wire carries its wire polynomial evaluated at the input, so a circuit formally computing polynomials computes them as functions over every such algebra. Conversely, over an infinite field, a circuit whose operations are polynomial functions and which computes polynomial functions formally computes those polynomials, for the polynomials chosen to represent its operations. Over every commutative \(K\)-algebra, the arithmetic gate polynomials interpret addition, multiplication, and the constants mapped into the algebra.
The wiring network of a circuit over the full binary basis has a vertex for every wire with a path to the output and, for a signal feeding \(f\ge 2\) slots, \(f-1\) copy vertices of degree three; gate vertices check their operation, the output gate checks the value \(1\), and copy vertices check agreement. It computes the circuit’s function, is connected with maximum degree three, has at most \(2s+1\) vertices, and its edges minus vertices equal the reachable gates minus the reachable inputs. Call a signal carried by an edge set \(C\) a generator of \(C\) unless it is a gate both of whose argument signals are carried by \(C\). One edge of \(C\) per generator determines \(C\), so at most \(2^{|\mathrm{generators}(C)|}\) patterns are realized on \(C\), and the cut-counting bound holds with \(P=2^{w}\) whenever the edges charged at every vertex have at most \(w\) generators. No layout theorem bounding generators is proved; the assembly below charges edges.
- Algebraic.Cutwidth.Wiring.network_computes
- Algebraic.Cutwidth.Wiring.maxDegreeLE_three
- Algebraic.Cutwidth.Wiring.connected
- Algebraic.Cutwidth.Wiring.card_vertex_le_two_mul_size
- Algebraic.Cutwidth.Wiring.card_edge_sub_card_vertex
- Algebraic.Cutwidth.Wiring.determines_of_generators
- Algebraic.Cutwidth.Wiring.card_realized_le_two_pow_generators
- Algebraic.Cutwidth.Wiring.card_accepting_le_of_generators
Suppose \(k\ge 1\), \(X,Y\) are nonempty, each has deficit at most \(k\), and each consists of \((p,k)\)-limits of the other, where \(p{\gt}0\). If \(m\ge 0\) and \((32768\cdot 194^t(m+k))^t p\le 1/4\), no protocol with at most \(t+1\) messages from an alphabet of size at most \(2^m\) solves \(X\times Y\).
For every rectangle \(R\) for a cut \(X\) of the \(n\) coordinates, \(\bigl(\sum _{x\in R}(-1)^{f_Q(x)}\bigr)^2\, 2^{\rho _Q(X)}\le |R|\, 2^n\). Consequently, if a predictor \(g\) is constant on the classes of a map into a finite set \(M\) and every class is a rectangle for \(X\), then \(\mathrm{corr}(f_Q,g)^2\, 2^{\rho _Q(X)}\le |M|\).
If \(3m{\lt}(t+1)^2\), some \(m\times m\) matrix over \(\mathbb {F}_2\) is submatrix-robust with deficiency \(t\). In particular \(t=2\lfloor \sqrt m\rfloor +1\) works for every \(m\).
A decision tree of depth \(s\) is computed by a DNF of width at most \(s\) and by a CNF of width at most \(s\).
If every variable has at most \(\Delta \) neighbours in the co-occurrence graph of \(\psi \) and \(\mathrm{sol}(\psi )\) contains no subcube of dimension \(D\), then every solution has at most \((D-1)(\Delta +1)\) non-isolated directions. In a clause set of width \(k\), a variable occurring in \(c\) clauses has at most \(c(k-1)\) neighbours.
If \(S\) is \(K\)-rectangle-free with \(|S|\ge K\), then for every sweep of \(S\),
where \(m_t\) is the message at step \(t\) and \(x|_{\text{new}_t}\) the newly revealed coordinates. An asymmetric form allows different thresholds on the two sides. A \(K\)-rectangle-free set depending only on the coordinates \(R\) satisfies \(|U|^{|R^c|}{\lt}K\) or \(|S|{\lt}|U|^{|R^c|}K\).
Two satisfying assignments that agree on the cut of a vertex set \(L\) splice into a satisfying assignment of the spliced input. Hence a \(K\)-rectangle-free accepted set has at most \((K-1)^2\bigl(|V|\, |U|^{w+d+m}+|U|^{\text{unread}}\bigr)\) elements when some layout has width \(w\), the maximum degree is \(d\), and every vertex reads at most \(m\) inputs.
For \(n\ge 16\), both boundary layers are nonempty and have deficit at most \(K(n)\). Each consists of \((16/n,K(n))\)-limits of the other.
Every monotone formula computes a monotone function, and a monotone formula computing \(f\) has at least as many leaves as \(f\) has essential inputs.
Let \(x\) be a solution of \(\psi \). If \(x\oplus e_T\) is a solution, \(T'\subseteq T\), and no clause mentions both a variable of \(T'\) and one of \(T\setminus T'\), then \(x\oplus e_{T'}\) is a solution; in particular every connected component of a move in the co-occurrence graph is a move. If \(x\oplus e_{T_j}\) is a solution for each \(j\in s\) and no clause mentions variables of two of the \(T_j\), then \(x\oplus e_{\bigcup _{j\in J}T_j}\) is a solution for every \(J\subseteq s\).
For a finite-arity restriction \(\rho \) and a CNF or DNF \(\varphi \) over \(N\) variables, the simplified restriction \(\varphi |_\rho \) satisfies \(\varphi |_\rho (x) = \varphi (\rho \text{ applied to } x)\) for every \(x \in \{ 0,1\} ^N\), and its width is at most the width of \(\varphi \).
For \(N \ge 1\), a threshold circuit with \(N\) internal gates, one output gate, and depth at most two computes \(N\)-bit parity. Hence the parity family is in \(\mathsf{TC}^0\).
Let \(x\) be a solution of \(\psi \). On every input that agrees with \(x\) outside \(\mathrm{forced}_\sigma (x)\) the decoder outputs \(x\), so \(\sum _{x\in \mathrm{sol}(\psi )} 2^{|\mathrm{forced}_\sigma (x)|}\le 2^N\) for every order \(\sigma \). With \(E(x)\) the average of \(|\mathrm{forced}_\sigma (x)|\) over all \(N!\) orders, \(\sum _{x} 2^{E(x)}\le 2^N\). If every clause has at most \(k\) literals and \(x\) has \(\iota (x)\) isolated directions in \(\mathrm{sol}(\psi )\), then \(\iota (x)\cdot N!\le k\sum _\sigma |\mathrm{forced}_\sigma (x)|\), and so, for \(k\ge 1\), \(\sum _{x\in \mathrm{sol}(\psi )} 2^{\iota (x)/k}\le 2^N\).
Every assignment satisfying \(C_1\) and \(C_2\) satisfies their resolvent on any variable, and the resolvent has at most \(|C_1| + |C_2|\) literals.
Evaluating \(\varphi |_\rho \) at \(\alpha \) equals evaluating \(\varphi \) at \(\rho \) applied to \(\alpha \). Restricting by \(\rho _1\) and then by \(\rho _2\) equals restricting by \(\rho _1 \circ \rho _2\), and restriction preserves formula size and depth exactly.
Swapping every speaker exchanges the inputs in the protocol’s run. Hence a protocol for \(f\) gives a protocol for \(\neg f\) with the same alphabet and round bound.
Let \(p \ge 2\). Every finite family of more than \(\ell !\, (p-1)^\ell \) finite sets, each of size exactly \(\ell \), contains \(p\) distinct sets whose pairwise intersections are all equal (to their common intersection). The same holds for more than \((\ell + 1)\, \ell !\, (p-1)^\ell \) sets, each of size at most \(\ell \). This is proved in the imported algebraic-circuits library.
Fix the values of the gates of a set \(F\) and feed every other gate \(j\) the input contribution \(\lambda _j t\) for one real parameter \(t\), so that gate \(j\) is \([\lambda _j t+\sum _{k{\lt}j}u_{jk}g_k+c_j\ge 0]\). As a function of \(t\), the vector of all gate values has at most \(2^{r'}\) pieces, hence changes at most \(2^{r'}-1\) times, where \(r'\) is the number of gates outside \(F\) with \(\lambda _j\ne 0\).
Cut the positions \(0,1,2,\dots \) into consecutive groups of \(L\). If \(\Psi \) changes at most \(T\) times, then along every nondecreasing sequence \(z\) the map \(i\mapsto \Psi (z_i)\) is nonconstant on at most \(T\) of the groups. Consequently, let \(P\) and \(Q\) be finite sets, \(\alpha \) a real key on \(P\), \(G\ge 1\), and \(\Psi _q\) for \(q\in Q\) functions changing at most \(T\) times. Sort \(P\) by \(\alpha \) and cut it into \(G\) consecutive groups of \(\lfloor |P|/G\rfloor \) elements. For some group \(P'\) there is \(Q_{\mathrm{bad}}\subseteq Q\) with \(G|Q_{\mathrm{bad}}|\le T|Q|\) such that \(p\mapsto \Psi _q(\alpha (p))\) is constant on \(P'\) for every \(q\in Q\setminus Q_{\mathrm{bad}}\). A function with at most \(M\) pieces changes at most \(M-1\) times.
Let the parameters be widening with \(\sigma (n, \cdot )\) monotone. If a search map \(A\) returns, on every \((x, 1^t)\) with \(C^t_U(x) {\lt} \infty \), a program of length at most \(\sigma (|x|, C^t_U(x))\) that produces \(x\) within \(\tau (|x|, t)\) steps, then the decision rule “accept the canonical code of \((x,1^t,1^s)\) iff \(A(x,1^t)\) has length at most \(\sigma (|x|,s)\) and produces \(x\) within \(\tau (|x|,t)\) steps, and reject malformed strings” solves \(\mathsf{GapMINKT}(U, \sigma , \tau )\) (it answers correctly on both promised sides). No hypothesis is placed on \(A\) where \(C^t_U(x) = \infty \).
For every machine \(U\), string \(x\), clocks \(t \le t'\) and bound \(s \in \mathbb {N}\): (a) \(C^t_U(x) \le s\) iff some program of length at most \(s\) produces \(x\) within \(t\) steps, and \(C_U(x) \le s\) iff some program of length at most \(s\) produces \(x\); (b) \(C^{t'}_U(x) \le C^t_U(x)\); (c) \(C_U(x) \le C^t_U(x)\); (d) if \(C^t_U(x) {\lt} \infty \) then \(C^t_U(x) \le t\).
The function \(n \mapsto n + 1\) is clock-constructible, and if \(g\) is clock-constructible then so is \(n \mapsto g(n)(n+1)\). Hence for every \(k \ge 1\) the function \(n \mapsto (n+1)^k\) is clock-constructible.
If \(M\) decides \(L\) in time \(T\), then \(\mathrm{complement}(M)\) decides \(\{ 0,1\} ^* \setminus L\) in time \(2T(n) + 4\).
If \(M_1\) decides \(L_1\) in time \(T_1\) and \(M_2\) decides \(L_2\) in time \(T_2\), then \(\mathrm{union}(M_1, M_2)\) decides \(L_1 \cup L_2\) in time \(10\, T_1(n) + T_2(n)\).
If \(\{ \mathit{pre}\} \, M\, \{ \mathit{post}\} _b\), where \(\mathit{post}\) guarantees that the output tape holds \(\triangleright \) at cell \(0\) and nowhere else, that the output head is at a cell at most \(p\), and that output cell \(1\) holds a symbol satisfying \(\varphi \), then \(\{ \mathit{pre}\} \, \mathrm{complement}(M)\, \{ \mathit{post}'\} _{b + p + 4}\), where \(\mathit{post}'\) says that output cell \(1\) holds the flip of some symbol satisfying \(\varphi \) (\(0\) and \(1\) exchanged, anything else made blank).
\(M\) computes \(f\) in time \(T\) if and only if \(M\) produces \(f(x)\) on \(x\) within time \(T(|x|)\) for every \(x\). \(M\) computes \(f\) if and only if \(M\) produces \(f(x)\) on every \(x\).
Let \(M\) be a deterministic machine.
\(M\) produces \(y\) on \(p\) within time \(t\) if and only if \(\mathrm{run}(\mathrm{init}(p), t)\) is halted with output \(y\); in particular bounded production is decidable.
Bounded production is monotone in \(t\), and \(M\) produces \(y\) on \(p\) exactly when it does so within some finite time.
If \(M\) produces \(y\) on \(p\) within time \(t\), it produces \(y\) on the first \(t\) bits of \(p\) within time \(t\).
If \(M\) produces both \(y\) and \(y'\) on \(p\), then \(y = y'\); this holds also for bounded production under two different clocks.
Every machine simulates itself under the identity. If \(U_1\) simulates \(U_2\) under \(c_1\) and \(U_2\) simulates \(M\) under \(c_2\), then \(U_1\) simulates \(M\) under \(c_1 \circ c_2\), and likewise for timed simulations with clock \((p, t) \mapsto \tau _1(c_2(p), \tau _2(p, t))\). Additive overheads add; polynomial clocks compose through a compiler with additive overhead; and computable functions are closed under composition.
If a deterministic machine decides \(L\) in time \(T\), its nondeterministic embedding decides \(L\) in time \(T\). Without a time bound, a deterministic machine and its embedding accept the same strings, where acceptance means reaching the halt state (after some number of steps, along some choice sequence) with output cell \(1\) equal to \(1\).
A machine that simulates a universal machine under a computable compiler is universal. Every machine that is efficiently universal for some admissibility predicate, in particular every efficiently universal machine, is universal.
Let \(w, n, c\) be polynomial-time numbers in the sense of Definition 137, let \(s \in \mathsf{FP}\), and for a string \(x\) let \(v(x)\) be its value as a binary numeral, least significant bit first.
The low \(w(z)\) bits of \(n(z)\), least significant first, and the minimal binary expansion \(\mathrm{bin}(n(z))\) are in \(\mathsf{FP}\) as functions of \(z\).
\(\min (v(s(z)), c(z))\) is a polynomial-time number; so is \(v(s(z))\) itself when \(v(s(z)) \le c(z)\) for all \(z\).
The serialization of \(s(z)\) as a list of bits, and the serialization of the number \(n(z)\), are in \(\mathsf{FP}\) as functions of \(z\).
\(\overline{L} \in \mathsf{coNP}\) if and only if \(L \in \mathsf{NP}\). If \(L_1\) is \(\mathsf{coNP}\)-hard and \(L_1 \le _p L_2\), then \(L_2\) is \(\mathsf{coNP}\)-hard, and \(\mathsf{coNP}\)-complete if moreover \(L_2 \in \mathsf{coNP}\). The complement of an \(\mathsf{NP}\)-hard (respectively \(\mathsf{NP}\)-complete) language is \(\mathsf{coNP}\)-hard (respectively \(\mathsf{coNP}\)-complete), and the complement of a \(\mathsf{coNP}\)-hard (respectively \(\mathsf{coNP}\)-complete) language is \(\mathsf{NP}\)-hard (respectively \(\mathsf{NP}\)-complete).
The language of strings containing a \(1\) is in \(\mathsf{P}\). If \(f \in \mathsf{FP}\) and, for all \(x\), \(x \in L\) exactly when \(f(x)\) contains a \(1\), then \(L \in \mathsf{P}\). In particular, if \(g\) is Boolean-valued, the function \(x \mapsto [g(x)]\) (the one-bit string) is in \(\mathsf{FP}\), and \(x \in L \iff g(x) = 1\), then \(L \in \mathsf{P}\). Conversely, every \(L \in \mathsf{P}\) has such a Boolean-valued \(g\); so \(L \in \mathsf{P}\) if and only if some Boolean-valued \(g\) with \(x \mapsto [g(x)]\) in \(\mathsf{FP}\) satisfies \(x \in L \iff g(x) = 1\) for all \(x\). Finally, if \(k \in \mathsf{FP}\) and \(|k(x)| \le L\) for all \(x\), then \(\{ x : Q(k(x))\} \in \mathsf{P}\) for every predicate \(Q\).
Every constant function is in \(\mathsf{FP}\), and so is \(x \mapsto 1^{|x|}\). For every function \(g\) and every finite set \(S\) of strings, the function equal to \(g\) on \(S\) and to the empty string off \(S\) is in \(\mathsf{FP}\). Hence if \(k \in \mathsf{FP}\) and \(|k(x)| \le L\) for all \(x\), then \(x \mapsto g(k(x))\) is in \(\mathsf{FP}\) for every function \(g\).
Let \(f \in \mathsf{FP}\), write \(1^i\) for the string of \(i\) ones, and write \(f_i(z) = f(\langle z, 1^i \rangle )\).
Concatenation over a range: the map \(\langle u, z \rangle \mapsto f_0(z) \, f_1(z) \cdots f_{|u| - 1}(z)\) is in \(\mathsf{FP}\). Hence for every \(m \in \mathsf{FP}\) the map \(z \mapsto f_0(z) \, f_1(z) \cdots f_{|m(z)| - 1}(z)\) is in \(\mathsf{FP}\).
List encoding: the same concatenation between a leading \(0\) and a trailing \(1\) is in \(\mathsf{FP}\). If \(f_i(z)\) is the serialization of the \(i\)-th entry of a list \(\ell \) with \(|\ell | = |u|\), it is the serialization of \(\ell \).
Counting: the map sending \(\langle 1^n, z \rangle \) to \(1^s\), where \(s = \sum _{i {\lt} n} |f_i(z)|\), is in \(\mathsf{FP}\).
Search: the map sending \(\langle 1^n, z \rangle \) to \(1^c\) is in \(\mathsf{FP}\), where, whenever some \(f_i(z)\) with \(i {\lt} n\) is nonempty, \(c\) is the least such \(i\).
Maximum: the map sending \(\langle 1^n, z \rangle \) to \(1^M\), where \(M = \max _{i {\lt} n} |f_i(z)|\) (and \(M = 0\) when \(n = 0\)), is in \(\mathsf{FP}\).
Bitwise description: if \(x \mapsto 1^{\ell (x)}\) is in \(\mathsf{FP}\) and \(f_i(x)\) is the single bit \(b(x, i)\) for all \(x\) and \(i\), then \(x \mapsto b(x, 0) \, b(x, 1) \cdots b(x, \ell (x) - 1)\) is in \(\mathsf{FP}\).
The identity function is in \(\mathsf{FP}\), and if \(f, g \in \mathsf{FP}\) then \(g \circ f \in \mathsf{FP}\).
For a finite state set \(Q\), a transition \(\delta \colon Q \times \{ 0,1\} \to Q\), an initial state, and an output map \(o \colon Q \times \{ 0,1\} \to \{ 0,1\} ^*\), the transducer that scans \(z\) from left to right and emits \(o(q_i, z_i)\) at each position is in \(\mathsf{FP}\). More generally, the state may be a polynomially bounded string updated by an \(\mathsf{FP}\) step.
Let \(p\) be a polynomial and \(L_0 \in \mathsf{P}\) with \(\langle x, y \rangle \in L_0 \Rightarrow |y| \le p(|x|)\) for all \(x, y\). If, for all \(x\), \(x \in L \iff \exists y\, \langle x, y \rangle \in L_0\), then \(L \in \mathsf{NP}\). For linearly bounded witnesses no balance hypothesis on \(L_0\) is needed: if \(L_0 \in \mathsf{P}\) and, for all \(x\), \(x \in L \iff \exists y\, (|y| \le |x| + 1 \wedge \langle x, y \rangle \in L_0)\), then \(L \in \mathsf{NP}\). In relational form, if \(\mathrm{pairLang}(R) \in \mathsf{P}\), \(R(x, y) \Rightarrow |y| \le |x| + 1\), and \(x \in L \iff \exists y\, R(x, y)\) for all \(x\), then \(L \in \mathsf{NP}\).
Given an initializer \(I\) and a step \(F_x\) depending on an unchanged input \(x\), let \(G\) replace \(\mathrm{pair}(\varepsilon ,x)\) by \(\mathrm{pair}(I(x),x)\) and replace \(\mathrm{pair}(s,x)\), for nonempty \(s\), by \(\mathrm{pair}(F_x(s),x)\). On arbitrary strings it uses the total pair projections. If \(I\) and the function mapping a packed state and input to \(F_x(s)\) belong to \(\mathsf{FP}\), then \(G \in \mathsf{FP}\). Whenever \(F_x^j(I(x))\) is nonempty for every \(j{\lt}n\),
The last state may be empty; the extra call is exactly initialization.
Let \(F, \mathit{init}, \mathit{ruler}, \mathit{width} \in \mathsf{FP}\), and suppose \(|F^m(\mathit{init}(z))| \le |\mathit{width}(z)|\) for every \(z\) and every \(m \le |\mathit{ruler}(z)|\). Then \(z \mapsto F^{|\mathit{ruler}(z)|}(\mathit{init}(z))\) is in \(\mathsf{FP}\). The same holds when the width is replaced by a polynomial bound \(|F^m(\mathit{init}(z))| \le B(|z|)\), or by a constant \(c\) with \(|F^{m+1}(\mathit{init}(z))| \le |F^m(\mathit{init}(z))| + c\) for every \(m {\lt} |\mathit{ruler}(z)|\).
\(L \in \mathsf{P}\) if and only if some deterministic machine decides \(L\) within time \(n \mapsto p(n)\) for a polynomial \(p\) with natural-number coefficients. Likewise \(f \in \mathsf{FP}\) if and only if some deterministic machine computes \(f\) within time \(n \mapsto p(n)\) for such a polynomial \(p\).
If \(L_1\) is \(\mathsf{NP}\)-hard and \(L_1 \le _p L_2\), then \(L_2\) is \(\mathsf{NP}\)-hard; if moreover \(L_2 \in \mathsf{NP}\), then \(L_2\) is \(\mathsf{NP}\)-complete. (The variant NPComplete.transfer assumes \(L_1\) \(\mathsf{NP}\)-complete.)
\(L \le _p L\), and \(L_1 \le _p L_2 \le _p L_3\) implies \(L_1 \le _p L_3\).
If \(L_1 \le _p L_2\) then \(\overline{L_1} \le _p \overline{L_2}\), and for each \(\mathcal{C} \in \{ \mathsf{P}, \mathsf{NP}, \mathsf{coNP}\} \), \(L_2 \in \mathcal{C}\) implies \(L_1 \in \mathcal{C}\).
If \(s\in \mathsf{FP}\) and the position \(i(z)\) is a polynomial-time unary number, returning the bit \(s(z)[i(z)]\), with false past the end, is in \(\mathsf{FP}\). Testing this bit is therefore a polynomial-time predicate. The length of the leading run of true bits of \(s(z)\) is also a polynomial-time unary number, including the case with no false terminator. Taking or dropping a prefix of polynomial-time unary length also preserves \(\mathsf{FP}\).
There is a total function in \(\mathsf{FP}\) witnessing \(\mathrm{SAT} \le _p 3\mathrm{SAT}\). On the encoding \(z\) of a formula it outputs the encoding of an exact-3 formula that is satisfiable exactly when the source is: short nonempty clauses are padded by repeating literals, the empty clause becomes a contradictory pair of clauses on a fresh variable, and long clauses are split by a chain of fresh variables, all numbered from \(|z| + 1\) upward (the splitting is exact-3 from any starting counter and equisatisfiable from any counter above every source variable). On a malformed string it outputs a fixed unsatisfiable exact-3 formula. A deterministic machine computes the function within \(6n + 16384(n + 2)^4 + 49\) steps.
In the sense of Definition 137, the following are polynomial-time, for polynomial-time numbers \(f, g, n, b, k, c\) and predicates \(p, q\).
The length \(|h(z)|\) of any \(h \in \mathsf{FP}\), every constant, and \(f(z) + g(z)\), \(f(z) \cdot g(z)\), \(f(z) \mathbin {\dot-} g(z)\), \(\min (f(z), g(z))\), \(\max (f(z), g(z))\), and \(f(z)^d\) for each fixed \(d\).
The predicates \(f(z) \le g(z)\), \(f(z) {\lt} g(z)\), \(f(z) = g(z)\), \(p \wedge q\), \(p \vee q\) and \(\neg p\), and the case distinction \(z \mapsto \) (\(f(z)\) if \(p(z)\), else \(g(z)\)). The same case distinction between two functions in \(\mathsf{FP}\) is in \(\mathsf{FP}\).
Loops over the indices below \(n(z)\), whose body reads \(\langle z, 1^i \rangle \): the sum of \(f(\langle z, 1^i \rangle )\), the number of \(i\) with \(p(\langle z, 1^i \rangle )\), the least such \(i\) (or \(n(z)\) if there is none), and the largest \(f(\langle z, 1^i \rangle )\). Also \(k(z)\) rounds of an update \(x \mapsto s(z, x)\) from \(a(z)\), when \(\langle z, 1^x \rangle \mapsto s(z, x)\) is polynomial-time and every value along the way is at most a polynomial-time number. Also the bounded quantifiers: \(p(\langle z, 1^i \rangle )\) for every \(i {\lt} n(z)\), and for some \(i {\lt} n(z)\).
\(f(z) / g(z)\) and \(f(z) \bmod g(z)\) (with \(f / 0 = 0\)), the capped power \(\min (b(z)^{k(z)}, c(z))\), the binary length of \(f(z)\), and the floor and ceiling logarithms of \(f(z)\) to the base \(b(z)\).
Every predicate \(z \mapsto Q(k(z))\) of a key \(k \in \mathsf{FP}\) of bounded length is polynomial-time. A language whose membership predicate is polynomial-time is in \(\mathsf{P}\).
- Complexity.UnaryFn.length
- Complexity.UnaryFn.const
- Complexity.UnaryFn.lift
- Complexity.UnaryFn.index
- Complexity.UnaryFn.add
- Complexity.UnaryFn.mul
- Complexity.UnaryFn.pow_const
- Complexity.UnaryFn.sub
- Complexity.UnaryFn.min
- Complexity.UnaryFn.max
- Complexity.FPPred.le
- Complexity.FPPred.lt
- Complexity.FPPred.eq
- Complexity.FPPred.and
- Complexity.FPPred.or
- Complexity.FPPred.not
- Complexity.FPPred.ite_mem_FP
- Complexity.UnaryFn.ite
- Complexity.UnaryFn.sum
- Complexity.UnaryFn.count
- Complexity.UnaryFn.find
- Complexity.UnaryFn.bmax
- Complexity.UnaryFn.iterate
- Complexity.UnaryFn.div
- Complexity.UnaryFn.mod
- Complexity.UnaryFn.powMin
- Complexity.UnaryFn.size
- Complexity.UnaryFn.log
- Complexity.UnaryFn.clog
- Complexity.FPPred.forall_lt
- Complexity.FPPred.exists_lt
- Complexity.FPPred.of_bounded_key
- Complexity.FPPred.mem_P
Let \(N \ge 1\), and let index maps select, among \(N\) primary input wires, the \(m(n + 1)\) coefficients of \(m\) affine forms \(x \mapsto \langle a_i, x \rangle \oplus b_i\) over \(\mathrm{GF}(2)\) and the \(n\) coordinates of \(x\). There is a raw fan-in-two circuit (a gate list whose last gate is the output) with exactly \(m(4n + 4) + 2m + 4\) gates that is well formed over \(N\) inputs and, on every \(N\)-bit input, evaluates to \(1\) exactly when all \(m\) selected forms vanish on the selected \(x\). When the coefficients are the rows of an affine-hash seed \(\sigma \), this is the test \(h_\sigma (x) = 0^m\).
- Complexity.PairwiseIndependentHash.AffineCircuit.linearValue_eq_sum_add
- Complexity.PairwiseIndependentHash.AffineCircuit.compileZeroRaw
- Complexity.PairwiseIndependentHash.AffineCircuit.length_compileZeroRaw
- Complexity.PairwiseIndependentHash.AffineCircuit.compileZeroRaw_wellFormed
- Complexity.PairwiseIndependentHash.AffineCircuit.eval?_compileZeroRaw
- Complexity.PairwiseIndependentHash.AffineCircuit.zeroValue_eq_decide
- Complexity.PairwiseIndependentHash.AffineCircuit.zeroValue_affineEval
For \(E \subseteq \{ 0,1\} ^m\), say shifts \(u_1, \dots , u_t \in \{ 0,1\} ^m\) cover \(E\) if every \(r \in \{ 0,1\} ^m\) has some \(i\) with \(r \oplus u_i \in E\). If \(\Pr [\overline{E}] \le 2^{-k}\) and \(m {\lt} kt\), some \(t\) shifts cover \(E\). If \(\Pr [E] \le 2^{-k}\) and \(t {\lt} 2^k\), no \(t\) shifts cover \(E\).
For every pairwise-independent family, \(S \subseteq \{ 0,1\} ^n\) and target \(y\): \(\mu = |S|/2^m\); the average number of ordered pairs of distinct members of \(C_\sigma \), which is \(|C_\sigma |(|C_\sigma | - 1)\), is \((|S|^2 - |S|)/2^{2m}\); the average of \(|C_\sigma |^2\) is the sum of these two; and \(\mathrm{Var} = (|S|/2^m)(1 - 2^{-m})\), so \(0 \le \mathrm{Var} \le \mu \). For every \(r {\gt} 0\), \(\Pr [\, \bigl||C_\sigma | - \mu \bigr| \ge r\, ] \le \mathrm{Var}/r^2 \le \mu /r^2\), and if \(\varepsilon {\gt} 0\) and \(\mu {\gt} 0\) then \(\Pr [\, \bigl||C_\sigma | - \mu \bigr| \ge \varepsilon \mu \, ] \le 1/(\varepsilon ^2\mu )\). For occupancy, \(\Pr [C_\sigma \neq \emptyset ] \le \mu \), and if \(\mu {\gt} 0\) then \(\Pr [C_\sigma = \emptyset ] \le 1/\mu \), so \(\Pr [C_\sigma \neq \emptyset ] \ge 1 - 1/\mu \); in particular \(\Pr [C_\sigma \neq \emptyset ] \le 1/8\) when \(\mu \le 1/8\) and \(\Pr [C_\sigma \neq \emptyset ] \ge 7/8\) when \(\mu \ge 8\). Finally, let the amplified occupancy test on \((12k + 1)s\) seed bits return the strict majority of the answers “\(C_\sigma \neq \emptyset \)” for its \(12k + 1\) blocks \(\sigma \). If \(\mu \ge 8\) it returns \(1\) with probability at least \(1 - 2^{-k}\) (so \(0\) with probability at most \(2^{-k}\)), and if \(\mu \le 1/8\) it returns \(1\) with probability at most \(2^{-k}\).
- Complexity.PairwiseIndependentHash.averageCellSize_eq
- Complexity.PairwiseIndependentHash.averageOrderedPairCellSize_eq
- Complexity.PairwiseIndependentHash.orderedPairCellSize_eq
- Complexity.PairwiseIndependentHash.averageCellSizeSquare_eq_add
- Complexity.PairwiseIndependentHash.averageCellSizeSquare_eq
- Complexity.PairwiseIndependentHash.cellSizeVariance_eq
- Complexity.PairwiseIndependentHash.cellSizeVariance_nonneg
- Complexity.PairwiseIndependentHash.cellSizeVariance_le_averageCellSize
- Complexity.PairwiseIndependentHash.eventProb_deviationEvent_le_variance_div_sq
- Complexity.PairwiseIndependentHash.eventProb_deviationEvent_le_average_div_sq
- Complexity.PairwiseIndependentHash.eventProb_relativeDeviationEvent_le
- Complexity.PairwiseIndependentHash.eventProb_nonemptyCellEvent_le_averageCellSize
- Complexity.PairwiseIndependentHash.eventProb_emptyCellEvent_le_inv_averageCellSize
- Complexity.PairwiseIndependentHash.one_sub_inv_averageCellSize_le_eventProb_nonemptyCellEvent
- Complexity.PairwiseIndependentHash.eventProb_nonemptyCellEvent_le_one_eighth
- Complexity.PairwiseIndependentHash.seven_eighths_le_eventProb_nonemptyCellEvent
- Complexity.PairwiseIndependentHash.majorityNonempty
- Complexity.PairwiseIndependentHash.one_sub_two_pow_le_eventProb_majorityNonemptyEvent
- Complexity.PairwiseIndependentHash.eventProb_majorityEmptyEvent_le_two_pow
- Complexity.PairwiseIndependentHash.eventProb_majorityNonemptyEvent_le_two_pow
Let \(N\) accept every \(x \in L\) with probability at least \(2/3\) and every \(x \notin L\) with probability at most \(1/3\) at a clock \(f\) (no halting assumption is needed here). For \(n = |x|\) let \(R = 12(f(n) + 11) + 1\) be the number of trials, \(\ell = R f(n)\) the amplified seed length, and \(E_x \subseteq \{ 0,1\} ^{\ell }\) the set of seeds on which a strict majority of the \(R\) runs of \(N\) on \(x\), each for \(f(n)\) steps along its own block of \(f(n)\) bits, accepts. Then \(x \in L\) if and only if some \(\ell + 1\) shifts cover \(E_x\), and \(x \notin L\) if and only if some \(\ell + 1\) shifts cover \(\overline{E_x}\).
For a polarity \(b \in \{ 0,1\} \), the matrix language \(M_b\) is the set of \(z\) such that, with \(x\), \(w\), \(r\) the components that the pair decoders read from \(z\) (exactly \(x\), \(w\), \(r\) when \(z = \langle \langle x, w \rangle , r \rangle \)) and \(\ell \) computed from \(|x|\): if \(|r| = \ell \), then for some \(i \le \ell \) the majority verdict of the \(R\) runs along \(r \oplus u_i\) equals \(b\), where \(u_0, \dots , u_{\ell } \in \{ 0,1\} ^{\ell }\) are the consecutive blocks of \(w\) (bits beyond \(|w|\) read as \(0\)). If \(p\) and \(q\) are polynomials with \((\ell + 1)\ell \le p(n)\) and \(\ell \le q(n)\) for all \(n\), then \(L = \exists ^p \forall ^q M_1\) and \(\overline{L} = \exists ^p \forall ^q M_0\).
Finally, if every path of \(N\) halts within \(T(|x|)\) steps, then \(\mathrm{acceptProb}_N(x, T') = \mathrm{acceptProb}_N(x, T(|x|))\) for every \(T' \ge T(|x|)\), so both bounded-error conditions transfer from the clock \(T\) to any pointwise larger clock.
- Complexity.Lautemann.matrixLang
- Complexity.Lautemann.mem_iff_exists_covers
- Complexity.Lautemann.notMem_iff_exists_covers_compl
- Complexity.Lautemann.eq_polyExistsLang_of_boundedError
- Complexity.Lautemann.compl_eq_polyExistsLang_of_boundedError
- Complexity.NTM.acceptProb_eq_of_allPathsHaltIn
- Complexity.NTM.acceptsWithProb_of_le
- Complexity.NTM.rejectsWithProb_of_le
For every machine \(N\), input \(x\), and \(T \in \mathbb {N}\), \(\mathrm{acceptLeafCount}_N(x, T) \le 2^T\) (more generally, the tree rooted at any configuration and truncated at depth \(T\) has at most \(2^T\) accepting leaves), and likewise \(\mathrm{acceptCount}_N(x, T) \le 2^T\). If every length-\(T\) choice sequence leaves \(N\) on \(x\) in a halted configuration after \(T\) steps and \(T \le T'\), then \(\mathrm{acceptLeafCount}_N(x, T') = \mathrm{acceptLeafCount}_N(x, T)\); in particular, if every path halts within \(T(|x|)\) steps for every \(x\) and \(T \le T'\) pointwise, the accepting-leaf counts at \(T'(|x|)\) and \(T(|x|)\) agree for every \(x\), so a \(\# \mathsf{P}\) value does not depend on the choice of a sufficient clock. (No such invariance is claimed for \(\mathrm{acceptCount}\), which counts length-\(T\) choice strings, so a path that halts early is counted once for each unused suffix.) For every \(f \in \# \mathsf{P}\) there are \(k\) and \(T = O(n^k)\) such that \(f(x) \le 2^{T(|x|)}\) for every \(x\).
The \(c\)-fold Cartesian power \(S^c \subseteq \{ 0,1\} ^{cn}\) of \(S \subseteq \{ 0,1\} ^n\), encoded row-major, consists of the strings all of whose \(n\)-bit blocks lie in \(S\), and \(|S^c| = |S|^c\). If \(c \ge 1\), \(q \ge 1\), \(F^2 q^c \le (q + 1)^c\), and \(e\) approximates \(a^c\) within factor \(F\), then \(\lfloor (Fe)^{1/c} \rfloor \) approximates \(a\) with relative error \(1/q\). For \(F = 16\) and \(c = 8q\) the separation condition holds for every \(q \ge 1\), so a factor-\(16\) estimate \(e\) of \(|S^{8q}|\) yields the relative estimate \(\lfloor (16e)^{1/(8q)} \rfloor \) of \(|S|\).
- Complexity.ApproximateCounting.cartesianPower
- Complexity.ApproximateCounting.relativeCopies
- Complexity.ApproximateCounting.upperRootEstimate
- Complexity.ApproximateCounting.boostedEstimate
- Complexity.ApproximateCounting.mem_cartesianPower_iff
- Complexity.ApproximateCounting.card_cartesianPower
- Complexity.ApproximateCounting.relativeCopies_separates_sixteen
- Complexity.ApproximateCounting.upperRootEstimate_isRelativeApproximation
- Complexity.ApproximateCounting.boostedEstimate_isRelativeApproximation
- Complexity.ApproximateCounting.boostedEstimate_cartesianPower_isRelativeApproximation
For every machine \(N\), input \(x\) and clock \(T\), \(\mathrm{acceptProb}_N(x, T) {\gt} 1/2 \iff 2^T {\lt} 2 \cdot \mathrm{acceptCount}_N(x, T)\). Hence for every \(L \in \mathsf{PP}\) there are a machine \(N\), some \(m\), and a clock \(f = O(n^m)\) such that every path halts within \(f(|x|)\) steps and \(x \in L \iff 2^{f(|x|)} {\lt} 2 \cdot \mathrm{acceptCount}_N(x, f(|x|))\).
For every machine \(N\), polynomial \(p \in \mathbb {N}[X]\), and polarity \(b\), take the clock \(f = p\) in Lemma 194. The verdict function \(z \mapsto [z \in M_b]\), with one output bit, is in \(\mathsf{FP}\); consequently \(M_b \in \mathsf{P}\).
Given answers \(\rho _0, \dots , \rho _{n+3} \in \{ 0,1\} \), one per hash width \(j\), the estimate is \(0\) if \(\rho _0 = 0\) and otherwise \(2^{j^*}\), where \(j^*\) is the largest \(j\) with \(\rho _j = 1\); it is always below \(2^{n+4}\). Call the answers accurate for \(a\) if \(\rho _0 = [a {\gt} 0]\), \(\rho _j = 1\) whenever \(8 \cdot 2^j \le a\), and \(\rho _j = 0\) whenever \(8a \le 2^j\). If \(a \le 2^n\) and the answers are accurate for \(a\), the estimate approximates \(a\) within factor \(16\). The hashing estimator for \(S \subseteq \{ 0,1\} ^n\) with amplification \(k\) sets \(\rho _0 = [S \neq \emptyset ]\) and, for \(j \ge 1\), takes \(\rho _j\) to be the amplified occupancy test of Lemma 211 for the affine family to \(j\) bits and target \(0^j\), each width on its own block of the seed. The probability that some answer is not accurate for \(|S|\) is at most \((n + 4)2^{-k}\), so the estimator approximates \(|S|\) within factor \(16\) with probability at least \(1 - (n + 4)2^{-k}\), and at least \(3/4\) when \(k = n + 4\).
- Complexity.ApproximateCounting.Weak.estimate
- Complexity.ApproximateCounting.Weak.ResponsesAccurate
- Complexity.ApproximateCounting.Weak.estimate_lt_two_pow_add_four
- Complexity.ApproximateCounting.Weak.estimate_isFactorApproximation
- Complexity.ApproximateCounting.Weak.hashingEstimate
- Complexity.ApproximateCounting.Weak.hashingEstimate_lt_two_pow_add_four
- Complexity.ApproximateCounting.Weak.eventProb_badHashingEvent_le
- Complexity.ApproximateCounting.Weak.one_sub_error_le_eventProb_factorApproximationEvent
- Complexity.ApproximateCounting.Weak.three_fourths_le_eventProb_factorApproximationEvent
Fix polynomials \(w,v\). On input \(x\), let \(W=w(|x|)\) and enumerate all \(W\)-bit strings \(c_i\) in increasing little-endian numeric order. Starting with \(a_0=\operatorname {seed}(x)\), set \(a_{i+1}=\operatorname {update}(x,c_i,a_i)\) for \(i{\lt}2^W\). If the seed, update, and final Boolean test are polynomial-time, and \(|a_i|\le v(|x|)\) for every \(i\le 2^W\), then the language defined by testing \(a_{2^W}\) lies in \(\mathsf{PSPACE}\). The update need not be associative or commutative, and accumulators may be empty. At \(W=0\) the single candidate is the empty string. Boolean disjunction gives fixed-width witness search as an instance with a one-bit accumulator.
If the constant function \(1\) is \(O(S)\), then \(\mathsf{DSPACE}(S)\) is closed under complement. In particular \(\mathsf{PSPACE}\) is closed under complement.
If a DTM decides \(L\) in space \(S\), then so does its embedding as an NTM whose two transition functions coincide, and the embedding of a transducer is a transducer. Hence for every \(S\), \(\mathsf{DSPACE}(S) \subseteq \mathsf{NSPACE}(S)\). If \(S_1 = O(S_2)\) then \(\mathsf{DSPACE}(S_1) \subseteq \mathsf{DSPACE}(S_2)\) and \(\mathsf{NSPACE}(S_1) \subseteq \mathsf{NSPACE}(S_2)\). Consequently \(\mathsf{L} \subseteq \mathsf{NL}\) and \(\mathsf{PSPACE} \subseteq \mathsf{NPSPACE}\).
(1) A configuration predicate that holds at every start satisfying \(\mathit{pre}\), is preserved by every step, and implies auxiliary space \(s\) gives the space contract. (2) If \(\{ \mathit{pre}\} \, M\, \{ \mathit{post}\} _b\) holds and every start configuration satisfying \(\mathit{pre}\) is within auxiliary space \(s_0\), then the time-and-space contract holds with space \(s_0 + b\). (3) A time-and-space contract survives strengthening the precondition, weakening the postcondition, and enlarging the time bound, the input length and the space bound. (4) The sequential composition of two transducers is a transducer. If \(M_1\) satisfies the time-and-space contract from \(\mathit{pre}\) to \(\mathit{mid}\) with bounds \(b_1, n, s_1\), the phase-boundary normalization maps tapes satisfying \(\mathit{mid}\) to tapes satisfying \(\mathit{mid}'\), and \(M_2\) satisfies the contract from \(\mathit{mid}'\) to \(\mathit{post}\) with bounds \(b_2, n, s_2\), then \(\mathrm{seq}(M_1, M_2)\) satisfies the contract from \(\mathit{pre}\) to \(\mathit{post}\) with bounds \(b_1 + 1 + b_2\), \(n\) and \(\max (s_1, s_2)\). (5) If a transducer satisfies, for every input \(x\), the time-and-space contract from the initial tapes on \(x\) to “the output tape holds \(f(x)\)” with bounds \(T(|x|)\), \(|x|\) and \(S(|x|)\), then it computes \(f\) in space \(S\).
(1) If \(T \subseteq \mathrm{reachSet}(c_0, i)\) and \(|\mathrm{reachSet}(c_0, i)| \le |T|\) then \(T = \mathrm{reachSet}(c_0, i)\). The coded search starts from one configuration code and in each round adds the codes of the successors of the configurations the current codes decode to. (2) A code lies in round \(i\) of the coded search from \(a_0\) if and only if some sequence of \(i\) steps from \(a_0\), each staying put or moving to such a successor code, reaches it. (3) If a list of distinct members of round \(i\) is at least as long as the round, every code missing from the list is outside the round. (4) For every \(L \in \mathsf{NL}\) there are an NTM and constants \(C, D, A, B\) such that \(x \notin L\) if and only if round \(A(|x| + 1)^B\) of the coded search from the code of \(\mathrm{init}(x)\), in the window \(C \log |x| + D\), can be listed in this sense with no member decoding to a halted configuration with verdict \(1\).
Let \(G \in \mathsf{FP}\), let \(r, w\) be polynomials with natural-number coefficients, and let \(N : \{ 0,1\} ^* \to \mathbb {N}\) satisfy \(1 \le N(x) \le 2^{w(|x|)}\). Write \(y_i = G^i(\mathrm{pair}(\varepsilon , x))\). Suppose \(|y_i| \le r(|x|)\) for \(i \le N(x) + 1\), \(y_i\) does not begin with \(1\) (it is empty or begins with \(0\)) for \(0 {\lt} i {\lt} N(x)\), \(y_{N(x)}\) begins with \(1\) (the done flag), and \(y_{N(x)+1}\) is nonempty. If \(x \in L\) exactly when \(y_{N(x)+1}\) begins with \(1\), then \(L \in \mathsf{PSPACE}\).
If an NTM \(M\) decides \(L\) in some space bound, then \(x \in L\) if and only if some configuration reachable from \(\mathrm{init}(x)\) in the configuration graph of \(M\) is halted with verdict \(1\). For every \(L \in \mathsf{NL}\) there are an NTM \(M\) and constants \(A, B\) such that for every \(x\): \(x \in L\) if and only if some configuration in \(\mathrm{reachSet}(\mathrm{init}(x), A(|x| + 1)^B)\) is halted with verdict \(1\). Equivalently, \(x \notin L\) if and only if no configuration of that set is halted with verdict \(1\).
\(L \in \mathsf{PSPACE}\) if and only if there are a DTM \(M\) and a polynomial \(q\) with natural-number coefficients such that every configuration \(M\) reaches on \(x\) is within decision space \(q(|x|)\) and \(M\) halts on every input with the correct verdict.
\(\exists x_i\, \varphi \) is true under \(\alpha \) if and only if \(\varphi \) is true under \(\alpha [i \mapsto b]\) for some \(b\), and dually for \(\forall \). Evaluation depends only on the free variables, so a closed formula has an assignment-independent value, and updating or quantifying a variable that is not free changes nothing. Under every assignment, \(\neg \exists x_i\, \varphi \) has the value of \(\forall x_i\, \neg \varphi \), and \(\neg \forall x_i\, \varphi \) that of \(\exists x_i\, \neg \varphi \). Truth commutes with negation, conjunction and disjunction, and if \(\forall x_i\, \varphi \) is true then so is \(\exists x_i\, \varphi \). A conjunction is quantifier-free exactly when both conjuncts are.
- Complexity.QBF.eval_ex_iff
- Complexity.QBF.eval_all_iff
- Complexity.QBF.eval_eq_of_agree
- Complexity.QBF.eval_closed_eq
- Complexity.QBF.eval_update_not_mem
- Complexity.QBF.eval_ex_not_mem
- Complexity.QBF.eval_all_not_mem
- Complexity.QBF.eval_neg_ex
- Complexity.QBF.eval_neg_all
- Complexity.QBF.isTrue_neg_iff
- Complexity.QBF.isTrue_conj_iff
- Complexity.QBF.isTrue_disj_iff
- Complexity.QBF.isTrue_ex_of_isTrue_all
- Complexity.QBF.quantifierFree_conj
(1) For an NTM, \(c\) reaches \(c'\) within \(2^{i+1}\) steps if and only if some midpoint is reachable from \(c\) within \(2^i\) steps and reaches \(c'\) within \(2^i\) steps. (2) If a map into a finite type of cardinality at most \(N\) separates the configurations reachable from \(c_0\), then \(c\) is reachable from \(c_0\) if and only if it is reachable within \(N\) steps. (3) For every \(L \in \mathsf{NPSPACE}\) there are an NTM and a polynomial \(q\) with natural-number coefficients such that \(x \in L\) if and only if some halted configuration with verdict \(1\) is reachable from \(\mathrm{init}(x)\) within \(2^{q(|x|)}\) steps.
For Boolean-valued \(f\), the BLR test accepts with probability \(\frac{1}{2} + \frac{1}{2} \sum _S \widehat{f}(S)^3\). A linear \(f\) is accepted with probability \(1\).
\(\mathbf{I}[f] = \sum _i \mathrm{Inf}_i[f] = \sum _{k=0}^n k\, W^k[f]\). Each influence satisfies \(0 \le \mathrm{Inf}_i[f] \le \mathbf{I}[f]\) and \(\mathrm{Inf}_i[f] \le \langle f, f \rangle \), which is \(1\) for Boolean-valued \(f\). Also \(\mathbf{I}[f] \le n \langle f, f \rangle \), which is \(n\) for Boolean-valued \(f\). If every coefficient on sets of size greater than \(d\) vanishes, then \(\mathbf{I}[f] \le d \langle f, f\rangle \), hence \(\mathbf{I}[f] \le d\) for Boolean-valued \(f\). For parities, \(\mathbf{I}[\chi _S] = |S|\) and \(\mathrm{Inf}_i[\chi _S] = [i \in S]\).
- Complexity.BooleanAnalysis.totalInfluence_eq_sum_influence
- Complexity.BooleanAnalysis.totalInfluence_eq_sum_weight
- Complexity.BooleanAnalysis.influence_nonneg
- Complexity.BooleanAnalysis.totalInfluence_nonneg
- Complexity.BooleanAnalysis.influence_le_totalInfluence
- Complexity.BooleanAnalysis.influence_le_self_inner
- Complexity.BooleanAnalysis.influence_boolean_le_one
- Complexity.BooleanAnalysis.totalInfluence_le
- Complexity.BooleanAnalysis.totalInfluence_boolean_le
- Complexity.BooleanAnalysis.totalInfluence_le_of_degree
- Complexity.BooleanAnalysis.totalInfluence_boolean_le_of_degree
- Complexity.BooleanAnalysis.totalInfluence_parityFun
- Complexity.BooleanAnalysis.influence_parityFun
If a real-valued \(f\) on \(\{ 0,1\} ^n\) is \(\varepsilon \)-close to \(\chi _S\) (it differs from \(\chi _S\) on at most an \(\varepsilon \) fraction of inputs), then for every \(x\), \(\Pr _y[f(y) f(x + y) = \chi _S(x)] \ge 1 - 2\varepsilon \). No Boolean-valuedness is needed.
\(\mathbb {E}[f] = \widehat{f}(\emptyset )\), \(\mathrm{Var}[f] = \sum _{S \neq \emptyset } \widehat{f}(S)^2\), and \(\mathrm{Cov}[f,g] = \sum _{S \neq \emptyset } \widehat{f}(S)\widehat{g}(S)\). For Boolean-valued \(f\) and \(g\), \(\mathrm{Var}[f] = 1 - \mathbb {E}[f]^2\) and \(\langle f, g \rangle = 1 - 2\, \mathrm{dist}(f,g)\).
Let \(y \sim N_\rho (x)\) mean that each \(\chi (y_i)\) independently equals \(\chi (x_i)\) with probability \(\frac{1+\rho }{2}\) and is flipped otherwise, for \(\rho \in [-1,1]\). Then \(T_\rho f(x) = \mathbb {E}_{y \sim N_\rho (x)}[f(y)]\) and \(\mathrm{Stab}_\rho [f] = \mathbb {E}_{x,\, y \sim N_\rho (x)}[f(x) f(y)]\). In particular, for Boolean-valued \(f\) and \(\delta \in [0,1]\), \(\mathrm{NS}_{1-2\delta }[f] = \Pr [f(x) \neq f(y)]\) when each bit is flipped independently with probability \(\delta \).
For \(\rho \in [0,1]\), \(\langle f, f \rangle - \mathrm{Stab}_\rho [f] \le (1 - \rho )\, \mathbf{I}[f]\). Equivalently, \(\mathrm{NS}_\rho [f] \le \frac{1-\rho }{2}\, \mathbf{I}[f]\).
\(\mathrm{Stab}_\rho [f] = \sum _{k=0}^n \rho ^k W^k[f]\). Moreover \(\mathrm{Stab}_1[f] = \langle f, f \rangle \), \(\mathrm{Stab}_0[f] = \mathbb {E}[f]^2\), and \(\mathrm{NS}_1[f] = 0\). For \(\rho \ge 0\), \(0 \le \mathbb {E}[f]^2 \le \mathrm{Stab}_\rho [f]\). On \(0 \le \rho _1 \le \rho _2\), \(\mathrm{Stab}_{\rho _1}[f] \le \mathrm{Stab}_{\rho _2}[f]\) and \(\mathrm{NS}_{\rho _2}[f] \le \mathrm{NS}_{\rho _1}[f]\). For \(\rho \in [0,1]\), \(\mathrm{Stab}_\rho [f] \le \langle f, f \rangle \) (so \(\mathrm{Stab}_\rho [f] \le 1\) for Boolean-valued \(f\)) and \(\mathrm{NS}_\rho [f] \ge 0\). Always, \(\mathrm{Stab}_\rho [f] + 2\, \mathrm{NS}_\rho [f] = \langle f, f \rangle \).
- Complexity.BooleanAnalysis.noiseStability_eq_sum_weight
- Complexity.BooleanAnalysis.noiseStability_one
- Complexity.BooleanAnalysis.noiseStability_zero_eq_expect_sq
- Complexity.BooleanAnalysis.noiseStability_nonneg
- Complexity.BooleanAnalysis.sq_expect_le_noiseStability
- Complexity.BooleanAnalysis.noiseStability_mono
- Complexity.BooleanAnalysis.noiseStability_le_self_inner
- Complexity.BooleanAnalysis.noiseStability_boolean_le_one
- Complexity.BooleanAnalysis.noiseStability_add_two_noiseSensitivity
- Complexity.BooleanAnalysis.noiseSensitivity_antitone
- Complexity.BooleanAnalysis.noiseSensitivity_nonneg
- Complexity.BooleanAnalysis.noiseSensitivity_one
Every \(f\) has \(\mathrm{Var}[f] \ge 0\). If \(f\) is Boolean-valued, then \(\mathrm{Var}[f] = 4 \Pr [f = 1] \Pr [f = -1]\) and \(0 \le \mathrm{Var}[f] \le 1\). Moreover, with \(\varepsilon = \min (\mathrm{dist}(f, 1), \mathrm{dist}(f, -1))\), the distance to the nearer constant function, \(2\varepsilon \le \mathrm{Var}[f] \le 4\varepsilon \).
(a) If a Boolean function \(d\) satisfies \(d(x) = \mathrm{true}\) exactly when \(x\) lies in the language of a distributional problem, and the one-bit function \(x \mapsto [d(x)]\) is in \(\mathsf{FP}\), then the problem lies in \(\mathsf{AvgP}_\delta \) for every nonnegative \(\delta \) and in \(\mathsf{AvgP}\), whatever its ensemble. (b) An errorless heuristic for \(L\) (efficient or not) rejects with probability at least \(1 - \Pr [L] - \Pr [\mathrm{fail}]\) on every slice of every finite ensemble.
For every \(A\): \(\mathsf{P} \subseteq \mathsf{P}^A \subseteq \mathsf{NP}^A\) and \(\mathsf{NP} \subseteq \mathsf{NP}^A\); if \(A \in \mathsf{P}\) then \(\mathsf{P}^A = \mathsf{P}\).
For \(i \le j\), \(\mathsf{AC}^i[m] \subseteq \mathsf{AC}^j[m]\). For every \(i\) and \(m\), \(\mathsf{AC}^i \subseteq \mathsf{AC}^i[m]\); in particular \(\mathsf{AC}^0 \subseteq \mathsf{AC}^0[m]\). A family is in \(\mathsf{AC}^0[m]\) exactly when a polynomial-size AND/OR/\(\mathrm{MOD}_m\) circuit family of constant depth computes it.
For \(i \le j\), \(\mathsf{NC}^i \subseteq \mathsf{NC}^j\), \(\mathsf{AC}^i \subseteq \mathsf{AC}^j\) and \(\mathsf{TC}^i \subseteq \mathsf{TC}^j\); in particular \(\mathsf{NC}^0 \subseteq \mathsf{NC}^1\). For every \(i\), \(\mathsf{AC}^i \subseteq \mathsf{TC}^i\); in particular \(\mathsf{AC}^0 \subseteq \mathsf{TC}^0\).
For every \(i\), \(\mathsf{NC}^i \subseteq \mathsf{AC}^i \subseteq \mathsf{NC}^{i+1}\).
The enumeration of \(k\)-tuples has length \(n^k\) and contains every \(k\)-tuple, so a truth table of arity \(k\) has length \(n^k\). A one-hot block has length \(n\). The encoding has length \(n + 1 + \sum _R n^{\mathrm{ar}(R)} + c \cdot n\), where \(c\) is the number of constants, and for a relational vocabulary it is the unary block followed by the truth tables alone. The size \(n\) is recoverable as the length of the leading block of ones, and a one-hot constant block determines its element.
- Complexity.DescriptiveComplexity.allTuples_length
- Complexity.DescriptiveComplexity.mem_allTuples
- Complexity.DescriptiveComplexity.encodeRelC_length
- Complexity.DescriptiveComplexity.encodeRelsC_length
- Complexity.DescriptiveComplexity.encodeConstC_length
- Complexity.DescriptiveComplexity.encodeConstsC_length
- Complexity.DescriptiveComplexity.encodeStruct_length
- Complexity.DescriptiveComplexity.encodeStruct_of_isRelational
- Complexity.DescriptiveComplexity.encodeStruct_card
- Complexity.DescriptiveComplexity.encodeConstC_injective
Order-independent queries are closed under complement, intersection, and union.
If \(\mathsf{PSPACE} \subseteq \mathsf{IP}\), then \(\mathsf{IP} = \mathsf{PSPACE}\). The hypothesis is also recorded, unproved, as the proposition PSPACESubsetIP, and the conclusion is stated from either form.
\(\mathsf{P} \subseteq \mathsf{MA}\) and \(\mathsf{P} \subseteq \mathsf{AM}\).
\(\mathsf{P} \subseteq \mathsf{PCP}(r, q)\) for all \(r\) and \(q\), and \(\mathsf{PCP}(r, q) \subseteq \mathsf{PCP}(r, q')\) whenever \(q \le q'\) pointwise.
For all \(n\) and \(k\), some \(k\)-shared program of Theorem 369 computes the parity of \(n\) bits with \(s\) AND and OR gates, where \((k + 1) s \le 4(n + k)^2 + 3k(k + 1)\); if \(k {\lt} n\) then \((k + 1) s \le 19 n^2\). With the lower bound \(n^2 \le (k + 1)(s + k + 1)\), the minimum number of gates is \(\Theta (n^2/(k + 1))\) whenever \(2(k + 1)^2 \le n^2\).
Checking a resolution refutation, encoded as a clause sequence, is a Cook–Reckhow proof system.
\(\mathsf{P}\) is closed under complement, union, intersection, set difference, and symmetric difference. In particular \(\{ L : \overline{L} \in \mathsf{P}\} = \mathsf{P}\). At the level of time bounds, \(L_1 \in \mathsf{DTIME}(T_1)\) and \(L_2 \in \mathsf{DTIME}(T_2)\) imply \(L_1 \cup L_2 \in \mathsf{DTIME}(T_1 + T_2)\).
Complementation exchanges the quantifiers: \(\overline{\exists ^p L'} = \forall ^p \overline{L'}\) and \(\overline{\forall ^p L'} = \exists ^p \overline{L'}\), and at the level of classes the complement class of \(\exists \mathcal{C}\) is \(\forall \{ L : \overline{L} \in \mathcal{C}\} \) and dually. Since \(\mathsf{P}\) is closed under complement, \(\Pi ^p_0 = \mathsf{P}\); and \(\Sigma ^p_{k+1} = \exists \Pi ^p_k\), \(\Pi ^p_{k+1} = \forall \Sigma ^p_k\), \(\Sigma ^p_1 = \exists \mathsf{P}\), and \(\Pi ^p_1 = \forall \mathsf{P}\). Moreover \(\mathsf{P} \subseteq \exists \mathsf{P}\) and \(\mathsf{P} \subseteq \forall \mathsf{P}\), and for every \(k\), \(\Sigma ^p_k \subseteq \Sigma ^p_{k+1}\), \(\Pi ^p_k \subseteq \Pi ^p_{k+1}\), and \(\Sigma ^p_k \subseteq \mathsf{PH}\); in particular \(\mathsf{P} \subseteq \mathsf{PH}\).
- Complexity.compl_polyExistsLang
- Complexity.compl_polyForallLang
- Complexity.complClass_polyExistsClass
- Complexity.complClass_polyForallClass
- Complexity.PiP_zero
- Complexity.SigmaP_succ
- Complexity.PiP_succ
- Complexity.SigmaP_one
- Complexity.PiP_one
- Complexity.P_subset_polyExistsClass_P
- Complexity.P_subset_polyForallClass_P
- Complexity.SigmaP_subset_SigmaP_succ
- Complexity.PiP_subset_PiP_succ
- Complexity.SigmaP_subset_PH
- Complexity.P_subset_PH
For every \(T\), \(\mathsf{DTIME}(T) \subseteq \mathsf{DSPACE}(T)\) and \(\mathsf{DTIME}(T) \subseteq \mathsf{NSPACE}(T)\). Hence \(\mathsf{P} \subseteq \mathsf{PSPACE}\) and \(\mathsf{P} \subseteq \mathsf{NPSPACE}\).
Write \(A \le _{\log } B\) when some \(f \in \mathsf{FL}\) satisfies \(x \in A \iff f(x) \in B\). Then \(\le _{\log }\) is reflexive and transitive, \(A \le _{\log } B\) implies \(A \le _p B\), and \(\mathsf{L}\) and \(\mathsf{NL}\) are closed downward under \(\le _{\log }\).
\(\mathsf{NL} \subseteq \mathsf{coNL}\) if and only if \(\mathsf{coNL} \subseteq \mathsf{NL}\). In particular, if \(\mathsf{NL} \subseteq \mathsf{coNL}\) then \(\mathsf{NL} = \mathsf{coNL}\).
Suppose that for every NTM \(M\) deciding some language in space \(S\) with \(S = O(\log n)\), and all constants \(A, B\), there are constants \(C, D\) and a nondeterministic transducer deciding, in space \(C \log n + D\), the set of inputs \(x\) such that no configuration in \(\mathrm{reachSet}(\mathrm{init}(x), A(|x| + 1)^B)\) of \(M\) is halted with verdict \(1\). Then \(\mathsf{NL} \subseteq \mathsf{coNL}\).
If \(A\subseteq 2^{[n]}\) is nonempty and downward closed, and \(0\le r\le 1/20\), then
Korten attributes the transfer principle to Yufei Zhao, Probabilistic Methods in Combinatorics, Lemma 4.3.7, https://yufeizhao.com/pm/probmethod_notes.pdf.
Every exact decision tree \(T\) computing \(f\) satisfies \(s(f)\le \operatorname {bs}(f)\le \operatorname {depth}(T)\). Every function on \(n\) bits has an exact tree of depth at most \(n\); consequently \(\operatorname {bs}(f)\le n\), including when \(n=0\).
- Complexity.BooleanAnalysis.Sensitivity.sensitivityAt_le_blockSensitivityAt
- Complexity.BooleanAnalysis.Sensitivity.sensitivity_le_blockSensitivity
- Complexity.BooleanAnalysis.Sensitivity.blockSensitivity_le_depth
- Complexity.BooleanAnalysis.Sensitivity.exists_decisionTree
- Complexity.BooleanAnalysis.Sensitivity.blockSensitivity_le_arity
Bernoulli expectations are invariant under coordinate equivalences, and restriction preserves their product law. Let \(P\subseteq _p I\) and \(Q\subseteq _q I\) be independent and let \(\theta =p+q-pq\). If \(\theta r=p(1-q)\), then for every test function on pairs \((S,R)\), with \(R\subseteq S\),
This is an algebraic identity, including degenerate rates. When \(p\ge 0\) and \(0{\lt}q\le 1\), the ratio \(r=p(1-q)/(p+q-pq)\) belongs to \([0,1]\) and is at most \(p/q\).
\(\widehat{f * g}(S) = \widehat{f}(S)\, \widehat{g}(S)\). The convolution of two densities is a density. For nonempty \(A\), \(\varphi _A\) is a density and \(\widehat{\varphi _A}(S) = |A|^{-1} \sum _{x \in A} \chi _S(x)\). In particular, \(\varphi _{\{ 0\} } = \sum _S \chi _S\), and every Fourier coefficient of \(\varphi _{\{ 0\} }\) is \(1\).
- Complexity.BooleanAnalysis.fourierCoeff_convolution
- Complexity.BooleanAnalysis.convolution_density_isDensity
- Complexity.BooleanAnalysis.setDensity_isDensity
- Complexity.BooleanAnalysis.fourierCoeff_setDensity
- Complexity.BooleanAnalysis.setDensity_singleton_zero
- Complexity.BooleanAnalysis.fourierCoeff_setDensity_singleton_zero
Marginalization preserves total mass and nonnegativity. If \(f(x)=2^n\mu (x)\), then \(f_R(z)=2^{|R|}\mu _R(z)\).
Let \(X\) be finite and nonempty, \(J\) finite, and let \(g,H_j:X\to \mathbb R\) and \(a_j\in \mathbb R\). If \(|\mathbb E_x[g(x)H_j(x)]|\le \varepsilon \) for every \(j\) and \(g(x)\sum _j a_jH_j(x)\ge \gamma \) for every \(x\), then
In particular, for \(\varepsilon {\gt}0\) and margin \(\gamma =1\), the sum of absolute coefficient values is at least \(1/\varepsilon \). A constant bias can be included as another feature and must satisfy the same correlation hypothesis. This is a coefficient-weight statement, rather than a bound on arbitrary-weight gate counts or on coefficient encoding lengths.
If \(F\) is computed by a decision tree of depth \(t\), then the real-valued view of \(F\) has degree at most \(t\).
\(f = \sum _{k=0}^{n} f^{=k}\) and \(\widehat{f^{=k}}(T) = [|T| = k]\, \widehat{f}(T)\). For \(j \neq k\) the parts \(f^{=j}\) and \(g^{=k}\) are orthogonal. Also \(\lVert f^{=k} \rVert _2^2 = W^k[f]\), \(\sum _{k=0}^n W^k[f] = \langle f, f \rangle \) (which is \(1\) for Boolean-valued \(f\)), \(f^{\le k} = \sum _{j \le k} f^{=j}\), and \(\langle f^{\le k}, f^{\le k} \rangle = \sum _{j \le k} W^j[f]\). Finally, \(f^{=0}\) is the constant \(\mathbb {E}[f]\), \(\mathrm{Var}[f] = \sum _{k=1}^n W^k[f]\), and \(\deg f \le n\).
- Complexity.BooleanAnalysis.sum_degreePart
- Complexity.BooleanAnalysis.degreePart_inner_eq_zero
- Complexity.BooleanAnalysis.norm_sq_degreePart
- Complexity.BooleanAnalysis.sum_fourierWeightAtDegree
- Complexity.BooleanAnalysis.sum_fourierWeightAtDegree_boolean
- Complexity.BooleanAnalysis.lowDegreePart_eq_sum
- Complexity.BooleanAnalysis.lowDegreePart_self_inner
- Complexity.BooleanAnalysis.fourierCoeff_degreePart
- Complexity.BooleanAnalysis.degreePart_zero
- Complexity.BooleanAnalysis.degree_le
- Complexity.BooleanAnalysis.variance_eq_sum_fourierWeightAtDegree_pos
The pattern fiber has the same cardinality as \(\{ y\in X:y_{I\setminus S}=x_{I\setminus S}\} \) and is nonempty for \(x\in X\). For nonempty \(X\), \(D_\infty (X)\le k\) if and only if \(|X|\ge 2^{|I|-k}\); in that case \(\mu _X(x)\le 2^{k-|I|}\) for every \(x\). The mass function is nonnegative, sums to one, and computes uniform finite-set expectations.
- Complexity.BooleanAnalysis.card_coordinateFiber
- Complexity.BooleanAnalysis.coordinateFiber_nonempty
- Complexity.BooleanAnalysis.uniformDeficit_nonneg
- Complexity.BooleanAnalysis.card_eq_rpow_sub_uniformDeficit
- Complexity.BooleanAnalysis.uniformDeficit_le_iff
- Complexity.BooleanAnalysis.uniformMass_nonneg
- Complexity.BooleanAnalysis.sum_uniformMass
- Complexity.BooleanAnalysis.sum_uniformMass_mul
- Complexity.BooleanAnalysis.uniformMass_le_rpow
If \(f\) is Boolean-valued and \(W^1[f] \ge 1 - \delta \), then \(f\) is \(O(\delta )\)-close to \(\chi _{\{ i\} }\) or to \(-\chi _{\{ i\} }\) for some \(i\).
Every \(f : \mathbb {F}_2^n \to \mathbb {R}\) satisfies \(f(x) = \sum _S \widehat{f}(S) \chi _S(x)\), so the parities span. The coefficients are unique: if \(f = \sum _S c_S \chi _S\) pointwise, then \(c_S = \widehat{f}(S)\) for all \(S\). In particular, two functions are equal iff all their Fourier coefficients agree, and \(f = 0\) iff every coefficient vanishes.
Call \(g\) a \(k\)-junta if it depends on at most \(k\) coordinates. For every Boolean-valued \(f\) and \(0 {\lt} \varepsilon \le 1\), \(f\) is \(\varepsilon \)-close to a Boolean-valued \(2^{O(\mathbf{I}[f]/\varepsilon )}\)-junta.
For every real polynomial \(p\) of total degree at most \(d\) in \(n\) variables,
This includes \(n=0\) and \(d=0\), allows zeros of \(p\) on the cube, and does not require the supplied polynomial to be multilinear.
For nonnegative \(f\), if \(0{\lt}a\le \breve f(R)\) and \(b\ge 0\), then \(\Pr _{z\in \{ 0,1\} ^R}[f_R(z)\le b]\le b/a\). The same bound holds for any nonempty finite type and its harmonic mean.
The full-cube representation of a projection agrees with \(f_R(x_R)\). Its harmonic mean equals the harmonic mean over actual projected patterns, and \(\mathbb {E}_z f_R(z)=\mathbb {E}_x f(x)\). Bernoulli weights sum to one.
For every nonnegative function \(f\),
The infimum is attained, including when a projected value is zero. The finite harmonic-mean version holds on any nonempty finite type.
For every \(n\) and every \(f : \mathbb {F}_2^n \to \mathbb {R}\), \(\lVert T_{1/\sqrt{3}} f \rVert _4 \le \lVert f \rVert _2\).
The flip preserves expectations, \(\mathbb {E}_x[g(x^{\oplus i})] = \mathbb {E}[g]\), and \(\chi _S(x^{\oplus i}) = (-1)^{[i \in S]} \chi _S(x)\). Precomposing with the flip gives \(\widehat{f \circ \oplus _i}(T) = (-1)^{[i \in T]} \widehat{f}(T)\). Moreover \(\widehat{D_i f}(T) = [i \notin T]\, \widehat{f}(T \cup \{ i\} )\) and \(\widehat{L_i f}(T) = [i \in T]\, \widehat{f}(T)\). Hence \(\mathrm{Inf}_i[f] = \lVert D_i f \rVert _2^2 = \lVert L_i f \rVert _2^2\) and \(L_i f = \chi _{\{ i\} } \cdot D_i f\).
- Complexity.BooleanAnalysis.fourierCoeff_derivative
- Complexity.BooleanAnalysis.influence_eq_norm_sq_derivative
- Complexity.BooleanAnalysis.fourierCoeff_sensitivityOp
- Complexity.BooleanAnalysis.influence_eq_norm_sq_sensitivityOp
- Complexity.BooleanAnalysis.sensitivityOp_eq_parityFun_mul_derivative
- Complexity.BooleanAnalysis.fourierCoeff_comp_flipCoord
- Complexity.BooleanAnalysis.parityFun_flipCoord
- Complexity.BooleanAnalysis.expect_flipCoord
For Boolean-valued \(f\), \(\mathrm{Inf}_i[f] = \Pr _x[f(x) \neq f(x^{\oplus i})]\) and \(\mathbf{I}[f] = \mathbb {E}_x\bigl[\# \{ i : f(x) \neq f(x^{\oplus i})\} \bigr]\). The Lean statements write the probability as the expectation of the \(0\)–\(1\) indicator.
There is an absolute constant \(c {\gt} 0\) such that for every \(n \ge 1\), every Boolean-valued \(f : \mathbb {F}_2^n \to \mathbb {R}\) has a coordinate \(i\) with \(\mathrm{Inf}_i[f] \ge c \cdot \mathrm{Var}[f] \cdot \frac{\log n}{n}\).
If \(f : \mathbb {F}_2^n \to \{ 0, 1\} \) has mean \(\alpha \le 1/2\), then \(W^1[f] \le O(\alpha ^2 \log (1/\alpha ))\).
Suppose \(F\) is computed by an unbounded fan-in AND/OR circuit with negations of size \(s\) and depth \(d\). Then its real-valued view satisfies \(W^{{\gt}k}[F] \le s \cdot 2^{-\Omega (k^{1/d})}\) for every \(k\).
Let \(\mu _p\) be the product measure on the cube in which each coordinate independently has \(\chi (x_i) = 1\) with probability \(p\). For monotone Boolean-valued \(f\), \(\frac{d}{dp} \mu _p(f = 1) = \sum _i \Pr _{x \sim \mu _p}[f(x) \neq f(x^{\oplus i})]\).
If \(f\) is Boolean-valued and monotone, then \(\mathrm{Inf}_i[f] = \widehat{f}(\{ i\} )\) for every \(i\), and \(\mathbf{I}[f] \le \sqrt{n}\).
\(\widehat{T_\rho f}(S) = \rho ^{|S|} \widehat{f}(S)\), \(T_1 f = f\), and \(T_0 f = \mathbb {E}[f] \cdot 1\). Also \(\mathrm{Stab}_\rho [f] = \langle f, T_\rho f \rangle \) and \(\mathrm{Stab}_\rho [f,g] = \langle f, T_\rho g \rangle \). The bilinear form is symmetric, restricts to \(\mathrm{Stab}_\rho [f]\) on the diagonal, and equals \(\langle f, g \rangle \) at \(\rho = 1\). Combining symmetry with \(\mathrm{Stab}_\rho [f,g] = \langle f, T_\rho g \rangle \) shows that \(T_\rho \) is self-adjoint; this corollary is not stated as a separate declaration.
- Complexity.BooleanAnalysis.fourierCoeff_noiseOp
- Complexity.BooleanAnalysis.noiseOp_one
- Complexity.BooleanAnalysis.noiseOp_zero
- Complexity.BooleanAnalysis.noiseStability_eq_inner
- Complexity.BooleanAnalysis.noiseStabilityBilin_eq_inner
- Complexity.BooleanAnalysis.noiseStabilityBilin_symm
- Complexity.BooleanAnalysis.noiseStabilityBilin_self
- Complexity.BooleanAnalysis.noiseStabilityBilin_one
\(\langle \chi _S, \chi _T \rangle = [S = T]\) and \(\mathbb {E}[\chi _S] = [S = \emptyset ]\). Moreover, \(\chi _S \chi _T = \chi _{S \triangle T}\) pointwise, \(\chi _S(x + y) = \chi _S(x) \chi _S(y)\), every \(\chi _S\) is Boolean-valued, and \(S \mapsto \chi _S\) is injective.
\(\langle f, g \rangle = \sum _S \widehat{f}(S) \widehat{g}(S)\) and \(\lVert f \rVert _2^2 = \langle f, f \rangle = \sum _S \widehat{f}(S)^2\). If \(f\) is Boolean-valued, then \(\sum _S \widehat{f}(S)^2 = 1\), so \(|\widehat{f}(S)| \le 1\) for every \(S\).
For \(\ell =2m+1\) and every binary polynomial \(p\) of total degree at most \(d\),
The formal statements include \(k=0\) and \(d=0\).
Uniform sampling restricts to uniform sampling on a selected-coordinate subtype, and \(\rho _X(S,x)=\Pr _y[x[S\leftarrow y]\in X]\). Fiber densities and normalized densities are nonnegative. For nonempty \(X\), \(\mathbb E f_X=1\) and \(f_X(z)=2^{D_\infty (X)}\mathbf1[z\in X]\); thus \(D_\infty (X)\le k\) implies \(f_X(z)\le 2^k\).
- Complexity.BooleanAnalysis.expect_restrict_coordinates
- Complexity.BooleanAnalysis.resample_eq_completePattern
- Complexity.BooleanAnalysis.coordinateDensity_eq_expect
- Complexity.BooleanAnalysis.coordinateDensity_nonneg
- Complexity.BooleanAnalysis.uniformDensity_nonneg
- Complexity.BooleanAnalysis.expect_uniformDensity
- Complexity.BooleanAnalysis.uniformDensity_le_rpow
- Complexity.BooleanAnalysis.uniformDensity_eq_deficit
For every integer \(d\ge 1\), some nonconstant \(f\) with \(f(0)=0\) satisfies
Thus for every \(C{\gt}0\), some such \(f\) has \(C s(f)^2{\lt}\operatorname {bs}(f)\). Moreover, there are a fixed \(\alpha {\gt}2\) and a family \(F_m\) such that, for \(m\ge 1\), the arity is positive, \(F_m\) is nonconstant, \(F_m(0)=0\), and \(s(F_m)^\alpha \le \operatorname {bs}(F_m,0)\), while \(\operatorname {bs}(F_m,0)\) tends to infinity.
Sign-cube multilinearization preserves evaluation whenever every coordinate squares to one, does not increase total degree, and preserves the threshold function, including its values at polynomial zeros.
For every \(m {\gt} 0\), every machine \(U\), every threshold \(r\), and every errorless heuristic \(A\) for \(\mathsf{MINKT}(U, r)\) (no efficiency is assumed),
Thus, when the average and the failure probability are small, an errorless heuristic must certify, by rejecting, a dense set of strings of high time-bounded complexity.
If \(\mathsf{P} = \mathsf{NP}\), then \(\mathsf{DistNP} \subseteq \mathsf{AvgP}\).
There are an efficiently universal ordinary machine and an efficiently universal conditional oracle machine satisfying the condition-first composition contract of Theorem 1152 with a constant additive loss and a polynomial clock, on all instances with \(|x| + |y| \le t\).
Fix a machine \(U\) and a widening clock \(\tau \). (a) If an estimator satisfies the sandwich on every instance and its threshold language \(\{ (x,1^t,1^s) : B(x,1^t) \le s\} \) is in \(\mathsf{P}\), then logarithmic \(\mathsf{GapMINKT}\) is in \(\mathsf{PromiseP}\). (b) Conversely, let a Boolean function \(d\) solve logarithmic \(\mathsf{GapMINKT}\) (accepting yes instances and rejecting no instances) with \(x \mapsto [d(x)]\) in \(\mathsf{FP}\). The unary threshold sweep built from \(d\) is in \(\mathsf{FP}\), and its output length satisfies the sandwich on every set of instances on which \(C^t_U(x) {\lt} \infty \); in particular on the paper’s domain \(|x| \le t\) provided \(C^t_U(x) {\lt} \infty \) for every such instance. If \(U\) is efficiently universal, no finiteness proviso is needed on a printer-clock domain instead: there are \(a, k\) depending only on \(U\) such that, for every widening clock \(\tau \) and every such \(d\), the sweep satisfies the sandwich on every instance with \(a(2|x|+3)^k \le t\).
- Complexity.GapMINKT.Logarithmic.problem_mem_PromiseP_of_estimatorLanguage_mem_P
- Complexity.GapMINKT.Logarithmic.Efficient.executableEstimator_satisfiesBoundsOn
- Complexity.GapMINKT.Logarithmic.Efficient.fp_and_satisfiesBoundsOn_lengthWithinTime
- Complexity.GapMINKT.Logarithmic.Efficient.fp_and_satisfiesBoundsOn_printerClock
Fix \(M\), \(N\) and a widening clock \(\tau \). (a) If an estimator \(B\) satisfies \(B \le C^t_N(x \mid y) + \mathrm{cd}^{t,\tau }_M(y)\) and \(C^{\tau }_N(x \mid y) \le B + \lfloor \log _2 \tau \rfloor \) on every instance and its threshold language \(\{ (x, y, 1^t, 1^s) : B(x, y, 1^t) \le s\} \) is in \(\mathsf{P}\), then \(\mathsf{GapMINcKT} \in \mathsf{PromiseP}\). (b) Promise-\(\mathsf{NP}\)-hardness of the multiplicative problem with factor \(\phi \ge 1\) implies promise-\(\mathsf{NP}\)-hardness of the additive one with the same clock. (c) Consequently, multiplicative hardness together with such an estimator implies \(\mathsf{P} = \mathsf{NP}\). The second half of the sandwich forces \(C^{\tau }_N(x \mid y) {\lt} \infty \) on every instance, a genuine restriction on \(\tau \) and \(N\).
If, for the evaluators of Theorem 1155 and every admissible polynomial clock, the multiplicative conditional gap problem is \(\mathsf{NP}\)-hard under the exact reductions of the paper, then \(\mathsf{DistNP} \subseteq \mathsf{AvgP}\) implies \(\mathsf{P} = \mathsf{NP}\). Published \(\mathsf{NP}\)-hardness reaches only a sublinear-time regime, so this hypothesis is open.
\(\mathsf{P} = \mathsf{NP}\) if and only if \(\mathsf{DistNP} \subseteq \mathsf{AvgP}\). This is an open problem; the nontrivial direction is \(\mathsf{P} \neq \mathsf{NP} \Rightarrow \mathsf{DistNP} \not\subseteq \mathsf{AvgP}\). The conditional results of this chapter isolate hypotheses that would imply it.
At the randomized complexity level of the paper, average-case easiness of \(\mathsf{MCSP}[2^{\varepsilon n}]\) on uniform truth tables is equivalent to worst-case solvability of a very-large-gap \(\mathsf{MCSP}\) approximation problem, with arity \(n\) and input length \(N = 2^n\) kept distinct. This is not a statement about exact \(\mathsf{MCSP}\).
(a) If \((\mathsf{MINKT}[r], D^u)\) is easy on average in the randomized errorless sense of the paper, then \(\mathsf{GapMINKT}\) with description loss of order \(\sqrt{s}\) (up to logarithmic factors) and polynomial clock blow-up has a zero-error randomized worst-case search algorithm. (b) Hence, if that gap problem is \(\mathsf{NP}\)-hard under the paper’s randomized reductions, average-case easiness of \(\mathsf{DistNP}\) in the paper’s randomized sense implies worst-case easiness of \(\mathsf{NP}\) in the corresponding randomized sense.
Instantiating Theorem 1145 with an explicit code family, explicit weak designs and concrete universal machines, and realizing the design parser, sampler, checker and decoder by machines, yields Hirahara’s 2018 search step: a dense random test gives a randomized algorithm that on input \((x, 1^t)\) finds a description of \(x\) whose length exceeds \(C^t(x)\) by \(O(\sqrt{C^t(x)})\) up to logarithmic factors, running within a polynomially larger clock. The exact finite parameter theorem is proved first and the asymptotic loss derived from it.
Assume: a list-code family that is list-decodable at inverse accuracy (up to relative distance \(1/2 - 1/q\) at every inverse accuracy \(q \ge 2\)) and has polynomial parameter bounds; \(m {\gt} 0\) and \(D {\gt} 0\); an NW design over the coordinates of the code at inverse accuracy \(q = 2mD\) with overlap budget \(b\) and seed length \(d\); a message \(\mu \) such that \(\mathrm{NW}^{\mathrm{Enc}(\mu )}\) has low complexity for \((M, t, r)\); and a \((1/D)\)-dense random test \(T\) for \((M, t, r)\). Let \(B = 1 + \lceil \log _2 m\rceil + (b + (d - \ell ) + 1) + \lceil \log _2 (C_L (q+1)^{e_L}) \rceil \), where \(\ell \) is the coordinate length and \(C_L (q+1)^{e_L}\) the list-size bound. In each case below, checked sampling with \(\lceil 2mD \rceil \) trials at agreement threshold \(1/2 + 1/(2mD)\) succeeds with probability at least \(1/2\), and the stated bound on \(\mu \) holds for every returned certificate. (a) If a machine \(\mathrm{Dec}\) with monotone clock \(t_{\mathrm{dec}}\) realizes the indexed-message decoder for this design, code and test, then \(C^{t_{\mathrm{dec}}(B)}_{\mathrm{Dec}}(\mu ) \le B\); if moreover \(U\) is an efficiently universal machine, there are constants \(c, a, k\) with \(C^{a(B + t_{\mathrm{dec}}(B) + 1)^k}_U(\mu ) \le B + c\). (b) If instead one oracle machine \(\mathrm{Dec}\) with monotone clock \(t_{\mathrm{dec}}\) realizes the decoder for this design and code and every finite test given as a membership oracle, the same two bounds hold for oracle complexity relative to the membership oracle of \(T\), now with \(U\) an efficiently universal oracle machine. Moreover the returned \(c, a, k\) satisfy a transfer law for every finite test \(T'\) and message \(\mu '\): if some description of length at most \(b'\) decodes to \(\mu '\) under \(T'\), then \(C^{a(b' + t_{\mathrm{dec}}(b') + 1)^k,\, T'}_U(\mu ') \le b' + c\). (c) If a single decoder machine serves every parameter choice of the family, reading the design and test from an explicit encoding \(e\) framed with the description (or, in the oracle form, the numeric parameters and design from a canonical encoding \(e\), with the test as an oracle), then for efficiently universal \(U\) one triple \(c, a, k\), chosen before all parameters, designs, tests and messages, gives the bound of (a) (respectively of (b)) on every instance satisfying the assumptions above, with \(B\) replaced by \(2|e| + 2 + B\).
- Complexity.NWDesign.half_le_timeBoundedKolmogorovComplexity_of_inverseDensity
- Complexity.NWDesign.half_le_efficientlyUniversalKolmogorovComplexity_of_inverseDensity
- Complexity.NWDesign.half_le_oracleTimeBoundedKolmogorovComplexity_of_inverseDensity
- Complexity.NWDesign.half_le_efficientlyUniversalOracleKolmogorovComplexity_of_inverseDensity
- Complexity.NWDesign.UniformEncodedMessageDecoderRealization.half_le_efficientlyUniversalKolmogorovComplexity_of_inverseDensity
- Complexity.NWDesign.UniformOracleEncodedMessageDecoderRealization.half_le_efficientlyUniversalKolmogorovComplexity_of_inverseDensity
Let \(m {\gt} 0\), let \(\mathrm{NW}^f\) have low complexity, and let \(T\) be a \(\delta \)-dense random test for the same machine, clock and threshold, and let the design have overlap budget \(b\). (a) There are a polarity, a coordinate \(i\) and fixed advice whose predictor agrees with \(f\) on at least a \(1/2 + \delta /m\) fraction of inputs, and whose stored data (predecessor tables, later output bits, outside seed bits and the candidate bit, excluding codec overhead) has at most \(b + (d - \ell ) + 1\) bits. (b) If \(\delta {\gt} 0\), exact checking of \(\lceil 2m/\delta \rceil \) uniformly sampled trials finds a certificate with agreement at least \(1/2 + \delta /(2m)\) with probability at least \(1/2\), and every returned certificate satisfies the same payload bound.
There is an oracle machine that is efficiently universal for oracle machines, analogous to \(\mathtt{utmTM}\).
Partial \(\mathsf{MCSP}\) and the partial variants \(\mathsf{MINKT}^{*}\) and \(\mathsf{MKTP}^{*}\) are \(\mathsf{NP}\)-hard under randomized reductions (Hirahara 2022, NP-Hardness of Learning Programs and Partial MCSP). The extension from partial to total problems is isolated as an open hypothesis, not assumed.
(a) Assume \(\mathrm{SoI}(M, N, \kappa , \lambda )\), \(|x| + |y| \le t\), \(t' \le \kappa (t)\), and a paired upper bound \(C^t_M(\mathrm{pair}(x,y)) \le C^{t''}_{N'}(x \mid y) + C^{t'}_M(y) + u\) for some oracle machine \(N'\) and clock \(t''\). Then
(b) In particular the same conclusion holds with \(u = c\) when the paired upper bound is replaced by the hypotheses of Theorem 1152 for joint machine \(M\) at clock \(t\), condition machine \(M\) at clock \(t'\) and conditional machine \(N'\) at clock \(t''\). Neither part assumes \(C^t_M(\mathrm{pair}(x,y)) {\lt} \infty \): when \(C^{\kappa (t)}_M(y) = \infty \), the depth term, and with it the right-hand side, is \(\infty \).
Fix an ordinary machine \(M\), a conditional oracle machine \(N\), a monotone primitive clock \(p\) with \(p(t) \ge t\) and \(p(t) \le a(t+1)^k\) for all \(t\), and constants \(c_{\mathrm{SoI}}, c_{\mathrm{pair}}\). The plan queries the ordinary estimator on \((\mathrm{pair}(x,y), 1^{p(t')})\) and on \((y, 1^{p^3(t')})\), where \(t' = \max (t, |x|+|y|)\). From \(p\), \(c_{\mathrm{SoI}}\) and \(c_{\mathrm{pair}}\) the library builds an explicit slack-amplified clock \(\tau (|x|, |y|, t) = 2^{e}\, (p^4(t+|x|+|y|)+1) (t+|x|+|y|+1)\), whose exponent \(e\) collects the logarithmic losses and the two constants, and proves it widening and polynomially bounded. Assume: (i) a pair-composition hypothesis: a compiler producing \(\mathrm{pair}(x,y)\) on \(M\) within \(p(t')\) steps from a program for \(y\) on \(M\) and a conditional program for \(x\) given \(y\) on \(N\) (each running within \(t\) steps), with length loss \(c_{\mathrm{pair}}\) and program budgets that contain \(C^t_M(y)\) and \(C^t_N(x \mid y)\) whenever these minima are finite; (ii) \(\mathrm{SoI}(M, N, p, \lambda )\) with \(\lambda (t) = \lfloor \log _2 p(t) \rfloor + c_{\mathrm{SoI}}\); (iii) promise-\(\mathsf{NP}\)-hardness of the multiplicative \(\mathsf{GapMINcKT}\) for \(M\), \(N\) (factor \(\phi \ge 1\)) at the slack-amplified clock \(\tau \); and (iv) either an ordinary estimator satisfying Fact 3.4’s sandwich for \(M\) at the ordinary clock \((n, t) \mapsto p(t)\) on the plan’s queries, whose induced two-query threshold language is in \(\mathsf{P}\) (or which has an \(\mathsf{FP}\) implementation whose output length is the estimate, together with \(\mathsf{FP}\) query and ruler builders for the plan), or a Boolean function \(d\) with \(x \mapsto [d(x)]\) in \(\mathsf{FP}\) solving logarithmic \(\mathsf{GapMINKT}\) for \(M\) at that clock, together with those \(\mathsf{FP}\) builders and the premise that every query of the plan has finite complexity on \(M\). Then \(\mathsf{P} = \mathsf{NP}\). Equivalently, if \(\mathsf{P} \neq \mathsf{NP}\), then (i), (iii) and each form of (iv) rule out (ii). Hypothesis (iv) needs clocks that leave room to print the paired output: it forces \(2n + 2 \le p(p(n))\) for every \(n\) (the solver form even \(2n + 2 \le p(n)\)), so it fails for slow admissible clocks such as \(p = \mathrm{id}\), where the theorem is vacuous (Lemma 1162).
- Complexity.GapMINCKT.DifferenceEstimator.Unconditional.Iterated.Slack.P_eq_NP_of_multiplicative_hard_of_SoI
- Complexity.GapMINCKT.DifferenceEstimator.Unconditional.Iterated.Slack.P_eq_NP_of_multiplicative_hard_of_SoI_of_implementations
- Complexity.GapMINCKT.DifferenceEstimator.Unconditional.Iterated.Slack.P_eq_NP_of_multiplicative_hard_of_SoI_of_logarithmic_solver
- Complexity.GapMINCKT.DifferenceEstimator.Unconditional.Iterated.Slack.not_timeBoundedSymmetryOfInformation_of_P_ne_NP
- Complexity.GapMINCKT.DifferenceEstimator.Unconditional.Iterated.Slack.not_timeBoundedSymmetryOfInformation_of_P_ne_NP_of_implementations
- Complexity.GapMINCKT.DifferenceEstimator.Unconditional.Iterated.Slack.not_timeBoundedSymmetryOfInformation_of_P_ne_NP_of_logarithmic_solver
- Complexity.GapMINCKT.DifferenceEstimator.Unconditional.Iterated.Slack.IsAdmissibleClock.parameters_admissible
If \(\mathsf{UP} \not\subseteq \mathsf{DTIME}(2^{O(n/\log n)})\), then \(\mathsf{DistNP} \not\subseteq \mathsf{AvgP}\). The class \(\mathsf{UP}\) and universal heuristic schemes are not yet defined.
Suppose a compiler \(\kappa \) turns every program for \(y\) (on machine \(M_1\), clock \(t_1\), length at most \(b_1\)) and every conditional program for \(x\) given \(y\) (on \(N\), clock \(t_2\), length at most \(b_2\)) into a program on which \(M\) produces \(\mathrm{pair}(x, y)\) within \(t\) steps, with \(|\kappa (p, q)| \le |p| + |q| + c\) for all such \(p, q\). If \(C^{t_1}_{M_1}(y) \le b_1\) and \(C^{t_2}_N(x \mid y) \le b_2\) (both finite), then \(C^t_M(\mathrm{pair}(x,y)) \le C^{t_2}_N(x \mid y) + C^{t_1}_{M_1}(y) + c\).
There is an oracle \(A\) with \(\mathsf{P}^A = \mathsf{NP}^A\).
Suppose a pseudorandom function family computable by circuits of size \(s(n)\) has advantage less than \(\delta (n)\) against every truth-table distinguisher of size polynomial in \(2^n\). Then no property that is large with density \(\delta \) and constructive at that size is useful against \(\mathsf{SIZE}(s)\).
There is an oracle \(B\) with \(\mathsf{P}^B \neq \mathsf{NP}^B\).
Let \(M\) be a TM and \(M'\) its embedding. \(M'\) has no query states and each of its steps is the same for every oracle. Erasing the initial oracle configuration on \(x\) gives the ordinary initial configuration on \(x\). For every oracle and every oracle configuration \(c\), the step of \(M'\) from \(c\), erased, equals the step of \(M\) from the erasure of \(c\) (both undefined or both defined and equal), and every step of \(M\) from the erasure of \(c\) lifts to a step of \(M'\) from \(c\) whose result erases to it. Hence every exact-time run of \(M'\) erases to a run of \(M\) with the same number of steps, and every exact-time run of \(M\) from the erasure of \(c\) lifts to a run of \(M'\) from \(c\) of the same length whose final configuration erases to the final configuration of \(M\). Consequently, for every oracle \(O\), language \(L\) and bound \(T : \mathbb {N} \to \mathbb {N}\), \(M'\) decides \(L\) in time \(T\) relative to \(O\) if and only if \(M\) decides \(L\) in time \(T\); and for every program \(p\), output \(y\) and budget \(t\), \(M'\) produces \(y\) on \(p\) within \(t\) steps relative to \(O\) if and only if \(M\) does.
- Complexity.TM.toOracleTM_queryTransition
- Complexity.TM.toOracleTM_step_oracle_independent
- Complexity.OracleCfg.erase_init
- Complexity.TM.erase_toOracleTM_step
- Complexity.TM.exists_toOracleTM_step_of_step_erase
- Complexity.TM.erase_toOracleTM_reachesIn
- Complexity.TM.exists_toOracleTM_reachesIn_of_reachesIn_erase
- Complexity.TM.toOracleTM_decidesInTime_iff
- Complexity.TM.toOracleTM_producesInTime_iff
There is an oracle TM that is efficiently universal (for the polynomial policy). At present oracle simulation and universality are only interfaces: a timed oracle simulation with additive overhead and a polynomial clock is a hypothesis of the oracle Kolmogorov-complexity transfer theorem (Lemma 1150(c)), and efficient oracle universality is a hypothesis of the Nisan–Wigderson reconstruction; no universal oracle machine has been constructed.
Let \(M\) be a nondeterministic machine and \(T, n, m \in \mathbb {N}\) with \(m \ge 1\). For every assignment of the \(n\) data positions and the \(T\) choice positions to input wires among \(m\) inputs, there is a fan-in-two circuit on \(m\) inputs that, on every input whose data wires carry \(x \in \{ 0,1\} ^n\) and whose choice wires carry \(c \in \{ 0,1\} ^T\), outputs \(1\) exactly when the \(T\)-step trace of \(M\) on \(x\) under \(c\) is in the halting state with \(1\) in the first output cell. Its size is at most \(\kappa _M (T + 2)^3\) for a constant \(\kappa _M\) depending only on \(M\), not on \(n\) or \(m\). With the choices placed first (\(m = T + n \ge 1\)), the number of \(c \in \{ 0,1\} ^T\) on which the circuit accepts \(c\, x\) equals the number of accepting choice sequences of length \(T\) of \(M\) on \(x\).
- Complexity.CircuitUnrolling.acceptanceCircuit
- Complexity.CircuitUnrolling.acceptanceCircuit_eval
- Complexity.CircuitUnrolling.acceptanceSizeCoeff
- Complexity.CircuitUnrolling.acceptanceCircuit_size_le
- Complexity.CircuitUnrolling.canonicalAcceptanceCircuit
- Complexity.CircuitUnrolling.card_acceptingChoices_eq_acceptCount
\(\mathsf{FormulaNC1} = \mathsf{Width5BP}\): every formula family witnessing membership in \(\mathsf{FormulaNC1}\) has a program family witnessing membership in \(\mathsf{Width5BP}\) that computes the same Boolean function family, and conversely. The same equality holds for the total-assignment variants, whose members assign to each \(n\) a function \((\mathbb {N} \to \{ 0,1\} ) \to \{ 0,1\} \): there the formula at \(n\) may read any variable and has depth at most \(c \lfloor \log _2 n \rfloor + c\), and the program at \(n\) may read any variable, decides by whether it moves a designated point, and has length at most \(C (n + 1)^k\) at every \(n\), including \(n = 0\).
An explicit computable compiler maps every formula \(\varphi \) and target \(\sigma \in S_5\) to a width-\(5\) program of length at most \(4^{\mathrm{depth}(\varphi )}\) which, whenever \(\sigma \) is a \(5\)-cycle, computes \(\varphi \) through \(\sigma \). If every variable of \(\varphi \) is at most \(b\), then so is the variable read by every instruction. For the fixed \(5\)-cycle \(\sigma _0 = [a_0, b_0]\), the commutator of two explicit \(5\)-cycles, the program evaluates to \(\sigma _0 \neq 1\) when \(\varphi \) is true and to the identity otherwise.
For every \(5\)-cycle \(\sigma \in S_5\), every Boolean formula of depth \(d\) is computed through \(\sigma \) by a width-\(5\) permutation branching program of length at most \(4^d\); in particular it is computed through some \(\sigma \neq 1\) by such a program. A formula of depth at most \(\lfloor \log _2 n \rfloor \), with \(n \ge 1\), is therefore computed through some \(\sigma \neq 1\) by a width-\(5\) program of length at most \(n^2\).
Let \(N, M \ge 1\). A De Morgan circuit in CSLib’s model (constants, negation, and binary conjunction and disjunction, every gate counted, and outputs designated wires at no cost) with \(N\) inputs, \(g\) gates, and \(M\) outputs becomes a fan-in-two AND/OR circuit of size exactly \(g + M\) computing the same outputs. Conversely, a fan-in-two AND/OR circuit with \(N\) inputs, \(G\) internal gates, and \(M\) outputs has a CSLib circuit with at most \(N + 2G + M\) gates computing the same outputs. For a single function \(f\) on \(N\) bits, a CSLib circuit with \(g\) gates computing \(f\) gives \(\mathrm{size}(f) \le g + 1\) for the fan-in-two AND/OR size complexity, and \(f\) has a CSLib circuit with at most \(N + 2\, \mathrm{size}(f)\) gates. Consequently \(L \in \mathsf{P/poly}\) if and only if, for some polynomial \(p\), every length-\(n\) slice of \(L\), including \(n = 0\), is decided by a CSLib circuit with at most \(p(n)\) gates, and \(\mathsf{P/poly}\) equals CSLib’s \(\mathsf{P/poly}\). The size classes interleave: \(\mathsf{SIZE}(s)\) lies in CSLib’s \(\mathsf{SIZE}(n + 2s + 1)\), and CSLib’s \(\mathsf{SIZE}(s)\) lies in \(\mathsf{SIZE}(s + 1)\).
The Boolean \(\mathsf{SIZE}\) and \(\mathsf{P/poly}\) in CSLib’s namespace (at most \(s(n)\) De Morgan gates at every length \(n\), and \(\bigcup _k \mathsf{SIZE}(n^k + k)\)) are work by this library’s author that is not in upstream CSLib; the library carries them in Complexitylib/Cslib. The equality of the two \(\mathsf{P/poly}\) classes is therefore a consistency check between two definitions by the same author, not corroboration by an independently reviewed upstream definition.
- Complexity.Circuit.ofCslib
- Complexity.Circuit.eval_ofCslib
- Complexity.Circuit.size_ofCslib
- Complexity.Circuit.exists_cslib
- Complexity.Circuit.sizeComplexity_le_of_cslib
- Complexity.Circuit.exists_cslib_of_sizeComplexity
- Complexity.mem_PPoly_iff_cslib
- Complexity.PPoly_eq_cslib_PPoly
- Complexity.SIZE_subset_cslib_SIZE
- Complexity.cslib_SIZE_subset_SIZE
Let \(N, M \ge 1\), as in Theorem 281. In CSLib’s model inputs have depth \(0\), every gate (negations and constants included) adds one level, and the depth of a circuit is the largest depth of an output wire. The translation of a CSLib De Morgan circuit has depth exactly one more, for its output gates. Conversely, a fan-in-two AND/OR circuit with \(N\) inputs, \(G\) internal gates, and \(M\) outputs has a CSLib circuit computing the same outputs with exactly \(N + 2G + M\) gates and depth at most one more. For the depth classes \(\mathsf{DEPTH}(d)\) of Definition 306: if \(f \in \mathsf{DEPTH}(d)\), then for every \(n \ge 1\) some CSLib circuit of depth at most \(d(n) + 1\) computes \(f_n\); and if for every \(n \ge 1\) some CSLib circuit of depth at most \(d(n)\) computes \(f_n\), then \(f \in \mathsf{DEPTH}(n \mapsto d(n) + 1)\).
Every input has exactly one consistent guess at any selected set of gates: the actual evaluation restricted to that set. A consistent guess recovers all gate values. Consequently \(C(x)=y\) if and only if there is a consistent guess whose cut evaluation gives output \(y\).
A fixed deterministic machine with three work tapes decides the evaluation language within \(4n + 20(n + 1)^2 + 17 = O(n^2)\) steps on every input of length \(n\); malformed pairs and malformed codes are rejected. In particular the evaluation language is in \(\mathsf{P}\).
Translation preserves every output and sharing, has fan-in at most two, and changes the size from \(s\) to exactly \(s+1\). The cofinal upper bound therefore also holds for ordinary CSLib gate count over this signature.
For every \(c{\gt}0\) and \(N\), there exist \(n\ge \max \{ N,2\} \) and an exact circuit for \(F_n\) of size less than \(cn\log _2n\). Equivalently, \(\liminf _{n\to \infty } L(n)/(n\log _2n)=0\). The upper bound concerns arbitrarily large sizes, not every sufficiently large size.
\(\mathsf{FormulaNC1} \subseteq \mathsf{NC}^1\). Consequently \(\mathsf{NC}^1 = \mathsf{FormulaNC1} = \mathsf{Width5BP}\).
Under the hypotheses of Lemma 302, the family whose circuit at length \(n \ge 1\) hardwires a seed selected by that lemma into \(r(n)\) parallel copies of the acceptance circuit at horizon \(f(n)\), followed by a strict-majority fragment, and whose answer at length \(0\) is whether the empty string is in \(L\), is a fan-in-two circuit family deciding \(L\). If \(f = O(n^d)\), its size is \(O(n^{3d+4})\).
\(\mathsf{NC}^1 \subseteq \mathsf{FormulaNC1}\), and hence \(\mathsf{NC}^1 \subseteq \mathsf{Width5BP}\).
The padded list language agrees with \(F_{n+1}\) on length-\(n+1\) inputs, and \(F_{n+1}\) accepts exactly \(2^n\) of them. The dual interpretation computes the complement of the original circuit.
Conversion preserves evaluation, never increases width, and realizes an OR of CNFs with exactly the sum of their clause counts plus their number plus one gates.
A substituted CNF evaluates like the original on the induced assignment, and substitution cannot increase its width. Variables may be identified.
There is an exactly balanced language in canonical \(\mathsf P\) such that, for every \(A{\gt}0\), eventually every CSLib unbounded AND/OR circuit of output depth at most three computing its length-\(n\) slice has more than \(2^{A\sqrt n}\) gates. Edge negations are free; gates can be shared, wiring need not be layered, and any wire can be the designated output.
A CSLib circuit with \(n{\gt}0\) inputs, \(s\) gates, and depth \(d\) has an equivalent formula of depth at most \(d\) and size at most \((2(n+s)+1)^{d+1}\). A depth-three formula or its complement has a source three-layer circuit of at most twice its tree size plus one gates. Thus when \(d\le 3\), one polarity has at most \(2(2(n+s)+1)^4+1\) source gates.
A source computation of \(T\) transitions on an \(n\)-bit input is simulated by a binary CSLib machine in at most \(2n+T+3\) steps. Consequently a polynomial-time source decider defines a language in complexitylib’s canonical \(\mathsf P\).
There are a language \(L\), a finite multitape machine \(M\), and positive integers \(C,a\) such that \(M\) decides \(L\) within \(C(n+1)^a\) steps and, for every real \(A{\gt}0\), eventually every OR-AND-OR circuit computing the length-\(n\) slice of \(L\) has more than \(2^{A\sqrt n}\) gates.
\(\mathsf{P} \subseteq \mathsf{UniformPPoly}\). More precisely, every language decided by a deterministic machine within \(q(n)\) steps, for a polynomial \(q \in \mathbb {N}[X]\), is in \(\mathsf{UniformPPoly}\).
\(\mathsf{PAdvice} \subseteq \mathsf{P/poly}\). More precisely, if a deterministic machine decides \(L\) with advice \(a\) in time \(T = O(n^d)\), then hardwiring the advice into its acceptance circuits gives a fan-in-two family of size \(O(n^{3d})\) deciding \(L\), whatever the length of the advice.
\(\mathsf{P/poly} \subseteq \mathsf{PAdvice}\). More precisely, if a fan-in-two family \(F\) of size \(O(n^d)\) decides \(L\), then its family codes (Definition 291) form polynomial-length advice, with which the serialized circuit evaluator of Theorem 293 decides \(L\) in time \(O(n^{4(d+1)})\), measured in \(|x|\).
For every fixed integer \(d\ge 2\) there is a real constant \(C_d{\gt}0\) such that, for every \(n\ge 1\) and every symmetric \(f:\{ 0,1\} ^n\to \{ 0,1\} \), there is an unbounded-fan-in AND/OR circuit computing \(f\), with depth at most \(d\), size at most \(2^{C_d n^{1/(d-1)}}\), and input-only negations. The constant is uniform over \(n\) and \(f\). An integer-root version gives size at most \(2^{K_d(\lfloor n^{1/(d-1)}\rfloor +1)}\) for some natural constant \(K_d\), also at \(n=0\).
Every basis \(B\) is a CSLib signature whose operation symbols are the gate kinds of \(B\): an operation, a fan-in it allows, and a negation flag for each input, interpreted exactly as a gate of that kind evaluates. A circuit over \(B\) with \(N \ge 1\) inputs, \(G\) internal gates and \(M \ge 1\) outputs becomes a CSLib circuit over this signature that computes the same function and has exactly \(G + M\) gates, its size. Every output of the translation is an internal gate, and its total fan-in is that of the original circuit. The translation goes one way for general bases: the converse, from CSLib circuits over \(B\)’s signature whose outputs are internal gates, is planned.
Call a formula family logspace-uniform if some function in \(\mathsf{FL}\) maps \(1^n\) to \(\mathrm{code}(\varphi _n)\), and a program family logspace-uniform if some function in \(\mathsf{FL}\) maps \(1^n\) to the code of \((P_n, x_n)\). A Boolean function family has a logspace-uniform \(\mathsf{FormulaNC1}\) witness if and only if it has a logspace-uniform \(\mathsf{Width5BP}\) witness.
For a deterministic machine \(M\) and \(f : \mathbb {N} \to \mathbb {N}\), the unrolling family has at length \(n \ge 1\) the acceptance circuit of \(M\) at horizon \(f(n)\) with every choice input hardwired to \(0\), and at length \(0\) the output bit of the \(f(0)\)-step run on the empty input. If \(M\) decides \(L\) in time \(f\), the family decides \(L\). If \(f = O(n^d)\), the family has size \(O(n^{3d})\).
For a circuit with \(s\) gates, \(m\) outputs, total fan-in \(t\), and no unused gates, \(w+e+s=t+m\). The number \(q\) of shared gates is at most \(e\). If every gate has fan-in exactly two, \(w+e=s+m\); if every gate has fan-in at most two, \(w+q\le s+m\). In particular, a single-output binary circuit without unused gates satisfies \(w+e=s+1\) and \(w+q\le s+1\).
\(\mathrm{SAT}\) is \(\mathsf{NP}\)-complete. More precisely, if a nondeterministic machine with any number of work tapes decides \(L\) within time \(T\) with \(T = O(n^c)\), then \(L \le _p \mathrm{SAT}\). For a machine \(N\) with one work tape, the tableau formula of \(N\) on \(x\) for \(s\) steps is satisfiable if and only if some choice sequence of length \(s\) makes \(N\) accept \(x\); and for every polynomial \(p\) the map sending \(x\) to the encoding of the tableau formula for \(p(|x|)\) steps is in \(\mathsf{FP}\).
On ordered structures with a BIT predicate, the first-order definable queries are exactly those whose languages have \(\mathsf{DLOGTIME}\)-uniform \(\mathsf{AC^0}\) circuit families. This makes the previous theorem uniform and adds its converse.
For coordinates below \(n\), a \(k\)-tuple’s index is below \(n^k\) and selects that tuple in the encoder’s enumeration. The arithmetic relation and constant addresses equal their existing site positions exactly. Reading these addresses in a structure encoding recovers the relation bit or the indicated one-hot equality. The tuple index also recovers a bit from a standalone relation truth table. This includes nullary relations and empty tuples. For \(n{\gt}0\), every decoded coordinate is below \(n\), re-encoding recovers every index below \(n^k\), and scanning numeric indices reproduces the tuple enumeration.
- Complexity.DescriptiveComplexity.tupleIndex_lt
- Complexity.DescriptiveComplexity.getElem?_allTuples_index
- Complexity.DescriptiveComplexity.getElem?_encodeRelC_index
- Complexity.DescriptiveComplexity.tupleDigits_lt
- Complexity.DescriptiveComplexity.tupleIndex_tupleDigits
- Complexity.DescriptiveComplexity.map_allTuples_eq_range
- Complexity.DescriptiveComplexity.encodingPosition_relation
- Complexity.DescriptiveComplexity.encodingPosition_constant
- Complexity.DescriptiveComplexity.getElem?_encodeStruct_relation
- Complexity.DescriptiveComplexity.getElem?_encodeStruct_constant
On \(\mathrm{enc}(\mathcal{A})\), supplied with \(\mathcal{A}\)’s cardinality and the numeric values of an environment, arithmetic term evaluation recovers the semantic element’s value. Arithmetic formula evaluation returns true exactly when the formula is satisfied. The sentence case uses the empty environment.
Fix the vocabulary and formula. If the supplied string is an \(\mathsf{FP}\) function of the input, and the cardinality and free-variable values can be written in unary in polynomial time, then term values have the same unary polynomial-time property and the formula’s one-bit verdict belongs to \(\mathsf{FP}\). No encoding-validity assumption is needed for this time bound.
The sentence defines exactly the bipartite query. An edgeless graph satisfies it, and a graph with a self-loop does not.
The checker accepts exactly when every directed edge joins vertices of different colors. A graph is bipartite iff some Boolean coloring is accepted. On an encoded graph, the general binary certificate checker agrees with this checker when the certificate lists one color bit per vertex. Existence of an accepted certificate characterizes the ordinary bipartite-graph query language.
Over finite initial segments, with the same additional input relations, \(\mathsf{FO}[\mathrm{BIT}]=\mathsf{FO}[\mathrm{ADD},\mathrm{MUL}]\). Each direction requires formulas independent of the universe size, together with a satisfaction-preserving translation. Canonical order is itself definable from BIT. This is a planned formalization of the equivalences in Schweikardt and Schwentick, A note on the expressive power of linear orders, Theorem 1.1 (2011), https://lmcs.episciences.org/1008/pdf.
The table layout has exactly \(\sum _i n^{a_i}+cn\) inputs, where \(a_i\) are relation arities and \(c\) is the number of constants. Every decidable structure supplies a valid table input. On any represented structure, the compiled formula evaluates to true exactly when the source formula is satisfied under the supplied assignment. Its tree size is exactly \(P_\varphi (n)\) and its depth is at most \(|\varphi |+1\), uniformly over layouts and assignments.
The numbering of input sites is chosen noncomputably; compilation from a given layout is computable. These statements concern fixed-size table inputs, not yet the library’s bit-string encoding with its unary prefix or a circuit family.
- Complexity.DescriptiveComplexity.tableInputCount_eq
- Complexity.DescriptiveComplexity.tableInput_represents
- Complexity.DescriptiveComplexity.StructureInput.compile_sat
- Complexity.DescriptiveComplexity.StructureInput.compile_size
- Complexity.DescriptiveComplexity.StructureInput.compile_depth
- Complexity.DescriptiveComplexity.Formula.table_expansion_sat
- Complexity.DescriptiveComplexity.Sentence.table_expansion_models
If \(Q_1 \le _{\mathsf{FO}} Q_2\) and \(Q_2\) is first-order definable, then so is \(Q_1\). In particular, this holds when \(Q_1\) first-order projection reduces to \(Q_2\).
The transport theorem holds for dimension-\(k\) interpretations. They compose (dimensions multiply), so dimension-\(k\) reducibility is a preorder that contains dimension-1 reducibility.
The interpreted edges have the stated semantics. For every source graph, the disjoint union is bipartite exactly when the source is. The construction applies to directed graphs and permits loops; it is a semantic reduction example, with no hardness claim.
The two-copy graph has exactly \(2n\) vertices and the stated edges. It is bipartite for every input graph. This is an interpretation example, not a reduction preserving the source’s bipartiteness.
The input vector’s list is exactly the original encoding. Every encoded structure represents its relation and constant tables under this layout. Therefore the expansion computes satisfaction on the actual encoding, including for open formulas. At each universe size there is one circuit on \(\ell _V(n)\) inputs computing the sentence expansion on every input, of size \(P_\varphi (n)\) and depth at most \(|\varphi |+2\). The following validator supplies rejection of malformed inputs.
- Complexity.DescriptiveComplexity.encodedInput_represents
- Complexity.DescriptiveComplexity.ofFn_encodedInput
- Complexity.DescriptiveComplexity.Formula.encoded_expansion_sat
- Complexity.DescriptiveComplexity.Sentence.encoded_expansion_models
- Complexity.DescriptiveComplexity.Sentence.exists_encoding_circuit
Computable interpretation represents the original structure map exactly. Both generators return \(\mathrm{enc}(I(\mathcal A))\) on \(\mathrm{enc}(\mathcal A)\). The raw generator has length \(\ell _W(n)\), including all target relation and constant blocks. On arbitrary input \(x\), the validated map’s length is at most \(\ell _W(|x|)\); malformed input produces \([]\). For every target query \(Q\),
- Complexity.DescriptiveComplexity.FOInterpretation.applyDec_toFinStruct
- Complexity.DescriptiveComplexity.FOInterpretation.rawEncoding_encodeStruct
- Complexity.DescriptiveComplexity.FOInterpretation.rawEncoding_length
- Complexity.DescriptiveComplexity.FOInterpretation.mapEncoding_encodeStruct
- Complexity.DescriptiveComplexity.FOInterpretation.mapEncoding_of_decode_eq_none
- Complexity.DescriptiveComplexity.FOInterpretation.mapEncoding_nil
- Complexity.DescriptiveComplexity.FOInterpretation.mapEncoding_length_encodeStruct
- Complexity.DescriptiveComplexity.FOInterpretation.mapEncoding_length_le
- Complexity.DescriptiveComplexity.FOInterpretation.mapEncoding_mem_queryLanguage_iff
Every fixed universe-preserving FO interpretation has its encoded map in \(\mathsf{FP}\). More generally, its arithmetic generator is polynomial-time when supplied a polynomial-time string and a polynomial-time unary cardinality.
The encoded evaluator returns true exactly on the induced query language, for every input string. On an encoded structure it agrees with the original structure-level evaluator. Theorem 1312 proves that a polynomial-time machine computes this verdict for each fixed sentence.
For a fixed vocabulary, relation symbol, and tuple arity, polynomial-time unary cardinality and coordinates give polynomial-time unary tuple indices, relation addresses, and constant addresses. Each fixed coordinate extracted from a polynomial-time unary tuple index is also polynomial-time. The full structure length and any fixed relation context’s certificate length are polynomial-time unary numbers. Parsing cardinality from the leading true run and testing the expected encoded length are polynomial-time. Relation and constant bit tests at these addresses are polynomial-time predicates on any supplied \(\mathsf{FP}\) string, with false at missing positions.
- Complexity.DescriptiveComplexity.tupleIndex_unary
- Complexity.DescriptiveComplexity.tupleDigits_unary
- Complexity.DescriptiveComplexity.relationAddress_unary
- Complexity.DescriptiveComplexity.constantAddress_unary
- Complexity.DescriptiveComplexity.encodingLength_unary
- Complexity.DescriptiveComplexity.DecREnv.encodingLength_unary
- Complexity.DescriptiveComplexity.encodedCard_unary
- Complexity.DescriptiveComplexity.encodingLengthMatches_fpPred
- Complexity.DescriptiveComplexity.relationBit_fpPred
- Complexity.DescriptiveComplexity.constantBit_fpPred
Every table site occurs exactly once in the enumeration, its position is below \(\ell _V(n)\), and reading that position in an encoded structure recovers exactly its table value. Moreover \(n{\lt}\ell _V(n)\), and \(\ell _V\) is strictly increasing. Thus a fixed input length corresponds to at most one universe size. Correct length, header bits, and table bits characterize the complete encoding.
- Complexity.DescriptiveComplexity.mem_encodingTableSites
- Complexity.DescriptiveComplexity.encodingTableSites_nodup
- Complexity.DescriptiveComplexity.encodingPosition_lt
- Complexity.DescriptiveComplexity.getElem?_encodeStruct_position
- Complexity.DescriptiveComplexity.getElem?_encodeStruct_header
- Complexity.DescriptiveComplexity.encodeStruct_eq_of_values
- Complexity.DescriptiveComplexity.encodeStruct_length_eq
- Complexity.DescriptiveComplexity.card_lt_encodingLength
- Complexity.DescriptiveComplexity.encodingLength_pos
- Complexity.DescriptiveComplexity.encodingLength_strictMono
\(\mathrm{dec}(\mathrm{enc}(\mathcal{A})) = \mathcal{A}\) exactly, with extensional equality of the relation and constant functions. Decoding returns \(\mathcal{A}\) iff its encoding equals the input; rejection is equivalent to being outside the encoder’s image. Hence \(\mathrm{enc}\) is injective, and \(x \in \mathrm{queryLanguage}(Q)\) iff \(\mathrm{dec}(x) = \mathcal{A} \neq \bot \) and \(Q(\mathcal{A})\).
- Complexity.DescriptiveComplexity.decodeStruct_encodeStruct
- Complexity.DescriptiveComplexity.decodeStruct_nil
- Complexity.DescriptiveComplexity.decodeStruct_eq_some_iff
- Complexity.DescriptiveComplexity.decodeStruct_eq_none_iff
- Complexity.DescriptiveComplexity.encodeStruct_injective
- Complexity.DescriptiveComplexity.mem_queryLanguage_iff_decodeStruct
- Complexity.DescriptiveComplexity.encodeStruct_mem_queryLanguage_iff
- Complexity.DescriptiveComplexity.not_mem_queryLanguage_of_decodeStruct_eq_none
The validator accepts precisely the encoder’s image at length \(\ell _V(n)\). It has size exactly \(E_V(n)\) and depth at most three. The validated sentence expansion accepts exactly the corresponding query language, including on malformed inputs, with size \(V_\varphi (n)\) and depth at most \(|\varphi |+4\). There is an actual circuit recognizing this language at the chosen length, with size \(V_\varphi (n)\) and depth at most \(|\varphi |+5\).
- Complexity.DescriptiveComplexity.encodingValidityFormula_correct
- Complexity.DescriptiveComplexity.encodingValidityFormula_size
- Complexity.DescriptiveComplexity.encodingValidityFormula_depth
- Complexity.DescriptiveComplexity.Sentence.validatedExpansion_correct
- Complexity.DescriptiveComplexity.Sentence.validatedExpansion_size
- Complexity.DescriptiveComplexity.Sentence.validatedExpansion_depth
- Complexity.DescriptiveComplexity.Sentence.exists_validated_circuit
For every existential-SO formula and supplied free environments, an accepted binary certificate exists iff the formula is satisfied. Every accepted certificate has exactly \(\sum _j n^{k_j}\) bits. For a sentence defining \(Q\),
Malformed structure encodings and incorrect certificate lengths are rejected. Theorem 1315 proves the checker’s polynomial machine running-time bound.
- Complexity.DescriptiveComplexity.SOFormula.witnessArities_of_isFOMatrix
- Complexity.DescriptiveComplexity.SOFormula.witnessPolynomial_eval
- Complexity.DescriptiveComplexity.SOFormula.checkCertificate_matrix
- Complexity.DescriptiveComplexity.SOFormula.checkCertificate_ofFormula
- Complexity.DescriptiveComplexity.SOFormula.checkCertificate_soExist_append
- Complexity.DescriptiveComplexity.SOFormula.checkCertificate_sound
- Complexity.DescriptiveComplexity.SOFormula.checkCertificate_length
- Complexity.DescriptiveComplexity.SOFormula.exists_checkCertificate_iff
- Complexity.DescriptiveComplexity.SOSentence.checkEncoded_encodeStruct
- Complexity.DescriptiveComplexity.SOSentence.checkEncoded_of_decode_eq_none
- Complexity.DescriptiveComplexity.SOSentence.exists_checkEncoded_iff
- Complexity.DescriptiveComplexity.SOSentence.checkEncoded_certificate_length
- Complexity.DescriptiveComplexity.SOSentence.checkEncoded_length_le
- Complexity.DescriptiveComplexity.SOSentence.exists_checkEncoded_bounded_iff
- Complexity.DescriptiveComplexity.ExistSODefinable.exists_bounded_certificate
The resulting formulas have the usual conjunction and disjunction semantics under arbitrary free-variable environments. If both operands are in existential SO prefix form, so is the result. Each operation has size exactly \(|\varphi |+|\psi |+1\), with no duplication of either formula.
- Complexity.DescriptiveComplexity.SOFormula.mergeExist_sat
- Complexity.DescriptiveComplexity.SOFormula.isExistSO_mergeExist
- Complexity.DescriptiveComplexity.SOFormula.size_mergeExist
- Complexity.DescriptiveComplexity.SOFormula.existConj_sat
- Complexity.DescriptiveComplexity.SOFormula.existDisj_sat
- Complexity.DescriptiveComplexity.SOFormula.IsExistSO.existConj
- Complexity.DescriptiveComplexity.SOFormula.IsExistSO.existDisj
- Complexity.DescriptiveComplexity.SOFormula.size_existConj
- Complexity.DescriptiveComplexity.SOFormula.size_existDisj
Every existential SO query is SO definable and invariant under isomorphism. Every FO-definable query is existential SO definable with an empty prefix. Existential SO definable queries are closed under intersection and union.
- Complexity.DescriptiveComplexity.ExistSODefinable.toSODefinable
- Complexity.DescriptiveComplexity.ExistSODefinable.orderIndependent
- Complexity.DescriptiveComplexity.FODefinable.toExistSODefinable
- Complexity.DescriptiveComplexity.ExistSODefinable.inter
- Complexity.DescriptiveComplexity.ExistSODefinable.union
An order-independent query has its language in \(\mathsf{NP}\) if and only if it is definable by an \(\exists \mathsf{SO}\) sentence.
Let \(Q\) be order-independent with language in \(\mathsf{NP}\). Then some second-order sentence in \(\exists \mathsf{SO}\) form defines \(Q\).
Let \(\varphi \) be a second-order sentence in \(\exists \mathsf{SO}\) form that defines \(Q\). Then the language of \(Q\) is in the existing machine class \(\mathsf{NP}\), with every malformed structure encoding rejected.
Every first-order definable query has its characteristic family in the existing nonuniform class \(\mathsf{AC^0}\). For a defining sentence \(\varphi \), at every positive input length \(N\) there is a circuit of size at most \(V_\varphi (N)\) and depth at most \(|\varphi |+5\). Its output agrees with the query family on every bit string. The family rejects the empty input.
Shifting a term across a block preserves its value. Existential and universal blocks quantify over all coordinate tuples; finite conjunction and disjunction mean that every, respectively some, indexed formula holds. These statements include zero-length blocks and empty index sets.
Every first-order definable query is order-independent. First-order definable queries are closed under complement, intersection, and union.
For every fixed first-order sentence \(\varphi \), the language of the query \(\mathcal{A} \mapsto (\mathcal{A} \models \varphi )\) is in the existing machine class \(\mathsf{P}\), and its encoded Boolean evaluator has a one-bit verdict in \(\mathsf{FP}\). Consequently, \(\operatorname {FODefinable}(Q)\) implies \(\operatorname {queryLanguage}(Q)\in \mathsf{P}\). Malformed strings are rejected. These are data-complexity results; neither polynomial combined complexity nor logarithmic space is asserted.
For every relation environment \(\rho \), the embedding of a first-order formula holds at \((\sigma , \rho )\) exactly when the original holds at \(\sigma \). In particular, a structure models the embedding of a sentence iff it models the sentence. The embedding is an FO matrix, hence in \(\exists \mathsf{SO}\) form with an empty quantifier block. Consequently every first-order definable query is second-order definable.
- Complexity.DescriptiveComplexity.SOFormula.ofFormula_sat
- Complexity.DescriptiveComplexity.SOSentence.models_ofFormula
- Complexity.DescriptiveComplexity.SOFormula.ofFormula_isFOMatrix
- Complexity.DescriptiveComplexity.SOFormula.ofFormula_isExistSO
- Complexity.DescriptiveComplexity.FODefinable.toSODefinable
Let \(f : \mathcal{A} \cong \mathcal{B}\). For every term \(t\) and environment \(\sigma \), the value of \(t\) in \(\mathcal{B}\) under \(f \circ \sigma \) is the image under \(f\) of its value in \(\mathcal{A}\) under \(\sigma \). For every formula \(\varphi \) and environment \(\sigma \), \(\mathcal{A}, \sigma \models \varphi \) iff \(\mathcal{B}, f \circ \sigma \models \varphi \).
First-order reducibility and first-order projection reducibility are reflexive and transitive, across vocabularies. Every projection is a reduction, and a reduction from \(Q_1\) to \(Q_2\) is, through the same interpretation, also a reduction from \(\overline{Q_1}\) to \(\overline{Q_2}\). The identity interpretation is quantifier-free, translation along a quantifier-free interpretation preserves the quantifier rank of every formula, and composites of quantifier-free interpretations are quantifier-free.
- Complexity.DescriptiveComplexity.FOReduces.refl
- Complexity.DescriptiveComplexity.FOReduces.trans
- Complexity.DescriptiveComplexity.FOReduces.complement
- Complexity.DescriptiveComplexity.FOProjReduces.refl
- Complexity.DescriptiveComplexity.FOProjReduces.trans
- Complexity.DescriptiveComplexity.FOProjReduces.toFOReduces
- Complexity.DescriptiveComplexity.FOInterpretation.idInterp_isQuantifierFree
- Complexity.DescriptiveComplexity.FOInterpretation.IsQuantifierFree.quantifierRank_translate
- Complexity.DescriptiveComplexity.FOInterpretation.IsQuantifierFree.comp
For \(N{\gt}0\), every unbounded formula \(F\) on \(N\) inputs has an equivalent single-output circuit over the unbounded AND/OR basis. Its size is exactly \(\operatorname {size}(F)\) and its depth is at most \(\operatorname {depth}(F)+1\). The statement includes constant leaves, signed literals, and empty connectives.
The table has exactly \(n^k\) bits. On an encoded structure it equals the canonical relation encoding of the formula’s Boolean evaluator. For a fixed formula, generating the whole table is in \(\mathsf{FP}\) whenever the supplied string is in \(\mathsf{FP}\) and \(n\) is a polynomial-time unary number.
On ordered structures, a query is \(\mathsf{FO}(\mathrm{LFP})\)-definable if and only if its language is in \(\mathsf{P}\).
Boolean relation environments represent exactly the semantic environments, and representation commutes with extension. The matrix evaluator returns true iff the matrix is satisfied under the represented environment. On an embedded FO formula it agrees exactly with the original FO evaluator. Existential, or universal, quantification over semantic relation environments is equivalent to quantification over Boolean tables tested by the evaluator. These statements include empty contexts and nullary relation variables. This theorem concerns semantic environments; the following certificate layers supply their binary encodings. Theorem 1315 proves the machine polynomial-time bound on those encodings.
- Complexity.DescriptiveComplexity.DecREnv.toREnv_empty
- Complexity.DescriptiveComplexity.DecREnv.toREnv_cons
- Complexity.DescriptiveComplexity.DecREnv.toREnv_injective
- Complexity.DescriptiveComplexity.DecREnv.toREnv_surjective
- Complexity.DescriptiveComplexity.SOFormula.evalMatrixB_eq_sat
- Complexity.DescriptiveComplexity.SOFormula.evalMatrixB_ofFormula
- Complexity.DescriptiveComplexity.SOFormula.exists_evalMatrixB_iff
- Complexity.DescriptiveComplexity.SOFormula.forall_evalMatrixB_iff
For every decidable structure \(\mathcal{A}\), formula \(\varphi \), and environment \(\sigma \), \(\mathrm{evalB}(\mathcal{A}, \sigma , \varphi ) = \mathrm{true}\) iff \(\mathcal{A}, \sigma \models \varphi \), and likewise for sentences under the empty environment. Hence \(\mathcal{A} \models \varphi \) is decidable for every decidable structure \(\mathcal{A}\) and sentence \(\varphi \). This node concerns semantic correctness; Theorem 1312 supplies the polynomial-time machine bound for fixed sentences on encoded structures.
Forgetting the added symbols recovers the original structure. Translating an input formula into the extended vocabulary preserves satisfaction under every free-variable assignment, so FO definitions remain definitions after expansion. Each numerical atom holds exactly when its evaluated arguments satisfy the designated natural-number relation. The Boolean expansion agrees with the propositional expansion.
- Complexity.DescriptiveComplexity.FOInterpretation.forgetNumerical_apply
- Complexity.DescriptiveComplexity.Formula.withNumerical_sat
- Complexity.DescriptiveComplexity.Formula.numerical_sat
- Complexity.DescriptiveComplexity.Formula.orderLt_sat
- Complexity.DescriptiveComplexity.Formula.bit_sat
- Complexity.DescriptiveComplexity.Formula.add_sat
- Complexity.DescriptiveComplexity.Formula.mul_sat
- Complexity.DescriptiveComplexity.DecFinStruct.withNumerical_toFinStruct
- Complexity.DescriptiveComplexity.FODefinable.withNumerical
Encoding bijects Boolean relation environments with strings of exactly \(\sum _j n^{k_j}\) bits. Both round trips hold, and rejection means precisely a length mismatch. Extending the context prepends the new table; a unary table lists its bits in vertex order. Nullary relations take one bit and the empty context takes none. The exact length is a polynomial in \(n\), monotone in \(n\).
- Complexity.DescriptiveComplexity.DecREnv.mem_encodingSites
- Complexity.DescriptiveComplexity.DecREnv.encodingSites_nodup
- Complexity.DescriptiveComplexity.DecREnv.encodingSites_length
- Complexity.DescriptiveComplexity.DecREnv.encode_length
- Complexity.DescriptiveComplexity.DecREnv.encode_eq_flatMap
- Complexity.DescriptiveComplexity.DecREnv.encode_cons
- Complexity.DescriptiveComplexity.DecREnv.encode_unary
- Complexity.DescriptiveComplexity.DecREnv.read_encode
- Complexity.DescriptiveComplexity.DecREnv.encode_read
- Complexity.DescriptiveComplexity.DecREnv.decode_encode
- Complexity.DescriptiveComplexity.DecREnv.encode_injective
- Complexity.DescriptiveComplexity.DecREnv.decode_eq_some_iff
- Complexity.DescriptiveComplexity.DecREnv.decode_eq_none_iff
- Complexity.DescriptiveComplexity.DecREnv.encodingPolynomial_eval
- Complexity.DescriptiveComplexity.DecREnv.encodingLength_mono
Every second-order definable query is order-independent. In particular, so is every query defined by a sentence in \(\exists \mathsf{SO}\) form. Second-order definable queries are closed under complement, intersection, and union.
Along \(f : \mathcal{A} \cong \mathcal{B}\), a second-order formula holds at \((\sigma , \rho )\) iff it holds at \((f \circ \sigma , f_*\rho )\), where \(f_*\rho \) transports each relation along \(f\): \((f_*\rho )(R)(\bar b) = \rho (R)(f^{-1} \circ \bar b)\). In particular, isomorphic structures satisfy the same second-order sentences.
Satisfaction after renaming is satisfaction under the pulled-back relation environment, for arbitrary free element and relation assignments. Weakening ignores the new relation. Identity and composition hold as exact equalities of syntax, and renaming preserves size and preserves and reflects both FO matrices and existential SO prefix form. These statements include nullary relation variables and do not require an injective renaming.
- Complexity.DescriptiveComplexity.RelRenaming.ext
- Complexity.DescriptiveComplexity.RelRenaming.lift_id
- Complexity.DescriptiveComplexity.RelRenaming.lift_comp
- Complexity.DescriptiveComplexity.RelRenaming.pull_id
- Complexity.DescriptiveComplexity.RelRenaming.pull_comp
- Complexity.DescriptiveComplexity.RelRenaming.pull_lift_rCons
- Complexity.DescriptiveComplexity.RelRenaming.pull_weaken_rCons
- Complexity.DescriptiveComplexity.SOFormula.renameRel_sat
- Complexity.DescriptiveComplexity.SOFormula.renameRel_weaken_sat
- Complexity.DescriptiveComplexity.SOFormula.size_renameRel
- Complexity.DescriptiveComplexity.SOFormula.isFOMatrix_renameRel
- Complexity.DescriptiveComplexity.SOFormula.isExistSO_renameRel
- Complexity.DescriptiveComplexity.SOFormula.renameRel_id
- Complexity.DescriptiveComplexity.SOFormula.renameRel_comp
Satisfaction is preserved under arbitrary element and relation environments. A pulled-back formula is an FO matrix, respectively in existential SO prefix form, exactly when the original is. Consequently SO definability and existential SO definability are closed under the existing FO reductions.
- Complexity.DescriptiveComplexity.FOInterpretation.translateSO_sat
- Complexity.DescriptiveComplexity.FOInterpretation.isFOMatrix_translateSO
- Complexity.DescriptiveComplexity.FOInterpretation.isExistSO_translateSO
- Complexity.DescriptiveComplexity.SODefinable.of_reduces
- Complexity.DescriptiveComplexity.ExistSODefinable.of_reduces
On an encoded structure and canonical encodings of free relation tables, arithmetic matrix evaluation agrees with satisfaction and with the existing Boolean matrix evaluator. Arithmetic prefix consumption gives exactly the existing certificate checker’s verdict, for every certificate, including short or trailing data. The statements allow arbitrary free element and relation environments.
For a fixed matrix or existential-SO formula, arithmetic verification is a polynomial-time predicate whenever the supplied strings are in \(\mathsf{FP}\) and the cardinality and element values are polynomial-time unary numbers. In particular, for every fixed existential-SO sentence \(\varphi \), the function
belongs to \(\mathsf{FP}\). Its verdict includes structure validation and rejection of incorrect certificate lengths. The formula is a fixed parameter.
If \(Q_1 \le _{\mathsf{FO}} Q_2\) under the existing universe-preserving API, then the language of \(Q_1\) polynomial-time many-one reduces to the language of \(Q_2\). The legacy quantifier-free restriction has the same consequence. Machine \(\mathsf{P}\) and \(\mathsf{NP}\) membership therefore transport backward along these structural reductions. The tagged tuple encoding bridge remains separate.
For every structure \(\mathcal{A}\), environment \(\sigma \), substitution \(\rho \), and formula \(\varphi \), \(\mathcal{A}, \sigma \models \varphi [\rho ]\) iff \(\mathcal{A}, (k \mapsto \rho (k)^{\mathcal{A},\sigma }) \models \varphi \). Substitution preserves quantifier rank exactly.
Fix a universe size \(n\), a layout on \(N{\gt}0\) input wires, a formula \(\varphi \), and a free-variable assignment. There is a single circuit computing the expansion on every input, with size exactly \(P_\varphi (n)\) and depth at most \(|\varphi |+2\). On every represented structure it computes satisfaction of \(\varphi \) under that assignment. The circuit is selected from the formula, layout, and assignment alone, independently of the input table contents.
Arithmetic generation equals the encoding of the existing interpreted structure exactly. Its length is \(\ell _W(t n^d)\), including every relation and constant block. The binary map has the asserted valid-input behavior and rejects malformed encodings. Its polynomial-time machine bound remains open.
- Complexity.DescriptiveComplexity.TaggedFOInterpretation.elementEquiv_tag_val
- Complexity.DescriptiveComplexity.TaggedFOInterpretation.elementEquiv_coord_val
- Complexity.DescriptiveComplexity.TaggedFOInterpretation.elementEquiv_symm_val
- Complexity.DescriptiveComplexity.TaggedFOInterpretation.applyDec_toFinStruct
- Complexity.DescriptiveComplexity.TaggedFOInterpretation.rawEncoding_encodeStruct
- Complexity.DescriptiveComplexity.TaggedFOInterpretation.rawEncoding_length
- Complexity.DescriptiveComplexity.TaggedFOInterpretation.mapEncoding_encodeStruct
- Complexity.DescriptiveComplexity.TaggedFOInterpretation.mapEncoding_of_decode_eq_none
Tagged reducibility is reflexive, transitive, and respects complement. It includes the original universe-preserving reductions between invariant problems. If \(P\) reduces to an FO-definable \(Q\), then \(P\) is FO-definable.
The output has exactly \(t n^d\) elements. Input isomorphisms act coordinatewise on the output, so invariant queries remain invariant under pullback of structures. Each original dimension-1 interpretation is the one-tag, one-coordinate case up to isomorphism, hence gives the same answer for any invariant target query.
- Complexity.DescriptiveComplexity.TaggedFOInterpretation.apply_card
- Complexity.DescriptiveComplexity.TaggedFOInterpretation.mapIso
- Complexity.DescriptiveComplexity.TaggedFOInterpretation.pullQuery_orderIndependent
- Complexity.DescriptiveComplexity.FOInterpretation.toTaggedIso
- Complexity.DescriptiveComplexity.FOInterpretation.toTagged_query
Pullback preserves satisfaction under arbitrary assignments, including open formulas, and preserves FO definability of queries. A source structure models a translated sentence exactly when its interpreted structure models the original. This is Immerman, Proposition 3.5 and Remark 3.6, for the tagged full-product construction. Composing parameters \((t_1,d_1)\) and \((t_2,d_2)\) gives \((t_2 t_1^{d_2},d_2d_1)\) and a structure isomorphic to successive application. The identity interpretation is isomorphic to its input. Translating along a composite agrees semantically with successive translations.
- Complexity.DescriptiveComplexity.TaggedFOInterpretation.pullbackWith_sat
- Complexity.DescriptiveComplexity.TaggedFOInterpretation.translate_sat
- Complexity.DescriptiveComplexity.TaggedFOInterpretation.translateSentence_models
- Complexity.DescriptiveComplexity.TaggedFOInterpretation.compIso
- Complexity.DescriptiveComplexity.TaggedFOInterpretation.idIso
- Complexity.DescriptiveComplexity.TaggedFOInterpretation.comp_query
- Complexity.DescriptiveComplexity.TaggedFOInterpretation.translateSentence_comp_models
- Complexity.DescriptiveComplexity.FODefinable.pullQuery
For every \(V\)-structure \(\mathcal{A}\), environment \(\sigma \), and \(W\)-formula \(\varphi \), \(I(\mathcal{A}), \sigma \models \varphi \) iff \(\mathcal{A}, \sigma \models I^*\varphi \), and a translated term takes the same value in \(\mathcal{A}\) as the original term in \(I(\mathcal{A})\). Composition of interpretations acts as composition of the structure maps, \((I_2 \circ I_1)(\mathcal{A}) = I_2(I_1(\mathcal{A}))\), and the identity interpretation acts as the identity.
The validity conditions hold iff the string encodes a structure of the specified size. Applying them at the cardinality parsed from the unary prefix recognizes exactly the encoder’s image. The conditions are polynomial-time predicates, so \(\{ \mathrm{enc}(\mathcal A):\mathcal A\text{ is a decidable }V\text{-structure}\} \in \mathsf{P}\) for the library’s deterministic machine class. Successful decoding is likewise a polynomial-time predicate. No formula-evaluation time bound is asserted by this theorem.
- Complexity.DescriptiveComplexity.isValidEncoding_encodeStruct
- Complexity.DescriptiveComplexity.isValidEncoding_iff
- Complexity.DescriptiveComplexity.isValidEncoding_parsed_iff
- Complexity.DescriptiveComplexity.isValidEncoding_fpPred
- Complexity.DescriptiveComplexity.encodable_fpPred
- Complexity.DescriptiveComplexity.decodable_fpPred
- Complexity.DescriptiveComplexity.validEncodings_mem_P
Let \(E \subseteq \{ 0,1\} ^T\) and \(K = 12k + 1\), with probabilities taken over \(w \in \{ 0,1\} ^{KT}\) read as \(K\) blocks. If \(\Pr [E] \ge 2/3\), then \(\Pr [\mathrm{maj}_E(w) = 0] \le 2^{-k}\) and \(\Pr [\mathrm{maj}_E(w) = 1] \ge 1 - 2^{-k}\). If \(\Pr [E] \le 1/3\), then \(\Pr [\mathrm{maj}_E(w) = 1] \le 2^{-k}\).
The raw decoder is exact: it returns \(c\) on \(w\) if and only if \(w\) is the encoding of \(c\). The raw evaluator succeeds on \(x\) if and only if the raw circuit is well formed at arity \(|x|\). Let \(C\) be a single-output fan-in-two AND/OR circuit on \(N \ge 1\) inputs with size \(s\) (internal and output gates). For every \(x \in \{ 0,1\} ^N\), \(\mathrm{evalCode}(N, \mathrm{code}(C), \mathrm{toList}(x)) = C(x)\) (equivalently, \(\mathrm{evalCode}(N, \mathrm{code}(C), \ell ) = C(\mathrm{ofList}(\ell ))\) for every list \(\ell \) of length \(N\)), and \(|\mathrm{code}(C)| \le 1 + s(2(N + s) + 6)\).
\(\pi _1, \pi _2 \in \mathsf{FP}\), and if \(a, b \in \mathsf{FP}\) then \(z \mapsto \langle a(z), b(z) \rangle \in \mathsf{FP}\); in particular \(z \mapsto \langle f(z), z \rangle \in \mathsf{FP}\) for every \(f \in \mathsf{FP}\). Concretely, if a deterministic machine computes \(f\) in time \(T\), a derived machine computes \(z \mapsto \langle f(z), z \rangle \) in time \(5T(n) + n + 12\). Consequently, for every \(L \in \mathsf{P}\), the languages \(\{ z : \pi _1(z) \in L\} \) and \(\{ z : \pi _2(z) \in L\} \) are in \(\mathsf{P}\).
Suppose every trace of \(N\) on \(x\) has halted after \(T\) steps, and let \(K = 12s + 1\). If \(N\) accepts \(x\) with probability at least \(2/3\) (clock \(T\)), then \(\mathrm{rep}(N, K, T)\) accepts \(x\) with probability at least \(1 - 2^{-s}\) (clock \(2 + K(2T + 2)\)). If \(N\) accepts \(x\) with probability at most \(1/3\), then \(\mathrm{rep}(N, K, T)\) accepts \(x\) with probability at most \(2^{-s}\).
Suppose every trace of \(N\) on \(x\) has halted after \(T\) steps. Then for every choice sequence \(r\) of length \(2 + k(2T + 2)\), the trace of \(\mathrm{rep}(N, k, T)\) on \(x\) ends halted with output head at cell \(1\) and output cell \(1\) equal to \(\mathrm{maj}_E\) of the compact seed of \(r\), where \(E\) is the accepting event of \(N\) on \(x\).
Under the same hypothesis, the acceptance probability of \(\mathrm{rep}(N, k, T)\) on \(x\) with clock \(2 + k(2T + 2)\) equals \(\Pr _{s \in \{ 0,1\} ^{kT}}[\mathrm{maj}_E(s) = 1]\), where \(\Pr [E]\) is exactly the acceptance probability of \(N\) on \(x\) with clock \(T\). Without any hypothesis on \(N\), \(\mathrm{rep}(N, 0, T)\) accepts every \(x\) with probability \(0\) at clock \(2\).
Let \(T\) be tight and \(S_0 \subseteq \alpha \) with \(\underline{\mathbf{R}}(T|_{S_0}) \le r\). Then some ordering \(i_1, \dots , i_{|S_0|}\) of \(S_0\) satisfies \(\underline{\mathbf{R}}(T|_{S_q}) \le r - q\) for every \(q\), where \(S_q = S_0 \setminus \{ i_1, \dots , i_q\} \). If the slices \(T_i\), \(i \in S_0\), are nonzero, then \(|S_0| \le r\); taking \(r = \underline{\mathbf{R}}(T|_{S_0})\), some ordering satisfies \(\underline{\mathbf{R}}(T|_{S_0}) \ge q + \underline{\mathbf{R}}(T|_{S_q})\) for every \(q \le |S_0|\). For \(S_0 = \alpha \) this is the conclusion of Landsberg and Michałek, Proposition 2.3, for the filtration \(A_{\dim A - q}^* = \operatorname {span}\{ a_i^* : i \in S_q\} \) by tight basis elements, with nonzero slices in place of \(A\)-conciseness and only \(\tau _A\) required to be injective. Consequently, if every ordering of \(S_0\) has a stage \(q\) at which \(q\) plus a lower bound for \(\underline{\mathbf{R}}(T|_{S_q})\) exceeds \(r\), then \(\underline{\mathbf{R}}(T|_{S_0}) {\gt} r\).
- Algebraic.Tensor3.Tight.exists_mem_borderRankLE_restrictSlices_erase
- Algebraic.Tensor3.Tight.exists_list_borderRankLE_restrictSlices_sdiff
- Algebraic.Tensor3.Tight.card_le_of_borderRankLE_restrictSlices
- Algebraic.Tensor3.Tight.card_le_borderRank
- Algebraic.Tensor3.Tight.exists_list_add_borderRank_le
- Algebraic.Tensor3.Tight.not_borderRankLE_restrictSlices_of_forall_list
Define \(\mathsf{BQP}\) by polynomial-time uniform families of quantum circuits over the gate set \(\{ \mathrm{Hadamard}, \mathrm{Toffoli}\} \), with error \(1/3\). Then \(\mathsf{BQP} \subseteq \mathsf{PP}\).
Every \((\log (s/\varepsilon ))^{O(d^2)}\)-wise independent distribution on \(\{ 0,1\} ^n\) \(\varepsilon \)-fools every unbounded fan-in circuit of size \(s\) and depth \(d\).
Let a cluster of \(2p + 1\) distinct slices of the weighted Landsberg–Michałek tensor \(T\) have offsets with pairwise distinct \(p\)-subset sums and spread \(s\). Then the Koszul flattening \(U_A^{\wedge p}\) of the cluster tensor \(U\) has rank at least \(\binom {2p+1}{p} (m - s)\), so \(\binom {2p+1}{p} (m - s) \le \underline{\mathbf{R}}(T') \binom {2p}{p}\) for \(T' = T\) and for every tensor \(T'\) obtained from \(T\) by zeroing some slices outside the cluster. The rank bound holds for any coefficients \(2^{2^{e}}\) whose labels \(e\) are distinct on positions of the cluster whose columns differ by at most the \(p\)-subset spread, which is at most \(pL\) for a cluster of diameter \(L\) (Lemma 1385), independent of the median. This is the single-cluster lemma of the program for border rank \((7/3 - o(1)) m\) in the Landsberg–Michałek setting. It gives only \(\underline{\mathbf{R}}(T) \ge \frac{2p+1}{p+1} (m - s)\), below \(2m\). Border substitution (Theorem 1393), the paired-cluster bound (Theorem 1388 and Corollary 1389), the counting argument (Theorem 1396), and the choice of \(2p + 1\) surviving slices with distinct \(p\)-subset sums inside a good block (Lemma 1397), which connects them, are formalized; together they give Theorem 1400.
- Algebraic.Tensor3.choose_mul_le_rank_koszulFlattening_weightedShifts
- Algebraic.Tensor3.choose_mul_le_rank_koszulFlattening_lmTensor
- Algebraic.Tensor3.choose_mul_le_rank_koszulFlattening_weightedLMTensor
- Algebraic.Tensor3.map_selectSlices_map_diagonal
- Algebraic.Tensor3.choose_mul_le_borderRank_mul_map_diagonal_weightedLMTensor
- Algebraic.Tensor3.not_borderRankLE_map_diagonal_weightedLMTensor
- Algebraic.Tensor3.choose_mul_le_borderRank_mul_weightedLMTensor
Let \(m = 2k + 1\), \(1 \le R \le L \le k\) and \(D \ge 3/2\), and let \(\mathrm{LB}\) satisfy the paired-cluster hypothesis with constants \(D\) and \(E\). Then for every ordering of the \(m\) slices some stage \(q \le m\) satisfies
where \(S_q\) is the set of slices left after deleting the first \(q\). Consequently, if \(T\) is tight with \(m\) nonzero \(A\)-slices and \(S \mapsto \underline{\mathbf{R}}(T|_S)\) satisfies the paired-cluster hypothesis, then \(\underline{\mathbf{R}}(T)\) is at least the same bound.
This is the global, combinatorial step of the bound \((7/3 - o(1))m\) for explicit tensors. The theorem takes the paired-cluster hypothesis as an assumption. For the weighted Landsberg–Michałek tensors, Koszul flattenings of paired clusters of \(2p + 1\) slices (Corollary 1389), with clusters chosen greedily (Lemma 1397), supply it with \(D = (2p + 1)/(p + 1)\), \(E = 8(p + 1)L\) and \(R = 3^{2p} + 1\). This gives \((7/3 - 2/(3(p + 1)))m - O(pL + Rm/L)\), hence \((19/9 - o(1))m\) at \(p = 2\) (Theorem 1400).
Each coordinate of \(T_m\) has at most \(m+1\) binary digits; the complete dense array has at most \(m^3(m+1)\) coefficient bits. For every \(\varepsilon {\gt}0\), eventually in all integer dimensions \(m\),
In particular, eventually \(\underline{\mathbf R}_{\mathbb C}(T_m)\ge 17m/8\). This formalizes a stronger bound than the motivating research note Distinct subset sums and explicit tensor border rank, Revision 2, using the library’s paired-cluster construction rather than that note’s outer-prime slices. A polynomial-time machine implementation and an explicit convergence rate in \(m\) are not asserted here.
Let \(T_k\) be the weighted Landsberg–Michałek tensor and \(m = 2k + 1\). For \(p \ge 1\) and \(3^{2p} + 1 \le L \le k\),
Hence for every \(p \ge 1\) and \(\delta {\gt} 0\), \(\underline{\mathbf{R}}(T_k) \ge (7/3 - 2/(3(p + 1)) - \delta )m\) for all large \(k\). At \(p = 2\) this is \((19/9 - \delta )m\), so \(\underline{\mathbf{R}}(T_k) \ge (21/10)m\) for all large \(k\); and for every \(\varepsilon {\gt} 0\), \(\underline{\mathbf{R}}(T_k) \ge (7/3 - \varepsilon )m\) for all large \(k\). The family \(T_k\) is the same for every \(p\) and \(\varepsilon \). More generally, for every tight tensor \(T\) with \(m\) nonzero slices, \(\mathrm{PK}_T(p, L, E)\) alone gives the finite bound for \(T\) with \(DE + 8L\) in place of \(16(p + 1)L\), where \(D = (2p + 1)/(p + 1)\).
The entries \(2^{2^{am + j}}\) of \(T_k\) are explicit integers of doubly exponential size, growing with \(m\). The label condition only needs distinct labels within an \((L, pL)\) window, so periodic labels give the same bounds with entries from a finite set independent of \(m\) (Theorem 1402). For comparison, Landsberg and Michałek, Towards finding hay in a haystack, Theory of Computing 21(13), 2025, prove \(2.02m\) for their family.
- Algebraic.Tensor3.pairedKoszulBound
- Algebraic.Tensor3.PairedKoszulBoundOn.pairedClusterBound
- Algebraic.Tensor3.PairedKoszulBoundOn.le_borderRank
- Algebraic.Tensor3.PairedKoszulBound.pairedClusterBound
- Algebraic.Tensor3.PairedKoszulBound.le_borderRank_weightedLMTensor
- Algebraic.Tensor3.le_borderRank_weightedLMTensor
- Algebraic.Tensor3.eventually_sub_mul_le_borderRank_weightedLMTensor
- Algebraic.Tensor3.eventually_nineteen_div_nine_sub_mul_le_borderRank_weightedLMTensor
- Algebraic.Tensor3.eventually_twentyOne_div_ten_mul_le_borderRank_weightedLMTensor
- Algebraic.Tensor3.eventually_seven_div_three_sub_mul_le_borderRank_weightedLMTensor
If a length-doubling pseudorandom generator secure against polynomial-size circuits exists, then so does a pseudorandom function family secure against polynomial-size oracle circuits.
Let \(f\) be one-way and \(g(x, r) = (f(x), r)\) with \(|r| = |x|\). Then \(\langle x, r \rangle \bmod 2\) is a hard-core predicate for \(g\): every family of polynomial-size circuits predicts it from \(g(x,r)\) with probability at most \(1/2 + \mathrm{negl}(n)\).
Write \(\mathsf{PCP}_{c,s}(r, q)\) for the variant of \(\mathsf{PCP}(r,q)\) with completeness \(c\) and soundness \(s\). For every \(\varepsilon {\gt} 0\), \(\mathsf{NP}\) is the union of the classes \(\mathsf{PCP}_{1-\varepsilon ,\, 1/2+\varepsilon }(r, 3)\) over \(r = O(\log n)\), with a verifier that accepts iff the XOR of the three bits it reads equals a bit determined by its coins. Consequently, approximating MAX-3SAT within a factor \(7/8 + \varepsilon \) is \(\mathsf{NP}\)-hard.
For every distribution \(\mu \) on \(X \times Y\) and every error \(\varepsilon {\lt} 1/2\), public-coin randomized protocols satisfy \(R_\varepsilon (f) \ge \log _2\bigl((1 - 2\varepsilon )/\mathrm{disc}_\mu (f)\bigr)\). The inner product \(\mathrm{IP}_n(x,y) = \sum _i x_i y_i \bmod 2\) has uniform discrepancy at most \(2^{-n/2}\). Hence \(R_{1/3}(\mathrm{IP}_n) \ge n/2 - O(1)\).
Suppose there are \(L \in \bigcup _c \mathsf{DTIME}(2^{cn})\) and \(\varepsilon {\gt} 0\) such that, for all sufficiently large \(n\), no circuit of size \(2^{\varepsilon n}\) decides \(L\) on all inputs of length \(n\). Then \(\mathsf{BPP} = \mathsf{P}\). This almost-everywhere hypothesis is stronger than \(L \notin \mathsf{SIZE}(2^{\varepsilon n})\): the library’s \(\mathsf{SIZE}\) bounds the size at every length (Definition 277), so non-membership only says that some length has no such circuit, and even an eventual size bound would give only infinitely-often hardness.
For every \(p\), \(\operatorname {rank} T_A^{\wedge p} \le \underline{\mathbf{R}}(T) \binom {\dim A - 1}{p}\). Applied after a projection \(A \to A'\), the same holds with \(\dim A'\) in place of \(\dim A\).
- Algebraic.Tensor3.rank_wedgeMatrix
- Algebraic.Tensor3.rank_koszulFlattening_outer_le
- Algebraic.Tensor3.BorderRankLE.rank_koszulFlattening_le
- Algebraic.Tensor3.rank_koszulFlattening_le_borderRank_mul
- Algebraic.Tensor3.not_borderRankLE_of_lt_rank_koszulFlattening
- Algebraic.Tensor3.BorderRankLE.rank_koszulFlattening_map_le
In the model of Definition 1374, for every \(n \ge 1\) and every \(f : \{ 0,1\} ^n \to \{ 0,1\} \), constant or not, the minimum depth of a De Morgan formula computing \(f\) equals the minimum depth of a protocol for the Karchmer–Wigderson game of \(f\), in which Alice holds \(x \in f^{-1}(1)\), Bob holds \(y \in f^{-1}(0)\), and they must output some \(i\) with \(x_i \neq y_i\). Likewise the minimum number of leaves of a formula computing \(f\) equals the minimum number of leaves of a protocol for the game. The hypothesis \(n \ge 1\) cannot be dropped: for \(n = 0\) no protocol exists, since a leaf must name a coordinate, while a constant formula has depth \(0\). This is the result of Theorem 366.
For all \(R\), \(w\), and \(\varepsilon \) there is a generator \(G : \{ 0,1\} ^{O(\log R \cdot \log (Rw/\varepsilon ))} \to \{ 0,1\} ^R\) that \(\varepsilon \)-fools every read-once oblivious branching program of length \(R\) and width \(w\). The generator is computable in space linear in its seed. Consequently, randomized logspace with two-sided error (\(\mathsf{BPL}\)) is contained in \(\mathsf{DSPACE}(\log ^2 n)\).
Suppose there are \(L \in \bigcup _c \mathsf{DTIME}(2^{cn})\) and \(\varepsilon {\gt} 0\) such that, for all sufficiently large \(n\), no circuit of size \(2^{\varepsilon n}\) agrees with \(L\) on more than a \(1/2 + 2^{-\varepsilon n}\) fraction of inputs of length \(n\). Then \(\mathsf{BPP} = \mathsf{P}\).
Let \(T\) be the weighted Landsberg–Michałek tensor with \(n = m = 2k + 1\). Let a positive cluster be \(2p + 1\) slices with increasing offsets \(o^+_0 {\lt} \dots {\lt} o^+_{2p}\) in \([1, k]\), and a negative cluster \(2p + 1\) slices with increasing offsets \(o^-_t\) in \([-k, -1]\), each with diameter at most \(L\) and pairwise distinct \(p\)-subset sums, and with medians \(o^+_p = r\) and \(o^-_p = -s\). The paired projection \(A \to \mathbb {C}^{2p+1}\) sends both \(a_{c^+_t}\) and \(a_{c^-_t}\) to \(e_t\), so it maps \(T\) to the sum \(V = V^+ + V^-\) of the two cluster tensors, and \(V_A^{\wedge p} = (V^+)_A^{\wedge p} + (V^-)_A^{\wedge p}\). With \(z = r + s\) and
the Koszul flattening has rank at least \(\binom {2p+1}{p} (W - 8(p + 1)L)\), so \(\binom {2p+1}{p} (W - 8(p + 1)L) \le \underline{\mathbf{R}}(T') \binom {2p}{p}\) for every tensor \(T'\) obtained from \(T\) by zeroing slices outside both clusters. No lower bound on \(r\) or \(s\) is needed. The rank bound holds for \(T_k(\gamma )\) with any coefficients \(\gamma _{a, j} = 2^{2^{e(a, j)}}\) whose labels separate the positions \((a, j)\), \((a', j')\) with \(|a - a'| \le L\) and \(|j - j'| \le pL\). More generally, clusters of weighted shifts identified slice by slice give a minor of rank \(\binom {2p+1}{p}\) times the number of single-cluster blocks chosen, provided no entry goes from a later block to an earlier one.
- Algebraic.Tensor3.choose_mul_card_le_rank_koszulFlattening_weightedShifts_of_shifts
- Algebraic.Tensor3.choose_mul_card_le_rank_koszulFlattening_sum_weightedShifts
- Algebraic.Tensor3.choose_mul_le_rank_koszulFlattening_add_weightedShifts
- Algebraic.Tensor3.map_add_selectSlices_weightedLMTensor
- Algebraic.Tensor3.map_add_selectSlices_map_diagonal
- Algebraic.Tensor3.koszulFlattening_map_add_left
- Algebraic.Tensor3.choose_mul_le_rank_koszulFlattening_pairedClusters
- Algebraic.Tensor3.choose_mul_le_borderRank_mul_map_diagonal_pairedClusters
- Algebraic.Tensor3.choose_mul_le_borderRank_mul_restrictSlices_pairedClusters
- Algebraic.Tensor3.max_le_pairedWidth
- Algebraic.Tensor3.map_add_selectSlices_lmTensor
- Algebraic.Tensor3.choose_mul_le_rank_koszulFlattening_pairedClusters_lmTensor
Let \(P_k = P_k(A, M)\) be the periodic Landsberg–Michałek tensor and \(m = 2k + 1\). Every entry of \(P_k\) lies in \(\{ 0\} \cup \{ 2^{2^e} : e {\lt} AM\} \), a finite set of integers that does not depend on \(k\). For \(p \ge 1\), \(3^{2p} + 1 \le L \le k\), \(A {\gt} L\) and \(M {\gt} pL\),
Hence if moreover \(L \ge 2(3^{2p} + 1)/\delta \), then \(\underline{\mathbf{R}}(P_k) \ge (7/3 - 2/(3(p + 1)) - \delta )m\) for all large \(k\). For every \(\varepsilon {\gt} 0\) there are \(A\) and \(M\) with \(\underline{\mathbf{R}}(P_k(A, M)) \ge (7/3 - \varepsilon )m\) for all large \(k\), and \(\underline{\mathbf{R}}(P_k(14761, 29521)) \ge (21/10)m\) for all large \(k\).
The constants do not depend on \(m\), but they are astronomically large: the entries are \(2^{2^e}\) with \(e {\lt} AM \approx pL^2\) and \(L \approx 2(3^{2p} + 1)/\delta \). For the \((21/10)m\) bound (\(p = 2\), \(\delta = 1/90\), \(L = 14760\)) the exponents \(e\) range below \(14761 \cdot 29521 = 435759481\); as \(\varepsilon \to 0\), \(AM\) grows exponentially in \(p \approx 2/(3\varepsilon )\).
- Algebraic.Tensor3.periodicWeight_eq
- Algebraic.Tensor3.periodicLMTensor_apply_mem
- Algebraic.Tensor3.tight_periodicLMTensor
- Algebraic.Tensor3.periodicLMTensor_ne_zero
- Algebraic.Tensor3.pairedKoszulBoundOn_periodicLMTensor
- Algebraic.Tensor3.le_borderRank_periodicLMTensor
- Algebraic.Tensor3.eventually_sub_mul_le_borderRank_periodicLMTensor
- Algebraic.Tensor3.exists_eventually_sub_mul_le_borderRank_periodicLMTensor
- Algebraic.Tensor3.eventually_twentyOne_div_ten_mul_le_borderRank_periodicLMTensor
- Algebraic.Tensor3.exists_eventually_twentyOne_div_ten_mul_le_borderRank_periodicLMTensor
- Algebraic.Tensor3.exists_eventually_seven_div_three_sub_mul_le_borderRank_periodicLMTensor
Over any field of characteristic other than \(2\), the permanent family \((\mathrm{perm}_n)\) is \(\mathsf{VNP}\)-complete under polynomial-size projections.
Undirected \(s\)–\(t\) connectivity is in \(\mathsf{L}\).
Suppose that for every \(\delta {\gt} 0\) there is \(k\) such that \(k\)-SAT on \(n\) variables has no algorithm running in time \(2^{(1-\delta )n}\, \mathrm{poly}(n)\) (SETH). Then for every \(\delta {\gt} 0\) there is \(c\) such that Orthogonal Vectors on \(N\) vectors of dimension \(c \log N\) has no algorithm running in time \(N^{2-\delta }\).
There are a fixed finite alphabet, constants \(0 {\lt} \gamma \le 1\) and \(c\), and a map \(\varphi \mapsto G_\varphi \) from CNF formulas to constraint graphs over that alphabet such that: for every CNF \(\varphi \) with \(m\) clauses, \(G_\varphi \) has at most \((6m + 2)^{c} \cdot 3m\) edges; and for every \(\varphi \) in which every clause has exactly three literals, \(G_\varphi \) is satisfiable if \(\varphi \) is, and the unsatisfiability value of \(G_\varphi \) is at least \(\gamma \) if \(\varphi \) is unsatisfiable. The map is defined as a noncomputable mathematical reduction; the polynomial-time counterpart used for the PCP theorem is built from the same amplifier inside the proof of Theorem 1051.
There is \(\varepsilon {\gt} 0\) such that \(\mathrm{Gap}\)-MAX-3SAT\(_{1, 1 - \varepsilon }\) is NP-hard under polynomial-time reductions to the promise problem.
If a protocol and a language \(L\) satisfy the completeness and soundness conditions of \(\mathsf{IP}\) (no polynomial bound on the counts is needed), then for every \(x\), \(x \in L\) if and only if \(2^{c(|x|)} {\lt} 2\, \mathrm{gval}(x)\), where \(c\) is the coin count and \(\mathrm{gval}(x)\) is the root value of Lemma 1024. In particular, for every \(L \in \mathsf{IP}\) there is a protocol with this property.
For some constant \(\delta {\lt} 1\) and constant-size label sets, distinguishing label-cover instances of value \(1\) from those of value at most \(\delta \) is NP-hard.
For every \(L \in \mathsf{NP}\) there are a constructible \(r\) with \(r = O(\log n)\) and a \(q\) with \(q = O(1)\) such that \(L \in \mathsf{PCP}(r, q)\). Here \(f = O(g)\) means \(f(n) \le C\, g(n)\) for some constant \(C\) and all sufficiently large \(n\), and \(\log n\) is \(\lfloor \log _2 n \rfloor \); the \(q\) produced is a constant function.
For every label-cover instance of value at most \(\delta {\lt} 1\), its \(k\)-fold parallel repetition has value at most \(\delta '^{\, k}\) for a constant \(\delta ' {\lt} 1\) depending only on \(\delta \) and the label-set sizes. Hence gap label cover with arbitrarily small constant soundness is NP-hard.
For constants \(0 \le s {\lt} c \le 1\) and every polynomial \(q\), \(\mathsf{IP}(c, s) = \mathsf{IP}(1 - 2^{-q(n)}, 2^{-q(n)})\): run the protocol sequentially polynomially many times and accept by a threshold vote.
If the claim is correct, the honest prover is accepted with probability \(1\). If it is incorrect, every prover is accepted with probability at most \(m d / |\mathbb {F}|\).
\(\mathsf{TQBF} \in \mathsf{IP}\), with polynomial verifier time, polynomial communication, perfect completeness and soundness error bounded away from \(1\), over a field whose size dominates the degree and soundness parameters and admits a polynomial-size encoding.
Let \(C\) be an unbounded-fan-in AND/OR circuit, with negations only through the free per-input flags, with \(N\) inputs and \(G\) internal gates, and let output \(j\) have depth \(D\), counting the output gate. Some negation-normal unbounded formula computes output \(j\), has depth at most \(D\), and has size at most \((2(N + G) + 1)^{D+1}\).
Let \(G\) be an acyclic \((n,m)\)-concentrator with \(M\) edges whose inputs have in-degree zero, with \(2\le m{\lt}n\), and \(h=\min (m,n-m)\). Then \(M\ge 2n-h-1\), and under \(\mathrm{OrderingBound}(A,\eta ,C)\) with \(A+\eta \ge 0\), \(h\le (A+\eta )\max \{ M-(2n-h),0\} +3\log _2(2M)+C\). Hence if \(A{\gt}0\) and every \(\eta {\gt}0\) admits such a \(C\), then for every \(\varepsilon {\gt}0\) and all large \(n\), uniformly in \(m\), every such \(G\) has at least \(2n+(1/A-1)h-\varepsilon n\) edges: with the edge-score coefficient \(2n+(\kappa -1)h-\varepsilon n\), \(\kappa =\pi /(3\arccos \tfrac {1+2\sqrt2}{4})\approx 3.5625\), and with \(A=1/3\), \(2n+2h-\varepsilon n\). For \(m\ge n/2\) this is Theorem 790; for \(m{\lt}n/2\) it is larger, about \(2.64n\) rather than \(2.14n\) at \(m=n/4\), and it exceeds Pinsker’s \(2n-2\) whenever \(h\) grows linearly.
- Algebraic.Cutwidth.Multigraph.Concentrator.le_of_orderingBound_of_acyclic
- Algebraic.Cutwidth.Multigraph.Concentrator.two_mul_le_card_edges_add_min
- Algebraic.Cutwidth.Multigraph.Concentrator.eventually_le_card_edges_of_acyclic_of_orderingBound
- Algebraic.Cutwidth.Multigraph.Concentrator.eventually_le_card_edges_of_acyclic
- Algebraic.Cutwidth.Multigraph.Concentrator.eventually_two_mul_add_two_mul_le_card_edges_of_acyclic
The update is monotone and preserves nonnegative inputs. For \(\rho _0=0\) and nonnegative \(\alpha ,\beta \),
Write \(d=2^{24}L\) and \(c=2^{64}L\). If \(\alpha \le 2^{-k_X}\), \(\beta \le 2^{-k_Y}\) and
then \(\rho _a+\varepsilon +KD^{8a+1}\alpha \le (24a4^a+2)2^{-e}\). Equal reserves \(k_X=k_Y=2^{150}(a+1)L\) suffice when \(e\le L\). Choosing \(e=t+2a+\lceil \log _2(a+1)\rceil +10\) bounds this expression by \(2^{-t}\). This is finite arithmetic for the recurrence and the extra final left extraction; it does not assume a program-security witness.
- Algebraic.Cutwidth.Extractor.Internal.adviceStepError_mono
- Algebraic.Cutwidth.Extractor.Internal.adviceStepError_nonneg
- Algebraic.Cutwidth.Extractor.Internal.adviceChainError_le
- Algebraic.Cutwidth.Extractor.Internal.adviceChainError_final_le
- Algebraic.Cutwidth.Extractor.Internal.adviceChainError_fixedReserve_dyadic_le
Assume the common size guard, \(c\le m\), normalized factors \(w,l,r\), and nonnegative envelope \(\mu \) satisfying \(w(z)\Pr [x(z,A)=x_0\mid z]\le \mu (z)\). The honest \(m\)-bit right input is uniform on every conditional row. Honest and tampered inputs on each side are arbitrary functions of the same original state; the two sides are independent given \(Z\). For two fixed unequal advice words of the same length \(a\), the actual law \(((Z,B,W'),W)\) is within \(\mathcal E(m,L,e,a,\sum _z\mu (z))\) of its exact retained marginal with a fresh uniform honest output. No intermediate factorization, repaired seed, or security invariant is supplied as a theorem hypothesis.
Under the common size guard, an initial invariant extends through any list of paired advice bits. At length \(a\), both current states equal their actual folds, the envelope totals are bounded by \(D^{8a}\alpha ,C^{5a}\beta \), and the whole-state error is at most \(\rho _a\). The separated condition holds if it held initially or the two processed advice words differ. In that phase, the transcript fixes the actual tampered state. Every prefix retains exact factors of the original sample, including null conditional rows.
With \(d=2^{24}L\) and \(c=2^{64}L\), the chosen parameters satisfy the common program guard, \(e\le L\), \(c\le m\), \(o\le d\), and all three displayed entropy reserves with \(k_X=k_Y=m\). These facts hold for every natural input. When \(m\le n\), the left reserve also fits in the original input width. Neither this capacity condition nor the required source entropy is asserted for arbitrary \(n\). These constants and the conservative \(4^a\) amplification are our finite deductions, not the sharper parameter bounds of the source construction.
- Algebraic.Cutwidth.Extractor.adviceParameters_sizeGuard
- Algebraic.Cutwidth.Extractor.adviceParameters_error_le
- Algebraic.Cutwidth.Extractor.adviceParameters_stateWidth_le
- Algebraic.Cutwidth.Extractor.adviceParameters_output_le
- Algebraic.Cutwidth.Extractor.adviceParameters_state_reserve
- Algebraic.Cutwidth.Extractor.adviceParameters_left_reserve
- Algebraic.Cutwidth.Extractor.adviceParameters_right_reserve
- Algebraic.Cutwidth.Extractor.adviceParameters_left_reserve_of_capacity
Keep the original normalized factored source, left envelope, size guards, and unequal equal-length advice hypotheses. Replace exact right-input uniformity by distance at most \(\rho \) from uniform jointly with \(Z\). The actual complete program has error at most \(\rho +\mathcal E(a,\sum _z\mu (z))\), and at most \(\rho +2^{-t}\) under the dyadic reserves. It retains the original \(Z\), full right state, and actual tampered final output.
One total string program evaluates the complete construction uniformly in both sources, unary parameters, and advice length. Under the common flip-flop size guard it agrees with the vector construction. Every iteration, including those after advice exhaustion, has encoded length at most \(4|x|+2|y|+2L+2e+2|\alpha |+2^{64}L+12\). Polynomial time requires no size or statistical promise. The separate probability induction below tracks this same executed fold.
- Algebraic.Cutwidth.Extractor.adviceFold_nil
- Algebraic.Cutwidth.Extractor.adviceFold_cons
- Algebraic.Cutwidth.Extractor.adviceFold_append
- Algebraic.Cutwidth.Extractor.encodeAdviceRunState_length
- Algebraic.Cutwidth.Extractor.adviceRun_length_le
- Algebraic.Cutwidth.Extractor.adviceRun_eq_adviceFold
- Algebraic.Cutwidth.Extractor.adviceCorrelationBreakerRuntime_eq
- Algebraic.Cutwidth.Extractor.adviceRunStepEval_mem_FP
- Algebraic.Cutwidth.Extractor.adviceRun_encoded_mem_FP
- Algebraic.Cutwidth.Extractor.adviceCorrelationBreakerRuntime_mem_FP
- Algebraic.Cutwidth.Extractor.adviceCorrelationBreakerEval_mem_FP
This one string function is uniformly polynomial-time in both source words, advice, and unary target/output requests. Its output length is exactly the decoded request, even for malformed pairs. On canonical \(n\)-bit left and selected \(m\)-bit right words it equals the serialized selected truncated correlation breaker, with no statistical hypothesis. At every iteration the complete encoding has length at most
- Algebraic.Cutwidth.Extractor.adviceErrorExponent_unaryFn
- Algebraic.Cutwidth.Extractor.adviceScale_unaryFn
- Algebraic.Cutwidth.Extractor.adviceSourceEntropy_unaryFn
- Algebraic.Cutwidth.Extractor.adviceSelectedRightWord_length
- Algebraic.Cutwidth.Extractor.adviceSelectedRightWord_eq
- Algebraic.Cutwidth.Extractor.adviceSelectedRightWord_mem_FP
- Algebraic.Cutwidth.Extractor.adviceSelectedCorrelationBreakerRuntime_zero
- Algebraic.Cutwidth.Extractor.adviceSelectedCorrelationBreakerRuntime_length
- Algebraic.Cutwidth.Extractor.adviceSelectedCorrelationBreakerRuntime_eq
- Algebraic.Cutwidth.Extractor.adviceSelectedCorrelationBreakerRun_length_le
- Algebraic.Cutwidth.Extractor.adviceSelectedCorrelationBreakerRuntime_mem_FP
- Algebraic.Cutwidth.Extractor.adviceSelectedCorrelationBreakerEval_pair
- Algebraic.Cutwidth.Extractor.adviceSelectedCorrelationBreakerEval_eq
- Algebraic.Cutwidth.Extractor.adviceSelectedCorrelationBreakerEval_length
- Algebraic.Cutwidth.Extractor.adviceSelectedCorrelationBreakerEval_length_le
- Algebraic.Cutwidth.Extractor.adviceSelectedCorrelationBreakerEval_mem_FP
For \(o\le d\), the prefix of a uniform full output is uniform on \(o\) bits. Simultaneously truncating honest and tampered outputs cannot increase the distance to the actual retained marginal times a uniform honest output. The raw finite-weight comparison requires no new source assumptions, and normalized input factors give a normalized truncated law.
- Algebraic.Cutwidth.Extractor.adviceOutputPrefix_eq_of_le
- Algebraic.Cutwidth.Extractor.adviceOutputPrefix_self
- Algebraic.Cutwidth.Extractor.adviceOutputPrefix_apply_of_ge
- Algebraic.Cutwidth.Extractor.adviceOutputPrefix_uniform
- Algebraic.Cutwidth.Extractor.adviceTruncatedCorrelationBreakerWeight_eq_map
- Algebraic.Cutwidth.Extractor.adviceTruncatedCorrelationBreakerWeight_probability
- Algebraic.Cutwidth.Extractor.adviceTruncatedCorrelationBreakerWeight_dist_le
Let the first extractor \(E:X\times S\to M\) have threshold \(K\) and error \(\varepsilon \), and the second \(F:Y\times M\to O\) threshold \(L\) and error \(\eta \), both nonnegative. Suppose fixed-mask output transport is an equivalence determined by the extracted mask, the original factors are normalized, the left and right joint source envelopes are nonnegative \(\mu ,\nu \), and the first seed is \(\delta \)-close to uniform jointly with \(Z\). For nonempty seed and output alphabets, the actual two-call law has distance at most
from its actual retained marginal with uniform final output. It retains the complete left state, first seed, and extracted right mask.
Let \(t{\gt}0\) and use the selected finite parameters. Suppose the original tag and two conditional factors are normalized, the honest right word is uniform at every original tag, and the original left-word joint masses have a nonnegative envelope \(\mu \) with \(\sum _z\mu (z)\le 2^{-2\kappa }\). Let all advice words have length \(a\), with every tampered advice different from the honest advice. Then the actual honest output is within \(2^{-\mathrm{target}}\) of uniform while retaining the original tag, the full original right state, and every actual tampered output. The same bound holds for every subset of the tamperings. All calls use the same original affine input, and the theorem requires no intermediate seed, row-invariant, or numerical-guard hypothesis.
A unary number of actual rounds has one total uniform \(\mathrm{FP}\) evaluator. The selected complete evaluator agrees exactly with the serialized semantic construction, with all execution guards discharged. Its output length is \(2^hL\), where \(h=\lceil \log _2(t+1)\rceil +64\) and \(L\) is the selected scale. Polynomial time holds on all strings and imposes no statistical or source-feasibility premise.
- Algebraic.Cutwidth.Extractor.affineRoundsStepEval_iterate
- Algebraic.Cutwidth.Extractor.affineRoundsState_length_le
- Algebraic.Cutwidth.Extractor.affineRoundsRuntime_eq_affineRoundsOutput
- Algebraic.Cutwidth.Extractor.affineRoundsRuntime_mem_FP
- Algebraic.Cutwidth.Extractor.affineCorrelationBreakerRuntime_eq
- Algebraic.Cutwidth.Extractor.affineCorrelationBreakerRuntime_mem_FP
- Algebraic.Cutwidth.Extractor.affineCorrelationBreakerSelectedRuntime_length
- Algebraic.Cutwidth.Extractor.affineCorrelationBreakerSelectedEval_eq
- Algebraic.Cutwidth.Extractor.affineCorrelationBreakerSelectedEval_mem_FP
Let the factor laws be normalized and \(E\) be a threshold-\(K\) strong extractor of nonnegative error \(\varepsilon \), with nonempty seed and output alphabets. Suppose \(\mu (z)\ge 0\) bounds every joint source mass \(\Pr [Z=z,x(Z,A)=x]\), and \((Z,y(Z,B))\) is within \(\delta \) of its actual transcript law with a fresh uniform seed. Retained extraction has distance at most \(\varepsilon +\delta +K\sum _z\mu (z)\) from its actual \((Z,B)\) marginal with independent uniform output. The same bound holds on the combined input whenever each fixed mask and seed acts bijectively on the extractor output. The mask may be correlated arbitrarily with the seed.
- Algebraic.Cutwidth.Extractor.retainedExtractionWeight_probability
- Algebraic.Cutwidth.Extractor.affineExtractionWeight_probability
- Algebraic.Cutwidth.Extractor.affineExtractionWeight_eq_map
- Algebraic.Cutwidth.Extractor.WeightedStrongSeededExtractor.retained_dist_le
- Algebraic.Cutwidth.Extractor.WeightedStrongSeededExtractor.affine_dist_le
Every iterated state has normalized factors, including null rows, and its factored law is the pushforward of the original law along the actual transcript. The XOR of its row contributions equals the actual deterministic row iteration, reading the same original source words. Original source envelopes persist; after \(i\) rounds their total masses are exactly \(C^{2i}\sum \mu \) and \(C^{4i}\sum \nu \), respectively, where \(C\) is the full short-message alphabet cardinality.
- Algebraic.Cutwidth.Extractor.AffineIterationState.iterate_probability
- Algebraic.Cutwidth.Extractor.AffineIterationState.iterate_source
- Algebraic.Cutwidth.Extractor.AffineIterationState.iterate_mask
- Algebraic.Cutwidth.Extractor.AffineIterationState.iterate_rightWords
- Algebraic.Cutwidth.Extractor.AffineIterationState.iterate_factored
- Algebraic.Cutwidth.Extractor.AffineIterationState.iterate_rows_eq
- Algebraic.Cutwidth.Extractor.AffineIterationState.leftEnvelope_cap
- Algebraic.Cutwidth.Extractor.AffineIterationState.rightEnvelope_cap
- Algebraic.Cutwidth.Extractor.AffineIterationState.leftEnvelope_sum
- Algebraic.Cutwidth.Extractor.AffineIterationState.rightEnvelope_sum
Initializing with the actual first-phase factors gives normalized kernels, the exact first-phase left-row law, and the original source envelopes with their exact transcript losses. Every subsequent factored law is the image of the original source law along the executed complete transcript. Each actual masked output is the complete affine program on its original source, its specified right word, and its advice.
- Algebraic.Cutwidth.Extractor.affinePhaseOneIterationState_probability
- Algebraic.Cutwidth.Extractor.affinePhaseOneIterationState_factored
- Algebraic.Cutwidth.Extractor.affinePhaseOneIterationState_leftRowsWeight_eq
- Algebraic.Cutwidth.Extractor.affinePhaseOneIterationState_left_envelope
- Algebraic.Cutwidth.Extractor.affinePhaseOneIterationState_right_envelope
- Algebraic.Cutwidth.Extractor.affinePhaseOneIterationState_iterate_factored
- Algebraic.Cutwidth.Extractor.affinePhaseOneIterationState_iterate_rows_eq
- Algebraic.Cutwidth.Extractor.affinePhaseOneIterationState_subsetWeight_eq
From an initial invariant of capacity \(k\) and error \(\rho _0\), original source envelopes, and scalar reserves for every round, the actual state after \(i\) rounds has capacity \(2^ik\) and error \(\rho _i=2^i\rho _0+8(2^i-1)2^{-e}\). The same error bounds the actual XOR outputs while retaining the complete executed transcript, the original right state, and any subset of at most \(2^ik\) tampered outputs.
The remaining entropies are nonnegative through all \(R\) rounds. At every \(i{\lt}R\) they satisfy all four worst-case reserves from the actual doubling theorem. Exact dyadic identities give the propagated masses after the initial transcript and all prior round messages. The error recurrence satisfies
Moreover, if \(B\) is the first-phase chooser base at \(\sigma \), then \(2\kappa \le 2^{257}(t+1)^2(a+1)B^2\). These finite bounds do not assume that every input length can support this entropy.
- Algebraic.Cutwidth.Extractor.affineIterationRounds_cover
- Algebraic.Cutwidth.Extractor.affineIterationParameters_left_budget
- Algebraic.Cutwidth.Extractor.affineIterationParameters_right_budget
- Algebraic.Cutwidth.Extractor.affineIterationParameters_first_reserve
- Algebraic.Cutwidth.Extractor.affineIterationParameters_merge_reserve
- Algebraic.Cutwidth.Extractor.affineIterationParameters_recover_reserve
- Algebraic.Cutwidth.Extractor.affineIterationParameters_final_reserve
- Algebraic.Cutwidth.Extractor.affineIterationParameters_left_mass
- Algebraic.Cutwidth.Extractor.affineIterationParameters_right_mass
- Algebraic.Cutwidth.Extractor.affineIterationParameters_error_budget
- Algebraic.Cutwidth.Extractor.affineIterationParameters_entropy_le
Suppose \(t{\gt}0\), \(\gamma {\gt}0\), the original source is normalized with point masses at most \(2^{-(k+(t+1)d)}\), and all advice has length \(a\), with the honest advice distinct from every tampered advice. For every shift and tampered-seed tuple chosen as functions of the honest base seed, the average actual leaky-output distance is at most \(2^{-q}\). Consequently the bad-seed fraction is at most \(2^{-q}/\gamma \). The full leakage reserve is at most \(2^{258}(t+1)^2(a+1)B^3\), for the boosted common parameter base \(B\).
- Algebraic.Cutwidth.Extractor.affineLeakageOutputWeight_probability
- Algebraic.Cutwidth.Extractor.affineLeakageOutputWeight_average_dist_le
- Algebraic.Cutwidth.Extractor.affineLeakageBadSeeds_parameters_card_le
- Algebraic.Cutwidth.Extractor.affineLeakageBadSeeds_card_le
- Algebraic.Cutwidth.Extractor.not_mem_affineLeakageBadSeeds
- Algebraic.Cutwidth.Extractor.affineLeakageSourceEntropy_le
Let the selected sampler maps be linear in the original source. Fix a second summand \(b\) and any coordinate of the affine output. If the honest sampler value at \(b\) escapes the actual bad set, the absolute sign bias of the complete selected component parity is at most \(2\gamma \). The actual selected construction supplies both this estimate and the preceding bad-set cardinality bound from the original source hypotheses alone.
- Algebraic.Cutwidth.Extractor.weightSign_mul_le_dist
- Algebraic.Cutwidth.Extractor.weightSign_xor_le_dist
- Algebraic.Cutwidth.Extractor.mapWeight_uniform_bool_coordinate
- Algebraic.Cutwidth.Extractor.affineLeakage_sign_mul_le_of_not_mem_badSeeds
- Algebraic.Cutwidth.Extractor.affineLeakage_coordinate_sign_le_of_not_mem_badSeeds
- Algebraic.Cutwidth.Extractor.affineLeakage_linear_parity_le
- Algebraic.Cutwidth.Extractor.affineLeakage_linear_parameters
Set all three local error targets to \(e+3\). If \(M\le 2^{-k}\) and
then the complete first-phase error is at most \(2^{-e}\). These are conservative finite sufficient reserves; a nonvacuous application still needs an original source meeting the mass bound.
From the original normalized factors, a conditionally uniform honest right input, original-left envelope, fixed unequal equal-length advice, and the displayed finite component guards and reserves, both actual final pair laws satisfy the complete error budget above. This proves the pairwise first phase of Chattopadhyay–Liao Theorem 6.1, printed p.23. Joint security against larger tampering subsets still requires the later doubling rounds.
Under the growing-depth budget, if the actual second-seed pair has error \(\delta \), both final pair laws have error at most \(2^{-e_r}+\delta +2^{F+r+(t+1)r_0}M\). The estimate retains the complete executed transcript and original right state, as well as the indicated tampered final value.
- Algebraic.Cutwidth.Extractor.affinePhaseOnePair_dist_le_left
- Algebraic.Cutwidth.Extractor.affinePhaseOneLeftPairWeight_probability
- Algebraic.Cutwidth.Extractor.affinePhaseOnePairWeight_probability
- Algebraic.Cutwidth.Extractor.affinePhaseOneLeftPair_dist_le
- Algebraic.Cutwidth.Extractor.affinePhaseOnePair_dist_le
Let the original law have normalized factors given \(Z\), a nonnegative honest-left joint envelope \(\mu \), and a conditionally uniform honest right word of length \(d\). Assume
The honest seed prefix is uniform. The actual first masked extraction, retaining \(Z\) and every honest/tampered initial prefix and mask contribution, has distance from uniform at most
No intermediate seed certificate is a premise.
Every numerical guard of the initial extraction, advice call, and final extraction holds for the chosen parameters. The right width contains the initial seed prefix and pays the complete first right-message family plus advice reserve. The chosen left entropy pays both dyadic source charges. All six chooser values have total uniform polynomial-time unary generators, without a source-capacity or guard promise. The finite bound \(k\le 2^{256}(t+1)^2(a+1)B^2\) can be used to discharge source capacity in concrete applications.
- Algebraic.Cutwidth.Extractor.affinePhaseOneParameters_right_log
- Algebraic.Cutwidth.Extractor.affinePhaseOneParameters_scale_log
- Algebraic.Cutwidth.Extractor.affinePhaseOneParameters_initial_length
- Algebraic.Cutwidth.Extractor.affinePhaseOneParameters_initial_room
- Algebraic.Cutwidth.Extractor.affinePhaseOneParameters_initial_error
- Algebraic.Cutwidth.Extractor.affinePhaseOneParameters_growing_guard
- Algebraic.Cutwidth.Extractor.affinePhaseOneParameters_advice_guard
- Algebraic.Cutwidth.Extractor.affinePhaseOneParameters_output_size
- Algebraic.Cutwidth.Extractor.affinePhaseOneParameters_seed_width
- Algebraic.Cutwidth.Extractor.affinePhaseOneParameters_source_budget
- Algebraic.Cutwidth.Extractor.affinePhaseOneParameters_prefix_size
- Algebraic.Cutwidth.Extractor.affinePhaseOneParameters_initial_reserve
- Algebraic.Cutwidth.Extractor.affinePhaseOneParameters_final_reserve
- Algebraic.Cutwidth.Extractor.affinePhaseOneParameters_entropy_le
- Algebraic.Cutwidth.Extractor.affinePhaseOneBase_unaryFn
- Algebraic.Cutwidth.Extractor.affinePhaseOneScale_unaryFn
- Algebraic.Cutwidth.Extractor.affinePhaseOneInitialScale_unaryFn
- Algebraic.Cutwidth.Extractor.affinePhaseOneRightBits_unaryFn
- Algebraic.Cutwidth.Extractor.affinePhaseOneLocalError_unaryFn
- Algebraic.Cutwidth.Extractor.affinePhaseOneSourceEntropy_unaryFn
The runtime and its single paired evaluator belong uniformly to \(\mathrm{FP}\) on every string. Under the three component guards, canonical words compute exactly the semantic first-phase output at \(h=\lceil \log _2(t+1)\rceil +64\), with no statistical premise. The paired output length is at most \(2^{65}(|z|+1)^2\). Its exact output width is \(2^hL_1\) when the final growing guard holds, and zero otherwise.
- Algebraic.Cutwidth.Extractor.affinePhaseOneFirstSeedWord_length
- Algebraic.Cutwidth.Extractor.affinePhaseOneFirstSeed_ofFn
- Algebraic.Cutwidth.Extractor.affinePhaseOneRuntime_eq_affinePhaseOneOutput
- Algebraic.Cutwidth.Extractor.affinePhaseOneRuntime_length
- Algebraic.Cutwidth.Extractor.affinePhaseOneRuntime_length_le
- Algebraic.Cutwidth.Extractor.affinePhaseOneFirstSeedWord_mem_FP
- Algebraic.Cutwidth.Extractor.affinePhaseOneRuntime_mem_FP
- Algebraic.Cutwidth.Extractor.affinePhaseOneEval_pair
- Algebraic.Cutwidth.Extractor.affinePhaseOneEval_mem_FP
- Algebraic.Cutwidth.Extractor.affinePhaseOneEval_length_le
Suppose the original factors are normalized, the honest right word is conditionally uniform, and a nonnegative original-left envelope has total \(M\). For one tampering with unequal advice of the same length, assume the finite advice guards and original-right entropy reserve after all first right messages. The actual second-seed law has error at most \(2^{-e_0}+2^{2^{142}L_0}M+2^{-e_1^*}\). No intermediate seed certificate is supplied.
Use the named chooser at \((n,t,a,s)\). Suppose the original law has normalized factors given \(Z\), the honest right word is conditionally uniform at the selected width \(d\), and the original-left envelope has total at most \(2^{-k}\). For any selected tampered index whose fixed advice and the honest advice both have length \(a\) and differ, both actual final pair laws have distance at most \(2^{-s}\) from their actual retained marginal times uniform output. No numerical guard, intermediate seed estimate, or repaired source is a premise. The original source still must satisfy the chosen entropy bound; capacity is not claimed for every \(n\).
The single paired evaluator belongs to \(\mathrm{FP}\) on every encoded string, including malformed data and infeasible entropy requests. Its output always has the chosen length \(2^hL_1\). Canonical source and right-input words compute exactly the selected semantic first phase, with no numerical guard or source premise. Statistical security remains the separate original-source theorem above.
- Algebraic.Cutwidth.Extractor.affinePhaseOneSelectedRuntime_length
- Algebraic.Cutwidth.Extractor.affinePhaseOneSelectedRuntime_length_le
- Algebraic.Cutwidth.Extractor.affinePhaseOneSelectedRuntime_eq
- Algebraic.Cutwidth.Extractor.affinePhaseOneSelectedRuntime_mem_FP
- Algebraic.Cutwidth.Extractor.affinePhaseOneSelectedEval_pair
- Algebraic.Cutwidth.Extractor.affinePhaseOneSelectedEval_eq
- Algebraic.Cutwidth.Extractor.affinePhaseOneSelectedEval_mem_FP
Suppose \(t{\gt}0\), every tampered advice word has the honest advice length and differs from it, and the original-source hypotheses of the first phase hold. Its actual left-row law obeys the same first-phase error bound against every set \(S\) with \(|S|\le 1\), including the empty set.
For normalized original factors, each of the three observations has an exact factorization retaining the original left and right states. All conditional kernels are normalized, including null rows. The actual first and final extraction outputs are the XOR of their corresponding side-local contributions. Write \(d_0=2^{24}L_0\), \(r_0=2^{64}L_0\), and \(d_1=2^{24}L_1\). Nonnegative original source envelopes \(\mu ,\xi \) become envelopes with exact totals
respectively. These exact execution and counting identities feed the complete pairwise first-phase guarantee below; the subsequent subset-doubling construction remains separate.
- Algebraic.Cutwidth.Extractor.affinePhaseOneFirstOutput_xor
- Algebraic.Cutwidth.Extractor.affinePhaseOneFirstLeft_eq
- Algebraic.Cutwidth.Extractor.affinePhaseOneSecondRight_eq
- Algebraic.Cutwidth.Extractor.affinePhaseOneOutput_eq_xor
- Algebraic.Cutwidth.Extractor.affinePhaseOneRight_probability
- Algebraic.Cutwidth.Extractor.affinePhaseOneLeft_probability
- Algebraic.Cutwidth.Extractor.affinePhaseOneTranscript_probability
- Algebraic.Cutwidth.Extractor.affinePhaseOneRight_factored
- Algebraic.Cutwidth.Extractor.affinePhaseOneLeft_factored
- Algebraic.Cutwidth.Extractor.affinePhaseOneTranscript_factored
- Algebraic.Cutwidth.Extractor.affinePhaseOneRight_left_envelope
- Algebraic.Cutwidth.Extractor.affinePhaseOneRight_right_envelope
- Algebraic.Cutwidth.Extractor.affinePhaseOneLeft_left_envelope
- Algebraic.Cutwidth.Extractor.affinePhaseOneLeft_right_envelope
- Algebraic.Cutwidth.Extractor.affinePhaseOneTranscript_left_envelope
- Algebraic.Cutwidth.Extractor.affinePhaseOneTranscript_right_envelope
- Algebraic.Cutwidth.Extractor.affinePhaseOneRightLeftEnvelope_sum
- Algebraic.Cutwidth.Extractor.affinePhaseOneLeftEnvelope_sum
- Algebraic.Cutwidth.Extractor.affinePhaseOneRightEnvelope_sum
- Algebraic.Cutwidth.Extractor.affinePhaseOneTranscriptLeftEnvelope_sum
- Algebraic.Cutwidth.Extractor.affinePhaseOneTranscriptRightEnvelope_sum
- Algebraic.Cutwidth.Extractor.affinePhaseOneTranscriptLeftEnvelope_nonnegative
- Algebraic.Cutwidth.Extractor.affinePhaseOneTranscriptRightEnvelope_nonnegative
- Algebraic.Cutwidth.Extractor.card_affinePhaseOneCopies
- Algebraic.Cutwidth.Extractor.card_affinePhaseOneRightMessage
If \(\alpha \le 2^{-k_x}\), \(\beta \le 2^{-k_y}\) and
then \(\mathcal E\le \rho _S+\rho _T+8\cdot 2^{-e}\). The reserve assumptions are explicit finite inequalities, not an asserted global iteration schedule.
If \(C\) is the cardinality of the entire honest/tampered short-message family, original nonnegative joint source envelopes with totals \(\alpha ,\beta \) acquire final totals \(C^2\alpha ,C^4\beta \). Before the final right extraction its envelope total is \(C^3\beta \). Opposite-side observations preserve totals exactly; observations of the source side pay the corresponding finite message alphabet.
- Algebraic.Cutwidth.Extractor.affineRoundMiddle_right_envelope
- Algebraic.Cutwidth.Extractor.affineRoundTranscript_left_envelope
- Algebraic.Cutwidth.Extractor.affineRoundTranscript_right_envelope
- Algebraic.Cutwidth.Extractor.affineRoundMiddleRightEnvelope_sum
- Algebraic.Cutwidth.Extractor.affineRoundTranscriptLeftEnvelope_sum
- Algebraic.Cutwidth.Extractor.affineRoundTranscriptRightEnvelope_sum
- Algebraic.Cutwidth.Extractor.affineRoundTranscriptLeftEnvelope_nonnegative
- Algebraic.Cutwidth.Extractor.affineRoundTranscriptRightEnvelope_nonnegative
- Algebraic.Cutwidth.Extractor.card_affineRoundShortMessages
Let the original sources have normalized factors given \(Z\) and nonnegative joint point-mass envelopes of totals \(\alpha ,\beta \). Assume \(c\le m\), the three input log-lengths are at most \(L\), \(64\le L\), \(e+26\le L\), \(e+h+2\le L\), and
If the old honest left row has discrepancies \(\rho _S,\rho _T\) against the respective tampered subsets, the actual next output has error at most \(\mathcal E\), retaining the complete executed transcript, full original right state, and all actual outputs in \(S\cup T\). The same bound holds for original-left contributions and for the new conditional left-row law. The sets may overlap. No intermediate seed, repaired source, primitive extractor, or security witness is supplied.
For normalized original factors, each stage is exactly the original joint law with its actual observations appended. Both original latent states survive in the conditional kernels, which are normalized even on null rows. Linearity identifies the short and final actual rows with the XOR of their original-left and original-right contributions.
- Algebraic.Cutwidth.Extractor.affineRoundPrefixLeftMessage_eq
- Algebraic.Cutwidth.Extractor.affineRoundMiddleSeedRight_eq
- Algebraic.Cutwidth.Extractor.affineRoundMiddleLeftMessage_eq
- Algebraic.Cutwidth.Extractor.affineRoundFinalSeedRight_eq
- Algebraic.Cutwidth.Extractor.affineRoundOutput_eq_xor
- Algebraic.Cutwidth.Extractor.affineRoundPrefixMask_factored
- Algebraic.Cutwidth.Extractor.affineRoundPrefix_factored
- Algebraic.Cutwidth.Extractor.affineRoundMiddleRight_factored
- Algebraic.Cutwidth.Extractor.affineRoundMiddle_factored
- Algebraic.Cutwidth.Extractor.affineRoundTranscript_factored
- Algebraic.Cutwidth.Extractor.affineRoundTranscript_probability
Under the original normalized-factor hypotheses, source envelopes, execution guards, and the four finite reserves with subset cardinalities bounded by \(t\), an invariant of capacity \(k\) and error \(\rho \) implies the actual next-state invariant of capacity \(2k\) and error \(2\rho +8\cdot 2^{-e}\).
At every tuple selected by the existing first-phase chooser, the right source and complete long row satisfy the short-call guards. The round runtime therefore agrees with its canonical semantic program without additional numerical premises. This theorem concerns execution widths; it does not supply the successive statistical reserves for full iteration.
The single evaluator is uniformly polynomial-time on all encoded inputs, including malformed strings and invalid parameters. Its output length is at most \(2^{65}(|z|+1)^2\). Under the component guards, canonical source and row words produce exactly the serialized semantic round. Neither polynomial time nor this equality assumes source entropy or statistical independence.
- Algebraic.Cutwidth.Extractor.affineRoundPrefixWord_length
- Algebraic.Cutwidth.Extractor.affineRoundPrefix_ofFn
- Algebraic.Cutwidth.Extractor.affineRoundRuntime_eq_affineRoundOutput
- Algebraic.Cutwidth.Extractor.affineRoundRuntime_length
- Algebraic.Cutwidth.Extractor.affineRoundRuntime_length_le
- Algebraic.Cutwidth.Extractor.affineRoundPrefixWord_mem_FP
- Algebraic.Cutwidth.Extractor.affineRoundRuntime_mem_FP
- Algebraic.Cutwidth.Extractor.affineRoundEval_pair
- Algebraic.Cutwidth.Extractor.affineRoundEval_mem_FP
- Algebraic.Cutwidth.Extractor.affineRoundEval_length_le
Under the relevant finite matched-extractor guards, the old-row discrepancy controls the actual first right seed. Smooth merging combines the two selected subsets in the actual short row. The second right extraction uses that exact seed-input law and the original-right envelope. The last call rereads the original affine input; its left contribution is bounded using the original-left envelope. Masking with retained right contributions and taking the next-left marginal add no error. These individual implications compose in the theorem below.
- Algebraic.Cutwidth.Extractor.affineRoundPrefix_uniform
- Algebraic.Cutwidth.Extractor.affineRoundPrefixSeed_dist_le
- Algebraic.Cutwidth.Extractor.affineRoundMiddleSeed_dist_le
- Algebraic.Cutwidth.Extractor.affineRound_middle_left_dist_le
- Algebraic.Cutwidth.Extractor.affineRound_middle_dist_le
- Algebraic.Cutwidth.Extractor.affineRoundMiddleSeedInputWeight_eq_map
- Algebraic.Cutwidth.Extractor.affineRound_middle_seed_input_dist_le
- Algebraic.Cutwidth.Extractor.affineRoundFinalSeed_dist_le
- Algebraic.Cutwidth.Extractor.affineRoundLeftSubset_dist_le
- Algebraic.Cutwidth.Extractor.affineRoundSubset_dist_le
- Algebraic.Cutwidth.Extractor.affineRoundNextLeftRows_eq_map
- Algebraic.Cutwidth.Extractor.affineRoundNextLeftRows_dist_le
If \(|U|\le 2k\), there exist disjoint \(S,T\subseteq U\) with \(S\cup T=U\) and \(|S|,|T|\le k\), including \(k=0\). This supplies the finite combinatorial split for a doubling update; it does not itself iterate the probabilistic invariant.
For every finite outer-coordinate set and every weighted input law, the absolute bias of the reduction’s sign product equals that of the full component-call sign product. This includes zero candidates and the empty coordinate set.
For every \(\varepsilon {\gt}0\), all sufficiently large mixed circuits computing the same fixed polynomial-time family have \(B{\gt}(1-\varepsilon )n\). If all special registers have at most \(r\ge 2\) states, they have more than \((1/\log _2r-\varepsilon )n\) gates. In particular arbitrary numbers of two-state aggregates, together with the full binary basis, require more than \((1-\varepsilon )n\) gates. Depth, fanout, repeated slots, and special-to-special wiring remain unrestricted.
- Algebraic.Cutwidth.Aggregate.sourceReductionHardFamily_eventually_lt_realCapacity
- Algebraic.Cutwidth.Aggregate.sourceReductionHardFamily_eventually_lt_capacity
- Algebraic.Cutwidth.Aggregate.sourceReductionHardFamily_eventually_lt_size_of_register_card
- Algebraic.Cutwidth.Aggregate.sourceReductionHardFamily_eventually_lt_size_two_state
Every mixed aggregate circuit computing a \(K\)-rectangle-free function with at least \(2^{n-2}\) accepting inputs has
No bound is imposed on the number, placement, or fan-in of special gates.
The fixed balanced family eventually has both output colors rectangle-free at the same threshold, and is a flat sumset disperser at that threshold. If \(V\) is XOR-closed and \(f\) is constant on a translate \(a+V\), then \(|V|{\lt}K\) for every \(K\)-flat sumset disperser \(f\).
Suppose the mixed circuit’s output is \(K\)-rectangle-free and accepts at least \(2^{n-2}\) inputs. Set \(r=D+\lceil \log _2 K\rceil +3\) and assume \(3r\le n\). After guessing special outputs and erasing special incoming slots, some connected component contains more than \(n-r\) input coordinates. Fixing the other coordinates preserves rectangle-freeness and can preserve the accepting density. The resulting \(m\)-input restriction satisfies
whenever \(\mathrm{OrderingBound}(A,\eta ,C)\) holds, \(A+\eta \ge 0\), and \(C\ge 0\); here \(g\) counts all circuit gates.
Fix \(D(n)=o(n)\). For every \(\varepsilon {\gt}0\), all sufficiently large \(n\), and every mixed circuit computing the same fixed explicit family, a joint factorization with \(D_M\le D(n)\) implies more than \((L-\varepsilon )n\) total gates, where \(L=1+\pi /(3\arccos ((1+2\sqrt2)/4))\). There is no bound on the number of special gates or their dependencies. The submonoid of \(R\) generated by all local contributions gives a canonical factorization; its cardinality is still charged.
Let a degree-at-most-three aggregate network with vertex set \(V\), finite commutative monoid \(M\), and cutwidth at most \(w\) compute a \(K\)-rectangle-free function on \(n\) inputs, where \(K{\gt}1\). If its input ports read \(n'\) coordinates, its number of accepting inputs is at most
If all coordinates are read, this is at most \((|V|2^{w+3}+1)|M|(K-1)^2\).
Fix a budget bound \(D(n)=o(n)\). For every \(\varepsilon {\gt}0\) and all sufficiently large \(n\), every mixed circuit of budget at most \(D(n)\) computing the same fixed polynomial-time family \(\mathrm{sourceReductionHardFamily}(n)\) has more than
total gates. In particular it has more than \((41/9-\varepsilon )n\) gates. More generally the coefficient is \(1+1/A\) for every \(A{\gt}0\) with the ordering bound at all positive slacks. No invertibility or unproved graph assumption remains in the Gaussian specialization.
For a common prime modulus \(p\), form the matrix whose columns are the joint contribution vectors of every pair \((w,b)\) and whose rows are special gates. If its rank is \(r\), its column space supplies a factorization with \(p^r\) states and budget \(2\lceil \log _2(p^r)\rceil \le 2r\lceil \log _2p\rceil \). A sublinear bound on the latter budget therefore preserves coefficient \(L\). The threshold is uniform over prime moduli and circuits; no separate factorization certificate is required. Arbitrary modular readouts are allowed.
Suppose the original source law factors given \(Z\) and all factors are normalized. A nonnegative joint envelope \(\mu \) for the right-side honest source becomes an envelope of total \(|V|\sum _z\mu (z)\) after the observation. Under the advice program’s finite dyadic guards and reserves, and actual alternating-seed discrepancy at most \(\rho \), the retained output has error at most \(\rho +2^{-t}\). The preceding seed estimate remains a premise of this local composition theorem.
For normalized original factors, a threshold-\(K\) strong extractor of nonnegative error \(\varepsilon \) and nonempty seed/output alphabets, suppose the honest left seed has error \(\delta \) against its copies in \(S\). If a nonnegative joint envelope \(\mu (z)\) bounds the original honest right source, the actual call has error at most \(\varepsilon +\delta +K|\mathrm{Out}|^{|S|}\sum _z\mu (z)\). The law is exactly the observed seed law after all executed left seeds are fixed, so it supplies the next alternating call.
Let the original factors be probability laws and let \(E\) have threshold \(K\) and nonnegative error \(\varepsilon \), with nonempty seed and output alphabets. Suppose the actual seed is \(\delta \)-close to uniform jointly with \((Z,V)\), and \(\mu (z,v)\ge 0\) bounds the joint right-source masses with that transcript. Then the actual alternating output, with all of \((Z,V,A)\) retained, has distance at most \(\varepsilon +\delta +K\sum _{z,v}\mu (z,v)\) from its actual retained marginal with uniform output. An original source envelope \(\mu (z)\) instead gives \(\varepsilon +\delta +K|V|\sum _z\mu (z)\).
Under \(L{\gt}0\) and the growing-matched and Gamma numerical guards, the actual composition is a somewhere sampler with source threshold \(2^{2^{2h+14}L+1}\), test allowance \(2^{-5b}\), and failure \(1/2\). At every fixed pair of indices it preserves source XOR, without any parameter guard. Its single total evaluator belongs to \(\mathrm{FP}\) and returns exactly \(d\) bits on every input. Under the growing guard it agrees with the semantic sampler; binary reindexing preserves the sampling guarantee.
- Algebraic.Cutwidth.Extractor.amplifiedMatchedSampler_somewhereSampler
- Algebraic.Cutwidth.Extractor.amplifiedMatchedSampler_xor
- Algebraic.Cutwidth.Extractor.amplifiedMatchedSampler_output_capacity
- Algebraic.Cutwidth.Extractor.amplifiedMatchedSamplerRuntime_length
- Algebraic.Cutwidth.Extractor.amplifiedMatchedSamplerRuntime_eq_amplifiedMatchedSampler
- Algebraic.Cutwidth.Extractor.amplifiedMatchedSamplerRuntime_mem_FP
- Algebraic.Cutwidth.Extractor.amplifiedMatchedSamplerEval_mem_FP
- Algebraic.Cutwidth.Extractor.SomewhereSampler.reindex
The same eventual lower bound \((L-\varepsilon )n\) holds for the number of additions and multiplications in an arithmetic circuit, with arbitrary constant gates free, computing a totally regular linear map over any field. In particular it holds for the rational Cauchy family over every characteristic-zero field.
Let \(E\) be a weighted strong extractor with threshold \(K\) and nonnegative error \(\varepsilon \), on nonempty seed and output alphabets. If \(p(t,x)\) is a probability law and \(0\le p(t,x)\le \mu (t)\), extraction from \(x\) with an independent uniform seed has distance at most \(\varepsilon +K\sum _t\mu (t)\) from uniform, retaining both the entire tag \(t\) and the seed. No cap on every conditional row is assumed. This is the finite average-entropy step in Chattopadhyay–Liao, Lemma 3.26, which credits Chattopadhyay–Goodman–Liao and ideas from Chattopadhyay–Li (2016).
Both round trips hold, with high zero coefficients retained at the canonical width. Decoding respects encoded addition and multiplication. Reduction by any representation of \(M_s\) leaves the quotient element unchanged, and the bounded squaring loop decodes to the corresponding power of that element.
- Algebraic.Cutwidth.Extractor.BinaryFieldCodec.length_encode
- Algebraic.Cutwidth.Extractor.BinaryFieldCodec.ofBits_encode
- Algebraic.Cutwidth.Extractor.BinaryFieldCodec.decode_encode
- Algebraic.Cutwidth.Extractor.BinaryFieldCodec.encode_decode
- Algebraic.Cutwidth.Extractor.BinaryFieldCodec.decode_addBits
- Algebraic.Cutwidth.Extractor.BinaryFieldCodec.decode_mulBits
- Algebraic.Cutwidth.Extractor.BinaryFieldCodec.decode_remainderBits
- Algebraic.Cutwidth.Extractor.BinaryFieldCodec.decode_frobeniusBits
We have \(M_s(X^{3^v})=M_{s+v}(X)\), and \(E_{s,v}\) is monic and irreducible of degree \(3^v\). If \(w\) and \(u\) are the roots of the binary and tower presentations, the equivalence sends \(w\) to \(u\) and sends the embedded \(t\) back to \(w^{3^v}\). It transports every polynomial evaluation with these same coefficient and generator maps. All statements include \(s=0\) and \(v=0\).
- Algebraic.Cutwidth.Extractor.binaryModulus_comp_pow_three
- Algebraic.Cutwidth.Extractor.extensionModulus_monic
- Algebraic.Cutwidth.Extractor.extensionModulus_natDegree
- Algebraic.Cutwidth.Extractor.extensionModulus_irreducible
- Algebraic.Cutwidth.Extractor.binaryExtensionEquiv_root
- Algebraic.Cutwidth.Extractor.binaryExtensionEquiv_symm_root
- Algebraic.Cutwidth.Extractor.root_extensionModulus_pow
- Algebraic.Cutwidth.Extractor.binaryExtensionEquiv_symm_of_root
- Algebraic.Cutwidth.Extractor.binaryExtensionEquiv_mk
- Algebraic.Cutwidth.Extractor.binaryExtensionEquiv_symm_of_mk
- Algebraic.Cutwidth.Extractor.binaryExtensionEquiv_symm_mk
If \(\ell \le b\), the coefficient projection is surjective and distinct field inputs collide on exactly a \(2^{-\ell }\) fraction of seeds. Decoding is injective on source words of every fixed length \(n\le b\), so the actual decoded hash strongly extracts from such flat sources whenever \(2^\ell \le 4\epsilon ^2K\), \(K{\gt}0\), and \(\epsilon \ge 0\). With a valid half-degree word, the runtime output length is \(\min (\ell ,b)\) and its coefficient vector is the semantic field hash. Padded source XOR is preserved for each fixed seed, including unequal source lengths. The total paired evaluator is in \(\mathrm{FP}\) uniformly in all four runtime words and has output length bounded by input length.
- Algebraic.Cutwidth.Extractor.binaryCoefficientPrefix_surjective
- Algebraic.Cutwidth.Extractor.binaryFieldHash_collision_count
- Algebraic.Cutwidth.Extractor.binaryFieldHash_universal
- Algebraic.Cutwidth.Extractor.binaryField_decode_inj_of_length
- Algebraic.Cutwidth.Extractor.binaryHashBits_correct
- Algebraic.Cutwidth.Extractor.decodedBinaryHash_eq
- Algebraic.Cutwidth.Extractor.decodedBinaryHash_addBits
- Algebraic.Cutwidth.Extractor.decodedBinaryHash_universal
- Algebraic.Cutwidth.Extractor.decodedBinaryHash_flatStrongSeededExtractor
- Algebraic.Cutwidth.Extractor.binaryHashBits_length
- Algebraic.Cutwidth.Extractor.binaryHashEval_pair
- Algebraic.Cutwidth.Extractor.binaryHashEval_length_le
- Algebraic.Cutwidth.Extractor.binaryHashBits_mem_FP
- Algebraic.Cutwidth.Extractor.binaryHashEval_mem_FP
For every \(s\ge 0\), \(M_s\) is monic and irreducible of degree \(2\cdot 3^s\). Its quotient has cardinality \(2^{2\cdot 3^s}\), and its named root is a noncube. Moreover \(M_s(X^3)=M_{s+1}(X)\). Thus this sparse family supplies both a binary field and the coefficient for a subsequent binomial extension without search.
- Algebraic.Cutwidth.Extractor.binaryModulus_monic
- Algebraic.Cutwidth.Extractor.binaryModulus_natDegree
- Algebraic.Cutwidth.Extractor.binaryModulus_irreducible
- Algebraic.Cutwidth.Extractor.card_adjoinRoot_binaryModulus
- Algebraic.Cutwidth.Extractor.binaryModulus_comp_cube
- Algebraic.Cutwidth.Extractor.root_binaryModulus_noncube
The root \(t\) in \(F[X]/(X^{3^s}-a)\) has norm \(a\) over \(F\). Consequently, if \(a\) is a noncube, \(t\) is also a noncube and \(Z^{3^v}-t\) is monic and irreducible of degree exactly \(3^v\). Both exponents may be zero. This supplies a second algebraic modulus without another coefficient-existence premise; an encoded field representation remains a separate construction.
If \(a\) is not a cube, every \(E_{a,s}\) is monic and irreducible, with degree exactly \(3^s\), including \(s=0\). A noncube exists in any finite field with \(3\mid (q-1)\), in particular when \(q=2^b\) and \(b\) is even. For every \(n{\gt}0\), choosing \(s=\lceil \log _3 n\rceil \) gives \(n\le \deg E_{a,s}{\lt}3n\). These are semantic statements; they do not provide encoded field or coefficient selection.
- Algebraic.Cutwidth.Extractor.binomialModulus_monic
- Algebraic.Cutwidth.Extractor.binomialModulus_natDegree
- Algebraic.Cutwidth.Extractor.binomialModulus_irreducible
- Algebraic.Cutwidth.Extractor.exists_noncube
- Algebraic.Cutwidth.Extractor.three_dvd_card_sub_one_of_even_exponent
- Algebraic.Cutwidth.Extractor.binomialModulus_natDegree_clog_bounds
If a graph of maximum degree three on \(n\) vertices has a balanced cut with \(b\) crossing edges, it has a path decomposition with bags of size at most
For an arbitrary cut, replace \(\lfloor (n+1)/6\rfloor \) by \(\lfloor \max \{ |S|,|S^c|\} /3\rfloor \). The logarithmic term is zero for \(n=0\).
If \(\xi \ge 0\), \(\delta {\gt}0\), and \(\mathrm{BisectionBound}(\xi ,N_0)\) holds, then \(\mathrm{PathwidthBound}(1/6,\xi +\delta ,N_1)\) holds for some \(N_1\). Consequently the sharp asymptotic cubic bisection theorem implies the sharp asymptotic cubic pathwidth theorem. This proves the reduction of Fomin and Høie. Instantiating the proved sharp bisection theorem gives \(\mathrm{PathwidthBound}(1/6,\xi ,N_0)\) for some \(N_0\) at every \(\xi {\gt}0\).
Encoded addition denotes polynomial addition and has the maximum operand length. For a nonzero represented modulus \(E\), the squaring loop on a count word of length \(t\) denotes \(f^{2^t}\bmod E\). Every loop state has exactly \(\deg E\) bits, including zero remainders. Both evaluators belong to \(\mathrm{FP}\) uniformly in all runtime words; squaring time is polynomial in the unary count length \(t\).
- Complexity.BitPolynomial.addBits_length
- Complexity.BitPolynomial.ofBits_addBits
- Complexity.BitPolynomial.addEval_mem_FP
- Complexity.BitPolynomial.ofBits_natDegree
- Complexity.BitPolynomial.frobeniusBits_length
- Complexity.BitPolynomial.frobeniusBits_of_modulus_zero
- Complexity.BitPolynomial.ofBits_frobeniusBits
- Complexity.BitPolynomial.frobeniusEval_pair
- Complexity.BitPolynomial.frobeniusEval_mem_FP
If \(c_j\) is the polynomial represented by coefficient block \(j\), then for nonzero modulus \(E\) the output represents \(\bigl(\sum _{j{\lt}t}c_jy^j\bigr)\bmod E\). Every state has exactly \(\deg E\) bits. The encoded evaluator belongs to \(\mathrm{FP}\) uniformly in the coefficient word, unary width, seed, modulus, and unary count, including truncated and padded coefficient data.
The coefficient-list product denotes the product of the represented polynomials and has length equal to the sum of the operand lengths. The theorem covers empty operands and high zero padding. On a paired input the evaluator returns exactly this product list, and the single evaluator belongs to \(\mathrm{FP}\) uniformly over all input lengths. This arithmetic component is used with the explicit binary modulus generator and bounded-state evaluators below.
For every dividend and modulus list, the output represents their exact monic polynomial remainder, with no nonzero or padding premise. Its length is the dividend length for a zero modulus, and otherwise one less than the modulus’s significant length. In particular, a constant-one modulus gives the empty list. Significant length is a polynomial-time unary function, and the paired remainder evaluator belongs to \(\mathrm{FP}\) uniformly in both input lists.
- Complexity.BitPolynomial.significantLength_le
- Complexity.BitPolynomial.significantLength_eq_zero_iff
- Complexity.BitPolynomial.remainderStep_length
- Complexity.BitPolynomial.remainderScan_length
- Complexity.BitPolynomial.remainderBits_length
- Complexity.BitPolynomial.remainderBits_length_le
- Complexity.BitPolynomial.ofBits_remainderBits
- Complexity.BitPolynomial.remainderEval_pair
- Complexity.BitPolynomial.significantLength_unary
- Complexity.BitPolynomial.remainderEval_mem_FP
The coordinate map is exact, and transposing twice recovers the input truncated or zero-padded to \(db\) bits. For exact-length inputs it is an inverse. The total runtime evaluator belongs to \(\mathrm{FP}\) and has a quadratic output bound. Either zero dimension gives the empty list.
- Complexity.BitPolynomial.transposeBits_length
- Complexity.BitPolynomial.transposeBits_zero_rows
- Complexity.BitPolynomial.transposeBits_zero_cols
- Complexity.BitPolynomial.transposeBits_getD_coord
- Complexity.BitPolynomial.transposeBits_transposeBits
- Complexity.BitPolynomial.transposeBits_transposeBits_of_length
- Complexity.BitPolynomial.transposeEval_pair
- Complexity.BitPolynomial.transposeEval_length_le
- Complexity.BitPolynomial.transposeEval_mem_FP
- Complexity.BitPolynomial.transposeBits_mem_FP
The generated polynomial is \(X^{2d}+X^d+1\), even at \(d=0\). Both generators are uniformly polynomial-time. More generally, rounding a polynomial-time unary target to a power of a polynomial-time unary base is polynomial-time, including bases zero and one. This closure is registered for polytime.
Let \(C\) be a weighted strong condenser from threshold \(K_{\rm in}\) to \(K_{\rm out}\) with error \(\varepsilon \), and let \((X_1,\ldots ,X_t)\) be a threshold-\(K_{\rm in}\) block source. For one independent uniform seed \(Y\),
is within distance \(t\varepsilon \) of a uniform-seed family of normalized threshold-\(K_{\rm out}\) block sources. The blocks can be dependent; the seed appears only once. This proves the finite shared-seed conclusion of Chattopadhyay–Goodman–Liao, Lemma 5.5.
Every threshold-\(K\) source on \(t+1\) blocks admits a normalized capped head law \(w\) and normalized threshold-\(K\) tail laws \(p_a\) such that \(p(a,z)=w(a)p_a(z)\) for all heads and tails. Conversely these conditions give a block source. More generally, nonnegative coefficients \(c(h,a)\) with row totals equal to a normalized capped head law give a block source by mixing the tail laws within each head row.
Applying a weighted strong extractor of error \(\varepsilon \) to all \(t\) blocks with the same uniform seed has discrepancy at most \(t\varepsilon \) from independent uniform seed and output tuple on every joint test. The input is a block source at the extractor’s threshold. Seed and output alphabets are nonempty.
Block-source caps survive taking prefixes, decreasing the threshold, and taking normalized nonnegative mixtures. Zero blocks impose only normalization; one block gives the ordinary point-mass cap. Two blocks are equivalent to a capped first marginal and the inequalities \(Kp(a,b)\le p_A(a)\) for the second block. A source on \(t\) blocks has joint threshold \(K^t\). At threshold \(|\alpha |\), the joint source is exactly uniform on all block tuples, including the zero-block case.
- Algebraic.Cutwidth.Extractor.IsBlockSource.mono
- Algebraic.Cutwidth.Extractor.IsBlockSource.prefix
- Algebraic.Cutwidth.Extractor.IsBlockSource.mixture
- Algebraic.Cutwidth.Extractor.IsBlockSource.capped
- Algebraic.Cutwidth.Extractor.IsBlockSource.eq_uniform
- Algebraic.Cutwidth.Extractor.isBlockSource_zero_iff
- Algebraic.Cutwidth.Extractor.isBlockSource_one_iff
- Algebraic.Cutwidth.Extractor.isBlockSource_two_iff
Let \(p\) be a threshold-\(2^k\) block source on \(t\) pairs of values in an alphabet of size \(2^m\). If \(s\le m\) and \(m+s+e\le k\), then its split law is within distance \(t2^{-e}\) of a threshold-\(2^s\) source on \(2t\) consecutive blocks. The original pairs can be dependent, with the input entropy bound conditioned on all earlier pairs. This is the finite power-of-two form of Chattopadhyay–Goodman–Liao, Corollary 5.4. The zero-block case is included without an upper bound on \(k\).
Under the preceding entropy and alphabet-size conditions, suppose that every fixing of an earlier uniform seed gives a threshold-\(2^k\) source on \(t\) pairs. Splitting the pairs while retaining that seed gives a joint law within \(t2^{-e}\) of a uniform-seed family of threshold-\(2^s\) sources on \(2t\) blocks. The source may depend on the earlier seed, and splitting introduces no fresh seed.
Sample a latent value \(a\) from a probability law \(w\), and a conditional threshold-\(K\) block-source tail \(Z_a\). Given a deterministic head \(f(a)\) and any normalized threshold-\(K\) head law \(v\), there is a threshold-\(K\) block source \(R\) with head marginal \(v\) such that
No independence between the latent value and its tail is required.
Under the normalized boundary hypotheses above, the lift \(Y\) of \(X\) lies in \(S\), has \(|Y|\le 4|X|\), and satisfies
Thus more internal red edges than external black edges give a \(1\)-helpful set. This proves the lifting step of Monien–Preis’s bounded helpful-set argument; it does not assume or prove that such a positive witness exists.
For a side \(S\) of any cubic graph \(H\), either a helpful subset of \(S\) has at most 33 vertices, or there is a cubic graph \(G\) on the same vertices with the same cut and boundary \(C\). In \(G\), the boundary is independent and every boundary vertex has one outside neighbor. Moreover, every \(X\subseteq S\) admits \(X\subseteq Y\subseteq S\) with \(|Y|\le 3|X|\) and \(h^H_S(Y)\ge h^G_S(X)\). This completes the first normalization phase. The next phase eliminates interior vertices with three boundary neighbors.
In a finite graph of maximum degree three, if \(|V|{\lt}3|X|\), then some vertex of \(X\) has at most one neighbor outside \(X\), or \(H-X\) has a connected component that is a tree.
Let \(H\) be a finite simple graph and \(S\) a set of vertices such that every vertex has a neighbor across the cut \((S,S^c)\). If the cut contains \(b\) edges, \(H\) has a path decomposition with first bag \(S\), last bag \(S^c\), and every bag of size at most \(b+1\). This is the boundary transition used in Fomin and Høie’s proof of the pathwidth bound for cubic graphs; this transition itself does not require a degree bound.
If \(\lceil \log _2(n+1)\rceil \le L\), \(64\le L\), \(h\le 64\), and \(E\le L\), the actual scheduled extractor with reserve \(4096(L+E+1)\) and leaf output width \(L\) has seed length at most \(2^{24}L\). For \(1\le L\) and \(E\le L\), its source entropy in bits is at most \(2^{62}L\) at depth 24, and at most \(2^{142}L\) at depth 64. These are conservative finite bounds on the existing construction, supporting successive calls with matched seed and output widths; they assert no correlation-breaker guarantee.
For equal-mass real weights \(p,q\) and \(0\le f\le 1\), \(|\sum _xp(x)f(x)-\sum _xq(x)f(x)|\le d(p,q)\). On nonempty seed and output alphabets, the weighted strong-extractor test contract is equivalent to distance at most \(\varepsilon \) from the independent uniform seed-output law for every normalized capped source.
Let \(\xi {\gt}0\), \(M{\gt}0\), and \(4\le 3\xi M\). Every side \(S\) in a simple cubic graph with \(|\partial S|{\gt}(1/3+\xi )|S|\) contains a helpful set of at most \(36M(1+3M)\) vertices. If the boundary is independent and each boundary vertex has exactly one outside neighbor, the bound is \(12M(1+3M)\).
Quotient reachability is exactly original reachability between any representatives. If every designated actual edge is a bridge, the quotient is a forest and every component is a tree. The designated actual edges map bijectively to quotient edges: none becomes a loop and distinct edges do not merge. In particular, the quotient has \(|F\cap E(B)|\) edges. If every cycle avoids a region family, its region-boundary quotient is a forest.
- Algebraic.Cutwidth.Bisection.RedBlack.BridgeQuotient.reachable_project
- Algebraic.Cutwidth.Bisection.RedBlack.BridgeQuotient.reachable_iff
- Algebraic.Cutwidth.Bisection.RedBlack.BridgeQuotient.connected
- Algebraic.Cutwidth.Bisection.RedBlack.BridgeQuotient.edge_image
- Algebraic.Cutwidth.Bisection.RedBlack.BridgeQuotient.edge_map_injOn
- Algebraic.Cutwidth.Bisection.RedBlack.BridgeQuotient.edge_ncard
- Algebraic.Cutwidth.Bisection.RedBlack.BridgeQuotient.isAcyclic
- Algebraic.Cutwidth.Bisection.RedBlack.BridgeQuotient.isTree
- Algebraic.Cutwidth.Bisection.RedBlack.BridgeQuotient.component_isTree
- Algebraic.Cutwidth.Bisection.RedBlack.BridgeQuotient.isBridge_of_mem_region_cut
- Algebraic.Cutwidth.Bisection.RedBlack.BridgeQuotient.ofRegions_isAcyclic
- Algebraic.Cutwidth.Bisection.RedBlack.BridgeQuotient.ofRegions_component_isTree
If \(K{\gt}0\) and \(p\) is a probability weight with \(Kp(x)\le 1\), there are nonnegative weights \(w_S\), indexed by the \(K\)-element subsets of the ambient type, such that \(\sum _Sw_S=1\) and
No extra bound on the ambient cardinality is required.
Let \(t \ge 4\) and \(N = 2^{20t}\). Every circuit over the imported library’s binary AND/OR signature (fan-in-two AND and OR gates, no constants and no negations, every gate counted) whose inputs are the \(\binom {N}{2}\) edge variables of an \(N\)-vertex graph and which computes \(2^{4t}\)-CLIQUE has more than \(2^{t \cdot 2^t}\) gates.
Consider circuits over the imported library’s binary AND/OR signature, as in Theorem 361, whose inputs are the \(\binom {n}{2}\) edge variables of an \(n\)-vertex graph. If \(w \ge 16\), \(4w^2 \le k - 1\), and \(64 w^6 k \le n\), then every such circuit computing \(k\)-CLIQUE has more than \(64^w\) gates. Consequently, for every \(k\) with \(k \le n^{1/4}\) (that is, \(k^4 \le n\)), every such circuit computing \(k\)-CLIQUE has more than \(2^{2 \lfloor \sqrt{k} \rfloor }\) gates, and hence more than \(2^{\sqrt{k}}\) gates. For \(k \le 1\) no such circuit exists, and for \(2 \le k \le n\) every such circuit has at least \(\binom {n}{2} - 1\) gates.
Suppose \(X\) avoids all regions of a restoration family, has empty black cut after their boundaries are deleted, and \(|P_i\cup A_i|\le L\) for every \(i\). If some region has nonempty boundary entirely contained in \(\partial _B X\), there is a positive set \(Y\supseteq X\) in the original graph with
If the black degree on \(X\) is at most \(d\), the bound is \(|Y|\le (1+dL)|X|\). In particular, a core set of size at most \(2M\) with \(d=3\) and \(L=3M\) gives a witness of size at most \(2M(1+9M)\).
Let \(B\) be a simple black graph and \(R\) a loopless red multigraph on the same \(n\) vertices, with total red-plus-black degree three everywhere. If \(M{\gt}0\) and \((M+4)n{\lt}2M|E(R)|\), there is a positive set of at most \(3M(1+3M)\) vertices. In particular, red density greater than \(1/2+\epsilon \) suffices whenever \(2\le \epsilon M\).
For any side \(S\) of a cubic graph \(H\), either a helpful subset of \(S\) has at most 165 vertices, or there is a cubic graph \(G\) with the same cut and boundary \(C\), independent boundary vertices, one outside neighbor per boundary vertex, and at most two boundary neighbors per interior vertex. Every \(X\subseteq S\) admits \(X\subseteq Y\subseteq S\) with \(|Y|\le 15|X|\) and \(h^H_S(Y)\ge h^G_S(X)\).
Let \(1\le m{\lt}n\). Every \((n,m)\)-concentrator with \(M\) edges has \(M\ge n+m-1\), and under \(\mathrm{OrderingBound}(A,\eta ,C)\) with \(A+\eta \ge 0\) it satisfies \(\min (m,n-m)\le (A+\eta )\max \{ M-n-m,0\} +3\log _2(2M)+C\). Hence if \(A{\gt}0\) and every \(\eta {\gt}0\) admits such a \(C\), then for every \(\varepsilon {\gt}0\) and all large \(n\), uniformly in \(m\), every \((n,m)\)-concentrator has at least \(n+m+\min (m,n-m)/A-\varepsilon n\) edges. With the edge-score coefficient \(A=2p\) this is \(n+m+\kappa \min (m,n-m)-\varepsilon n\) edges, where \(\kappa =\pi /(3\arccos \tfrac {1+2\sqrt2}{4})\approx 3.5625\); with \(\lfloor n/2\rfloor \) outputs it is \((3/2+\kappa /2-\varepsilon )n\approx (3.28-\varepsilon )n\) edges, at least \((59/18-\varepsilon )n\). The coefficient \(A=1/3\) gives \(n+m+3\min (m,n-m)-\varepsilon n\), and \((3-\varepsilon )n\) with \(\lfloor n/2\rfloor \) outputs. Pinsker (1973) proved that every \((n,m)\)-concentrator with \(m\ge 2\) has at least \(2n-2\) edges; the bound here is larger, up to \(\varepsilon n\), whenever \(m\ge n/(1+\kappa )\approx 0.22n\).
- Algebraic.Cutwidth.Multigraph.Concentrator.add_le_card_edges_add_one
- Algebraic.Cutwidth.Multigraph.Concentrator.le_of_orderingBound
- Algebraic.Cutwidth.Multigraph.Concentrator.eventually_le_card_edges_of_orderingBound
- Algebraic.Cutwidth.Multigraph.Concentrator.eventually_le_card_edges_half_of_orderingBound
- Algebraic.Cutwidth.Multigraph.Concentrator.eventually_le_card_edges
- Algebraic.Cutwidth.Multigraph.Concentrator.eventually_le_card_edges_half
- Algebraic.Cutwidth.Multigraph.Concentrator.eventually_fiftyNine_div_eighteen_sub_mul_le_card_edges
- Algebraic.Cutwidth.Multigraph.Concentrator.eventually_add_three_mul_le_card_edges
- Algebraic.Cutwidth.Multigraph.Concentrator.eventually_three_sub_mul_le_card_edges
Suppose \(L\ge 64\), \(e+26\le L\), and \(L\) bounds the ceiling logarithms of \(n+1\) and \(2^{64}L+1\). Under the original normalized factored-source, joint-envelope, and seed-prefix hypotheses of the two-round theorem, the actual matched program has distance at most
Both the honest and tampered inputs may be arbitrarily correlated within each side. No extractor or intermediate-seed guarantee is supplied as a premise.
Suppose the actual joint law of earlier seeds and \(t\) current blocks is within \(\eta \) of an earlier-seed family of threshold-\(K\) block sources. Let a fresh-seed condenser preserve those blocks at output threshold \(2^k\), with error \(\varepsilon \) and pair-valued output over an alphabet of size \(2^m\). If \(s\le m\) and \(m+s+e\le k\), condensing with one fresh seed shared by all blocks and then splitting gives a threshold-\(2^s\) block-source family at joint error at most \(\eta +t(\varepsilon +2^{-e})\). Both earlier and fresh seeds are retained.
Let \(F\) have cardinality \(q\), let \(E\) be monic and irreducible of degree \(n\ge 2\), and let \(h{\gt}0\). Every set \(P\) of polynomials of degree below \(n\), with \(|P|\le h^m\), satisfies
where subtraction is truncated at zero. This is the finite expansion argument of Guruswami–Umans–Vadhan (2009), Theorem 3.3. For degree-one moduli and at least one output coordinate, the exact neighbor count is \(q|P|\). For \(h=2^r\), the full neighbor equals the seed paired with the modular-squaring condenser output. The field and modulus are supplied; this theorem alone makes no uniform construction or distributional claim.
For a field \(F\), a finite set \(T\), seed values \(y_x\in F\), and weights \(w_{x,j}\in F\), if \(|T|{\lt}AK\) there is a nonzero family \((p_j)_{j{\lt}K}\) of polynomials of degree below \(A\) satisfying \(\sum _{j{\lt}K}p_j(y_x)w_{x,j}=0\) for every \(x\in T\).
If \(j{\lt}h^m\), then \(M_j(u,u^h,\ldots ,u^{h^{m-1}})=u^j\). Thus the first \(K\le h^m\) features become a polynomial of degree below \(K\), nonzero whenever some coefficient is nonzero. For monic \(E\), \(h{\gt}0\), \(A{\gt}0\), and \(\deg p_j{\lt}A\), the substituted sum satisfies
Evaluation commutes with the displayed substitution. No source-degree or irreducibility premise is needed for this degree estimate.
- Algebraic.Cutwidth.Extractor.sum_monomialDigit_mul_pow
- Algebraic.Cutwidth.Extractor.sum_monomialDigit_le
- Algebraic.Cutwidth.Extractor.digitMonomial_pow
- Algebraic.Cutwidth.Extractor.digitMonomial_substitution
- Algebraic.Cutwidth.Extractor.fin_monomial_sum_degree_lt
- Algebraic.Cutwidth.Extractor.fin_monomial_sum_ne_zero_iff
- Algebraic.Cutwidth.Extractor.substitutedSum_eval
- Algebraic.Cutwidth.Extractor.substitutedSum_natDegree_le
- Algebraic.Cutwidth.Extractor.substitutedSum_degree_lt
An injective encoding of the output, allowed to depend on the retained seed, preserves both entropy thresholds and the error of a weighted strong condenser. The statement includes the empty seed type under the zero-mass convention.
If a positive-degree monic \(E\) does not vanish at the constrained seeds, an interpolating family can be chosen with some coefficient not divisible by \(E\), preserving its degree bound and constraints. For irreducible \(E\), the polynomial \(\sum _{j{\lt}K}[p_j]Z^j\) over \(F[Y]/(E)\) is then nonzero of degree below \(K\). Consequently fewer than \(K\) distinct source polynomials of degree below \(\deg E\) can give roots of this quotient polynomial.
Both codec round trips are exact at the prescribed width; serialization is injective and sends coordinate addition to bitwise XOR. Re-encoding the decoded condenser returns its exact original runtime output. The latter identity also holds for the scheduled program.
- Algebraic.Cutwidth.Extractor.encodeCondenserOutput_length
- Algebraic.Cutwidth.Extractor.coefficientBlock_encodeCondenserOutput
- Algebraic.Cutwidth.Extractor.decode_encodeCondenserOutput
- Algebraic.Cutwidth.Extractor.encode_decodeCondenserOutput
- Algebraic.Cutwidth.Extractor.encodeCondenserOutput_injective
- Algebraic.Cutwidth.Extractor.decodeCondenserOutput_addBits
- Algebraic.Cutwidth.Extractor.encodeCondenserOutput_add
- Algebraic.Cutwidth.Extractor.encodeCondenserOutput_decodedCondenser
- Algebraic.Cutwidth.Extractor.encodeCondenserOutput_decodedExplicitCondenser
Over any signature and interpretation, conditional complexity obeys the triangle inequality: computing \(h\) given \(f\) costs at most computing \(h\) given \(g\) plus computing \(g\) given \(f\). Over \(\mathbb {F}_2\), take any signature whose operations have arity at most two, interpreted over \(\mathbb {F}_2\), in which some one-gate circuit computes \(x_0 + x_1\). Then the conditional complexity of a nonzero linear form \(t \cdot x\) given linear helpers \(s_1 \cdot x, \ldots , s_k \cdot x\) is exactly
where \(\lvert \cdot \rvert \) is Hamming weight: the fewest helpers and inputs whose sum is the target, minus one. Every gate is counted, constant gates included. The signature may contain other operations as well, nonlinear ones included; the single-gate addition is a hypothesis of the theorem.
Let \(p\) be a probability law of \((Z,A,B)\) and let \(q\) be a probability law of \((Z,A')\) with the same \(Z\) marginal. There is a coupling preserving the complete original \((Z,A,B)\) law, giving \((Z,A')\) law \(q\), and satisfying \(\Pr [A\ne A']=d(p_{ZA},q)\). Its kernel makes \(A'\) independent of \(B\) given \((Z,A)\), including null rows. The projected law \(p'\) of \((Z,A',B)\) preserves \((Z,B)\) jointly and satisfies \(d(p,p')=d(p_{ZA},q)\). No per-transcript error bound is required.
On a nonempty second alphabet, conditional rows of a probability law are normalized, including null rows. Multiplying each row by its marginal recovers the original law, and
Processing the second coordinate within each row leaves the first marginal unchanged. Deterministically processing the retained first coordinate cannot increase distance from an independent uniform output.
- Algebraic.Cutwidth.Extractor.conditionalWeight_factor
- Algebraic.Cutwidth.Extractor.IsProbabilityWeight.conditionalWeight
- Algebraic.Cutwidth.Extractor.IsProbabilityWeight.uniformSecond
- Algebraic.Cutwidth.Extractor.weightDist_uniformSecond_eq
- Algebraic.Cutwidth.Extractor.weightDist_uniformSecond_tagged
- Algebraic.Cutwidth.Extractor.firstWeight_map_fiber
- Algebraic.Cutwidth.Extractor.weightDist_uniformSecond_map_first_le
Under the hypotheses of the constructed thin-family theorem, suppose eligible vertices have black degree exactly two. If \(\mathcal P\) is the original thin-path family, \(J\) is the selected shaded subfamily, and \(T\) is the constructed core forest, then
The same construction retains the restoration bound, original reachability between core representatives, and the cycle-rank bound \(|J|+|V|\le |E(B)|+c(B)\). The stronger reserve for original small cyclic components is retained too.
Under the hypotheses of the constructed thin-family theorem, identify all thin regions in the boundary quotient after isolation and suppress their vertices. The resulting core graph is a forest, and reachability between its vertices agrees with reachability between their representatives in the original black graph. The \(3M\) restoration bound per region and attachment and the original cycle-rank bound on isolated regions are retained. This includes the reserve for every original small cyclic component.
For the constructed restoration family and shaded subfamily \(J\), endpoint marks vanish on every eligible vertex. If eligible vertices have ambient degree exactly two, their total is \(2|J|\). At every ineligible vertex, remaining degree plus endpoint marks equals original degree. Consequently, a degree-three vertex made degree two by isolation receives exactly one mark. It cannot become a new unmarked degree-two path vertex.
For a positive witness \(X\) avoiding the shaded regions, the original graph has a positive witness \(Y\supseteq X\) with
These are the endpoint invariants of the initial shading step. Preservation through later color swaps and leaf reorganization is not used by the connected-cluster proof below.
- Algebraic.Cutwidth.Bisection.RedBlack.PathSystem.degree_endpointMarks
- Algebraic.Cutwidth.Bisection.RedBlack.PathSystem.endpointMarks_eq_zero_of_mem
- Algebraic.Cutwidth.Bisection.RedBlack.PathSystem.degree_isolated_add_endpointMarks
- Algebraic.Cutwidth.Bisection.RedBlack.PathSystem.newly_degree_two_marked
Suppose every eligible vertex has black degree at most two and lies in an original black component larger than \(M\). If no positive set of at most \(8M+1\) vertices exists, the canonical thin regions form a restoration family with one chosen small attachment each, and \(|P_i\cup A_i|\le 3M\). Choose distinct boundary edges and isolate some subfamily \(J\), with
The stronger reserved cycle budget holds as well: each original small cyclic component reserves another unit in this inequality. Deleting its chosen single edges preserves reachability. Deleting its full cuts preserves reachability among outside vertices and leaves no cycle meeting any thin region. The resulting region-boundary quotient is a forest, with every connected component a tree. The simultaneous restoration theorem applies with \(L=3M\), hence with factor \(1+9M\) in a subcubic black graph for witnesses avoiding the isolated regions. The following theorem completes the suppression of the thin-path vertices. The connected-cluster argument below supplies the final density contradiction without requiring weighted-tree reorganization.
Let the regions be connected, pairwise disjoint, with no black edges between distinct regions, and with at most two boundary edges each. If every black cycle avoids the regions, identifying and suppressing their quotient vertices produces a forest on the remaining pieces. Reachability between these core pieces is exactly original reachability between their representative vertices. The number of core edges equals the number of regions with exactly two boundary edges.
Let a restoration family have black degree at most \(d\) and \(|P_i\cup A_i|\le L\). After isolating a subfamily and deleting all remaining region boundaries, suppose each region is identified with a distinct connected component whose support is exactly that region. Form the associated core graph. If core pieces \(C,D\) are adjacent, the original graph has a positive set \(Y\supseteq C\cup D\) with
All incident regions, including previously isolated ones, are restored in this one bound.
The helpfulness is exactly \(h_S(X)=|\partial S|-|\partial (S\mathbin {\triangle }X)|\), and successive moves have additive helpfulness. A minimum cut exists at each prescribed side cardinality, and a minimum balanced cut exists also for graphs of odd order. At a minimum cut \(S\), if \(X\subseteq S\), \(Y\subseteq (S\setminus X)^c\), and \(|X|=|Y|\), then
If all vertices of \(X\) have degree at most \(d\), then \(|h_S(X)|\le d|X|\).
- Algebraic.Cutwidth.cutFinset_symmDiff
- Algebraic.Cutwidth.helpfulness_eq_sub
- Algebraic.Cutwidth.helpfulness_add
- Algebraic.Cutwidth.Bisection.exists_min_cut_of_card
- Algebraic.Cutwidth.Bisection.exists_min_bisection
- Algebraic.Cutwidth.Bisection.two_moves_le_zero
- Algebraic.Cutwidth.abs_helpfulness_le_mul_card
Every rectangle-free Boolean function family with polynomial rectangle threshold and at least \(2^{n-2}\) accepting inputs, as in Theorem 363, needs circuits of more than \((4-\varepsilon )n\) gates over the full binary basis (all sixteen binary gates, every gate counted), for every \(\varepsilon {\gt}0\) and all large \(n\). The cubic graph bounds are proved, so the theorem has no graph hypothesis. This reusable theorem applies to every family satisfying the displayed properties. The concrete family of Theorem 703 uses its subexponential-threshold form. The circuit argument follows Ryan Williams’s private working note of September 2026, combining the rectangle bound for read-once programs with the circuit-to-read-once compiler of the author’s counting note.
Call \(f\) \((K, \nu )\)-balanced when on every rectangle with both sides of size at least \(K\), under every split of the coordinates, the fraction of accepting inputs lies within \(\nu \) of one half (a sumset extractor with polynomial threshold \(K\) and error \(\nu \) is balanced at that threshold). For every \(\nu \ge 0\), every family \(f_n\) that is \((K_n, \nu )\)-balanced with \(K_n \le n^c\), every \(\varepsilon {\gt} 0\), and all large \(n\), every circuit with at most \((4 - \varepsilon )n\) binary gates agrees with \(f_n\) on at most \((1/2 + 3\nu )\, 2^n + 2^{(1 - \varepsilon /24)n}\) inputs.
Let \(A{\gt}0\), and suppose that for every \(\eta {\gt}0\) some \(C\) satisfies \(\mathrm{OrderingBound}(A,\eta ,C)\). Every family as in Theorem 766 then needs more than \((1+1/A-\varepsilon )n\) gates, for deterministic circuits and for nondeterministic circuits with arbitrarily many witness inputs, for every \(\varepsilon {\gt}0\) and all large \(n\). The balanced padding of Theorem 471 needs more than \((1+1/A-\varepsilon )(n+1)\) gates. A cubic cutwidth or pathwidth coefficient \(c{\gt}0\) at every positive slack gives the circuit coefficient \(1+1/(2c)\). The coefficient-four theorems are the case \(A=1/3\).
- Algebraic.Cutwidth.eventually_lt_size_of_orderingBound
- Algebraic.Cutwidth.eventually_lt_size_of_cutwidthBound
- Algebraic.Cutwidth.eventually_lt_size_of_pathwidthCoefficient
- Algebraic.Cutwidth.nondet_eventually_lt_size_of_orderingBound
- Algebraic.Cutwidth.nondet_eventually_lt_size_of_cutwidthBound
- Algebraic.Cutwidth.nondet_eventually_lt_size_of_pathwidthCoefficient
- Algebraic.Cutwidth.eventually_lt_size_balancePad_of_flatSumsetExtractor_of_orderingBound
- Algebraic.Cutwidth.nondet_eventually_lt_size_balancePad_of_flatSumsetExtractor_of_orderingBound
Under the hypotheses of Theorem 765, the same bound holds for nondeterministic circuits: for every \(\varepsilon {\gt} 0\) and all large \(n\), every circuit on \(n + m\) inputs with arbitrary \(m\), whose accepted inputs \(x\) are exactly those with some witness \(y\) making the output \(1\) has more than \((4 - \varepsilon )n\) gates. Nondeterminism does not reduce the size below this bound. The subexponential threshold of Theorem 766 is also sufficient.
- Algebraic.Cutwidth.nondet_eventually_lt_size_of_pathwidthBound
- Algebraic.Cutwidth.nondet_eventually_lt_size_of_log_sublinear
- Algebraic.Cutwidth.nondet_eventually_lt_size_of_flatSumsetExtractor
- Algebraic.Cutwidth.nondet_eventually_lt_size_of_rectangleFree
- Algebraic.Cutwidth.nondet_eventually_lt_size_of_flatSumsetExtractor_of_log_sublinear
The polynomial threshold in Theorem 765 can be replaced by \(\log _2 K(n)=o(n)\). In particular, a family of flat-source sumset extractors with this threshold and fixed error at most \(1/4\) satisfies the same circuit lower bound with no graph hypothesis. The explicit sumset family and its uniform polynomial-time evaluation are supplied above with sublinear source entropy. Li’s Theorem 7.13 (2023) provides logarithmic source entropy; Chattopadhyay and Liao (2021) already provide polylogarithmic source entropy, which is sufficient for this version.
- Algebraic.Cutwidth.eventually_lt_size_of_pathwidthBound_of_log_sublinear
- Algebraic.Cutwidth.eventually_lt_size_of_pathwidthBound_of_flatSumsetExtractor
- Algebraic.Cutwidth.eventually_lt_size_of_bisectionBound_of_log_sublinear
- Algebraic.Cutwidth.eventually_lt_size_of_bisectionBound_of_flatSumsetExtractor
- Algebraic.Cutwidth.eventually_lt_size_of_flatSumsetExtractor_of_log_sublinear
Let \(T\subseteq E(B)\) be designated edges of a finite simple graph. There is \(F\subseteq T\) such that \(B-F\) has exactly the same reachability relation as \(B\), every edge of \(T\setminus F\) is a bridge in \(B-F\), and
where \(c(B)\) is the number of connected components. Thus the number deleted is at most the original cycle rank.
Let \(F\subseteq E(B)\) have reachability-preserving deletion. Let \(\mathcal C\) be any collection of original connected components, each containing a cycle and having all its internal edges retained. Then
In particular, the deleted edges and the untouched cyclic components share one cycle-rank budget.
Let \(P_i\) be connected regions whose vertices have black degree at most two. Choose a boundary edge \(e_i\in \partial _B P_i\) for each region, with all chosen edges distinct. Some set \(J\) of at most the original cycle rank many indices satisfies both of the following: deleting only \(\{ e_i:i\in J\} \) preserves reachability, and deleting all cuts \(\bigcup _{i\in J}\partial _B P_i\) leaves no cycle meeting any \(P_i\). This selects regions for a supplied thin-path system. The construction below instantiates it. The later marked-tree reorganization is not needed by the connected-cluster proof of the sharp bisection theorem.
Let \(\omega \) be a primitive \(N\)-th root of unity in a field \(F\), for any \(N\). Consider a fan-in-two circuit with \(s\) gates computing \(x\mapsto F_Nx\) which is either linear over \(F\) (it has a local linear realization: each gate computes a linear combination of its arguments, with arbitrary coefficients) or, when \(F\) is finite, has arbitrary gates \(F\times F\to F\). Under \(\mathrm{OrderingBound}(A,\eta ,C)\) with \(A+\eta \ge 0\),
Consequently, if the ordering hypothesis holds with coefficient \(A{\gt}0\) at every positive slack, then for every \(\varepsilon {\gt}0\) and all large \(N\), independently of the field, the root of unity, and the signature, every such circuit has more than \((1+1/(2A)-\varepsilon )N\) gates. With the edge-score coefficient \(A=2p\) this is \((1+\kappa /2-\varepsilon )N\approx (2.78-\varepsilon )N\), with \(\kappa =\pi /(3\arccos \tfrac {1+2\sqrt2}{4})\), and more than \((25/9-\varepsilon )N\). This applies to the complex DFT with \(\omega =e^{2\pi i/N}\), including \(N=2^k\), and to number-theoretic transforms over \(\mathbb {Z}/q\) for a prime \(q\) with \(N\mid q-1\), where a primitive \(N\)-th root of unity exists.
Valiant (1975) observed that a linear circuit computing the Fourier transform is a hyperconcentrator (Definition 794). For prime \(N\) every minor of the complex Fourier matrix is nonsingular (Chebotarëv), so such circuits are superconcentrators, and Lev and Valiant (1983) derived \(4N-o(N)\) additions. For general \(N\) Lokam (Complexity lower bounds using linear algebra, 2009) and Ailon (arXiv:1403.1307) record no superlinear lower bound for unrestricted linear circuits; the bound here is linear.
- Algebraic.Cutwidth.MultiOutput.half_le_of_dft
- Algebraic.Cutwidth.MultiOutput.Linear.Realization.half_le_of_dft
- Algebraic.Cutwidth.MultiOutput.Linear.eventually_lt_size_dft_of_orderingBound
- Algebraic.Cutwidth.MultiOutput.Linear.eventually_lt_size_dft
- Algebraic.Cutwidth.MultiOutput.Linear.eventually_lt_size_dft_twentyFive_div_nine
- Algebraic.Cutwidth.MultiOutput.Linear.eventually_lt_size_complexDFT
- Algebraic.Cutwidth.MultiOutput.Linear.eventually_lt_size_fft
- Algebraic.Cutwidth.MultiOutput.eventually_lt_size_dft_of_orderingBound
- Algebraic.Cutwidth.MultiOutput.eventually_lt_size_dft
- Algebraic.Cutwidth.MultiOutput.eventually_lt_size_dft_twentyFive_div_nine
- Algebraic.Cutwidth.MultiOutput.exists_isPrimitiveRoot_zmod
- Algebraic.Cutwidth.MultiOutput.eventually_lt_size_ntt
In a cubic graph with no helpful subset of \(S\) of size at most eleven, a boundary edge \(ab\) admits a valid switch \(a,b,c,d\). So does an edge \(ab\) with \(a\) an interior vertex having three boundary neighbors and \(b\in C\). In both cases \(bc\) is an edge, \(c,d\in S\setminus C\), \(c\) has at most two boundary neighbors, and \(d\) has at most one.
A valid switch preserves every degree. If all endpoints lie in \(S\), it preserves the cut of \(S\), every vertex’s neighbors outside \(S\), and the boundary vertex set. For \(X\subseteq S\), let \(\chi \) be its membership indicator. The helpfulness in the switched graph satisfies
- Algebraic.Cutwidth.Bisection.switchEdges_degree
- Algebraic.Cutwidth.Bisection.switchEdges_regular
- Algebraic.Cutwidth.Bisection.switchEdges_cut
- Algebraic.Cutwidth.Bisection.switchEdges_neighbors_outside
- Algebraic.Cutwidth.Bisection.switchEdges_boundary
- Algebraic.Cutwidth.Bisection.helpfulness_switchEdges
Reversing a valid normalization switch transfers any \(X\subseteq S\) to a superset \(Y\subseteq S\) with \(h_S(Y)\ge h'_S(X)\). At most two vertices are added for a boundary-pair switch and at most four for a three-boundary-neighbor switch. If \(Y\ne X\), both \(a,b\) belong to \(Y\) and exactly one belonged to \(X\). This is a bound for one switch. Both phases receive combined bounds below.
If the half-degree and extension-degree words have lengths \(3^s\) and \(3^v\), the decoded output vector is exactly \(\operatorname {polynomialCondenser}(E_{s,v},r,m,f,y)\). This applies to the actual paired-input \(\mathrm{FP}\) evaluator, with arbitrary source and seed word lengths. Missing source bits are zero and excess source bits are ignored; the semantic source has degree below \(3^v\). The statement includes zero exponents, zero stride, and an empty output vector.
- Algebraic.Cutwidth.Extractor.sourcePolynomial_degree_lt
- Algebraic.Cutwidth.Extractor.binaryExtensionEquiv_decode_transpose
- Algebraic.Cutwidth.Extractor.decode_blockEvalBits
- Algebraic.Cutwidth.Extractor.sourcePolynomial_unpacked_frobenius
- Algebraic.Cutwidth.Extractor.decode_condenserCoordinateBits
- Algebraic.Cutwidth.Extractor.condenserBits_correct
- Algebraic.Cutwidth.Extractor.condenserEval_correct
- Algebraic.Cutwidth.Extractor.decodedCondenser_eq
Every coordinate has exactly twice the half-degree word length in bits. The concatenation has \(mb\) bits, and taking consecutive blocks recovers the coordinates in order. The single paired-input evaluator belongs to \(\mathrm{FP}\) uniformly in all six runtime words and has output length at most twice the square of its encoded input length, even for malformed data or zero dimensions.
- Algebraic.Cutwidth.Extractor.condenserCoordinateBits_length
- Algebraic.Cutwidth.Extractor.condenserBits_length
- Algebraic.Cutwidth.Extractor.coefficientBlock_condenserBits
- Algebraic.Cutwidth.Extractor.condenserEval_pair
- Algebraic.Cutwidth.Extractor.condenserEval_length_le
- Algebraic.Cutwidth.Extractor.condenserCoordinateBits_mem_FP
- Algebraic.Cutwidth.Extractor.condenserBits_mem_FP
- Algebraic.Cutwidth.Extractor.condenserEval_mem_FP
Padded coefficientwise XOR represents addition of source polynomials. At every field seed, the decoded runtime map preserves this addition and sends each all-zero source to zero. No source-length or capacity hypothesis is needed, and unequal source lengths are allowed.
- Algebraic.Cutwidth.Extractor.sourcePolynomial_addBits
- Algebraic.Cutwidth.Extractor.sourcePolynomial_replicate_false
- Algebraic.Cutwidth.Extractor.sourcePolynomial_nil
- Algebraic.Cutwidth.Extractor.decodedCondenser_addBits
- Algebraic.Cutwidth.Extractor.decodedCondenser_replicate_false
- Algebraic.Cutwidth.Extractor.decodedCondenser_nil
Let \(b=2\cdot 3^s\), \(d=3^v\) with \(v{\gt}0\), \(r\le b\), and \(n\le bd\). On every nonempty flat support of \(n\)-bit words with at most \(2^{rm}\) points, the decoded runtime program has a seedwise injective ideal map, with joint seed-output test error at most
For any \(0{\lt}K\le 2^{rm}\) and a larger flat support with at least \(K\) points, the same bound holds against an explicit mixture of seedwise \(K\)-flat witnesses. Irreducibility and the field cardinality are proved for the generated moduli; they are not external hypotheses.
For every \(n\le (2\cdot 3^s)3^v\), source-polynomial encoding is injective on bit lists of length \(n\), including a partial final coefficient block and \(n=0\). Thus zero padding does not merge distinct points of a fixed-length flat source.
Suppose two induced graphs together cover every vertex and edge, and their adjoining endpoint bags contain every shared vertex. Their decompositions concatenate without enlarging any bag. In particular, an induced subgraph with bag bound \(c\) can be attached along a boundary \(X\) to a decomposition of the rest ending at \(X\): the new decomposition ends at \(X\) and has bag bound \(\max \{ b,|X|+c\} \), where \(b\) was the bound for the rest. Every edge leaving the attached subgraph must meet \(X\).
- Algebraic.Cutwidth.PathDecomposition.exists_glue
- Algebraic.Cutwidth.PathDecomposition.exists_glue_embeddings
- Algebraic.Cutwidth.PathDecomposition.exists_pad
- Algebraic.Cutwidth.PathDecomposition.exists_attach
- Algebraic.Cutwidth.PathDecomposition.EndsAt.reverse
- Algebraic.Cutwidth.PathDecomposition.StartsAt.reverse
For one region, total endpoint marks equal its cut size. For a restoration family, write \(m(v)\) for its endpoint marks and \(H\) for its deleted graph. At every vertex \(v\) outside all regions,
If \(X\) avoids all regions, then
- Algebraic.Cutwidth.Bisection.RedBlack.degree_boundaryMarks
- Algebraic.Cutwidth.Bisection.RedBlack.boundaryMarks_apply
- Algebraic.Cutwidth.Bisection.RedBlack.sum_boundaryMarks
- Algebraic.Cutwidth.Bisection.RedBlack.RestorationFamily.degree_endpointMarks
- Algebraic.Cutwidth.Bisection.RedBlack.RestorationFamily.sum_endpointMarks
- Algebraic.Cutwidth.Bisection.RedBlack.RestorationFamily.endpointMarks_apply
- Algebraic.Cutwidth.Bisection.RedBlack.RestorationFamily.degree_deletedGraph_add_endpointMarks
Let \(v\in Y\), \(X\subseteq Y\), and suppose all neighbors of \(v\) lie in \(Y\). A path decomposition of \(H-v\) ending at \(Y\setminus \{ v\} \) with bags of size at most \(b\) extends to one of \(H\) ending at \(X\), provided \(|Y|\le b\). This supplies the deletion cases in Fomin and Høie’s endpoint induction.
This result is conditional on the open band hypothesis of Definition 781. Let \(c{\gt}0\) and assume \(\mathrm{BandSubcritical}(q,R,c)\) for every decay rate \(0\le q{\lt}1/\sqrt2\) and every radius \(R\), and let \(p=\tfrac {3}{2\pi }\arccos \tfrac {1+2\sqrt2}{4}\). Then for every \(\eta {\gt}0\) some \(C\) satisfies \(\mathrm{OrderingBound}(2e^{-c^2/2}p,\eta ,C)\), and for every \(\varepsilon {\gt}0\) and all sufficiently large \(n\), every circuit computing \(\mathrm{sourceReductionHardFamily}(n)\) over the full binary basis has more than \(\bigl(1+1/(2e^{-c^2/2}p)-\varepsilon \bigr)n\) gates, with \(n\) the full input length. If the hypothesis holds at \(c=4/25\), the ordering coefficient is at most \(5/18\) and every such circuit has more than \((23/5-\varepsilon )n\) gates.
- Algebraic.Cutwidth.Multigraph.exists_orderingBound_band
- Algebraic.Cutwidth.Multigraph.exists_orderingBound_five_div_eighteen_of_bandSubcritical
- Algebraic.Cutwidth.sourceReductionHardFamily_eventually_lt_size_of_bandSubcritical
- Algebraic.Cutwidth.sourceReductionHardFamily_eventually_lt_size_twentyThree_div_five_of_bandSubcritical
For positive rate \(u\), apply the actual decoded scheduled condenser to every block of an \(n\)-bit threshold-\(2^k\) block source, using one field seed. Its retained-seed output is within \(t2^{-e}\) of a seed-conditioned threshold-\(2^k\) block source. Both Boolean-vector inputs and arbitrary injective encodings into words of length \(n\) are covered. This is a statistical theorem about the actual component maps; a uniform evaluator for the full multilevel recursion remains a separate construction.
On a concatenated tuple of fixed-width Boolean blocks and the canonical encoding of a field seed, the block program returns exactly the concatenated output of the statistical condense-and-split map. Each pair’s first half immediately precedes its second half. The equality includes zero blocks and zero input width, without entropy assumptions.
The block program is polynomial-time when its numerical parameters have uniform unary certificates and its words and unary block count are polynomial-time. Its exact output length is the block count times the component output length. On a concatenated fixed-width tuple, its output is exactly the concatenation of the component outputs. Zero blocks and zero block width are included.
Let \(A{\gt}0\), and suppose that for every \(\eta {\gt}0\) some \(C\) satisfies \(\mathrm{OrderingBound}(A,\eta ,C)\). For every \(\varepsilon {\gt}0\) and all sufficiently large \(n\), every circuit computing \(\mathrm{sourceReductionHardFamily}(n)\) has more than \((1+1/A-\varepsilon )n\) gates, with \(n\) the full input length. The family is the one of Theorem 703, which is the case \(A=1/3\).
For \(u{\gt}0\), the actual scheduled program on every nonempty flat \(n\)-bit support of size at most \(2^k\) is within \(2^{-e}\) of a seedwise flat witness of the same support size. On every flat support of size at least \(2^k\), it is within \(2^{-e}\) of an explicit mixture of seedwise \(2^k\)-flat witnesses. Every test retains the seed. No field, capacity, stride, or error-budget inequality is supplied by the caller. The following one-shot extraction layer composes this finite lossless guarantee with linear hashing; the recursive extractor and correlation-breaker construction remains separate.
The budget, field width, and extension exponent are positive, and
For \(u{\gt}0\), also \(r{\gt}0\) and \(k\le rm\). Every parameter, including \(3^s\) and \(3^v\), has a registered unary polynomial-time certificate when its inputs do. All finite inequalities include zero source length, zero entropy, and zero inverse-error exponent.
- Algebraic.Cutwidth.Extractor.explicitCondenserBudget_pos
- Algebraic.Cutwidth.Extractor.explicitCondenserFieldBits_pos
- Algebraic.Cutwidth.Extractor.explicitCondenserPowerBits_pos
- Algebraic.Cutwidth.Extractor.explicitCondenserExtensionExponent_pos
- Algebraic.Cutwidth.Extractor.explicitCondenser_degree_lower
- Algebraic.Cutwidth.Extractor.explicitCondenser_source_capacity
- Algebraic.Cutwidth.Extractor.explicitCondenser_degree_le
- Algebraic.Cutwidth.Extractor.explicitCondenser_entropy_capacity
- Algebraic.Cutwidth.Extractor.explicitCondenser_fieldBits_le
- Algebraic.Cutwidth.Extractor.explicitCondenser_output_rate
- Algebraic.Cutwidth.Extractor.explicitCondenser_error_budget
- Algebraic.Cutwidth.Extractor.explicitCondenserBudget_unaryFn
- Algebraic.Cutwidth.Extractor.sparseFieldExponent_unaryFn
- Algebraic.Cutwidth.Extractor.sparseFieldHalfDegree_unaryFn
- Algebraic.Cutwidth.Extractor.sparseFieldBits_unaryFn
- Algebraic.Cutwidth.Extractor.sparsePowerBits_unaryFn
- Algebraic.Cutwidth.Extractor.condenserCoordinates_unaryFn
- Algebraic.Cutwidth.Extractor.explicitCondenserExtensionExponent_unaryFn
- Algebraic.Cutwidth.Extractor.explicitCondenserExtensionDegree_unaryFn
One \(\mathrm{FP}\) evaluator computes the parameters and all output bits. Its output has exactly \(mb\) bits and satisfies the selected rate bound. Its decoded output equals the polynomial condenser and preserves source XOR for each seed. These program identities require no source-length promise or positive-parameter hypothesis.
- Algebraic.Cutwidth.Extractor.explicitCondenserBits_length
- Algebraic.Cutwidth.Extractor.explicitCondenserBits_output_rate
- Algebraic.Cutwidth.Extractor.explicitCondenserEval_pair
- Algebraic.Cutwidth.Extractor.decodedExplicitCondenser_eq
- Algebraic.Cutwidth.Extractor.decodedExplicitCondenser_addBits
- Algebraic.Cutwidth.Extractor.decodedExplicitCondenser_replicate_false
- Algebraic.Cutwidth.Extractor.explicitCondenserBits_mem_FP
- Algebraic.Cutwidth.Extractor.explicitCondenserEval_mem_FP
For every \(\varepsilon {\gt}0\) and all sufficiently large \(n\), every circuit computing the fixed family \(\mathrm{sourceReductionHardFamily}(n)\) has more than \((4-\varepsilon )n\) gates. The basis contains all sixteen binary Boolean operations, repeated input slots and unrestricted fan-out are permitted, and every gate is counted. The family is fixed before \(\varepsilon \), belongs to \(P\), and \(n\) is the full padded input length. No graph, extractor, entropy, or hard-family hypothesis remains. The circuit argument follows Ryan Williams’s September 2026 working note and the author’s circuit-to-read-once compiler; the constructed family uses Chattopadhyay–Liao’s extractor route with the library’s conservative finite parameters.
For every \(\varepsilon {\gt}0\) and all sufficiently large \(n\), every circuit computing \(\mathrm{sourceReductionHardFamily}(n)\) over the full binary basis has more than \(\bigl(1+\pi /(3\arccos \tfrac {1+2\sqrt2}{4})-\varepsilon \bigr)n\) gates, about \((4.5625-\varepsilon )n\), with \(n\) the full input length. In particular it has more than \((41/9-\varepsilon )n\) gates. The family, its polynomial-time evaluator, and the basis are those of Theorem 703; no hypothesis remains.
The actual output length is exactly \(2H=cb\), so the paired map needs no padding. Its half-width satisfies \(u(2H)\le (u+1)k+ub\). For positive rate parameter \(u\), the paired map is a weighted strong condenser from threshold \(2^k\) to threshold \(2^k\) with error at most \(2^{-e}\), over two half-alphabets of size \(2^H\).
Write \(H\) for the actual output half-width and \(b\) for the field bit width. For \(u{\gt}0\), the coordinate capacity gives \(k\le 2H\). For \(u{\gt}1\), the sufficient integer budget
implies \(s\le H\) and \(H+s+E\le k\). Here the splitting exponent \(E\) can differ from the condenser error exponent. One may replace \(b\) in this sufficient condition by its proved upper bound. Taking the budget at \(s=0\) justifies the maximal next entropy \(k-H-E\), with exact equality \(H+(k-H-E)+E=k\) and no truncated-subtraction loss.
Let \(K{\gt}0\) and \(\rho \ge 0\). For every \(P,Q\) of size at least \(K\), suppose a subset \(G\subseteq Q\) has size at least \(\theta |Q|\), and for every \(y\in G\), both values of \(f(X\oplus y)\) have probability at least \(\rho \) when \(X\) is uniform on \(P\). Then \(f\) is a flat sumset extractor with error \(1/2-\rho \theta \). In particular, \(\rho =1/36\) and \(\theta =1/2\) give error \(35/72\).
On a finite probability space, suppose \(|\mathbb E Z|,|\mathbb E Z^3|\le 1/100\), \(\mathbb E Z^2\ge 99/100\), and \(\mathbb E Z^4\le 301/100\). Each of the events \(Z{\gt}1/8\) and \(Z{\lt}-1/8\) has probability at least \(1/36\). In particular the conclusion holds when the first and third moments vanish, the second is one, and the fourth is at most three. This is a finite analytic component of the Chattopadhyay–Liao constant-error route; the source reduction and extractor primitives are supplied by the subsequent construction.
Suppose \(\nu \le 1/4\), \(\log _2 K(n)=o(n)\), and eventually \(f_n\) is a flat-source sumset extractor with threshold \(K(n)\) and error \(\nu \). Then eventually \(f_n\) is \(K(n)\)-rectangle-free and accepts at least \(2^{n-2}\) inputs. More generally, flat-source extraction implies balance on all coordinate rectangles at the same threshold and error.
The list majority evaluator agrees with finite-vector majority and is in \(\mathrm{FP}\). A good-coordinate margin strictly greater than the number of bad coordinates forces true; a margin at most the negative of that number forces false. The bad coordinates may depend arbitrarily on the good ones.
If \(K{\gt}0\) and \(f\) extracts with error below \(1/2\), balanced padding is rectangle-free at threshold \(2K\) and accepts exactly \(2^n\) strings. Its uniform list evaluator agrees with the finite function and belongs to \(\mathrm{FP}\) whenever the original evaluator does.
- Algebraic.Cutwidth.FlatSumsetExtractor.disperser
- Algebraic.Cutwidth.FlatSumsetDisperser.balancePad
- Algebraic.Cutwidth.FlatSumsetDisperser.rectangleFree
- Algebraic.Cutwidth.FlatSumsetExtractor.balancePad_rectangleFree
- Algebraic.Cutwidth.card_accepting_balancePad
- Algebraic.Cutwidth.balancePadEval_toList
- Algebraic.Cutwidth.balancePadEval_mem_FP
Fix a map \(R:\{ 0,1\} ^n\to \{ 0,1\} ^N\), a threshold \(K{\gt}0\), and \(\delta \ge 0\). For every \(P,Q\) of size at least \(K\), suppose at least half the \(y\in Q\) admit \(m{\gt}0\) good coordinates of \(R(X\oplus y)\), for uniform \(X\in P\), satisfying the parity and size bounds of Theorem 478. Then \(\operatorname {Maj}\circ R\) is a flat sumset extractor with error \(35/72{\lt}1/2\). The selected coordinates may depend on \(P,Q,y\); \(R\) is fixed before the source sets. This proves the final analytic implication, leaving construction and uniform evaluation of such an \(R\) as separate obligations.
Assume the seed and output sets are nonempty. An extractor with threshold \(K{\gt}0\) has fewer than \(K\) bad inputs for each small test. If \(L{\gt}0\) and \(K\le \delta L\), it therefore satisfies the sampler contract, including for nonuniform source weights. For a uniform source on \(P\), \(K\le \delta |P|\) gives the direct bad-cardinality bound. Returning the seed itself is a sampler with zero failures for \(\epsilon \ge 0\), although its seed is as large as its output.
This is the conversion credited to Zuckerman in Chattopadhyay–Liao Lemma 3.15. The finite budget gives sampler entropy \(k+\log _2(1/\delta )\) from extractor entropy \(k\), as used in their Lemma 3.18, correcting the reversed direction printed in Lemma 3.15.
For a normalized factored law \(w(z)l_z(a)r_z(b)\) and right coordinate \(q(z,b)\in Q\), there is a normalized replacement kernel on \((B,Q)\). Its \(B\) marginal is unchanged and its \(Q\) marginal is uniform given \(Z\). The full factored replacement has distance exactly \(d((Z,q),(Z,U_Q))\) from the original deterministic lift. The entire original \((Z,A,B)\) law and all source envelopes are preserved. The new \(Q\) coordinate may remain correlated with \(B\). Transferring conditional uniformity through a later deterministic map costs at most twice this repair distance, or once if its retained marginal is unchanged.
- Algebraic.Cutwidth.Extractor.rightCoordinateLift_probability
- Algebraic.Cutwidth.Extractor.factoredWeight_rightCoordinateLift
- Algebraic.Cutwidth.Extractor.exists_factored_uniform_right_repair
- Algebraic.Cutwidth.Extractor.rightCoordinateRepair_source_eq
- Algebraic.Cutwidth.Extractor.factoredWeight_forget_right_eq
- Algebraic.Cutwidth.Extractor.weightDist_uniformSecond_le_of_dist
- Algebraic.Cutwidth.Extractor.weightDist_uniformSecond_le_of_dist_of_same_first
Suppose \(X\) is positive in the deleted graph of a restoration family, avoids every region \(P_i\), and \(|P_i\cup A_i|\le L\) for every \(i\). There is a positive set \(Y\supseteq X\) in the original graph with
If every vertex of \(X\) has black degree at most \(d\), then \(|Y|\le (1+dL)|X|\). In particular, \(d=3\) and \(L=4M\) give \((1+12M)|X|\), independently of the total number of isolated regions. Attached sets may overlap \(X\) arbitrarily. The mark-based version gives a witness satisfying
charging only endpoint marks on the original witness.
Every fixed-seed map is additive and sends zero to zero. If \(F\) and \(\Omega \) are finite and \(\pi \) is surjective, distinct inputs collide on exactly \(|F|/|\Omega |\) seeds; hence the family is universal.
Let \(K\) be a finite field of degree \(n\) over a finite field \(F\), with any basis, and let a circuit over \(F\), over any signature with fan-in at most two (so with arbitrary functions \(F\times F\to F\), unary functions, and constants as gates), compute multiplication in \(K\) in coordinates with \(s\) gates. Every split of its wires holding \(a\) inputs of the first factor and \(n-a\) outputs is crossed by at least \(n-2\) signals, and all inputs and outputs lie in one component of the wire graph. Under \(\mathrm{OrderingBound}(A,\eta ,C)\) with \(A+\eta \ge 0\),
Consequently, if the ordering hypothesis holds with coefficient \(A{\gt}0\) at every positive slack, then for every \(\varepsilon {\gt}0\) and all large \(n\), independently of the fields, the basis, and the signature, every such circuit has more than \((2+1/A-\varepsilon )n\) gates. With the Gaussian pathwidth coefficient \(p\) of Theorem 783 this is \((2+1/(2p)-\varepsilon )n\approx (5.5625-\varepsilon )n\), and as \(2p\le 9/32\) it is more than \((50/9-\varepsilon )n\). In particular, multiplication in \(\mathrm{GF}(2^n)\) over \(\mathrm{GF}(2)\), in any basis, needs more than \((2+1/(2p)-\varepsilon )n\) gates over the full binary basis.
Earlier lower bounds for this multiplication count only the multiplications of bilinear or quadratic algorithms; we know of no earlier bound on the number of gates over the full binary basis. The coefficient is not claimed to be a record for explicit functions with \(2n\) inputs and \(n\) outputs in general.
- Algebraic.Cutwidth.MultiOutput.fieldMul_append_equivFun
- Algebraic.Cutwidth.MultiOutput.mem_component_of_fieldMul
- Algebraic.Cutwidth.MultiOutput.le_add_two_of_fieldMul
- Algebraic.Cutwidth.MultiOutput.sub_two_le_of_fieldMul
- Algebraic.Cutwidth.MultiOutput.eventually_lt_size_of_fieldMul_of_orderingBound
- Algebraic.Cutwidth.MultiOutput.eventually_lt_size_of_fieldMul
- Algebraic.Cutwidth.MultiOutput.eventually_lt_size_of_fieldMul_fifty_div_nine
- Algebraic.Cutwidth.MultiOutput.nonempty_basis_galoisField
- Algebraic.Cutwidth.MultiOutput.eventually_lt_size_galoisField
- Algebraic.Cutwidth.MultiOutput.eventually_lt_size_galoisField_fifty_div_nine
Let \(K\) be a field of degree \(n\ge 1\) over \(\mathrm{GF}(2)\) with any basis, and read multiplication in coordinates as a Boolean map with \(2n\) inputs and \(n\) outputs. No nonzero component of it is affine on an affine flat with \(2^{n+1}\) points, and every signed unbounded AND/OR/XOR circuit computing it has at least \(2n-1\) conjunction gates. XOR gates of every fan-in are not counted, so this also bounds the number of unbounded-fan-in AND/OR gates in circuits with free XOR; fan-in, fanout, depth, and nonlinear reuse are unrestricted. The bound is attained for \(n=1\) and, by Karatsuba’s three products, for \(n=2\).
The value \(2n-1\) is the classical lower bound on the bilinear rank of multiplication in a degree-\(n\) extension. Here it holds for the conjunction gates of arbitrary circuits, which need not compute bilinear products. We know of no earlier bound above \(n\) on the AND gates of general free-XOR circuits for this multiplication.
- Algebraic.Aggregate.Geometry.FieldMul.boolFieldMul
- Algebraic.Aggregate.Geometry.AffineFlat.exists_direction
- Algebraic.Aggregate.Geometry.FieldMul.polarForm_ker_eq_bot
- Algebraic.Aggregate.Geometry.FieldMul.boolFieldMul_nonaffineOnFlats
- Algebraic.Aggregate.Geometry.FieldMul.two_mul_input_le_conjunctionCount_add_one
For \(L{\gt}0\) and the two numerical sampler guards, the actual finite construction is a flat-source sumset extractor with threshold \(2^k\) and error \(35/72\). No extractor, sampler, affine-security, or parity estimate is a hypothesis.
Fix \(C{\gt}0\), advice length \(a{\gt}0\), target exponent \(q\), and \(\gamma {\gt}0\). Use the same actual affine breaker with \(4C-1\) tamperings for every parity test. For a normalized original source satisfying its complete leakage cap, any source-linear sampler and injective length-\(a\) advice give bad-seed sets of relative size at most \(2^{-q}/\gamma \). Every nonempty parity on at most four outer coordinates has a distinguished coordinate, chosen before the candidate and second summand. If that candidate seed escapes the corresponding bad set, the actual XOR-reduction parity has absolute sign expectation at most \(2\gamma \) at every second-source fixing.
Let \(v(Z,A)\in M\) be an arbitrary left-only tampered seed. The actual output \(R(y,W(x,p(q)))\), retaining the full left state, \(Z,v,q,R(y',v)\), and \(W(x,p(q))\), has error at most
Its only seed hypothesis is the original joint error \(\delta \). The retained law has an exact normalized transcript factorization.
- Algebraic.Cutwidth.Extractor.fixedTampering_factored_eq_map
- Algebraic.Cutwidth.Extractor.fixedTampering_factors_probability
- Algebraic.Cutwidth.Extractor.fixedTamperingRefreshWeight_probability
- Algebraic.Cutwidth.Extractor.fixedTamperingRefreshWeight_eq_factored
- Algebraic.Cutwidth.Extractor.WeightedStrongSeededExtractor.fixedTampering_dist_le
- Algebraic.Cutwidth.Extractor.WeightedStrongSeededExtractor.fixedTampering_dist_le_of_budget
A normalized left-only observation preserves the average original right-seed discrepancy exactly, including zero-mass observations. Let \(v(Z,A)\in M\) be a left-only tampered seed. Refreshing from the actual second look-ahead output, while retaining \(Z,v,q\), both honest look-ahead outputs, \(R(y',v)\), and the full left state, has error at most
All three envelopes and the prefix error \(\delta \) concern the original factored law. This is a finite component of Chattopadhyay–Goyal–Li’s already-distinct-advice analysis.
Suppose \(P,S\) are nonempty, the output alphabet has at least \(|P|\) elements, and \(|\Gamma _C(P)|\ge (1-\epsilon )|P||S|\). There are injections \(g_y:P\hookrightarrow \Omega \), one for each seed, such that every test on \((y,C(x,y))\) differs in probability by at most \(\epsilon \) from the same test on \((y,g_y(x))\). Conditional on each seed, this ideal output is uniform on exactly \(|P|\) values. The construction preserves exactly \(|\Gamma _C(P)|\) original source-seed pairs.
For the polynomial map with \(h=2^r\le q\), supplied irreducible modulus of degree \(n\ge 2\), and a nonempty qualifying source set \(|P|\le h^m\), the error is \((n-1)(h-1)m/q\). The source-dependent witness is a distributional comparison, not an evaluator or a theorem about arbitrary weighted sources.
Appending the actual final tampered state to the common transcript preserves exact normalized factors of the original sources, including null observations. Its original-source envelope totals are \(D^8\sum \mu _X\) and \(C^5\sum \mu _Y\). The honest output is right-only over those factors. Dropping the full left state gives exactly the honest-state law needed for the next advice bit. For opposite bits, the observed output law is the previously defined opposite-advice law.
- Algebraic.Cutwidth.Extractor.flipFlopObserved_probability
- Algebraic.Cutwidth.Extractor.flipFlopObserved_factored
- Algebraic.Cutwidth.Extractor.flipFlopOutputWeight_retainedSeed
- Algebraic.Cutwidth.Extractor.flipFlopObservedOutputWeight_retainedSeed
- Algebraic.Cutwidth.Extractor.flipFlopObservedOutputWeight_opposite
- Algebraic.Cutwidth.Extractor.flipFlopObserved_left_envelope
- Algebraic.Cutwidth.Extractor.flipFlopObserved_right_envelope
- Algebraic.Cutwidth.Extractor.flipFlopObservedLeftEnvelope_sum
- Algebraic.Cutwidth.Extractor.flipFlopObservedRightEnvelope_sum
With the same normalized factors, source envelopes, and whole-state discrepancy, either honest bit against its opposite has error at most
This law retains both complete histories, the actual tampered final output, and the full original left state. There is no pointwise cap premise on the incoming honest state or a supplied repaired invariant.
Under the common size guard, original source envelopes \(\mu ,\xi \), normalized factors, and whole honest-state error \(\rho \) given the old transcript, the actual selected half-step has error at most
All four selection pairs satisfy this bound; no pointwise entropy premise on the current honest state is needed. The complete step and advice-prefix induction below compose these estimates.
Suppose in addition that the old transcript fixes the incoming tampered state. For arbitrary current advice bits, the complete actual step retaining both histories, the tampered final output, and the original left state has error at most
Both refreshes reread the original right source. The second half uses a derived first-refresh guarantee rather than a new independence premise.
The single string evaluator is uniformly polynomial-time in all words and unary parameters. If \(e+66\le L\) and \(L\) bounds the ceiling logarithms of both source lengths plus one and of \(2^{64}L+1\), every canonical input computes exactly the vector step for either advice bit. Its output always has at most \(2^{64}L\) bits, including invalid inputs. The complete step estimates and full advice runtime are formalized below.
- Algebraic.Cutwidth.Extractor.flipFlopSeedPrefix_ofFn
- Algebraic.Cutwidth.Extractor.flipFlopLookAheadRuntime_eq
- Algebraic.Cutwidth.Extractor.flipFlopStepRuntime_eq
- Algebraic.Cutwidth.Extractor.flipFlopStepRuntime_length_le
- Algebraic.Cutwidth.Extractor.flipFlopLookAheadRuntime_mem_FP
- Algebraic.Cutwidth.Extractor.flipFlopStepRuntime_mem_FP
- Algebraic.Cutwidth.Extractor.flipFlopStepEval_pair
- Algebraic.Cutwidth.Extractor.flipFlopStepEval_mem_FP
The actual transcript and original sources have an exact factored law, with normalized kernels even at null observations. Both right-only outputs equal their actual advice-bit programs. For opposite bits, appending the tampered final output gives the opposite-advice transcript. Original source envelopes update explicitly, with total masses exactly \(D^8\sum \mu _X\) on the left and \(C^4\sum \mu _Y\) on the right.
- Algebraic.Cutwidth.Extractor.flipFlopFirst_probability
- Algebraic.Cutwidth.Extractor.flipFlopTranscript_probability
- Algebraic.Cutwidth.Extractor.flipFlopTranscript_factored
- Algebraic.Cutwidth.Extractor.flipFlopHonestOutput_eq_step
- Algebraic.Cutwidth.Extractor.flipFlopTamperedOutput_eq_step
- Algebraic.Cutwidth.Extractor.flipFlopTranscript_opposite
- Algebraic.Cutwidth.Extractor.flipFlopTranscript_left_envelope
- Algebraic.Cutwidth.Extractor.flipFlopTranscript_right_envelope
- Algebraic.Cutwidth.Extractor.flipFlopTranscriptLeftEnvelope_sum
- Algebraic.Cutwidth.Extractor.flipFlopTranscriptRightEnvelope_sum
Under the common size guard and normalized original factors, suppose the honest state is \(\rho \)-close to uniform given \(Z\). Let the nonnegative original \(X/Y\) envelope totals be \(\alpha ,\beta \). For arbitrary current advice bits and correlated tampered state, the complete actual step, retaining both histories and the full left state but leaving the final tampered output unobserved, has error at most
Only the incoming whole-state discrepancy and original source envelopes are assumed; the intermediate discrepancy is derived.
In a finite forest, assign real weights to vertices. If every leaf and isolated vertex has nonnegative weight, and the endpoint weights of every edge sum to a nonnegative value, then the total weight is nonnegative. Consequently, if leaves and isolated vertices weigh at least \(A\) but the total weight is less than \(A\) times the number of vertices, some adjacent pair has weight less than \(2A\).
Under the guard, the specified map on \(8b\) input bits is a weighted strong seeded extractor at support threshold \(2^{2b}\), output length \(b\), and error \(1/4\). Its seed length is at most \(2^{27}L^3\). Consequently it is an ordinary flat seeded extractor with these parameters, for every sufficiently large \(b\).
The budget \(r(b)\) is uniformly unary-computable. The same single \(\mathrm{FP}\) evaluator computes the entire Boolean output at every size and seed word. Under the size guard, the family is a weighted strong extractor with input length \(8b\), threshold \(2^{2b}\), output length \(b\), and error \(1/4\), retaining all \(r(b)\) uniform seed bits. Its ordinary flat guarantee consequently holds for all sufficiently large \(b\).
- Algebraic.Cutwidth.Extractor.gammaBlockSeedBudget_unaryFn
- Algebraic.Cutwidth.Extractor.gammaBlockPaddedExtractor_eval
- Algebraic.Cutwidth.Extractor.gammaBlockPaddedExtractor_eq
- Algebraic.Cutwidth.Extractor.gammaBlockPaddedExtractor_weighted
- Algebraic.Cutwidth.Extractor.gammaBlockPaddedExtractor_flat
- Algebraic.Cutwidth.Extractor.eventually_gammaBlockPaddedExtractor_weighted
- Algebraic.Cutwidth.Extractor.eventually_gammaBlockPaddedExtractor_flat
Under the guard, \(k_0\le 2b\), \(M\ge b\), every reserve condition holds, and the actual total seed length satisfies \(d\le 2^{27}L^3\). The guard holds for all sufficiently large \(b\).
The runtime always emits exactly \(b\) bits and is uniformly polynomial-time in unary \(b\), source, and seed words. The paired evaluator is in \(\mathrm{FP}\) on every encoded word. Under the size guard, it computes the named Gamma extractor on every \(8b\)-bit source and every exact-length seed, with any trailing padding. This agreement therefore holds eventually for the whole family.
- Algebraic.Cutwidth.Extractor.gammaBlockExtractorRuntime_length
- Algebraic.Cutwidth.Extractor.gammaBlockExtractorRuntime_mem_FP
- Algebraic.Cutwidth.Extractor.gammaBlockExtractorEval_mem_FP
- Algebraic.Cutwidth.Extractor.gammaBlockExtractorRuntime_append_eq
- Algebraic.Cutwidth.Extractor.gammaBlockExtractorEval_pair_append_eq
- Algebraic.Cutwidth.Extractor.eventually_gammaBlockExtractorEval
This result is conditional on the open band hypothesis of Definition 781. Let \(c{\gt}0\) and assume \(\mathrm{BandSubcritical}(q,R,c)\) for every decay rate \(0\le q{\lt}1/\sqrt2\) and every radius \(R\). Then for every \(\xi {\gt}0\), every sufficiently large simple cubic graph on \(h\) vertices has a path decomposition with bags of at most \(\bigl(e^{-c^2/2}p+\xi \bigr)h+1\) vertices, where \(p=\tfrac {3}{2\pi }\arccos \tfrac {1+2\sqrt2}{4}\). Unconditionally, \(2e^{-c^2/2}p\le 5/18\) at \(c=4/25\).
For every \(\eta {\gt}0\) some \(C\) satisfies \(\mathrm{OrderingBound}\bigl(\tfrac {6}{\pi }(3-2\sqrt2),\eta ,C\bigr)\), from the Gaussian cutwidth layout, and some \(C\) satisfies \(\mathrm{OrderingBound}(2p,\eta ,C)\) with \(p=\tfrac {3}{2\pi }\arccos \tfrac {1+2\sqrt2}{4}\), from the Gaussian pathwidth decomposition; these coefficients are about \(0.32768\le 20/61\) and \(0.28070\le 9/32\). Every family as in Theorem 766 therefore needs more than \(\bigl(1+\pi /(3\arccos \tfrac {1+2\sqrt2}{4})-\varepsilon \bigr)n\) gates, about \((4.5625-\varepsilon )n\), for deterministic circuits and for nondeterministic circuits with arbitrarily many witness inputs.
- Algebraic.Cutwidth.Multigraph.exists_orderingBound_gaussian
- Algebraic.Cutwidth.Multigraph.exists_orderingBound_twenty_div_sixtyOne
- Algebraic.Cutwidth.Gaussian.two_mul_cutwidthCoefficient_le
- Algebraic.Cutwidth.Gaussian.one_add_inv_two_mul_cutwidthCoefficient
- Algebraic.Cutwidth.Multigraph.exists_orderingBound_frontier
- Algebraic.Cutwidth.Multigraph.exists_orderingBound_nine_div_thirtyTwo
- Algebraic.Cutwidth.eventually_lt_size_of_rectangleFree_gaussian
- Algebraic.Cutwidth.nondet_eventually_lt_size_of_rectangleFree_gaussian
For every \(\xi {\gt}0\), every sufficiently large simple cubic graph on \(h\) vertices has a vertex ordering all of whose prefix cuts have at most \(\bigl(\tfrac {3}{\pi }(3-2\sqrt2)+\xi \bigr)h\) edges. The coefficient is about \(0.16384\), below the \(1/6\) of the Monien–Preis and Fomin–Høie bounds.
For every \(\xi {\gt}0\), every sufficiently large simple cubic graph on \(h\) vertices has a path decomposition with bags of at most \(\bigl(\tfrac {3}{2\pi }\arccos \tfrac {1+2\sqrt2}{4}+\xi \bigr)h+1\) vertices. The coefficient is about \(0.14035\), well below the \(1/6\) of the Fomin–Høie bound; twice it is at most \(9/32\).
For target length \(n\), the generated polynomial is the irreducible modulus \(M_{\operatorname {clog}_3 n}\), with degree between \(2n\) and \(6n+2\). The output has exactly that degree in bits and denotes the condenser’s modular Frobenius operation for the supplied count. This single composed program belongs to \(\mathrm{FP}\) uniformly. The extension-field packing and complete seeded evaluator are connected to this operation in the results below.
- Algebraic.Cutwidth.Extractor.ofBits_trinomialBits_pow_three
- Algebraic.Cutwidth.Extractor.ofBits_roundedTrinomialEval
- Algebraic.Cutwidth.Extractor.roundedTrinomialEval_degree_bounds
- Algebraic.Cutwidth.Extractor.ofBits_frobeniusBits_binaryModulus
- Algebraic.Cutwidth.Extractor.frobeniusBits_binaryModulus_length
- Algebraic.Cutwidth.Extractor.encodedBinaryFrobenius_pair
- Algebraic.Cutwidth.Extractor.ofBits_encodedBinaryFrobenius
- Algebraic.Cutwidth.Extractor.encodedBinaryFrobenius_length
- Algebraic.Cutwidth.Extractor.encodedBinaryFrobenius_mem_FP
Let \(A_1,A_2\) be signed conjunctions on two distinct primary coordinates each, with intersecting supports, under uniform independent primary bits. Suppose Boolean features \(Y_i\) satisfy \(Y_i\le A_i\) pointwise. The features may otherwise depend arbitrarily on all primary coordinates. There is a normalized finite weight certificate for \((Y_1,Y_2)\) of natural-log cost
The saving \(2H(1/4,3/4)-J\) is strictly positive. Constant false features are allowed, so this is not a positive lower bound on mutual information.
The same fixed polynomial-time scalar family requires more than \((C-\varepsilon )n\) signed unbounded AND/OR/XOR gates eventually, for every \(\varepsilon {\gt}0\). All coordinates of binary-field inversion in every supplied linear basis require at least \(In-P\) gates when \(n\ge 3\). The depth, fan-in, fanout, and gate-placement assumptions are unchanged. The earlier inversion inequality remains useful because its additive penalty is smaller.
For every \(\varepsilon {\gt}0\) and all sufficiently large \(n\), every signed unbounded AND/OR/XOR circuit computing the fixed polynomial-time family \(\mathrm{sourceReductionHardFamily}(n)\) has more than \((\gamma -\varepsilon )n\) gates, where \(1{\lt}\gamma {\lt}2\) is the exact coefficient above. There is no sparsity, depth, fanout, or fan-in hypothesis. This theorem concerns the signed affine/conjunction basis, not all finite-monoid gates.
For every \(\varepsilon {\gt}0\), every sufficiently large member of the same fixed polynomial-time Boolean family requires more than \((C_{\mathrm F}-\varepsilon )n\) gates over the whole signed unbounded AND/OR/XOR basis. Depth, fan-in, fanout, repetitions, and gate placement are unrestricted. The earlier scalar coefficients remain separate proved results.
Let a signed unbounded AND/OR/XOR circuit with \(g\) gates compute a \(K\)-flat sumset disperser on \(n\) inputs. Assume \(K{\gt}0\), set \(k=\lceil \log _2K\rceil \), and suppose \(k+3\le n\). With \(\delta =c\alpha (n,k)\), its gate count satisfies
Let \(K\) be a finite field over \(\mathbf F_2\) with a supplied linear isomorphism \(e:\mathbf F_2^n\longrightarrow K\), where \(n\ge 3\) is odd. Every signed unbounded AND/OR/XOR circuit computing all \(n\) coordinates of \(G_e\) has at least \((3n-3)/2\) conjunction gates, and its gate count \(g\) satisfies, with \(c=1-H_2(1/4)\),
For every \(\varepsilon {\gt}0\) all sufficiently large odd \(n\) require more than \((C_{\mathrm G}-\varepsilon )n\) gates, uniformly over fields and bases. Depth, fan-in, fanout, literal repetitions, and nonlinear reuse are unrestricted. For comparison, the bound proved here for binary-field inversion in the same model has leading coefficient about \(1.5659\) (Theorem 843). In the fan-in-two basis with free XOR, Boyar and Find (Theoretical Computer Science, 2018) give an explicit \((n,n)\) map needing \(2n-3\) AND gates. The literature search behind this result found no explicit \((n,n)\) map known to need more than \(n\) unbounded-fan-in AND gates when XOR is free; the conjunction bound here exceeds \(n\) for \(n\ge 5\).
- Algebraic.Aggregate.Geometry.conjunctionCount_entropy_mul_size_lower_bound
- Algebraic.Aggregate.Geometry.restriction_entropy_mul_size_lower_bound
- Algebraic.Aggregate.Geometry.Gold.seven_quarters_lt_gateCoefficient
- Algebraic.Aggregate.Geometry.Gold.three_mul_input_le_two_mul_conjunctionCount_add_three
- Algebraic.Aggregate.Geometry.Gold.entropy_mul_size_lower_bound
- Algebraic.Aggregate.Geometry.Gold.gateCoefficient_mul_sub_constantPenalty_le_size
- Algebraic.Aggregate.Geometry.Gold.exists_gateCoefficient_sub_mul_lt_size
Let \(n\) be odd. Then \(G_e\) is a permutation, all of its output bits are simultaneously affine only on flats of at most two points, and every nonzero component of \(G_e\) is affine only on flats of dimension at most \((n+1)/2\): \(G_e\) is nonaffine on flats of \(2^{(n+3)/2}\) points. For \(n\ge 3\) no output bit is a signed primary literal.
- Algebraic.Aggregate.Geometry.Gold.cube_add_add
- Algebraic.Aggregate.Geometry.Gold.two_mul_finrank_le_of_isotropic
- Algebraic.Aggregate.Geometry.Gold.goldFunction_bijective
- Algebraic.Aggregate.Geometry.Gold.card_flat_le_two
- Algebraic.Aggregate.Geometry.Gold.goldFunction_nonaffineOnFlats
- Algebraic.Aggregate.Geometry.Gold.goldFunction_nonliteral
For every \(n\ge 3\) and every linear coordinate basis, any signed unbounded AND/OR/XOR circuit computing all \(n\) output bits of \(I_e\) satisfies
Depth, fan-in, and fanout are unrestricted, and each scalar Boolean gate costs one. There is no supplied hardness hypothesis.
Put \(c=1-H_2(1/4)\). Under the same assumptions as the inversion theorem,
The leading coefficient is \(1.54311234736\ldots {\gt}3/2\); the additive penalty is \(0.34489877887\ldots \). The field, basis, and circuit assumptions are unchanged.
- Algebraic.Aggregate.Geometry.entropy_mul_size_lower_bound
- Algebraic.Aggregate.Geometry.Inversion.inverseFunction_nonaffineComponents
- Algebraic.Aggregate.Geometry.Inversion.entropy_mul_size_lower_bound
- Algebraic.Aggregate.Geometry.Inversion.gateCoefficient_mul_sub_constantPenalty_le_size
- Algebraic.Aggregate.Geometry.Inversion.three_halves_lt_gateCoefficient
Let \(K\) be a finite field over \(\mathbf F_2\) with a supplied linear isomorphism \(e:\mathbf F_2^n\longrightarrow K\), where \(n\ge 3\). Every signed unbounded AND/OR/XOR circuit computing all inversion coordinates satisfies
Equivalently, its gate count is at least \(1.5793801642\ldots n-1.6116903280\ldots \). This gives a larger leading coefficient than the majority-fibre bound; both finite inequalities remain available with their different penalties.
Let \(K\) be a finite field over \(\mathbf F_2\) with a supplied linear isomorphism \(e:\mathbf F_2^n\longrightarrow K\), where \(n\ge 3\). Every signed unbounded AND/OR/XOR circuit computing all \(n\) coordinates of inversion \(I_e\), with \(0^{-1}=0\), satisfies
Here \(C_{\mathrm I}\approx 1.5644077959\) and \(P_{\mathrm I}\approx 0.5640721944\); the exact constants are the logarithmic ratios defined above. Depth, fan-in, fanout, repeated literals, and nonlinear reuse are unrestricted. All target hardness properties are proved; no uniform field/basis construction or evaluator complexity is asserted by this theorem.
For every \(\varepsilon {\gt}0\), all sufficiently large input lengths require more than \((C_*-\varepsilon )n\) signed unbounded AND/OR/XOR gates to compute the same fixed polynomial-time Boolean family. The exact constant \(C_*\) is strictly larger than the previous separate-coordinate coefficient \(\gamma \). There are no depth, fanout, fan-in, placement, or sparsity restrictions.
Let a signed unbounded AND/OR/XOR circuit compute a \(K\)-flat sumset disperser, where \(K{\gt}0\), \(k=\lceil \log _2K\rceil \), and \(k+3\le n\). With \(d=\rho \alpha (n,k)\), its gate count satisfies
Let an \(n\)-input, \(n\)-output signed unbounded AND/OR/XOR circuit compute a permutation whose coordinates are not primary projections. Suppose every affine flat on which all output coordinates are affine has size at most \(2^r\). Then its gate count satisfies
Every signed unbounded AND/OR/XOR circuit on \(n\) inputs has a nonempty monochromatic affine subspace \(S\) of codimension \(d\) satisfying
Consequently, if its output is a \(K\)-flat sumset disperser, then
Let \(F:\mathbf F_2^n\to \mathbf F_2^m\) with \(m\ge 1\) be nonaffine on flats of \(2^D\) points, where \(D\le n\). Every signed unbounded AND/OR/XOR circuit computing \(F\) has at least
conjunction gates. Affine (XOR) gates of every fan-in are not counted, so this also bounds the number of unbounded-fan-in AND/OR gates in circuits with free XOR. Conjunction fan-in, fanout, depth, literal repetitions, and reuse of nonlinear values are unrestricted.
Let \(t\) count conjunction gates with exactly two distinct direct primary inputs, and \(h_2\) those with at least two. Every circuit computing a \(K\)-flat sumset disperser satisfies
No gate placement, fan-in, fanout, or depth restriction is imposed.
Put \(h=H_2(1/4)\) and \(r=1-H_2(1/8)\). The same fixed explicit Boolean family requires more than \((C_{\mathrm s}-\varepsilon )n\) gates eventually, for every \(\varepsilon {\gt}0\), over the same whole signed unbounded AND/OR/XOR basis, where
This coefficient strictly exceeds the preceding joint-message coefficient.
Assume \(\mathrm{OrderingBound}(A,\eta ,C)\) and \(\varepsilon {\lt}1/2\). Every \(\varepsilon \)-halver on \(n\) wires with \(s\) comparators satisfies \((1-2\varepsilon )\lfloor n/2\rfloor \le (A+\eta )\max \{ s-n,0\} +3\log _2(2n+2s)+C\). Hence if \(A{\gt}0\) and every \(\eta {\gt}0\) admits such a \(C\), then for every \(0\le \varepsilon {\lt}1/2\), every \(\delta {\gt}0\), and all large \(n\), every \(\varepsilon \)-halver on \(n\) wires has at least \((1+(1-2\varepsilon )/(2A)-\delta )n\) comparators. With the edge-score coefficient \(A=2p\) this is \((1+\kappa (1-2\varepsilon )/2-\delta )n\) comparators, where \(\kappa =\pi /(3\arccos \tfrac {1+2\sqrt2}{4})\approx 3.5625\): about \(2.78n\) as \(\varepsilon \to 0\) and \(2.43n\) at \(\varepsilon =1/10\). With \(2p\le 9/32\) it is at least \((1+16(1-2\varepsilon )/9-\delta )n\), and the coefficient \(A=1/3\) gives \((1+3(1-2\varepsilon )/2-\delta )n\). Ajtai, Komlós and Szemerédi build \(\varepsilon \)-halvers of linear size from expanders, and Paterson (Improved sorting networks with \(O(\log N)\) depth, Algorithmica, 1990) and Seiferas (Sorting networks of logarithmic depth, further simplified, Algorithmica, 2009) analyse their constructions; we found no size lower bound for \(\varepsilon \)-halvers beyond the trivial \(n-1\) of Lemma 801.
- Algebraic.Cutwidth.ComparatorNetwork.IsHalver.le_of_orderingBound
- Algebraic.Cutwidth.ComparatorNetwork.eventually_le_size_of_isHalver_of_orderingBound
- Algebraic.Cutwidth.ComparatorNetwork.eventually_le_size_of_isHalver
- Algebraic.Cutwidth.ComparatorNetwork.eventually_one_add_sixteen_div_nine_mul_le_size_of_isHalver
- Algebraic.Cutwidth.ComparatorNetwork.eventually_one_add_three_div_two_mul_le_size_of_isHalver
Consider circuits of the imported library’s \(\mathsf{AC}^0\) model: unbounded fan-in AND and OR gates and negation gates anywhere, where \(S\) counts the AND and OR gates and the depth counts AND and OR levels only. Let \(d \ge 2\) and \(t \ge 1\). Every such circuit with \(n \ge (20(t + 1))^{d - 1}\) inputs and depth at most \(d\) that computes \(n\)-input parity satisfies \(2^{t + 1} \le 20\, t\, S\). In particular, if \(n \ge 40^{d - 1}\) and \(q = \lfloor \lfloor n^{1/(d-1)} \rfloor / 20 \rfloor \), with \(\lfloor n^{1/(d-1)} \rfloor \) the integer root, then \(S \ge \lfloor 2^q / (20(q - 1)) \rfloor \). This bound is of order \(2^{\Omega (n^{1/(d-1)})}\), but no asymptotic form is stated. It is not transferred to the circuits of this library; see Theorem 956.
Let \(a\ge 0\) and let \(M,k\) be natural numbers. Suppose \(|\partial S|{\gt}a|S|+k\), and every \(T\subseteq S\) with \(|\partial T|{\gt}a|T|\) contains a set of at most \(M\) vertices of helpfulness at least one. Then some \(X\subseteq S\) has \(|X|\le kM\) and \(h_S(X)\ge k\). This proves the accumulation step in Monien–Preis’s argument. The preceding bounded helpful-set theorem supplies its local hypothesis uniformly.
In a subcubic graph, adjoining boundary vertices adjacent to a moved set increases its helpfulness by at least one per new vertex. More generally, let \(X\subseteq S\) and \(Z\subseteq S\setminus C\). Suppose every neighbor of \(Z\) lies in \(X\cup Z\cup C\), and an edge joins \(X\) to \(Z\setminus X\). Then adjoining the boundary lift of \(Z\) increases helpfulness by at least one.
Consequently, suppose \(h_S(X)\ge 0\) and an interior vertex \(v\notin X\) is adjacent to \(X\). If every neighbor of \(v\) outside \(X\) either belongs to \(C\) or is an interior vertex with at least two boundary neighbors, there is a helpful set of at most \(|X|+7\) vertices.
Fix \(\xi {\gt}0\). Suppose every side with cut density greater than \(1/3+\xi \) contains a set of at most \(M\) vertices of helpfulness at least one. A cubic graph on \(n\) vertices has a bisection of size at most \((1/6+\xi )n\) whenever
A graph-independent \(M\) therefore gives \(\mathrm{BisectionBound}(\xi ,N_0)\) for some \(N_0\). The preceding bounded helpful-set theorem supplies a uniform \(M\).
Every arithmetic circuit over a field, with addition, multiplication, and constant gates, whose output equals \(p\) as a formal polynomial has at least \(\lceil \operatorname {rank} H_p(a) / 2 \rceil \) multiplication gates, where \(H_p(a)\) is the Hessian of \(p\) at any point \(a\). Additions and constants are free, but every multiplication gate is counted, including multiplication by a constant. This is weaker than the classical form of the bound, which counts only nonscalar multiplications.
For real exponents \(1 \le a {\lt} b\), the class of Boolean function families, one function for each input length, whose De Morgan circuit complexity in the imported library’s signature (every gate counted, constants and identities included) is at most \(C \lfloor n^a \rfloor \) for some constant \(C\) and all large \(n\) is strictly contained in the corresponding class for \(\lfloor n^b \rfloor \). The families are nonuniform and no explicit separating family is given.
Assume \(\mathrm{OrderingBound}(A,\eta ,C)\) with \(A+\eta \ge 0\). Every \(N\)-hyperconcentrator with \(N{\gt}0\) and \(M\) edges satisfies \(\lfloor N/2\rfloor \le (A+\eta )\max \{ M-2N,0\} +3\log _2(2M)+C\); if its inputs have in-degree zero and its vertices in-degree at most two, then with \(V\) vertices also \(\lfloor N/2\rfloor \le (A+\eta )\max \{ (V-N)-N,0\} +3\log _2(4(V-N))+C\). Hence if \(A{\gt}0\) and every \(\eta {\gt}0\) admits such a \(C\), then for every \(\varepsilon {\gt}0\) and all large \(N\) every \(N\)-hyperconcentrator has at least \((2+1/(2A)-\varepsilon )N\) edges, and at least \((1+1/(2A)-\varepsilon )N\) non-input vertices under the degree conditions. With the edge-score coefficient \(A=2p\) these are \((2+\kappa /2-\varepsilon )N\approx (3.78-\varepsilon )N\) edges, at least \((34/9-\varepsilon )N\), and \((1+\kappa /2-\varepsilon )N\approx (2.78-\varepsilon )N\) non-input vertices, at least \((25/9-\varepsilon )N\), where \(\kappa =\pi /(3\arccos \tfrac {1+2\sqrt2}{4})\). The coefficient \(A=1/3\) gives \((7/2-\varepsilon )N\) edges.
- Algebraic.Cutwidth.Multigraph.Hyperconcentrator.le_of_orderingBound
- Algebraic.Cutwidth.Multigraph.Hyperconcentrator.le_of_orderingBound_of_inDegree
- Algebraic.Cutwidth.Multigraph.Hyperconcentrator.eventually_le_card_edges_of_orderingBound
- Algebraic.Cutwidth.Multigraph.Hyperconcentrator.eventually_le_card_vertices_of_orderingBound
- Algebraic.Cutwidth.Multigraph.Hyperconcentrator.eventually_le_card_edges
- Algebraic.Cutwidth.Multigraph.Hyperconcentrator.eventually_thirtyFour_div_nine_sub_mul_le_card_edges
- Algebraic.Cutwidth.Multigraph.Hyperconcentrator.eventually_le_card_vertices
- Algebraic.Cutwidth.Multigraph.Hyperconcentrator.eventually_twentyFive_div_nine_sub_mul_le_card_vertices
- Algebraic.Cutwidth.Multigraph.Hyperconcentrator.eventually_seven_div_two_sub_mul_le_card_edges
Let the transcript and both conditional tuple laws be normalized, and let \(E\) be a threshold-\(K\) strong extractor of nonnegative error \(\varepsilon \), with nonempty seed and output alphabets. Suppose \(\mu (z,u)\ge 0\) bounds every joint mass \(\Pr [Z=z,X_T=u,X=x]\), and \((Z,Y_S,Y)\) is within \(\delta \) of its actual \((Z,Y_S)\) marginal with an independent uniform seed. The independence-merging law is within
of its actual retained marginal with a fresh independent uniform output. If the last term is at most \(\varepsilon \), the error is \(2\varepsilon +\delta \). This is the finite envelope form of Chattopadhyay–Liao, Lemma 3.26; the envelope total expresses the average conditional guessing budget without logarithms.
Let \(P_i\) have at most two black boundary edges, and choose one boundary edge \(e_i\) for each selected index \(i\in J\). Suppose deleting the chosen edges preserves reachability. Then deleting the full cuts of the selected regions preserves reachability between any two vertices outside \(\bigcup _{i\in J}P_i\). Disjointness of the regions is not needed.
In the De Morgan formulas of Theorem 366 (leaves counted, constants included), let a formula be \(1\) on a set \(A\) of inputs and \(0\) on a set \(B\), and let \(E\) be the set of pairs in \(A \times B\) at Hamming distance one. Then \(|E|^2 \le L \cdot |A| \cdot |B|\), where \(L\) is the number of leaves. Consequently, if \(A\) and \(B\) are nonempty, every input of \(A\) has at least \(s_1\) neighbours in \(B\), and every input of \(B\) has at least \(s_0\) neighbours in \(A\), then \(L \ge s_0 s_1\); in particular this holds with \(A = f^{-1}(1)\) and \(B = f^{-1}(0)\) when every one-input of \(f\) is sensitive on at least \(s_1\) coordinates and every zero-input on at least \(s_0\).
A \(k\)-shared program on \(n\) inputs is a sequence of \(k + 1\) De Morgan formulas of Theorem 366, \(G_1, \dots , G_k, F\), where \(G_j\) reads the inputs and the values \(z_1, \dots , z_{j-1}\) of the earlier formulas and \(F\) reads the inputs and \(z_1, \dots , z_k\); the program computes the value of \(F\). The leaves are literals \(x_i\), \(\neg x_i\), \(z_j\), \(\neg z_j\) and constants, and a shared value may be read any number of times. Unfolding the formulas gives a circuit of fan-in-two AND and OR gates, with negations free on wires, in which only the \(k\) roots of \(G_1, \dots , G_k\) can have fan-out at least two. Let \(s\) be the number of AND and OR gates of the program and \(X\) its number of leaves reading an input, a literal \(x_i\) or \(\neg x_i\), so \(X \le s + k + 1\).
Conversely, consider a single-output circuit over the imported library’s De Morgan basis (Boolean constants, identity, NOT, and binary AND and OR gates). The fan-out of a gate is the number of argument slots of gates that read it plus the number of outputs equal to it; every gate of fan-out at least two counts, whatever its operation; and the cost counts only the AND and OR gates, as in the gate-elimination bound. If such a circuit computes \(f\) and at most \(k\) of its gates have fan-out at least two, then some \(k'\)-shared program with \(k' \le k\) computes \(f\) with \(s\) at most the circuit’s cost.
If a \(k\)-shared program is \(1\) on a set \(A\) of inputs and \(0\) on a set \(B\), and \(E\) is the set of pairs in \(A \times B\) at Hamming distance one, then \(|E|^2 \le (k + 1) \cdot X \cdot |A| \cdot |B|\). For \(k = 0\) this is Theorem 367. Consequently, for all \(n \ge 1\) and \(k\), every \(k\)-shared program, and every De Morgan circuit as above in which at most \(k\) gates have fan-out at least two, computing the parity of \(n\) bits satisfies \(n^2 \le (k + 1)(s + k + 1)\), where \(s\) is its number of AND and OR gates; that is, it has at least \(n^2/(k + 1) - (k + 1)\) AND and OR gates. If \((k + 1)(C + 1) \le n\) for a natural number \(C\), then \(s \ge C n\). So if \(k(n) = o(n)\) and, for every \(n\), a \(k(n)\)-shared program or a De Morgan circuit with at most \(k(n)\) gates of fan-out at least two computes the parity of \(n\) bits with \(s(n)\) AND and OR gates, then \(n = o(s(n))\). For \(1 \le t \le n\), a \(k\)-shared program computing “at least \(t\) of the \(n\) inputs are \(1\)” satisfies \(t(n + 1 - t) \le (k + 1)(s + k + 1)\), and one computing strict majority of \(n \ge 1\) inputs satisfies \((n - \lfloor n/2 \rfloor )(\lfloor n/2 \rfloor + 1) \le (k + 1)(s + k + 1)\). The same bounds hold for De Morgan circuits as above with at most \(k\) gates of fan-out at least two and cost \(s\). For odd \(n = 2m + 1\) this gives \((m + 1)^2 \le (k + 1)(s + k + 1)\), hence \(s \ge Cm\) whenever \((k + 1)(C + 1) \le m\), and \(m = o(s)\) along odd lengths when \(k(m) = o(m)\).
Unfolding every shared gate into a formula, which is the folklore argument, gives only \(X \ge L(f)/2^k\) for the formula size \(L(f)\), which is superlinear only when \(k {\lt} \log _2 n\). We found no reference for a bound depending linearly on \(k\); the Russian literature on circuits with bounded branching has not been checked.
- Algebraic.KW.SharedProgram.sq_card_edges_le
- Algebraic.KW.SharedProgram.parity_sq_le_gates
- Algebraic.KW.SharedProgram.mul_le_gates_of_parity
- Algebraic.KW.SharedProgram.isLittleO_gates_of_parity
- Algebraic.KW.SharedProgram.threshold_mul_le_gates
- Algebraic.KW.SharedProgram.majority_mul_le_gates
- Algebraic.KW.exists_sharedProgram_of_circuit
- Algebraic.KW.parity_sq_le_cost
- Algebraic.KW.mul_le_cost_of_parity
- Algebraic.KW.isLittleO_cost_of_parity
- Algebraic.KW.threshold_mul_le_cost
- Algebraic.KW.majority_mul_le_cost
- Algebraic.KW.majority_sq_le_cost_of_odd
- Algebraic.KW.mul_le_cost_of_majority
- Algebraic.KW.isLittleO_cost_of_majority
Extend the De Morgan basis by binary XOR and EQUIV gates. If a single-output circuit over this basis computes \(f\), has \(c\) AND and OR gates, at most \(r\) XOR and EQUIV gates, and at most \(k\) gates of fan-out at least two, then some \(K\)-shared program with \(K \le k + 2r\) computes \(f\) with at most \(c + k + 2r + 1\) leaves reading an input. Hence \(|E(A,B)|^2 \le (k + 2r + 1)(c + k + 2r + 1)\, |A|\, |B|\) whenever \(f\) is \(1\) on \(A\) and \(0\) on \(B\); in particular parity needs \(n^2 \le (k + 2r + 1)(c + k + 2r + 1)\), with analogous bounds for threshold functions and majority, and if \(k(n) = o(n)\) and \(r(n) = o(n)\) then circuits for parity or majority have \(\omega (n)\) AND and OR gates.
- Algebraic.KW.Extended.exists_sharedProgram_of_circuit
- Algebraic.KW.Extended.khrapchenkoBound_of_circuit
- Algebraic.KW.Extended.sq_card_edges_le_cost
- Algebraic.KW.Extended.parity_sq_le_cost
- Algebraic.KW.Extended.mul_le_cost_of_parity
- Algebraic.KW.Extended.isLittleO_cost_of_parity
- Algebraic.KW.Extended.threshold_mul_le_cost
- Algebraic.KW.Extended.majority_mul_le_cost
- Algebraic.KW.Extended.majority_sq_le_cost_of_odd
- Algebraic.KW.Extended.mul_le_cost_of_majority
- Algebraic.KW.Extended.mul_le_cost_of_majority_of_four_mul_le
- Algebraic.KW.Extended.isLittleO_cost_of_majority
Consider the imported library’s De Morgan formulas, trees of literal leaves \(x_i\) and \(\neg x_i\), constant leaves, and binary AND and OR gates, with depth the length of a longest root-to-leaf path and size the number of leaves, constants included. In the Karchmer–Wigderson game of \(f\), Alice holds \(x\) with \(f(x) = 1\), Bob holds \(y\) with \(f(y) = 0\), and a deterministic protocol must output a coordinate where \(x\) and \(y\) differ. For every \(f\) on \(n \ge 1\) inputs, the minimum depth of a formula computing \(f\) equals the minimum depth of a protocol for this game, and the minimum size of a formula equals the minimum number of leaves of a protocol. The hypothesis \(n \ge 1\) is used because a protocol leaf names an input position; the fact that no protocol exists at \(n = 0\) is a remark, not a formalized statement.
Suppose the seed and output sets are nonempty. For a universal family, every joint test on a nonempty flat support of cardinality \(N\) has squared discrepancy at most \(M/(4N)\), where \(M=|\Omega |\). Consequently, \(K{\gt}0\), \(\epsilon \ge 0\), and \(M\le 4\epsilon ^2K\) imply strong extraction with threshold \(K\) and error \(\epsilon \). Restricting the input along an injection preserves universality. This is the standard leftover-hash argument, in the finite test form used here; see Guruswami–Umans–Vadhan, Lemma 5.1, and Barak et al., Leftover Hash Lemma, Revisited, Lemma 1.
For \(X\subseteq S\), let \(d_{S^c}(v)\) count the neighbors of \(v\) outside \(S\). Then
In a graph of maximum degree three, a vertex with two crossing edges is at least \(1\)-helpful. A connected set \(X\) of boundary vertices has \(h_S(X)\ge |X|-2\); thus three or more connected boundary vertices form a helpful set. These include the first two local cases of Monien–Preis’s bounded helpful-set lemma.
Assume normalized factored sides, nonnegative original joint source envelopes \(\mu (z),\nu (z)\), and initial honest-seed discrepancy \(\delta \) jointly with \(Z\). Let \(W:X\times S\to M\) and \(Q:Q_0\times M\to S\) have thresholds \(K,J\) and nonnegative errors \(\varepsilon ,\eta \). The actual final law differs from its retained marginal with an independent uniform final output by at most
The retained variables determine both initial and both second seeds. No tampered seed is assumed uniform, and no per-transcript entropy bound is required. This formalizes the two-round case of Chattopadhyay–Goyal–Li Lemma 6.5 and Claim 6.6 with explicit losses.
- Algebraic.Cutwidth.Extractor.lookAheadSeedWeight_probability
- Algebraic.Cutwidth.Extractor.lookAheadExtractionWeight_probability
- Algebraic.Cutwidth.Extractor.WeightedStrongSeededExtractor.lookAhead_seed_dist_le
- Algebraic.Cutwidth.Extractor.WeightedStrongSeededExtractor.lookAhead_dist_le
- Algebraic.Cutwidth.Extractor.WeightedStrongSeededExtractor.lookAhead_dist_le_of_budget
Let \(C,D,O\) be the cardinalities of the right state, look-ahead output, and refresh output. Write \(K_W,K_R\) for the first and refresh thresholds, \(\varepsilon _W,\varepsilon _R\) for their errors, and \(\mu _X,\mu _Y\) for original source envelopes. From the original seed error \(\delta \), the first refresh has error at most
If \(E_{\mathrm{LA}}\) is the original two-round bound, the second-output refresh retaining the tampered refresh has error at most \(\varepsilon _R+E_{\mathrm{LA}}+K_RC^2O\sum \mu _Y\). The common transcript admits exact normalized left and right kernels; their original-source envelope totals are \(D^4\sum \mu _X\) and \(C^2\sum \mu _Y\) respectively.
- Algebraic.Cutwidth.Extractor.lookAheadBase_factored
- Algebraic.Cutwidth.Extractor.lookAheadBase_probability
- Algebraic.Cutwidth.Extractor.lookAheadBase_left_envelope
- Algebraic.Cutwidth.Extractor.lookAheadBase_right_envelope
- Algebraic.Cutwidth.Extractor.lookAheadBaseLeftEnvelope_sum
- Algebraic.Cutwidth.Extractor.lookAheadBaseRightEnvelope_sum
- Algebraic.Cutwidth.Extractor.lookAheadFirstRefreshWeight_retainedSeed
- Algebraic.Cutwidth.Extractor.lookAheadTamperedRefresh_factored
- Algebraic.Cutwidth.Extractor.WeightedStrongSeededExtractor.lookAhead_first_refresh_dist_le
- Algebraic.Cutwidth.Extractor.WeightedStrongSeededExtractor.lookAhead_tampered_refresh_dist_le
Suppose the whole right state is \(\rho \)-close to uniform jointly with \(Z\), and its initial-seed map sends uniform states to uniform seeds. Under the original left-source envelope \(\mu \), the actual two-round law retaining the original right state and both first outputs has error
No pointwise entropy bound for the approximately uniform state is needed. For the actual matched program, the prefix map is balanced and the bound is \(3\cdot 2^{-e}+2\rho +K(1+D^2)\sum _z\mu (z)+KD^2/C\), where \(K=2^{2^{62}L}\), \(D=2^{2^{24}L}\), and \(C=2^{2^{64}L}\), under the same finite scale conditions as the concrete two-round theorem.
- Algebraic.Cutwidth.Extractor.retainedSeedWeight_image_dist_le
- Algebraic.Cutwidth.Extractor.retainedSeedWeight_uniform_image
- Algebraic.Cutwidth.Extractor.retainedSeedWeight_uniform_image_dist
- Algebraic.Cutwidth.Extractor.WeightedStrongSeededExtractor.lookAhead_uniformState_dist_le
- Algebraic.Cutwidth.Extractor.flipFlopSeedPrefix_uniform
- Algebraic.Cutwidth.Extractor.flipFlopLookAhead_uniformState_dist_le
For \(0{\lt}K\le |P|\), the uniform source on \(P\) equals the uniform mixture of its \(K\)-element subsets on every seeded test. Nonnegative weights summing to one preserve a common discrepancy bound. Consequently, lossless witnesses for every \(K\)-subset give an explicit mixture of seedwise \(K\)-flat witnesses for the larger support.
For the polynomial condenser, this applies whenever \(K\le (2^r)^m\) and \(2^r\le q\), with the same normalized error \((\deg E-1)(2^r-1)m/q\). There is no upper bound on \(|P|\) beyond its membership in the bounded-degree source domain. This does not assert decomposition of arbitrary capped probability weights.
- Algebraic.Cutwidth.Extractor.sum_powersetCard_sum
- Algebraic.Cutwidth.Extractor.powersetCard_average
- Algebraic.Cutwidth.Extractor.seededTestProb_powersetCard
- Algebraic.Cutwidth.Extractor.seededMixtureTestProb_sub_le
- Algebraic.Cutwidth.Extractor.exists_flat_mixture_of_exact_size
- Algebraic.Cutwidth.Extractor.polynomialCondenser_flat_mixture
In a finite probability distribution on \(N\) bits, select \(m{\gt}0\) good coordinates. Encode true as \(1\) and false as \(-1\). If their parity bias is at most \(\delta \ge 0\), \(100m^2\delta \le 1\), and \(N-m\le \sqrt m/8\), each strict-majority outcome has probability at least \(1/36\). The other coordinates may depend arbitrarily on the good coordinates, and ties return false.
Circuits are over the imported library’s De Morgan signature with its standard cost: negation, AND, and OR gates cost one, constants and identities are free. For \(f\) on \(n\) inputs and \(t \ge 1\), the mass complexity of \(f\) at \(t\) copies is the minimum cost of one circuit that evaluates \(f\) independently on \(t\) disjoint blocks of \(n\) inputs.
For every real \(0 \le \gamma {\lt} 1\) and \(\varepsilon {\gt} 0\) there is a threshold such that for every \(n\) above it, every \(f\) on \(n\) inputs, and every \(1 \le t \le 2^{\gamma n}\), the mass complexity of \(f\) at \(t\) copies is at most \((1/(1 - \gamma ) + \varepsilon )\, 2^n / n\). In a coarser discrete form, for all natural numbers \(a {\lt} b\) there is a constant \(C\) such that at every length \(n \ge 1\), every \(f\) on \(n\) inputs, and every \(1 \le t \le 2^{\lfloor a n / b \rfloor }\), the mass complexity is at most \(C \lfloor 2^n / n \rfloor \).
Let a circuit over a finite field \(F\), over any signature with fan-in at most two (so with arbitrary functions \(F\times F\to F\), unary functions, and constants as gates), compute \(n\times n\) matrix multiplication over \(F\) with \(s\) gates. Under \(\mathrm{OrderingBound}(A,\eta ,C)\) with \(A+\eta \ge 0\),
and the left side improves to \((n^2-1)/2\) when \(F\) has a totally regular \(n\times n\) matrix, in particular over \(\mathbb {Z}/q\) for a prime \(q\ge 2n\). Consequently, if the ordering hypothesis holds with coefficient \(A{\gt}0\) at every positive slack, then for every \(\varepsilon {\gt}0\) and all large \(n\), independently of the field and the signature, every such circuit has more than \((2+1/(2A)-\varepsilon )n^2\) gates. With the Gaussian pathwidth coefficient \(p\) of Theorem 783 and \(A=2p\) this is \((2+1/(4p)-\varepsilon )n^2\approx (3.7812-\varepsilon )n^2\), and as \(2p\le 9/32\) it is more than \((34/9-\varepsilon )n^2\). In particular, every circuit over the full binary basis computing the product of two \(n\times n\) matrices over \(\mathrm{GF}(2)\) has more than \((2+1/(4p)-\varepsilon )n^2\) gates.
Lower bounds for matrix multiplication usually count multiplications in arithmetic or bilinear models: Bläser (STACS 2001) proves that \(\tfrac 52n^2-3n\) nonscalar multiplications are needed, and Shpilka (SICOMP 2003) \(3n^2-o(n^2)\) product gates over \(\mathrm{GF}(2)\) for bilinear and quadratic circuits. We know of no earlier bound beyond about \(2n^2\) on the number of gates of circuits with arbitrary fan-in-two gates, or over the full binary basis, computing the matrix product. The coefficient is not claimed to be a record for explicit functions with \(2n^2\) inputs and \(n^2\) outputs in general.
- Algebraic.Cutwidth.MultiOutput.matMul_matMulInput
- Algebraic.Cutwidth.MultiOutput.half_sq_le_of_matMul_of_totallyRegular
- Algebraic.Cutwidth.MultiOutput.half_sq_le_of_matMul_zmod
- Algebraic.Cutwidth.MultiOutput.sq_sub_le_of_matMul
- Algebraic.Cutwidth.MultiOutput.eventually_lt_size_of_matMul_of_orderingBound
- Algebraic.Cutwidth.MultiOutput.eventually_lt_size_of_matMul
- Algebraic.Cutwidth.MultiOutput.eventually_lt_size_of_matMul_thirtyFour_div_nine
- Algebraic.Cutwidth.MultiOutput.eventually_lt_size_matMul_zmod_two
- Algebraic.Cutwidth.MultiOutput.eventually_lt_size_matMul_zmod_two_thirtyFour_div_nine
Let a circuit with polynomial gates over a field \(K\), of any degree and arity and with any coefficients, formally compute \(n\times n\) matrix multiplication: every output wire carries the polynomial \(C_{ik}=\sum _jA_{ij}B_{jk}\). Its size \(s\) counts the gates; inputs and output designations are free. If \(n\ge 1\), the component of the output \(C_{00}\) contains every input and every output. Let \(S\) be a set of its wires crossed by \(w\) forward and backward signals, and let \(R_J\), \(L_I\), \(L_K\) be the charge of \(J\) and the Jacobian charges of the terminals placed in \(S\). Then
and if the number \(h\) of heavy vertices satisfies \(3n\le 2h\le 3n+3\), then \(15n^2\le 8(R_J+L_I+L_K)+6n+9\). Under \(\mathrm{OrderingBound}(A,\eta ,C)\) with \(A+\eta \ge 0\), a circuit as above with fan-in at most two satisfies
Consequently, if the ordering hypothesis holds with coefficient \(A{\gt}0\) at every positive slack, then for every \(\varepsilon {\gt}0\) and all large \(n\), independently of the field, the signature, and the gate polynomials, every such circuit has more than \((2+5/(8A)-\varepsilon )n^2\) gates. With the Gaussian pathwidth coefficient \(p\) of Theorem 783 and \(A=2p\) this is \((2+5/(16p)-\varepsilon )n^2\approx (4.2266-\varepsilon )n^2\), and as \(2p\le 9/32\) it is more than \((38/9-\varepsilon )n^2\). The bound \((2+5/(16p)-\varepsilon )n^2\) also holds for circuits whose operations are polynomial functions of at most two arguments computing the product as a function over an infinite field, and for the number of additions and multiplications, with arbitrary constants free, of arithmetic circuits computing the product as a function over an infinite field or formally computing it over any field; for the last also with \(38/9\).
Bläser (A \(5/2\, n^2\)-lower bound for the multiplicative complexity of \(n\times n\)-matrix multiplication, STACS 2001) proves that \(\tfrac 52n^2-3n\) nonscalar multiplications are needed over every field; counting about \(n^2\) further gates for the outputs, this is about \(3.5n^2\) operations in total. Shpilka (Lower bounds for matrix product, SICOMP 2003) proves \(3n^2-o(n^2)\) product gates over \(\mathrm{GF}(2)\) for quadratic circuits, about \(4n^2\) operations with the outputs. The bound here counts every gate of circuits with arbitrary fan-in-two polynomial gates, and every addition and multiplication of arithmetic circuits.
- Algebraic.Cutwidth.MultiOutput.aeval_matMulPolynomial
- Algebraic.Cutwidth.MultiOutput.eval_matMulPolynomial
- Algebraic.Cutwidth.MultiOutput.matMul_nonconstant
- Algebraic.Cutwidth.MultiOutput.Tripartite.fifteen_mul_sq_le_eight_mul_charge
- Algebraic.Cutwidth.MultiOutput.charges_le_of_matMul_formal
- Algebraic.Cutwidth.MultiOutput.mem_component_of_matMul_formal
- Algebraic.Cutwidth.MultiOutput.fifteen_mul_sq_sub_le_of_matMul_formal
- Algebraic.Cutwidth.MultiOutput.eventually_lt_size_of_matMul_formal_of_orderingBound
- Algebraic.Cutwidth.MultiOutput.eventually_lt_size_of_matMul_formal
- Algebraic.Cutwidth.MultiOutput.thirtyEight_div_nine_le_two_add_five_div
- Algebraic.Cutwidth.MultiOutput.eventually_lt_size_of_matMul_formal_thirtyEight_div_nine
- Algebraic.Cutwidth.MultiOutput.eventually_lt_size_of_matMul_of_infinite_jacobian
- Algebraic.Cutwidth.MultiOutput.eventually_lt_arithmeticCost_of_matMul_jacobian
- Algebraic.Cutwidth.MultiOutput.eventually_lt_arithmeticCost_of_matMul_formal_jacobian
- Algebraic.Cutwidth.MultiOutput.eventually_lt_arithmeticCost_of_matMul_formal_thirtyEight_div_nine
Let a circuit over a finite field \(F\), over any signature, compute \(n\times n\) matrix multiplication. Its \(3n^2\) terminals lie on distinct wires, and if \(n\ge 1\) they all lie in the component of the output \(C_{00}\) in the wire graph. Let \(S\) be a set of its wires with forward signals \(A\) and backward signals \(B\), and let \(R_I\), \(R_J\), \(R_K\) be the charges of the terminals placed in \(S\). If \(F\) has a totally regular \(n\times n\) matrix, in particular if \(F=\mathbb {Z}/q\) for a prime \(q\ge 2n\), then
over every finite field, \(R_I,R_J,R_K\le |A|+|B|+4n\). For a circuit with polynomial gates formally computing the product over any field \(K\), \(R_I,R_J,R_K\le |A|+|B|\).
- Algebraic.Cutwidth.MultiOutput.terminal_injective_of_matMul
- Algebraic.Cutwidth.MultiOutput.mem_component_of_matMul
- Algebraic.Cutwidth.MultiOutput.charges_le_of_matMul_of_totallyRegular
- Algebraic.Cutwidth.MultiOutput.charges_le_add_of_matMul
- Algebraic.Cutwidth.MultiOutput.charges_le_of_matMul_polynomial
Let a circuit with polynomial gates of fan-in at most two, of any degree and with any coefficients, formally compute the \(n\times n\) matrix product over a field \(K\) with \(s\) gates. Under \(\mathrm{OrderingBound}(A,\eta ,C)\) with \(A+\eta \ge 0\),
so it has more than \((2+1/(4p)-\varepsilon )n^2{\gt}(34/9-\varepsilon )n^2\) gates for all large \(n\), with \(p\) the Gaussian pathwidth coefficient of Theorem 783. The same holds for such circuits computing the product function over an infinite field. It also holds for the number of additions and multiplications, with constants free, of arithmetic circuits computing it, formally over every field or as a function over an infinite field.
- Algebraic.Cutwidth.MultiOutput.half_sq_le_of_matMul_polynomial
- Algebraic.Cutwidth.MultiOutput.eventually_lt_size_of_matMul_polynomial_of_orderingBound
- Algebraic.Cutwidth.MultiOutput.eventually_lt_size_of_matMul_polynomial
- Algebraic.Cutwidth.MultiOutput.eventually_lt_size_of_matMul_polynomial_thirtyFour_div_nine
- Algebraic.Cutwidth.MultiOutput.eventually_lt_size_of_matMul_of_infinite
- Algebraic.Cutwidth.MultiOutput.eventually_lt_size_of_matMul_of_infinite_thirtyFour_div_nine
- Algebraic.Cutwidth.MultiOutput.matMul_nonconstant
- Algebraic.Cutwidth.MultiOutput.eventually_lt_arithmeticCost_of_matMul
- Algebraic.Cutwidth.MultiOutput.eventually_lt_arithmeticCost_of_matMul_thirtyFour_div_nine
- Algebraic.Cutwidth.MultiOutput.eventually_lt_arithmeticCost_of_matMul_formal
- Algebraic.Cutwidth.MultiOutput.eventually_lt_arithmeticCost_of_matMul_formal_thirtyFour_div_nine
Let the original law factor into normalized left and right kernels given \(Z\), with a nonnegative honest-left joint envelope \(\mu \) and right-derived seed discrepancy at most \(\delta \). XOR the source with an arbitrary mask from the complete right state. Under the preceding growing-depth budget, the actual matched output retains that state and has distance from independent uniform output at most
At depth 64, the bounded-depth conditions give the same estimate with threshold \(2^{\, 2^{142}L}\).
Suppose \(\lceil \log _2(n+1)\rceil \le L\), \(64\le L\), \(h\le 64\), and \(e+h+2\le L\). The prescribed seed fits within \(d\) bits, and the actual extractor has strong error \(2^{-e}\) at its exact scheduled entropy threshold, retaining all \(d\) seed bits. At depths 24 and 64 the source entropy may be weakened to \(2^{62}L\) and \(2^{142}L\) bits respectively. Fixed-seed source XOR becomes coordinatewise output XOR for all parameters.
- Algebraic.Cutwidth.Extractor.matchedBlockExtractor_ofFn
- Algebraic.Cutwidth.Extractor.matchedBlockExtractor_ofFn_take
- Algebraic.Cutwidth.Extractor.matchedBlockExtractor_xor
- Algebraic.Cutwidth.Extractor.matchedBlockExtractor_seedBits_le
- Algebraic.Cutwidth.Extractor.matchedBlockExtractor_weighted
- Algebraic.Cutwidth.Extractor.matchedBlockExtractor_depth24
- Algebraic.Cutwidth.Extractor.matchedBlockExtractor_depth64
Suppose
The actual matched extractor at depth \(h\) has seed width \(2^{24}L\), output width \(2^hL\), and strong error \(2^{-e}\) at its exact scheduled entropy threshold, retaining the entire padded seed. Its entropy requirement may be weakened to \(2^{2h+14}L\) bits. Nonvacuous use still requires a source meeting this mass bound. For \(e\le L\), depth \(h=\lceil \log _2(t+1)\rceil +64\) also gives output width at least \(2^{62}L+(2t+2)2^{24}L+e\). The logarithmic-depth runtime below implements the depth choice \(h=\lceil \log _2(t+1)\rceil +64\) with polynomially many blocks in \(t\).
- Algebraic.Cutwidth.Extractor.matchedBlockExtractor_growing_seedBits_le
- Algebraic.Cutwidth.Extractor.recursiveBlockEntropy_growing_le
- Algebraic.Cutwidth.Extractor.matchedBlockExtractor_growing_weighted
- Algebraic.Cutwidth.Extractor.matchedBlockExtractor_growing
- Algebraic.Cutwidth.Extractor.matchedBlockOutputBits_merging_reserve
The complete runtime belongs uniformly to \(\mathrm{FP}\), since \(2^h\le 2^{65}(t+1)\) and \(4^h\le (2^{65}(t+1))^2\). On valid canonical inputs it computes exactly the actual matched Boolean extractor, with any trailing seed suffix ignored. The paired evaluator’s output has length at most \(2^{65}(|z|+1)^2\) on every input string \(z\).
- Algebraic.Cutwidth.Extractor.growingMatchedBlockDepth_pow_le
- Algebraic.Cutwidth.Extractor.growingMatchedBlockDepth_pow_four_le
- Algebraic.Cutwidth.Extractor.growingMatchedBlockDepth_unaryFn
- Algebraic.Cutwidth.Extractor.growingMatchedBlockDepth_pow_unaryFn
- Algebraic.Cutwidth.Extractor.growingMatchedBlockRuntimeValid_fpPred
- Algebraic.Cutwidth.Extractor.growingMatchedBlockExtractorRuntime_of_valid
- Algebraic.Cutwidth.Extractor.growingMatchedBlockExtractorRuntime_of_not_valid
- Algebraic.Cutwidth.Extractor.growingMatchedBlockExtractorRuntime_length
- Algebraic.Cutwidth.Extractor.growingMatchedBlockExtractorRuntime_length_le
- Algebraic.Cutwidth.Extractor.growingMatchedBlockExtractorRuntime_mem_FP
- Algebraic.Cutwidth.Extractor.growingMatchedBlockExtractorEval_pair
- Algebraic.Cutwidth.Extractor.growingMatchedBlockExtractorEval_mem_FP
- Algebraic.Cutwidth.Extractor.growingMatchedBlockExtractorEval_length_le
- Algebraic.Cutwidth.Extractor.growingMatchedBlockExtractorRuntime_eq_matchedBlockExtractor
- Algebraic.Cutwidth.Extractor.growingMatchedBlockExtractorRuntime_append_eq_matchedBlockExtractor
The total evaluator is uniformly polynomial-time, including its guard, numerical schedule, exact seed width, and all payload computations. Every output has length at most \(2^{64}L\). Canonical valid inputs compute exactly the matched Boolean extractor, even when an arbitrary suffix is appended to the padded seed word.
- Algebraic.Cutwidth.Extractor.matchedBlockExtractorRuntime_of_valid
- Algebraic.Cutwidth.Extractor.matchedBlockExtractorRuntime_of_not_valid
- Algebraic.Cutwidth.Extractor.matchedBlockExtractorRuntime_length
- Algebraic.Cutwidth.Extractor.matchedBlockExtractorRuntime_length_le
- Algebraic.Cutwidth.Extractor.matchedBlockRuntimeValid_fpPred
- Algebraic.Cutwidth.Extractor.matchedBlockExtractorRuntime_mem_FP
- Algebraic.Cutwidth.Extractor.matchedBlockExtractorEval_pair
- Algebraic.Cutwidth.Extractor.matchedBlockExtractorEval_mem_FP
- Algebraic.Cutwidth.Extractor.matchedBlockExtractorRuntime_eq_matchedBlockExtractor
- Algebraic.Cutwidth.Extractor.matchedBlockExtractorRuntime_append_eq_matchedBlockExtractor
Suppose \(\mathsf{MCSP}_{n,s}\) (De Morgan AND/OR cost, or full binary basis gate count with \(s \ge 1\)) is non-constant. Then every circuit computing it reads all \(2^n\) inputs. Hence every fan-in-two circuit computing it has at least \(2^n - 1\) gates, and every De Morgan circuit computing the De Morgan variant has at least \(2^n - 1\) AND and OR gates.
Let \(E\) be the set of \(2^n\)-bit truth tables of De Morgan AND/OR complexity exactly \(s \ge 1\), and suppose \(E\) is nonempty. Duplicating a table in \(E\) across both halves of the cube preserves its exact complexity, so iterating \(k\) times embeds \(E\) injectively into the exact-complexity-\(s\) tables on \(n + k\) bits. Write \(N = 2^{n+1}\). For any circuit computing \(\mathsf{MCSP}_{n+1,s}\), every wire cut separating the two halves of the truth table carries at least \(\log _2 |E|\) bits. Every De Morgan formula computing it has at least \(N\) leaves. A De Morgan circuit with at most \(k\) shared gates satisfies \(N \le (k+1)(\mathrm{cost} + k + 1)\). Every binary formula \(F\) satisfies \(|E| \le 2 \cdot 16^{\ell }\), where \(\ell \) is the number of leaves of \(F\) in either half, and \(|E|^2 \le 4 \cdot 16^{L}\), where \(L\) is the total number of leaves; the analogous bound holds for full-binary-basis circuits with at most \(k\) shared gates of total shared fan-out at most \(f\), with \(L\) replaced by \(\mathrm{size} + k + 1 + 2f\) and an extra factor \(4^k\). All of these bounds are at most linear in \(N\).
- Algebraic.MCSP.mcsp_singleCut_card_exactCostSet_le
- Algebraic.MCSP.khrapchenkoBound_mcsp_lower_bound
- Algebraic.MCSP.mcsp_formula_leaves_lower_bound
- Algebraic.MCSP.mcsp_sharedGateCount_cost_lower_bound
- Algebraic.MCSP.mcsp_card_image_restrictTo_le_subfunctions_leftBlock
- Algebraic.MCSP.mcsp_binaryFormula_leavesIn_leftHalf_lower_bound
- Algebraic.MCSP.costComplexity_pairTruthTable_self
- Algebraic.MCSP.pairTruthTable_self_mem_exactCostSet
- Algebraic.MCSP.iterPairTruthTable_mem_exactCostSet
- Algebraic.MCSP.mcsp_card_image_restrictTo_le_subfunctions_rightBlock
- Algebraic.MCSP.card_subfunctions_mcspCostScalar_deMorgan_tableTranslate
- Algebraic.MCSP.mcsp_binaryFormula_leaves_lower_bound
- Algebraic.MCSP.mcsp_binary_circuit_active_sharing_lower_bound
- Algebraic.MCSP.mcsp_binary_circuit_sharing_lower_bound
The conjunction of two variables has De Morgan AND/OR complexity exactly \(1\). If some \(2^n\)-bit truth table has complexity exactly \(s \ge 1\), then \(\mathsf{MCSP}_{n+1,s}\) in this model is non-constant. In particular, for \(N = 2^{n+3}\), every De Morgan circuit computing \(\mathsf{MCSP}_{n+3,1}\) has at least \(N - 1\) AND and OR gates. Every fan-in-two circuit, over any basis, has at least \(N - 1\) gates. Every De Morgan formula has at least \(N\) leaves.
- Algebraic.MCSP.costComplexity_andTarget
- Algebraic.MCSP.exactCostSet_deMorgan_one_nonempty
- Algebraic.MCSP.mcspCostScalar_deMorgan_succ_ne_of_mem_exactCostSet
- Algebraic.MCSP.mcspCostTarget_deMorgan_binaryCost_lower_bound_of_mem_exactCostSet
- Algebraic.MCSP.mcspCostTarget_deMorgan_one_binaryCost_lower_bound
- Algebraic.MCSP.mcspCostTarget_deMorgan_one_size_lower_bound
- Algebraic.MCSP.mcsp_one_formula_leaves_lower_bound
In the De Morgan AND/OR cost model, the multiplexer of \(u\) with itself on a fresh first variable has the same complexity as \(u\). If \(u_0 \ne u_1\) and one of them has positive complexity, the multiplexer of \(u_0\) and \(u_1\) has complexity strictly greater than both. Consequently, if \(T\) has complexity exactly \(s \ge 1\), the pair \((T', T)\) (and likewise \((T, T')\)) is a yes instance of \(\mathsf{MCSP}_{n+1,s}\) if and only if \(T' = T\).
For every linear map \(R:\mathbf F_2^n\to \mathbf F_2^q\) and every base point \(a\), put \(r=\lfloor n/(2q+1)\rfloor \). There are an injective linear map \(L:\mathbf F_2^r\to \mathbf F_2^n\) and signs \(\delta _j\in \{ 1,-1\} \) such that \(RL=0\) and, for every \(z\in \mathbf F_2^r\),
with each \(z_j\) interpreted as zero or one.
If \(w_3\) is constant on an affine flat \(a+V\subseteq \mathbf F_2^n\), then \(2\dim V\le n\). Consequently, for any \(q\) binary linear equations and any coordinate block \(B\) with \(|B|{\gt}2q\), there is a homogeneous solution supported in \(B\) that changes the residue at any prescribed base point.
Let a straight-line program over any signature, with any value type and any designated outputs, have \(n\) inputs, \(s\) gates, and fan-in at most two, and suppose \(\mathrm{OrderingBound}(A,\eta ,C)\) with \(A+\eta \ge 0\). Then some injective ranking of the wires, with ranks below \(n+s\), has the following property: for every wire \(w\), the prefix up to \(w\) is crossed by at most
forward and backward signals, where \(g\) and \(i\) are the numbers of gates and inputs in the component of \(w\). If the wire graph is connected, every prefix is crossed by at most \((A+\eta )\max \{ s-n,0\} +3\log _2(n+3s)+C\) signals.
- Algebraic.Cutwidth.MultiOutput.exists_rank
- Algebraic.Cutwidth.MultiOutput.exists_rank_of_connected
- Algebraic.Cutwidth.MultiOutput.component_closed
- Algebraic.Cutwidth.MultiOutput.forward_union_of_closed
- Algebraic.Cutwidth.MultiOutput.backward_union_of_closed
- Algebraic.Cutwidth.MultiOutput.orderingBound_nonneg
Under the preceding capacity and reserve inequalities, the actual map is a weighted strong extractor at threshold \(2^{k_0}\) and error \((3\cdot 2^h-1)2^{-E}\). Choosing \(E=e+h+2\) gives error at most \(2^{-e}\). The Boolean statement requires no caller-supplied finite-field instances.
Suppose \(k_0\le N\) and \(T\) bounds the initial explicit condenser budget. The sufficient inequality \(12(u+1)T+4E\le Q\) pays every splitting condition, bounds all payloads by \(2N\), and bounds total seed bits by
With \(M=2^h\ell \), the exact identity \(9M+2^hQ=8k_0\) and inequality \(7k_0\le 8M\) hold for every \(h,Q\).
- Algebraic.Cutwidth.Extractor.nearHalvingBlock_split_budget_of_bound
- Algebraic.Cutwidth.Extractor.nearHalvingBlock_payload_le
- Algebraic.Cutwidth.Extractor.nearHalvingBlockSeedBits_le_of_bound
- Algebraic.Cutwidth.Extractor.nearHalvingBlockOutputBits_accounting
- Algebraic.Cutwidth.Extractor.nearHalvingBlockOutputBits_lower
The complete program is polynomial-time for uniformly unary-computable parameters and initialization power, when the number of iterations is at most \(h\) and is either zero or satisfies the capacity and reserve bounds. At \(h\) iterations and the specified leaf length, its output equals the statistical map on every canonical seed word, including arbitrary trailing bits. Correctness needs no entropy premise. For Gamma parameters, \(2^h\le b+1\) on every input, and all parameter generators and the size-guard decision have uniform certificates.
- Algebraic.Cutwidth.Extractor.nearHalvingBlockRun_mem_FP
- Algebraic.Cutwidth.Extractor.nearHalvingBlockExtractorBits_mem_FP
- Algebraic.Cutwidth.Extractor.nearHalvingBlockRun_eq_recursiveBlockMap
- Algebraic.Cutwidth.Extractor.nearHalvingBlockExtractorBits_eq_nearHalvingBlockExtractor
- Algebraic.Cutwidth.Extractor.nearHalvingBlockExtractorBits_append_eq_nearHalvingBlockBooleanExtractor
- Algebraic.Cutwidth.Extractor.gammaBlockDepth_pow_le
- Algebraic.Cutwidth.Extractor.gammaBlockDepth_pow_unaryFn
- Algebraic.Cutwidth.Extractor.gammaBlockSizeGuard_fpPred
Suppose that, for all large \(n\), the length-\(n\) member of a family of Boolean functions is \(K(n)\)-rectangle-free (under every split of its inputs, every rectangle of accepted inputs has a side with fewer than \(K(n)\) elements), with \(K(n) \le n^c\) for a natural number \(c\), and has at least \(2^{n - 2}\) accepting inputs. Then for all large \(n\) every formula over the full binary basis (all sixteen binary gates, constant leaves allowed) computing the length-\(n\) member satisfies \(n^2 \le 64(c + 3)\log _2 n \cdot L\), where \(L\) counts variable leaves and constants are free; that is, it has at least \(n^2 / (64(c + 3)\log _2 n)\) variable leaves. This statement requires a polynomial rectangle threshold; the later explicit circuit family has a checked subexponential threshold.
Under the hypotheses of Theorem 363, split the inputs into consecutive blocks of size \(b = 3 + c(\lfloor \log _2 n\rfloor + 1)\), and consider single-output circuits over the full binary basis; a shared gate is a gate of fan-out at least two. If the shared gates whose input cone meets a block have total fan-out \(a_i\) on block \(i\), and \(20\, b\sum _i a_i \le n^2\), then for all large \(n\), \(n^2 \le 64(c+3)\log _2 n\, (2\, \mathrm{size} + 1)\), and under this budget the size is superlinear. More generally, every fan-in-two circuit has total shared fan-out at most \(2\, \mathrm{size} + 1\), so the fan-out of shared gates active on at most \(d(n)\) blocks can be absorbed into the right-hand side: if the shared gates active on more than \(d(n)\) blocks have total fan-out at most \(s(n)\) with \(20\, s(n) \le n\), then \(n^2 \le 16(5 d(n) + 4)(c+3)\log _2 n\, (2\, \mathrm{size} + 1)\) for all large \(n\), with no hypothesis on total shared fan-out. Since a gate’s block-span is at most the cardinality of its syntactic input support, the same bound holds with \(s(n) = 0\) whenever every shared gate is active on at most \(d(n)\) blocks or depends on at most \(d(n)\) inputs.
- Algebraic.Nechiporuk.exists_sharedProgram_of_circuit
- Algebraic.Nechiporuk.wireActive_eq_true_iff
- Algebraic.Nechiporuk.gateActive_eq_true_iff
- Algebraic.Nechiporuk.gateBlockSpan_le_card_wireSupport
- Algebraic.Nechiporuk.sharedFanOut_le_two_mul_size_add_one
- Algebraic.Nechiporuk.highSpanSharedFanOut
- Algebraic.Nechiporuk.sum_activeSharedFanOut_le_add_highSpanSharedFanOut
- Algebraic.Nechiporuk.size_lower_bound_highSpanSharedFanOut
- Algebraic.Nechiporuk.eventually_sq_le_size_active
- Algebraic.Nechiporuk.eventually_mul_le_size_of_rectangleFree_active
- Algebraic.Nechiporuk.isLittleO_size_of_rectangleFree_active
- Algebraic.Nechiporuk.eventually_sq_le_size_of_gateBlockSpan_le
- Algebraic.Nechiporuk.eventually_sq_le_size_of_highSpanSharedFanOut_le
- Algebraic.Nechiporuk.eventually_sq_le_span_mul_size_of_gateBlockSpan_le
- Algebraic.Nechiporuk.eventually_sq_le_size_of_card_wireSupport_le
Suppose the boundary \(C\) of a side \(S\) in a cubic graph \(H\) is independent. Either a helpful subset of \(S\) has at most 55 vertices, or there is a cubic graph \(G\) on the same vertices with the same cut and boundary, independent boundary vertices, one outside neighbor per boundary vertex, and at most two boundary neighbors per interior vertex. Every \(X\subseteq S\) admits \(X\subseteq Y\subseteq S\) with \(|Y|\le 5|X|\) and \(h^H_S(Y)\ge h^G_S(X)\).
Write \(D_3\) for the interior vertices with three boundary neighbors. The remaining local configurations in Monien–Preis’s normalization argument give the following helpful sets in a subcubic graph:
A boundary edge with one endpoint adjacent to \(D_3\) gives a set of at most five vertices.
Two distinct \(D_3\) vertices sharing a boundary neighbor give a set of at most seven vertices.
Let an interior vertex \(v\) be adjacent to \(c\in C\), where \(c\) also has a boundary neighbor or a \(D_3\) neighbor distinct from \(v\). If every other neighbor of \(v\) belongs to \(C\) or is an interior vertex with at least two boundary neighbors, a helpful set of at most eleven vertices exists.
Boundary neighborhoods may overlap.
- Algebraic.Cutwidth.Bisection.nonneg_helpfulness_boundary_pair
- Algebraic.Cutwidth.Bisection.nonneg_helpfulness_boundary_star
- Algebraic.Cutwidth.Bisection.exists_helpful_of_boundary_pair_three_neighbors
- Algebraic.Cutwidth.Bisection.exists_helpful_of_shared_boundary_neighbor
- Algebraic.Cutwidth.Bisection.exists_helpful_of_boundary_neighbor_configuration
A left-side observation updates its conditional kernel while preserving the right kernel; a right-side observation has the symmetric property. The resulting factored law is exactly the pushforward of the original law retaining the message and both original side variables. Every updated kernel and transcript is normalized. A left message followed by a right message depending on that first message has the same exact factorization. These rules include null observation rows and formalize the deterministic-conditioning step of Chattopadhyay–Liao, Lemma 3.25.
- Algebraic.Cutwidth.Extractor.factoredWeight_probability
- Algebraic.Cutwidth.Extractor.observedTranscriptWeight_probability
- Algebraic.Cutwidth.Extractor.observedTranscriptKernel_probability
- Algebraic.Cutwidth.Extractor.observedTranscriptWeight_mul_kernel
- Algebraic.Cutwidth.Extractor.factoredWeight_observe_left
- Algebraic.Cutwidth.Extractor.factoredWeight_observe_right
- Algebraic.Cutwidth.Extractor.factoredWeight_observe_left_right
- Algebraic.Cutwidth.Extractor.observedTranscript_left_right_probability
For a unary count of length \(t\), the output has exactly \(t\ell \) bits. On concatenated Boolean tuples and canonical field seeds it is exactly the serialized tuple of decoded one-shot outputs, with \(0,1\in \mathbf F_2\) represented by Boolean bits. The program is uniformly polynomial-time in the unary numerical parameters, payload, two seed words, and count, including zero widths and zero blocks.
For a source of \(t\) blocks at threshold \(2^{\ell +2e}\), the actual one-shot map can reuse the same pair of independent field seeds on all blocks. The entire tuple of \(t\) outputs of \(\ell \) bits has joint test discrepancy at most \(t2^{-e}\) from uniform, retaining the field-seed pair once. Both fixed-length Boolean-vector inputs and generic injective word encodings are supported, without extra capacity or positivity premises.
For every finite support \(P\) of \(n\)-bit words with \(|P|\ge 2^{\ell +2e}\), the actual decoded program produces \(\ell \) bits with discrepancy at most \(2^{-e}\) on every joint test retaining both independent uniform field seeds. The parameters and program are fixed before \(P\) and the test are chosen. No capacity or numerical error assumption is supplied by the caller. This implements the finite condense-then-hash mechanism of Chattopadhyay–Goodman–Liao, Lemma 4.9, with the explicit sparse field schedule used here.
The selected dimensions satisfy
The exact sharp leftover-hash budget is \(2^\ell =4(2^{-(e+1)})^2\, 2^{\ell +2e}\), and the two half-errors sum to \(2^{-e}\). All statements include zero parameters. All three parameter functions and both selected field half-degrees have uniform unary polynomial-time certificates; no general exponentiation rule is asserted.
- Algebraic.Cutwidth.Extractor.oneShotCondenserOutputBits_le
- Algebraic.Cutwidth.Extractor.oneShotHashBits_source_capacity
- Algebraic.Cutwidth.Extractor.oneShotHashBits_output_capacity
- Algebraic.Cutwidth.Extractor.oneShotHashBits_le
- Algebraic.Cutwidth.Extractor.oneShotSeedBits_le
- Algebraic.Cutwidth.Extractor.oneShot_leftover_budget_eq
- Algebraic.Cutwidth.Extractor.oneShot_leftover_budget
- Algebraic.Cutwidth.Extractor.oneShot_half_errors
- Algebraic.Cutwidth.Extractor.oneShotCondenserExponent_unaryFn
- Algebraic.Cutwidth.Extractor.oneShotCondenserOutputBits_unaryFn
- Algebraic.Cutwidth.Extractor.oneShotHashExponent_unaryFn
- Algebraic.Cutwidth.Extractor.oneShotCondenserHalfDegree_unaryFn
- Algebraic.Cutwidth.Extractor.oneShotHashHalfDegree_unaryFn
For all source and seed words the total program emits exactly \(\ell \) bits, and the paired evaluator belongs to \(\mathrm{FP}\). Parameter generation is part of this single evaluator. At canonical field seeds, its decoded map is exactly condensation, serialization, and field hashing, and it preserves padded source XOR for every fixed pair of seeds. The latter identity does not require equal source lengths.
- Algebraic.Cutwidth.Extractor.oneShotExtractorBits_length
- Algebraic.Cutwidth.Extractor.oneShotExtractorEval_pair
- Algebraic.Cutwidth.Extractor.oneShotExtractorEval_length_le
- Algebraic.Cutwidth.Extractor.oneShotExtractorBits_mem_FP
- Algebraic.Cutwidth.Extractor.oneShotExtractorEval_mem_FP
- Algebraic.Cutwidth.Extractor.decodedOneShotExtractor_eq_composition
- Algebraic.Cutwidth.Extractor.decodedOneShotExtractor_addBits
Under the common flip-flop size guard, suppose the original law factors into normalized sides given \(Z\), with original left and right source envelopes \(\mu ,\nu \), and initial prefix error \(\delta \). Let
and set \(\rho =2\varepsilon +\delta +K\sum \mu +JC^2\sum \nu \). For honest advice zero and tampered advice one, the full actual law has distance from its retained marginal with uniform honest output at most
The tampered inputs may be arbitrarily correlated within each side. There is no entropy premise on the initial right state and no supplied intermediate-seed or extractor guarantee. The invariant across advice positions is constructed below.
Under the common size guard, take normalized original factors with left-source, honest-state, and right-source envelopes \(\mu ,\nu ,\xi \), and original prefix error \(\delta \). With \(K,J,D,C,\varepsilon \) as above, set
The full actual honest-one/tampered-zero law has error at most
retaining both complete histories, the tampered final output, and the original left state. This completes the two opposite-bit orientations of Chattopadhyay–Goyal–Li Algorithm 1 and Lemma 6.8 for these programs.
If \(p+\xi \ge 0\), then \(\mathrm{PathwidthBound}(p,\xi ,N_0)\) implies \(\mathrm{OrderingBound}(2p,2\xi ,N_0+9)\). If \(c+\xi \ge 0\), then \(\mathrm{CutwidthBound}(c,\xi ,N_0)\) implies \(\mathrm{OrderingBound}(2c,2\xi ,N_0+8)\). A pathwidth bound also gives \(\mathrm{CutwidthBound}(p,\xi +2/(N_0+1),N_0)\). With the proved pathwidth coefficient \(1/6\), for every \(\eta {\gt}0\) some \(C\) satisfies \(\mathrm{OrderingBound}(1/3,\eta ,C)\).
For arbitrary finite real weights \(p(a,b)\) and output equivalences \(e_a:B\simeq C\), the map \((a,b)\mapsto (a,e_a(b))\) commutes with uniformizing the output and preserves the exact distance \(d(p,U_2p)\). Adding a tag-dependent mask in a finite additive group is a special case. The statements require neither normalization nor nonnegative weights.
Fix a family of flat sumset extractors with error \(\nu {\lt}1/2\), eventually positive thresholds \(K(n)\), and \(\log _2 K(n)=o(n)\). For every \(\varepsilon {\gt}0\) and all large \(n\), its balanced padding requires more than \((4-\varepsilon )(n+1)\) gates, including for nondeterministic circuits with arbitrarily many witness inputs. The family is fixed before \(\varepsilon \). The concrete family below instantiates the deterministic conclusion.
No nonuniform family of unbounded fan-in AND/OR circuits with negations at the inputs, with polynomially many AND and OR gates (negations free) and constant AND/OR depth (negations add no depth), computes parity at every input length. The same holds when negation gates may occur anywhere in the circuits. This is stated for the imported library’s own \(\mathsf{AC}^0\) model; Theorem 955 proves the statement for \(\mathsf{AC}^0\) as defined here independently, through this library’s own normalization and switching lemmas.
Among \(A\) coordinates there are at most \(A^t\) parity tests of order at most \(t\). If each test and each of \(C\) candidates excludes at most an \(\eta \ge 0\) fraction of seeds, their union excludes at most an \(A^tC\eta \) fraction. Both bounds include empty coordinate, candidate, or seed types and order zero.
On a finite probability space let \(\sigma _1,\ldots ,\sigma _m\) take values in \(\{ -1,1\} \) and satisfy the parity-bias bound \(\delta \ge 0\). Then
These are algebraic consequences of low-order parity bias. Producing that bias from an actual sumset source is supplied by the construction below.
Let \(S\) be a somewhere sampler with parameters \((L,\epsilon ,\delta )\) and \(N\) outer coordinates. Fix a nonempty uniform source support \(Q\) with \(L\le |Q|\). For every parity test of orders one through four and every candidate, suppose a seed set of density at most \(\eta \ge 0\) is excluded, with \(N^4C\eta \le \epsilon \). For each parity test suppose some member coordinate has this property: every candidate escaping its excluded set guarantees absolute weighted parity expectation at most \(\beta \), for every fixing in \(Q\).
Then at least a \(1-\delta \) fraction of fixings in \(Q\) admit an embedding of \(m\) good coordinates with \(N-m\le 2\epsilon N\) and parity-bias bound \(\beta \). This selection theorem places no sign or probability assumptions on the first-source weights or coordinates; those remain hypotheses of the majority theorem. In the intended application, the actual leakage and linearity estimate below supplies the component-call bound. Indexing every test and composing the global sampler must still supply this selection theorem’s seed-escape premise.
On a finite probability space, let \(m{\gt}0\) signs satisfy the parity-bias bound \(\delta \ge 0\), with \(100m^2\delta \le 1\). Each of the events \(S{\gt}\sqrt m/8\) and \(S{\lt}-\sqrt m/8\) has probability at least \(1/36\).
Suppressing an independent set preserves reachability between surviving vertices. Suppressing vertices of degree at most two in a forest leaves a forest. Consequently, suppressing an independent set of such vertices in a tree leaves a tree whenever at least one vertex survives. Isolated vertices and leaves are allowed among the suppressed vertices.
In a finite forest, suppose both \(S\) and its complement are independent, and every vertex of \(S\) has degree at most two. There is a bijection from the degree-two vertices of \(S\) to the edges of the suppressed graph. The edge corresponding to a removed vertex joins its two original neighbors. Isolated vertices and leaves contribute no edge.
Let \(p\) be the normalized law of \((T,X,S)\) with joint source masses bounded by nonnegative \(\mu (t)\), and let \(E\) be a threshold-\(K\) strong extractor of nonnegative error \(\varepsilon \). If \(d(p,U_2p)\le \delta \), extraction retaining the actual \((T,S)\) marginal has error at most \(\varepsilon +2\delta +K\sum _t\mu (t)\). Comparing instead with the uniformized output law for the independent-seed reference \(U_2p\) costs only \(\varepsilon +\delta +K\sum _t\mu (t)\).
Let a circuit with polynomial gates of fan-in at most two over a field \(K\), of any degree and with any coefficients, formally compute polynomial multiplication with \(s\) gates. Every split \(S\) of its wires, with inputs \(X_S\) and \(X_T\) on the two sides, is crossed by at least \(\min \{ |X_S\cap x|,|X_T\cap y|\} +\min \{ |X_S\cap y|,|X_T\cap x|\} \) signals. Under \(\mathrm{OrderingBound}(A,\eta ,C)\) with \(A+\eta \ge 0\),
Consequently, if the ordering hypothesis holds with coefficient \(A{\gt}0\) at every positive slack, then for every \(\varepsilon {\gt}0\) and all large \(n\), independently of the field, the signature, and the gate polynomials, every such circuit has more than \((2+1/A-\varepsilon )n\) gates; with the Gaussian pathwidth coefficient \(p\) of Theorem 783 and \(A=2p\) this is \((2+1/(2p)-\varepsilon )n\approx (5.5625-\varepsilon )n\), and more than \((50/9-\varepsilon )n\). The same bounds hold for circuits with polynomial gates computing the polynomial function over an infinite field; for the number of additions and multiplications, with arbitrary constants free, of arithmetic circuits formally computing polynomial multiplication over any field or computing it as a function over an infinite field; and for circuits over \(\mathbb {Z}/q\), \(q{\gt}2n\) prime, with arbitrary gate functions of fan-in at most two.
Earlier lower bounds for polynomial multiplication count multiplications: Kaminski and Bshouty (Multiplicative complexity of polynomial multiplication over finite fields, J. ACM 36, 1989) prove that bilinear algorithms over a fixed finite field need \(3n-o(n)\) multiplications, while over fields with at least \(2n-2\) elements \(2n-1\) multiplications suffice; read as bounds on the total number of operations they give about \(4n\). The coefficient is not claimed to be a record beyond this comparison.
- Algebraic.Cutwidth.MultiOutput.min_add_min_le_of_polyMul
- Algebraic.Cutwidth.MultiOutput.min_add_min_le_of_polyMul_zmod
- Algebraic.Cutwidth.MultiOutput.blockRank_add_transpose_le_of_sum
- Algebraic.Cutwidth.MultiOutput.le_of_polyMul
- Algebraic.Cutwidth.MultiOutput.le_of_polyMul_zmod
- Algebraic.Cutwidth.MultiOutput.eventually_lt_size_of_polyMul_of_orderingBound
- Algebraic.Cutwidth.MultiOutput.eventually_lt_size_of_polyMul
- Algebraic.Cutwidth.MultiOutput.eventually_lt_size_of_polyMul_fifty_div_nine
- Algebraic.Cutwidth.MultiOutput.eventually_lt_size_of_polyMul_of_infinite
- Algebraic.Cutwidth.MultiOutput.polyMul_nonconstant
- Algebraic.Cutwidth.MultiOutput.eventually_lt_arithmeticCost_of_polyMul
- Algebraic.Cutwidth.MultiOutput.eventually_lt_arithmeticCost_of_polyMul_formal
- Algebraic.Cutwidth.MultiOutput.eventually_lt_size_of_polyMul_zmod
- Algebraic.Cutwidth.MultiOutput.eventually_lt_size_of_polyMul_of_infinite_fifty_div_nine
- Algebraic.Cutwidth.MultiOutput.eventually_lt_arithmeticCost_of_polyMul_fifty_div_nine
- Algebraic.Cutwidth.MultiOutput.eventually_lt_arithmeticCost_of_polyMul_formal_fifty_div_nine
- Algebraic.Cutwidth.MultiOutput.eventually_lt_size_of_polyMul_zmod_fifty_div_nine
For every fixed \(a,e\), eventually \(h\le L\) and the actual map is a weighted strong extractor at source support threshold \(2^k\) and error \(2^{-e}\). Its entropy threshold satisfies \(k=o(n)\), so eventually \(k\le n\). Its actual seed alphabet has cardinality \(2^d\), with eventually \(d\le 16384L\). At every length its output length \(M\) satisfies
This is the factor-four entropy schedule above, not the sharper near-linear entropy dependence in Chattopadhyay–Goodman–Liao, Theorem 5.6. The quantifiers here fix both \(a\) and \(e\).
- Algebraic.Cutwidth.Extractor.eventually_polylogBlockDepth_le
- Algebraic.Cutwidth.Extractor.polylogBlockEntropy_isLittleO
- Algebraic.Cutwidth.Extractor.eventually_polylogBlockEntropy_le
- Algebraic.Cutwidth.Extractor.eventually_polylogBlockSeedBits_le
- Algebraic.Cutwidth.Extractor.card_polylogBlockSeeds
- Algebraic.Cutwidth.Extractor.polylogBlockOutputBits_bounds
- Algebraic.Cutwidth.Extractor.eventually_polylogBlockExtractor
For each fixed \(a,e\), the single paired source/seed program is in \(\mathrm{FP}\). At every sufficiently large input length it returns exactly the fully serialized polylogarithmic-output extractor, for every Boolean input and every canonically encoded semantic seed. The exact-length seed equivalence covers all words of the stated seed width; this correctness claim is not restricted to a smaller seed subset.
Let \(M_n(i,j)=1/(i-(n+j))\) for \(0\le i,j{\lt}n\). This is one rational matrix family, interpreted over any characteristic-zero field. For every \(\varepsilon {\gt}0\), all sufficiently large \(n\), and every such field, computing \(M_nx\) requires more than \((L-\varepsilon )n\) polynomial gates of fan-in at most two, with \(L=1+\pi /(3\arccos ((1+2\sqrt2)/4))\).
Coordinate \(i\) equals \((f^{h^i}\bmod E)(y)\). Over a nontrivial commutative ring, every stored polynomial has degree below that of monic \(E\). For sources already below that degree, coordinate zero equals \(f(y)\). In characteristic two the output map preserves zero, addition, and scalar multiplication over \(\mathbb F_2\) for every fixed seed. No irreducibility hypothesis is needed for these algebraic facts. The finite expansion theorem below additionally requires an irreducible modulus; the full encoded construction is separate.
- Algebraic.Cutwidth.Extractor.modularFrobenius_eq_pow_modByMonic
- Algebraic.Cutwidth.Extractor.modularFrobenius_degree_lt
- Algebraic.Cutwidth.Extractor.polynomialCondenser_apply
- Algebraic.Cutwidth.Extractor.polynomialCondenser_zero_coordinate
- Algebraic.Cutwidth.Extractor.polynomialCondenser_zero
- Algebraic.Cutwidth.Extractor.polynomialCondenser_add
- Algebraic.Cutwidth.Extractor.polynomialCondenser_smul
For every \(\varepsilon {\gt}0\), all sufficiently large \(n\), every field \(F\), and every totally regular \(n\times n\) matrix \(M\), every circuit computing all coordinates of \(Mx\) with polynomial gates of at most two input slots has more than
gates. The threshold is uniform over fields, matrices, signatures, and gate polynomials. Degrees, coefficients, depth, and fanout are unrestricted. Coefficients are included in gate descriptions; explicit nullary gate occurrences count in this theorem’s size.
Let a circuit over a finite field \(F\), over any signature with fan-in at most two (so with arbitrary functions \(F\times F\to F\), unary functions, and constants as gates, which covers arithmetic circuits over \(F\)), compute with \(s\) gates the quadratic form of an \(N\times N\) matrix \(M\) such that \(M+M^{\mathsf T}\) is totally regular. Under \(\mathrm{OrderingBound}(A,\eta ,C)\) with \(A+\eta \ge 0\),
Consequently, if the ordering hypothesis holds with coefficient \(A{\gt}0\) at every positive slack, then for every \(\varepsilon {\gt}0\) and all large \(N\), independently of the field, the matrix, and the signature, every such circuit has more than \((1+1/(2A)-\varepsilon )N\) gates. With the Gaussian pathwidth coefficient \(p\) of Theorem 783 and \(A=2p\) this is \((1+1/(4p)-\varepsilon )N\approx (2.7812-\varepsilon )N\), and as \(2p\le 9/32\) it is more than \((25/9-\varepsilon )N\); in particular for the quadratic form of the Hankel Cauchy matrix over \(\mathbb {Z}/q\) with \(q{\gt}2N\) prime.
For context, no superlinear lower bound is known for general arithmetic circuits computing an explicit polynomial of constant degree; Ramya and Shastri (arXiv:2509.11322, 2025) prove \(\Omega (n\log n)\) for planar circuits computing totally regular bilinear forms.
- Algebraic.Cutwidth.MultiOutput.input_mem_component_of_quadForm
- Algebraic.Cutwidth.MultiOutput.half_le_of_quadForm
- Algebraic.Cutwidth.MultiOutput.eventually_lt_size_of_quadForm_of_orderingBound
- Algebraic.Cutwidth.MultiOutput.eventually_lt_size_of_quadForm
- Algebraic.Cutwidth.MultiOutput.eventually_lt_size_of_quadForm_twentyFive_div_nine
- Algebraic.Cutwidth.MultiOutput.eventually_lt_size_hankelCauchyZMod
Let a circuit with polynomial gates of fan-in at most two over any field, of any degree and with any coefficients, formally compute the quadratic form \(\sum _{i,j}M_{ij}x_ix_j\) of an \(N\times N\) matrix \(M\) such that \(M+M^{\mathsf T}\) is totally regular. Every split of its wires obeys the rank-cut bound \(\operatorname {rank}(M+M^{\mathsf T})[X_S,X_T]\le |A|+|B|\), so the finite and asymptotic bounds of Theorem 880 hold: for every \(\varepsilon {\gt}0\) and all large \(N\), independently of the field, the matrix, and the gate polynomials, the circuit has more than \((1+1/(4p)-\varepsilon )N\ge (25/9-\varepsilon )N\) gates. Over an infinite field the same holds for circuits computing the quadratic function. Over every field of characteristic zero the Hankel Cauchy matrix \((1/(i+j+2))\) and its symmetrization are totally regular, so its quadratic form needs more than \((25/9-\varepsilon )N\) polynomial gates over \(\mathbb {Q}\), \(\mathbb {R}\), or \(\mathbb {C}\).
- Algebraic.Cutwidth.MultiOutput.quadFormPolynomial
- Algebraic.Cutwidth.MultiOutput.hankelCauchyCharZero
- Algebraic.Cutwidth.MultiOutput.quadForm_eq_eval
- Algebraic.Cutwidth.MultiOutput.hessian_quadFormPolynomial
- Algebraic.Cutwidth.MultiOutput.blockRank_add_transpose_le_of_formallyComputes
- Algebraic.Cutwidth.MultiOutput.half_le_of_formal_quadForm
- Algebraic.Cutwidth.MultiOutput.eventually_lt_size_of_formal_quadForm
- Algebraic.Cutwidth.MultiOutput.eventually_lt_size_of_formal_quadForm_twentyFive_div_nine
- Algebraic.Cutwidth.MultiOutput.eventually_lt_size_of_quadForm_of_infinite
- Algebraic.Cutwidth.MultiOutput.totallyRegular_hankelCauchyCharZero_add_transpose
- Algebraic.Cutwidth.MultiOutput.eventually_lt_size_hankelCauchyCharZero
Let a circuit over a finite field \(F\), over any signature, compute the quadratic form of an \(N\times N\) matrix \(M\), and let \(H=M+M^{\mathsf T}\). For every split \(S\) of its wires, with complement \(T\), forward signals \(A\), backward signals \(B\), and inputs \(X_S\) and \(X_T\) on the two sides,
The same holds for a circuit with several outputs \(f_o\) when, for some coefficients \(c_o\in F\), the combination \(x\mapsto \sum _o c_of_o(x)\) is the quadratic form of \(M\).
- Algebraic.Cutwidth.MultiOutput.trace_add_trace_eq_trace_mix_add_trace_mix
- Algebraic.Cutwidth.MultiOutput.quadForm_add_quadForm_eq
- Algebraic.Cutwidth.MultiOutput.card_mul_card_le_of_dotProduct_mulVec_eq_zero
- Algebraic.Cutwidth.MultiOutput.blockRank_add_transpose_le_of_trace
- Algebraic.Cutwidth.MultiOutput.blockRank_add_transpose_le
- Algebraic.Cutwidth.MultiOutput.blockRank_add_transpose_le_of_sum_of_trace
- Algebraic.Cutwidth.MultiOutput.blockRank_add_transpose_le_of_sum
- Algebraic.Cutwidth.MultiOutput.blockRank_add_transpose_le_of_mix
Deleting any subset of the boundaries of pairwise disjoint regions preserves the induced graph inside each region. If the regions are connected, deleting all their boundaries makes each region exactly one connected component, hence one distinct vertex of the quotient. Every quotient vertex has degree at most the black cut of its support. If the designated actual edges are bridges, this bound is an equality.
- Algebraic.Cutwidth.Bisection.RedBlack.BridgeQuotient.induce_delete_region_cuts
- Algebraic.Cutwidth.Bisection.RedBlack.BridgeQuotient.exists_region_embedding
- Algebraic.Cutwidth.Bisection.RedBlack.BridgeQuotient.ncard_neighborSet_le_cut
- Algebraic.Cutwidth.Bisection.RedBlack.BridgeQuotient.ncard_neighborSet_eq_cut
Let a circuit over any signature with values in a finite set \(U\) compute \(f\colon U^n\to U^m\). If, for a split \(S\) with forward signals \(A\) and backward signals \(B\), every left fibre has at most \(D_T\) elements and every right fibre at most \(D_S\), then \(|U|^n\le |U|^{|A|+|B|}D_TD_S\). In particular, if a circuit with values in a finite field computes the linear map \(x\mapsto Mx\), with arbitrary gate functions, then every split satisfies
Each side is bounded separately: \(|U|^{|X_S|}\le |U|^{|A|}D_T\) and \(|U|^{|X_T|}\le |U|^{|B|}D_S\), so \(\operatorname {rank} M[Y_T,X_S]\le |A|\) and \(\operatorname {rank} M[Y_S,X_T]\le |B|\).
- Algebraic.Cutwidth.MultiOutput.card_pow_le_of_fibres
- Algebraic.Cutwidth.MultiOutput.card_pow_le_of_fibres_of_trace
- Algebraic.Cutwidth.MultiOutput.card_leftFibre_le
- Algebraic.Cutwidth.MultiOutput.card_rightFibre_le
- Algebraic.Cutwidth.MultiOutput.blockRank_add_blockRank_le
- Algebraic.Cutwidth.MultiOutput.blockRank_add_blockRank_le_of_trace
- Algebraic.Cutwidth.MultiOutput.card_pow_inputsIn_le_of_leftFibre
- Algebraic.Cutwidth.MultiOutput.card_pow_inputsIn_le_of_leftFibre_of_trace
- Algebraic.Cutwidth.MultiOutput.card_pow_compl_inputsIn_le_of_rightFibre
- Algebraic.Cutwidth.MultiOutput.card_pow_compl_inputsIn_le_of_rightFibre_of_trace
- Algebraic.Cutwidth.MultiOutput.blockRank_le_forward
- Algebraic.Cutwidth.MultiOutput.blockRank_le_forward_of_trace
- Algebraic.Cutwidth.MultiOutput.blockRank_le_backward
- Algebraic.Cutwidth.MultiOutput.blockRank_le_backward_of_trace
In a cubic graph, every side \(S\) and \(0\le r\le |S|\) admit a subset \(T\subseteq S\) of size \(r\) with
Consequently, if \(|S|{\lt}3|\partial S|\), every prescribed move size \(k\le |S|\) has a witness \(X\subseteq S\) with \(h_S(X)\ge -\lceil \log _2|S|\rceil -2\). No bisection hypothesis or connectivity assumption is used. The ceiling logarithm is interpreted as zero at zero.
If the initial map and every executed condenser preserve addition for each fixed seed, so does the recursive block map. If the final component also preserves addition, the recursive extractor does too. Only addition structures and the stated component equalities are needed.
The retained seed alphabet has cardinality equal to the initial seed cardinality times the product of the \(h\) fresh-seed cardinalities. Hence power-of-two seed widths add. With one initial block and all initial, local, splitting, and final extraction errors budgeted by \(2^{-E}\), the total bound is \((3\cdot 2^h-1)2^{-E}\). Choosing \(E=e+h+2\) makes this at most \(2^{-e}\).
Combine an initial strong condenser, the lossless level condensers satisfying the preceding finite entropy inequalities, and a final strong extractor at threshold \(2^{k_h}\). The actual recursive function is a weighted strong extractor at the initial input threshold, with error at most the sum of the initial bound, the level budgets, and \(2^h\) times the final component bound. In particular, local error exponent \(e+h+2\) gives final error at most \(2^{-e}\). These are finite guarantees for the supplied components; no asymptotic schedule or uniform runtime claim is included in this theorem.
Suppose the joint law of the initial seed and output is within \(\eta \) of a uniform-seed family of threshold-\(2^{k_0}\) sources on \(t\) blocks. At each executed level \(i{\lt}h\), let the condenser preserve threshold \(2^{k_i}\) with error \(\varepsilon _i\), let its half-output alphabet have size \(2^{m_i}\), and suppose
The actual recursive map is within
of a retained-seed family of threshold-\(2^{k_h}\) sources on \(2^ht\) blocks. No bound on each individual seed’s error is assumed.
Write \(T\) for the condenser budget on width \(N\), entropy \(k_0\), and exponent \(E\). If \(k_0\le N\) and \(3(24T)+6E\le 2Q\), then every executed level satisfies \(k_{i+1}\le n_{i+1}\) and \(n_{i+1}+k_{i+1}+E\le k_i\). For \(i\le h\), one has \(k_i\le n_i\le N\), \(b_i\le 24T\), and \(2^in_i\le 2N\). Also \(k_h=Q\) and \(k_i=4k_{i+1}\) for \(i{\lt}h\). When \(Q{\gt}0\), the block count satisfies \(2^i\le k_0\).
- Algebraic.Cutwidth.Extractor.recursiveBlockEntropy_last
- Algebraic.Cutwidth.Extractor.recursiveBlockEntropy_succ
- Algebraic.Cutwidth.Extractor.recursiveBlockWidth_bounds
- Algebraic.Cutwidth.Extractor.recursiveBlock_split_budget
- Algebraic.Cutwidth.Extractor.recursiveBlockSeedWidth_le
- Algebraic.Cutwidth.Extractor.recursiveBlock_payload_le
- Algebraic.Cutwidth.Extractor.recursiveBlock_count_le
Suppose \(\lceil \log _2(n+1)\rceil \le L\). Set \(Q=4096(L+E+1)\), \(k_0=4^hQ\), and let \(N\) be the full output width of the actual rate-one condenser on \(n\) bits at entropy \(k_0\). Then \(Q{\gt}0\), \(k_0\le N\le 64k_0\), and its next condenser budget satisfies
If also \(h\le L\), then \(3(24T)+6E\le 2Q\).
A red edge joining two black components of at most \(M\) vertices gives a positive set of at most \(2M\) vertices; the components may coincide. More generally, attach sets with empty black cuts to a set \(P\) along distinct red edges. If these red edges outnumber the black cut of \(P\), their union with \(P\) is positive. If each of the \(k\) attached sets has at most \(M\) vertices, the size is at most \(|P|+Mk\). In particular, three attachments suffice when \(P\) is connected and all its vertices have black degree at most two.
Write \(R(Y)\) for the red edges internal to \(Y\), and \(\partial Y\) for its black cut in \(B\). Suppose \(X\) is positive after deleting \(\partial A\) from \(B\), the overlap \(X\cap A\) has empty black cut, and
Then \(X\cup A\) is positive in \(B\). In particular, it suffices that \(|\partial A|\le 2\), at least one of these boundary edges belongs to \(\partial X\), and \(A\) contains a red edge not already internal to \(X\). This proves a local compensation step in Monien–Preis’s argument. The next result bounds simultaneous restoration of a family.
Let a black walk have length \(\ell \), black degree at most two at all its vertices, and \(m\ge 3\) distinct red attachments indexed in order along the walk. Suppose \(\ell \le Mm\), and each attachment reaches a set with empty black cut and at most \(M\) vertices. Then a positive set of at most \(8M+1\) vertices exists. This formalizes the thin-path witness construction in Monien–Preis’s core lemma.
In a normalized cubic side, put \(D=S\setminus C\) and let \(B\) be the edges induced by \(D\). Then \(|C|=|\partial S|\) and \(2|B|+2|C|=3|D|\). If \(|\partial S|{\gt}(1/3+\xi )|S|\) with \(\xi {\gt}0\), then \(|C|{\gt}(1/2+3\xi /2)|D|\). Consequently the black graph has a tree component of at most \(M\) vertices whenever \((M+1)3\xi /2\ge 1\). This component need not itself be a positive red/black witness.
- Algebraic.Cutwidth.Bisection.card_cutBoundary_eq_cut
- Algebraic.Cutwidth.Bisection.card_boundary_interior_neighbors
- Algebraic.Cutwidth.Bisection.card_interior_neighbors
- Algebraic.Cutwidth.Bisection.boundary_red_density
- Algebraic.Cutwidth.Bisection.card_interior_edges
- Algebraic.Cutwidth.Bisection.exists_small_interior_tree_component
The regions partition \(U\), with no black edges between distinct regions; their boundary cuts are pairwise disjoint. If every eligible vertex has black degree at most two, every region has a spanning simple path and at most two boundary edges. A region with nonempty boundary is a tree. If the ambient degrees are exactly two, its boundary size is zero or two. Every subfamily with nonempty cuts admits distinct choices of boundary edges.
- Algebraic.Cutwidth.Bisection.RedBlack.PathSystem.region_subset
- Algebraic.Cutwidth.Bisection.RedBlack.PathSystem.region_connected
- Algebraic.Cutwidth.Bisection.RedBlack.PathSystem.exists_mem_region
- Algebraic.Cutwidth.Bisection.RedBlack.PathSystem.region_disjoint
- Algebraic.Cutwidth.Bisection.RedBlack.PathSystem.eq_of_adj
- Algebraic.Cutwidth.Bisection.RedBlack.PathSystem.cut_disjoint
- Algebraic.Cutwidth.Bisection.RedBlack.PathSystem.exists_distinct_boundary_edges
- Algebraic.Cutwidth.Bisection.RedBlack.PathSystem.exists_spanning_path_in_region
- Algebraic.Cutwidth.Bisection.RedBlack.PathSystem.region_spanning_path
- Algebraic.Cutwidth.Bisection.RedBlack.PathSystem.card_cut_le_two
- Algebraic.Cutwidth.Bisection.RedBlack.PathSystem.card_cut_eq_zero_or_two
- Algebraic.Cutwidth.Bisection.RedBlack.PathSystem.region_isTree
Let a circuit over any signature with values in a finite set \(U\) compute \(f\colon U^n\to U^m\), and let \(S\) be a split of its wires with forward signals \(A\) and backward signals \(B\). If \(D=D_0\times \dots \times D_{n-1}\) is a coordinatewise product domain, every left fibre taken within \(D\) has at most \(D_T\) elements, and every right fibre within \(D\) at most \(D_S\), then \(|D|\le |U|^{|A|+|B|}D_TD_S\); the same holds for every set of inputs closed under mixing.
Now let \(U\) be a finite abelian group, \(J\) a set of free coordinates and \(z_0\) a base point, and suppose that \(f(z')-f(z)=g(z'-z)\) whenever \(z\) and \(z'\) agree with \(z_0\) outside \(J\). For sets \(P\) of coordinates and \(Q\) of outputs, let \(\ker _g(P,Q)\) be the set of vectors supported on \(P\) whose image under \(g\) vanishes on \(Q\). With \(X_S\) and \(X_T\) the free inputs in \(S\) and outside \(S\), and \(Y_S\) and \(Y_T\) the outputs carried in \(S\) and outside \(S\),
and in fact \(|U|^{|X_S|}\le |U|^{|A|}\, |\ker _g(X_S,Y_T)|\) and \(|U|^{|X_T|}\le |U|^{|B|}\, |\ker _g(X_T,Y_S)|\) separately. For a linear \(g\) this is the rank-cut bound of Theorem 863 restricted to the free inputs. If \(S\) is crossed by no forward signal, \(\ker _g(X_S,Y_T)\) is full: \(g\) maps vectors supported on \(X_S\) to vectors vanishing on \(Y_T\); if it is crossed by no backward signal, \(g\) maps vectors supported on \(X_T\) to vectors vanishing on \(Y_S\). These two facts need no finiteness of \(U\).
- Algebraic.Cutwidth.MultiOutput.card_le_of_fibres_of_mix_of_trace
- Algebraic.Cutwidth.MultiOutput.card_piFinset_le_of_fibres
- Algebraic.Cutwidth.MultiOutput.supportedKernel
- Algebraic.Cutwidth.MultiOutput.card_supportedKernel_le
- Algebraic.Cutwidth.MultiOutput.card_pow_le_supportedKernel
- Algebraic.Cutwidth.MultiOutput.card_pow_le_supportedKernel_of_trace
- Algebraic.Cutwidth.MultiOutput.apply_eq_zero_of_closed_of_trace
- Algebraic.Cutwidth.MultiOutput.card_pow_le_supportedKernel_forward
- Algebraic.Cutwidth.MultiOutput.card_pow_le_supportedKernel_forward_of_trace
- Algebraic.Cutwidth.MultiOutput.card_pow_le_supportedKernel_backward
- Algebraic.Cutwidth.MultiOutput.card_pow_le_supportedKernel_backward_of_trace
- Algebraic.Cutwidth.MultiOutput.apply_eq_zero_of_forward_eq_empty_of_trace
- Algebraic.Cutwidth.MultiOutput.apply_eq_zero_of_backward_eq_empty_of_trace
If the current joint law is \(\eta \)-close to a family of \(t\) block sources at an extractor’s threshold, a fresh-seed extractor of error \(\varepsilon \), shared across the blocks, produces a joint law within \(\eta +t\varepsilon \) of uniform on both seed coordinates and the entire output tuple. For normalized actual weights, the same bound holds on every joint test. The earlier and fresh seed types and output alphabet are nonempty.
Retained-seed steps contract total variation and preserve probability when the fresh seed type is nonempty. On an exact earlier-seed family, the resulting conditional law is the deterministic image in each pair of seed values. Distances over a product seed average the fresh-seed joint distances over earlier seeds. Successive seeded programs equal their deterministic composition with both seeds retained.
- Algebraic.Cutwidth.Extractor.seedFamilyWeight_product
- Algebraic.Cutwidth.Extractor.weightDist_seedFamilyWeight_product
- Algebraic.Cutwidth.Extractor.retainedSeedStep_seedFamilyWeight
- Algebraic.Cutwidth.Extractor.retainedSeedStep_dist_le
- Algebraic.Cutwidth.Extractor.IsProbabilityWeight.retainedSeedStep
- Algebraic.Cutwidth.Extractor.retainedSeedStep_weightedSeededOutput
Suppose \(E\) is a sampler with parameters \((L,\epsilon _0,\delta )\) and \(\Gamma \) has coverage \((K,\rho )\) on a nonempty base seed set. If \(\epsilon \le \epsilon _0\), \(2\epsilon _0{\lt}\rho \), and \(K\le 2\epsilon A\) for \(A\) outer seeds, then \(S(x,y,z)=E(x,\Gamma (y,z))\) is a somewhere sampler with parameters \((L,\epsilon ,\delta )\). A flat seeded extractor of error \(e\) and positive threshold \(K\) supplies coverage \((K,1-e)\) when its candidate seed set is nonempty. Listing every seed gives concrete full-coverage and zero-failure examples, without giving the short-seed parameters required by the eventual construction.
The actual scheduled Boolean extractor, under its proved finite budget and reserve conditions, has the affine retained-law guarantee with error \(\varepsilon _{\rm schedule}+\delta +K\sum \mu \) on a left source XOR a right mask. The explicit dyadic schedule gives \(\varepsilon _{\rm schedule}=2^{-e}\). These are the same bit programs and exact Boolean seed widths already supplied by the uniform runtime construction. No extractor or finite-field instance is a caller premise.
Each actual output bit equals the corresponding scheduled semantic coordinate at the decoded seed, and input XOR becomes output XOR for every fixed Boolean seed. The entire uniformly sampled \(d\)-bit seed is retained in the weighted strong-extractor test. Under the global reserve budget and \(\ell +2E\le Q\), the source threshold is \(2^{4^hQ}\) and the error is at most \((3\cdot 2^h-1)2^{-E}\). The explicit reserve specialization of Theorem 727 has error at most \(2^{-e}\). No caller-supplied finite-field instances are required.
Extending a prefix appends exactly the next fresh field word. The full word is \((\text{prefix}\mathbin {+\! +}\text{condenser}) \mathbin {+\! +}\text{hash}\) and has exactly the specified seed budget \(d\). Decoding each encoding recovers its tuple; encoding a decoded word recovers every word of the prescribed exact length. Zero depth is included.
- Algebraic.Cutwidth.Extractor.scheduledBlockSeedPrefixBits_zero
- Algebraic.Cutwidth.Extractor.scheduledBlockSeedPrefixBits_succ
- Algebraic.Cutwidth.Extractor.encodeScheduledBlockSeedPrefix_zero
- Algebraic.Cutwidth.Extractor.encodeScheduledBlockSeedPrefix_succ
- Algebraic.Cutwidth.Extractor.encodeScheduledBlockSeedPrefix_length
- Algebraic.Cutwidth.Extractor.decode_encodeScheduledBlockSeedPrefix
- Algebraic.Cutwidth.Extractor.encode_decodeScheduledBlockSeedPrefix
- Algebraic.Cutwidth.Extractor.scheduledBlockSeedBits_eq_prefix
- Algebraic.Cutwidth.Extractor.encodeScheduledBlockSeeds_append
- Algebraic.Cutwidth.Extractor.encodeScheduledBlockSeeds_length
- Algebraic.Cutwidth.Extractor.decode_encodeScheduledBlockSeeds
- Algebraic.Cutwidth.Extractor.encode_decodeScheduledBlockSeeds
If \(\lceil \log _2(n+1)\rceil \le L\) and \(h\le L\), set \(E=e+h+2\) and \(Q=4096(L+E+1)\). The specified map is a weighted strong extractor from \(n\)-bit sources of min-entropy at least \(4^hQ\) to \(2^hL\) bits, with error at most \(2^{-e}\). More generally, the global reserve budget and \(\ell +2E\le Q\) give error \((3\cdot 2^h-1)2^{-E}\) for leaf output length \(\ell \).
For every fixed complete seed tuple and all natural parameters, the scheduled extractor sends XOR of two Boolean inputs to coordinatewise addition of their outputs in \(\mathbf F_2\). No entropy or error-budget premise is needed for this identity.
The specified bit program emits exactly \(2^h\ell \) bits. Under its positive-reserve and global-budget premises it has a uniform polynomial-time certificate in all certified unary parameters and input words. The total paired evaluator generates parameters satisfying these premises and belongs to \(\mathrm{FP}\) on every input word, without any externally supplied numerical validity certificate. A requested depth already at most \(\lceil \log _2(n+1)\rceil \) is left unchanged.
- Algebraic.Cutwidth.Extractor.scheduledBlockExtractorBits_length
- Algebraic.Cutwidth.Extractor.scheduledBlockExtractorBits_mem_FP
- Algebraic.Cutwidth.Extractor.scheduledBlockExtractorRuntime_mem_FP
- Algebraic.Cutwidth.Extractor.scheduledBlockExtractorEval_pair
- Algebraic.Cutwidth.Extractor.scheduledBlockExtractorRuntime_of_depth_le
- Algebraic.Cutwidth.Extractor.scheduledBlockExtractorEval_mem_FP
For every natural parameter choice, Boolean source, and complete semantic seed tuple, the bit program at its canonical seed encoding returns exactly the flattened scheduled extractor output, with each \(\mathbf F_2\) coordinate encoded by its Boolean equality test with \(1\). This identity has no reserve, entropy, or field-enumeration premise.
The string transition computes the structured state transition and its every iterate. The endpoint has width \(n_h\), entropy \(Q\), and \(2^h\) blocks. For \(Q{\gt}0\) and the global reserve budget, every intermediate encoding has length at most \(18N+2E+|s|+18\), where \(N\) is the initial compressed width and \(s\) is the original seed word. The entire initial compression and payload loop is uniformly polynomial-time when the numerical operands, including initial entropy, have unary certificates.
- Algebraic.Cutwidth.Extractor.scheduledBlockRunStepEval_encode
- Algebraic.Cutwidth.Extractor.scheduledBlockRunStepEval_iterate
- Algebraic.Cutwidth.Extractor.encodeScheduledBlockRun_length
- Algebraic.Cutwidth.Extractor.scheduledBlockRun_dimensions
- Algebraic.Cutwidth.Extractor.scheduledBlockRun_count
- Algebraic.Cutwidth.Extractor.scheduledBlockRun_iterate_bound
- Algebraic.Cutwidth.Extractor.scheduledBlockRunStepEval_mem_FP
- Algebraic.Cutwidth.Extractor.scheduledBlockRun_mem_FP
On a Boolean input of width \(n\) and a canonical seed prefix through \(i\le h\) followed by any trailing word, the runtime state after \(i\) steps has exactly the prescribed width, entropy, and block count. Its payload is precisely the serialized recursive block tuple, in coordinate order, and its remaining seeds are exactly that trailing word. At \(i=h\) this is the complete semantic leaf tuple with entropy \(Q\). No entropy-budget or field-enumeration premise is required.
The actual retained seed type has cardinality \(2^d\) for all natural parameters. Under \(\lceil \log _2(n+1)\rceil \le L\) and \(h\le L\), with \(Q=4096(L+E+1)\) and leaf output length \(L\), its width satisfies
This is a finite bound on the specified seed type.
The exact paired-condenser half-width and initialized schedule parameters have uniform polynomial-time unary computations. The encoded numerical transition computes the prescribed widths and entropies through every scheduled level. Clipping gives \(4^h\le 4(n+1)^2\), so the initializer computes its initial entropy by a bounded-power operation without a circular capacity premise. Its selected width contains that entropy and is at most \(64\) times it, and its reserve pays the global split budget. The initialized numerical loop is polynomial-time uniformly up to any requested level clipped to \(h\).
- Algebraic.Cutwidth.Extractor.explicitCondenserHalfWidth_unaryFn
- Algebraic.Cutwidth.Extractor.scheduledBlockStateStep_iterate
- Algebraic.Cutwidth.Extractor.scheduledBlockStateStepEval_encode
- Algebraic.Cutwidth.Extractor.scheduledBlockStateStepEval_iterate
- Algebraic.Cutwidth.Extractor.scheduledBlockStateStepEval_mem_FP
- Algebraic.Cutwidth.Extractor.scheduledBlockState_mem_FP
- Algebraic.Cutwidth.Extractor.scheduledBlockDepth_pow_four_le
- Algebraic.Cutwidth.Extractor.scheduledBlockRuntimeInitialWidth_bounds
- Algebraic.Cutwidth.Extractor.scheduledBlockRuntime_reserve_budget
- Algebraic.Cutwidth.Extractor.scheduledBlockInitialEntropy_unaryFn
- Algebraic.Cutwidth.Extractor.scheduledBlockRuntimeInitialWidth_unaryFn
- Algebraic.Cutwidth.Extractor.scheduledBlockStateInit_mem_FP
- Algebraic.Cutwidth.Extractor.scheduledBlockStateInit_iterate_mem_FP
For every \(\xi {\gt}0\) there is \(N_0\) such that every simple cubic graph on \(n{\gt}N_0\) vertices has a balanced cut of at most \((1/6+\xi )n\) edges. This is the Monien–Preis bisection conclusion, with the connected-cluster argument replacing the red/black reorganization in their proof.
Let a single-output circuit over any basis with Boolean values compute a \(K\)-rectangle-free function \(f\) on \(n\) inputs (as in Theorem 363). Then for every split of its wires into \(S\) and \(\bar S\),
With normalized original factors and a threshold-\(K\) strong extractor of nonnegative error \(\varepsilon \) and nonempty seed/output alphabets, source discrepancy \(\rho \) and actual prefix-conditioned seed discrepancy \(\delta \) imply error at most
The subsets may overlap. No conditional point-mass cap or repaired-source witness is required.
Let the original factors be probability laws and let \(E\) be a threshold-\(K\) strong extractor of nonnegative error \(\varepsilon \), with nonempty seed and output alphabets. Suppose \((Z,U,X)\) is within \(\rho \) of its actual \((Z,U)\) marginal times an independent uniform \(X\), and \((H,V,Y)\) has analogous seed discrepancy at most \(\delta \). The actual retained extraction law has error at most
No pointwise conditional source cap or repaired witness is assumed. When \(V,Y\) depend only on \((Z,Q)\), their joint seed discrepancy is exactly unchanged by retaining \(U\), so the seed premise needs only \((Z,Q,V)\). This is the smooth-source consumer for Chattopadhyay–Liao Theorem 6.1; the actual one-round specialization is proved below.
- Algebraic.Cutwidth.Extractor.smoothMergingSeedWeight_probability
- Algebraic.Cutwidth.Extractor.smoothTwoSidedExtractionWeight_probability
- Algebraic.Cutwidth.Extractor.WeightedStrongSeededExtractor.smooth_two_sided_dist_le
- Algebraic.Cutwidth.Extractor.smoothMergingSeedWeight_prefix_dist
- Algebraic.Cutwidth.Extractor.WeightedStrongSeededExtractor.smooth_two_sided_dist_le_of_prefix_seed
For \(u,T{\gt}0\) these choices satisfy
The seed has \(b\) bits and the output has \(mb\) bits, with \(umb\le (u+1)k+ub\). If \(Dk\le \epsilon 2^T\), then
These are finite parameter inequalities, without an asymptotic or runtime assertion. Choosing the powering exponent after the sparse field size adapts Cheraghchi’s condenser parameter tradeoff to the binomial degree grid; this choice is a deduction in this development.
- Algebraic.Cutwidth.Extractor.sparseFieldBits_lower
- Algebraic.Cutwidth.Extractor.sparseFieldBits_upper
- Algebraic.Cutwidth.Extractor.sparsePowerBits_add
- Algebraic.Cutwidth.Extractor.sparsePowerBits_pos
- Algebraic.Cutwidth.Extractor.sparsePowerBits_rate
- Algebraic.Cutwidth.Extractor.condenserCoordinates_capacity
- Algebraic.Cutwidth.Extractor.condenserCoordinates_le
- Algebraic.Cutwidth.Extractor.condenserCoordinates_output
- Algebraic.Cutwidth.Extractor.condenserCoordinates_loss
- Algebraic.Cutwidth.Extractor.sparseCondenser_output
- Algebraic.Cutwidth.Extractor.sparseCondenser_loss
Let \(K{\gt}0\). Suppose the retained-seed output of \(C\) is within \(\delta \) of a supplied finite mixture with nonnegative normalized weights. Conditional on the component and condenser seed, its ideal output is uniform on the image of an injection from a set of size at least \(K\). If \(H\) is a strong \((K,\epsilon )\) extractor, then
has error at most \(\delta +\epsilon \), retaining both independent seeds. The witness supports may depend on the component and on \(y\); the actual map \(C\) need not be injective. The subset-mixture wrapper matches the lossless condenser’s witnesses on every larger flat support. This is a finite formulation of the composition in Guruswami–Umans–Vadhan, Proposition 4.5 and Remark 5.15, and Chattopadhyay–Goodman–Liao, Lemma 4.9.
Strong extraction is preserved by increasing the support threshold or permitted error. For nonempty seed and output sets, it implies the existing output-only flat seeded-extractor contract.
Increasing the source entropy threshold or keeping an output prefix preserves weighted strong extraction. For nonempty finite seed and output types, adding independent unused seed bits also preserves its error, even when the statistical test inspects those bits. The identity map with any finite seed is a zero-error weighted strong condenser preserving every source cap.
- Algebraic.Cutwidth.Extractor.WeightedStrongSeededExtractor.mono_threshold
- Algebraic.Cutwidth.Extractor.WeightedStrongSeededExtractor.truncate
- Algebraic.Cutwidth.Extractor.WeightedStrongSeededExtractor.ignoreSeed
- Algebraic.Cutwidth.Extractor.WeightedStrongSeededExtractor.padSeed
- Algebraic.Cutwidth.Extractor.WeightedStrongSeededCondenser.id
Every graph of maximum degree three on \(n\) vertices has a path decomposition ending at any prescribed set \(X\), with bags of size at most
The logarithmic term is zero for \(n=0\). This proves the endpoint lemma in Fomin and Høie’s argument with an elementary logarithmic remainder. It does not require the bisection theorem.
Set \(L=\lceil \log _2(n+1)\rceil \). The actual candidate count is \(o(n)\), the complete source entropy \(k(n)\) is \(o(n)\), and both numerical sampler guards eventually hold. Consequently the same fixed finite construction is eventually a sumset extractor at threshold \(2^{k(n)}\) and error \(35/72\), with \(k(n)\le n\) eventually.
- Algebraic.Cutwidth.Extractor.sourceReductionCandidateCount_isLittleO
- Algebraic.Cutwidth.Extractor.eventually_sourceReductionCandidateCount_le
- Algebraic.Cutwidth.Extractor.sourceReductionEntropy_isLittleO
- Algebraic.Cutwidth.Extractor.eventually_sourceReductionEntropy_le
- Algebraic.Cutwidth.Extractor.eventually_sourceReduction_guards
- Algebraic.Cutwidth.Extractor.eventually_sourceReductionExtractor_flat
Assume \(\mathrm{OrderingBound}(A,\eta ,C)\) with \(A+\eta \ge 0\). Every \(N\)-superconcentrator with \(N{\gt}0\) and \(M\) edges satisfies \(N\le (A+\eta )\max \{ M-2N,0\} +3\log _2(2M)+C\), and a connected one with \(V\) vertices satisfies \(N\le (A+\eta )\max \{ M-V,0\} +3\log _2(2M)+C\). Hence if \(A{\gt}0\) and every \(\eta {\gt}0\) admits such a \(C\), then for every \(\varepsilon {\gt}0\) and all large \(N\) every \(N\)-superconcentrator has at least \((2+1/A-\varepsilon )N\) edges. With the edge-score coefficient \(A=2p\), \(p=\tfrac {3}{2\pi }\arccos \tfrac {1+2\sqrt2}{4}\), this is \(\bigl(2+\pi /(3\arccos \tfrac {1+2\sqrt2}{4})-\varepsilon \bigr)N\approx (5.5625-\varepsilon )N\) edges, and at least \((50/9-\varepsilon )N\) since \(2p\le 9/32\). The coefficient \(A=1/3\) of the Fomin–Høie bound gives \((5-\varepsilon )N\), the bound of Lev and Valiant (Size bounds for superconcentrators, Theoretical Computer Science, 1983).
- Algebraic.Cutwidth.Multigraph.Superconcentrator.le_of_orderingBound
- Algebraic.Cutwidth.Multigraph.Superconcentrator.le_of_orderingBound_of_connected
- Algebraic.Cutwidth.Multigraph.Superconcentrator.eventually_le_card_edges_of_orderingBound
- Algebraic.Cutwidth.Multigraph.Superconcentrator.eventually_le_card_edges
- Algebraic.Cutwidth.Multigraph.Superconcentrator.eventually_fifty_div_nine_sub_mul_le_card_edges
- Algebraic.Cutwidth.Multigraph.Superconcentrator.eventually_five_sub_mul_le_card_edges
For a normalized side of a cubic graph, a boundary suppression exists. Its red and black degrees sum to three at each interior vertex. Internal red edges count shared boundary vertices, and the black cut of \(X\) has size \(|\partial X\setminus \partial C|\) in the original graph. Consequently a positive set of \(k\) vertices gives a \(1\)-helpful move of at most \(4k\) vertices. The preceding normalization theorem supplies the required boundary hypotheses unless a uniformly small helpful set already exists.
- Algebraic.Cutwidth.Bisection.exists_boundarySuppression
- Algebraic.Cutwidth.Bisection.boundaryInterior_cut_card
- Algebraic.Cutwidth.Bisection.BoundarySuppression.red_degree
- Algebraic.Cutwidth.Bisection.BoundarySuppression.degree_sum
- Algebraic.Cutwidth.Bisection.BoundarySuppression.internalEdges_card
- Algebraic.Cutwidth.Bisection.BoundarySuppression.exists_helpful_set_of_positive
If no helpful subset of \(S\) has at most eleven vertices, every boundary vertex has exactly one neighbor outside \(S\) and at most one neighbor within \(C\). Suppose an interior vertex \(v\) is adjacent to \(c\in C\), and \(c\) has either a boundary neighbor or a \(D_3\) neighbor distinct from \(v\). Then \(v\) has another neighbor \(p\in S\setminus C\) with at most one boundary neighbor. These are the local prerequisites for Monien–Preis’s edge switches. Both phases and their combined reverse bounds are formalized below.
For nonnegative coefficients \(w_i\), retaining a component tag gives
Forgetting the tag gives the corresponding upper bound. Thus the distance between two uniform-seed families equals the average of their conditional distances. The component weights need not be normalized. A deterministic map that preserves a tag acts separately on its components.
Let a program have polynomial gates with coefficients in a commutative ring \(K\), let \(L\) be a field that is a \(K\)-algebra, let \(a\in L^n\), and let \(S\) be a split of the wires with complement \(T\), forward signals \(A\), backward signals \(B\), and inputs \(X_S\) and \(X_T\) on the two sides. There are subspaces \(V\) of vectors supported on \(X_S\) and \(W\) of vectors supported on \(X_T\), with \(\dim V+\dim W\ge n-|A|-|B|\), in fact \(|X_S|\le \dim V+|A|\) and \(|X_T|\le \dim W+|B|\) separately, such that
\(\nabla f_t(a)\cdot v=0\) for every \(v\in V\) and every wire \(t\) of \(T\);
\(\nabla f_s(a)\cdot u=0\) for every \(u\in W\) and every wire \(s\) of \(S\);
\(v^{\mathsf T}\, \nabla ^2 f_w(a)\, u=0\) for all \(v\in V\), \(u\in W\), and every wire \(w\).
In the setting of Theorem 895, let \(O_S\) and \(O_T\) be the outputs carried in \(S\) and in \(T\), and \(J\) the Jacobian of the outputs at \(a\). Then
and in fact \(\operatorname {rank}J[O_T,X_S]\le |A|\) and \(\operatorname {rank}J[O_S,X_T]\le |B|\) separately. For all coefficients \(\mu _o\in L\) the Hessian \(H=\sum _o\mu _o\nabla ^2f_o(a)\) of the combination \(\sum _o\mu _of_o\) satisfies \(\operatorname {rank}H[X_S,X_T]\le |A|+|B|\), and more strongly
All of these hold over every field, with the point and the coefficients in any field extension, for gate polynomials of any degree, arity, and coefficients.
The rank of a Hessian block as a bound on the information two parties must exchange to evaluate a function of their joint inputs is due to Abelson (Lower bounds on information transfer in distributed computations, J. ACM 27, 1980); here it is applied at every cut of a circuit.
- Algebraic.Cutwidth.MultiOutput.Taylor.blockRank_jacobian_add_blockRank_le_of_trace
- Algebraic.Cutwidth.MultiOutput.Taylor.blockRank_jacobian_add_blockRank_le
- Algebraic.Cutwidth.MultiOutput.Taylor.blockRank_hessian_le_of_trace
- Algebraic.Cutwidth.MultiOutput.Taylor.blockRank_hessian_le
- Algebraic.Cutwidth.MultiOutput.Taylor.blockRank_jacobian_le_forward
- Algebraic.Cutwidth.MultiOutput.Taylor.blockRank_jacobian_le_forward_of_trace
- Algebraic.Cutwidth.MultiOutput.Taylor.blockRank_jacobian_le_backward
- Algebraic.Cutwidth.MultiOutput.Taylor.blockRank_jacobian_le_backward_of_trace
- Algebraic.Cutwidth.MultiOutput.Taylor.rank_fromBlocks_hessian_jacobian_le
- Algebraic.Cutwidth.MultiOutput.Taylor.rank_fromBlocks_hessian_jacobian_le_of_trace
Suppose eligible vertices have degree at most two and there is no positive set of size at most \(8M+1\). Shading a subfamily \(J\) assigns exactly \(2|J|\) attachment marks, all to original components of size at most \(M\). Any collection \(\mathcal D\) of components with at least two marks satisfies \(|\mathcal D|\le |J|\).
Suppose also that eligible vertices lie in original components larger than \(M\), and deleting distinct designated boundary edges of \(J\) preserves reachability. Then \(|J|\) satisfies the reserved cycle budget. Consequently, for any collection \(\mathcal C\) of small cyclic components,
This counts the initial shading step. Preservation through later color swaps and leaf reorganization is a separate obligation.
- Algebraic.Cutwidth.Bisection.RedBlack.PathSystem.attachmentMarks_apply
- Algebraic.Cutwidth.Bisection.RedBlack.PathSystem.attachmentMarks_eq_zero_of_large
- Algebraic.Cutwidth.Bisection.RedBlack.PathSystem.degree_attachmentMarks
- Algebraic.Cutwidth.Bisection.RedBlack.PathSystem.card_doublyMarked_le
- Algebraic.Cutwidth.Bisection.RedBlack.PathSystem.smallCycleBudget
- Algebraic.Cutwidth.Bisection.RedBlack.PathSystem.smallCycleBudget_of_doublyMarked
A connected degree-two region \(P\) with \(m\ge 3\) distinct red attachments to closed sets of size at most \(M\), and \(|P|\le Mm\), gives a positive set of at most \(8M+1\) vertices. No walk or attachment ordering is assumed. Consequently, if no positive set of that size exists, every canonical thin region has one or two red attachments, at most \(2M\) vertices, and a nonempty black boundary. With ambient degree exactly two, that boundary has exactly two edges.
Let a circuit over a finite field \(F\), over any signature with fan-in at most two (so with arbitrary functions \(F\times F\to F\), unary functions, and constants as gates), compute the linear map of a totally regular \(N\times N\) matrix with \(s\) gates. Under \(\mathrm{OrderingBound}(A,\eta ,C)\) with \(A+\eta \ge 0\),
Consequently, if the ordering hypothesis holds with coefficient \(A{\gt}0\) at every positive slack, then for every \(\varepsilon {\gt}0\) and all large \(N\), independently of the field and the signature, every such circuit has more than \((1+1/A-\varepsilon )N\) gates. With the Gaussian pathwidth coefficient \(p=\tfrac {3}{2\pi }\arccos \tfrac {1+2\sqrt2}{4}\) of Theorem 783 this is \((1+1/(2p)-\varepsilon )N\approx (4.5625-\varepsilon )N\), and as \(2p\le 9/32\) it is more than \((41/9-\varepsilon )N\); in particular for the explicit Cauchy family over \(\mathbb {Z}/q\) with \(q\ge 2N\) prime.
The graph of a circuit computing a totally regular map is a superconcentrator whatever its gate functions (Valiant), so the same bound also follows from Corollary 787. The proof here goes through the rank-cut bound instead, which applies to linear maps that are not totally regular as well.
- Algebraic.Cutwidth.MultiOutput.sub_one_le_of_totallyRegular
- Algebraic.Cutwidth.MultiOutput.eventually_lt_size_of_totallyRegular_of_orderingBound
- Algebraic.Cutwidth.MultiOutput.eventually_lt_size_of_totallyRegular
- Algebraic.Cutwidth.MultiOutput.eventually_lt_size_of_totallyRegular_fortyOne_div_nine
- Algebraic.Cutwidth.MultiOutput.eventually_lt_size_cauchyZMod
Row submatrices of totally regular matrices are totally regular. Let \(M\) be an \(m\times N\) totally regular matrix over a finite field with \(N\le m\), and let a circuit over any signature with fan-in at most two compute \(x\mapsto Mx\) with \(s\) gates. Under \(\mathrm{OrderingBound}(A,\eta ,C)\) with \(A+\eta \ge 0\),
If the ordering hypothesis holds with coefficient \(A{\gt}0\) at every positive slack, then for every \(\varepsilon {\gt}0\) and all large \(N\), uniformly in \(m\ge N\), the field and the signature, every such circuit has more than \(m+(1/A-\varepsilon )N\) gates; with \(A=2p\) this is \(m+(1/(2p)-\varepsilon )N\), and more than \(m+(32/9-\varepsilon )N\).
- Algebraic.Cutwidth.MultiOutput.TotallyRegular.submatrix_rows
- Algebraic.Cutwidth.MultiOutput.sub_one_le_of_totallyRegular_rect
- Algebraic.Cutwidth.MultiOutput.eventually_lt_size_of_totallyRegular_rect_of_orderingBound
- Algebraic.Cutwidth.MultiOutput.eventually_lt_size_of_totallyRegular_rect
- Algebraic.Cutwidth.MultiOutput.eventually_lt_size_of_totallyRegular_rect_thirtyTwo_div_nine
Balanced output projections and transcript-dependent output bijections preserve or contract distance from the actual retained marginal times uniform. In an original factored law, observing an independent opposite side leaves the averaged discrepancy exactly unchanged. The equality requires nonnegative transcript weights and normalized opposite kernels; it includes zero-mass observations.
Suppose the original law factors into nonnegative left and right kernels given \(Z\), and \(\mu (z)\) bounds each original joint mass of the left source with transcript \(z\). A left message in \(U\) admits the envelope \(\mu '(z,u)=\mu (z)\), of total \(|U|\sum _z\mu (z)\). A right message admits \(\mu '(z,v)=\mu (z)\Pr [V=v\mid z]\), whose total is unchanged when the right kernels have mass one. A left message followed by an adaptive right message pays only the factor \(|U|\). The updated source masses are exactly the original joint message-and-source masses; no positive-probability or per-row entropy premise is required.
- Algebraic.Cutwidth.Extractor.observedTranscriptWeight_nonnegative
- Algebraic.Cutwidth.Extractor.observedTranscript_left_source_eq
- Algebraic.Cutwidth.Extractor.observedTranscript_left_envelope
- Algebraic.Cutwidth.Extractor.observedTranscript_left_envelope_sum
- Algebraic.Cutwidth.Extractor.observedTranscript_right_envelope
- Algebraic.Cutwidth.Extractor.observedTranscript_right_envelope_sum
- Algebraic.Cutwidth.Extractor.observedTranscript_left_right_envelope
- Algebraic.Cutwidth.Extractor.observedTranscript_left_right_envelope_sum
A tree with at most \(2^k\) vertices has a path decomposition with bags of size at most \(k+1\). In particular, every tree or forest on \(n\) vertices has bags of size at most \(\lceil \log _2 n\rceil +1\), with the logarithmic term defined to be zero when \(n=0\). This elementary bound suffices for the tree component in Fomin and Høie’s endpoint induction.
Let each of two blocks have \(2^m\) possible values, and let \(p\) have point-mass cap \(2^{-k}\). If \(t\le m\) and \(m+t+e\le k\), there is a two-block source with threshold \(2^t\), the same first marginal, and distance at most \(2^{-e}\) from \(p\). More generally, if \(0{\lt}K\le |\beta |\) and \(K|\beta |\mu \le 1\), the repair has first-marginal and conditional threshold \(K\), and distance at most \(|\alpha |K\mu \). A sharper bound is the total mass of the repaired rows. The explicit repair also preserves every original joint point-mass cap. This is the finite two-block step in Chattopadhyay–Goodman–Liao, Lemma 5.3, attributed there to Goldreich–Wigderson (1997).
Let \(w,l_z,r_z\) be probability laws and \(E\) a threshold-\(K\) strong extractor of nonnegative error \(\varepsilon \), with nonempty seed and output alphabets. Suppose a nonnegative envelope \(\mu (z,u)\) bounds \(\Pr [Z=z,U=u,X=x]\) for every \(x\), and the law of \((Z,V,Y)\) is within \(\delta \) of its actual \((Z,V)\) marginal with an independent uniform seed. The actual retained extraction law has distance at most
from its actual retained marginal with an independent uniform output, where \(\mathcal L\) is the extra leak’s alphabet. A bound \(K|\mathcal L|\sum \mu \le \rho \) gives error \(\varepsilon +\delta +\rho \).
- Algebraic.Cutwidth.Extractor.twoSidedExtractionWeight_eq_map
- Algebraic.Cutwidth.Extractor.twoSidedExtractionWeight_probability
- Algebraic.Cutwidth.Extractor.WeightedStrongSeededExtractor.two_sided_leakage_dist_le
- Algebraic.Cutwidth.Extractor.WeightedStrongSeededExtractor.two_sided_leakage_dist_le_of_budget
With mass complexity as in Theorem 393, let \(D : \mathbb {N} \to \mathbb {N}\) satisfy \(D(n) = o(n / \log n)\) in the discrete form: for every natural number \(M \ge 1\), eventually \(M \cdot D(n) \cdot \lfloor \log _2 n \rfloor \le n\). Then for every natural number \(P \ge 1\), for all large \(n\), every \(f\) on \(n\) inputs, and every \(1 \le t \le 2^{D(n)}\), the mass complexity of \(f\) at \(t\) copies is at most \((1 + 1/P)\, 2^n / n\), stated without division as \(P\, n \cdot \mathrm{mass}(f, t) \le (P + 1)\, 2^n\).
Both evaluators belong to \(\mathrm{FP}\) and compute their stated Boolean families at every length, including zero. The candidate cap is eventually inactive, so the unpadded computed family eventually equals the actual finite extractor with error \(35/72\) and sublinear source entropy. The padded family is exactly balanced at every positive length, and its language belongs to \(P\).
- Algebraic.Cutwidth.Extractor.sourceReductionRuntime_eq
- Algebraic.Cutwidth.Extractor.sourceReductionRuntime_mem_FP
- Algebraic.Cutwidth.Extractor.sourceReductionFamilyEval_mem_FP
- Algebraic.Cutwidth.Extractor.sourceReductionFamily_eventually_eq
- Algebraic.Cutwidth.Extractor.sourceReductionFamily_eventually_flat
- Algebraic.Cutwidth.Extractor.sourceReductionFamilyEntropy_isLittleO
- Algebraic.Cutwidth.Extractor.sourceReductionHardFamily_succ
- Algebraic.Cutwidth.Extractor.sourceReductionHardFamily_card_accepting
- Algebraic.Cutwidth.Extractor.sourceReductionHardEval_ofFn
- Algebraic.Cutwidth.Extractor.sourceReductionHardEval_mem_FP
- Algebraic.Cutwidth.Extractor.mem_sourceReductionHardLanguage_ofFn
- Algebraic.Cutwidth.Extractor.sourceReductionHardLanguage_mem_P
Suppose the honest right state is \(\rho \)-close to uniform given \(Z\), and the initial-seed map sends uniform states to uniform seeds. For either refresh selection, the actual retained law has error at most
Only the original left and right source envelopes are assumed. The law is normalized and factors through the exact common transcript; dropping the left state gives the refreshed seed law over that transcript. This supplies the single-refresh step before advice first differs in Chattopadhyay–Goyal–Li Algorithm 2 and Claim 6.11.
- Algebraic.Cutwidth.Extractor.lookAheadSelectedRefreshWeight_probability
- Algebraic.Cutwidth.Extractor.lookAheadSelectedRefreshWeight_eq_factored
- Algebraic.Cutwidth.Extractor.lookAheadSelectedRefreshWeight_retainedSeed
- Algebraic.Cutwidth.Extractor.WeightedStrongSeededExtractor.lookAhead_uniformRefresh_dist_le
Over a field of characteristic zero, any expression of \(x_1 x_2 \cdots x_{2n}\) as a polynomial identity \(\sum _{i \in I} a_i \ell _i^{2n}\), with scalars \(a_i\) and linear forms \(\ell _i\) without constant term, has \(\lvert I \rvert \ge \binom {2n}{n}\). This bounds the number of terms of this restricted representation, not arithmetic circuit size.
Statistical distance satisfies the triangle inequality and contracts under deterministic maps. Probability weights have distance at most one. For weights of equal total mass, distance at most \(\varepsilon \) is equivalent to discrepancy at most \(\varepsilon \) on every finite test. Two deterministic observations of one probability source have distance at most their disagreement probability. A normalized source capped at the full ambient cardinality is exactly uniform.
Suppose \(K{\gt}0\) and every \(K\)-element input support has seedwise injective output witnesses within retained-seed test error \(\varepsilon \). Then the same map is a weighted strong condenser at input and output threshold \(K\), with the same error. A weighted strong extractor is a weighted strong condenser whose output threshold is the full output cardinality. Seeds are nonempty; the latter statement also assumes a nonempty output type.
Assign natural weights dominating core-piece sizes. If the core graph is a forest, every leaf and isolated vertex has weight at least \(M\), and total weight is less than \(M\) times the number of core vertices, there is a positive witness of size at most \(2M(1+dL)\) in the original graph. For a nontrivial tree, it suffices that each leaf has weight at least \(M\) and total weight is at most \(M(n-1)\).
Any two finite probability weights admit a coupling with disagreement probability equal to their statistical distance. For a joint law \(p(a,b)\) and a proposed first marginal \(q(a)\), there is a joint law \(p'\) with first marginal \(q\), unchanged second marginal, and \(d(p,p')=d(p_A,q)\). The lifted law \(\rho ((a,b),a')\) also satisfies
including rows with zero mass. This records the conditional independence used in the finite coupling ingredient of Chattopadhyay–Goodman–Liao, Lemma 4.19, which credits Li’s 2015 Lemma 3.20. The full extension over an external conditioning variable is a further obligation.
For every positive rate parameter \(u\), on arbitrary distributions of \(n\)-bit inputs the scheduled condenser preserves point-mass cap \(2^{-k}\) in its seedwise ideal output, with joint error \(2^{-e}\). The one-shot program strongly extracts \(\ell \) bits with error \(2^{-e}\) from every source capped by \(2^{-(\ell +2e)}\). The statements also permit any injective encoding into words of length \(n\). These are the same actual programs with their previously proved uniform polynomial-time evaluators.
For positive \(K\), the flat and weighted strong-extractor contracts are equivalent, with identical error and seed parameters.
Replacing the seed and output alphabets by finite equivalent types preserves weighted strong extraction, with the same input threshold and error. The seed equivalence reindexes the uniform seed, and the output equivalence reindexes the ideal uniform output law.
Let a tree on \(n\ge 2\) vertices have nonnegative integer weights of total \(W\). Suppose each leaf \(l\) satisfies \(W\le (n-1)w(l)\). Then an edge \(uv\) satisfies \((n-1)(w(u)+w(v))\le 2W\). This is Monien–Preis’s weighted-tree lemma with denominators cleared.
For each output of an unbounded-fan-in AND/OR circuit with free input negations, depth at most \(d\) gives a general KW protocol with at most \(d\) messages from an alphabet of size \(\mathrm{totalFanIn}\). This is the circuit-to-protocol direction of the Karchmer–Wigderson correspondence in Korten’s Lemma 1. The wire count includes every gate-input occurrence, including output gates and repeated wires. Alternatively, the messages may be drawn from an alphabet of size \(2(n + g)\), where \(n\) is the number of inputs and \(g\) the number of internal gates: each message names a wire together with its negation flag.
For every \(\varepsilon {\gt}0\) and all sufficiently large \(p\), every assignment of Boolean labels to any sample \(S\subseteq \{ 0,1\} ^{2p}\) of size at most \(2^p\) is computed on \(S\) by a circuit of size at most
Thus \(\mathcal C_{2p,s_p}\) shatters every such \(S\), and its VC dimension is at least \(2^p\). With \(D=2^p\), this budget is \((1+o(1))D/\log _2 D\).
A polynomially bounded propositional proof system exists if and only if \(\mathsf{NP} = \mathsf{coNP}\).
Assume \(A{\gt}0\) and \(\mathrm{LB}_3(A)\), and let \(Q_n\) be \(n\times n\) matrices over \(\mathbb {F}_2\) such that for all large \(n\) every set of \(\lfloor n/2\rfloor \) coordinates has cut rank at least \(\lfloor n/2\rfloor -\tau n\). Then for every \(c\ge 1/2\) and every \(\gamma {\lt}(c^*-c)/(2L)-\tau /2\), where \(c^*=1+1/(2A)\) and \(L=1+1/A\), for all large \(n\) every circuit of fan-in two over any basis with at most \(cn\) gates of positive arity has correlation at most \(2^{-\gamma n}\) with \(f_{Q_n}\). If the deficiency is \(o(n)\) instead of \(\tau n\), every \(\gamma {\lt}(c^*-c)/(2L)\) works; for the Gaussian coefficient, \(c^*=1+\pi /(6\arccos ((1+2\sqrt2)/4))\) and \(L=1+\pi /(3\arccos ((1+2\sqrt2)/4))\). (For \(c{\lt}1/2\) apply the bound with \(c=1/2\).)
Fix, for every \(m\), a submatrix-robust \(m\times m\) matrix \(R_m\) with deficiency \(2\lfloor \sqrt m\rfloor +1\), and let \(h_n=x^{\mathsf T}R_{\lfloor n/2\rfloor }y\). Every set of \(\lfloor n/2\rfloor \) coordinates has cut rank at least \(\lfloor n/2\rfloor -O(\sqrt n)\) in \(h_n\). Hence for every \(c\ge 1/2\) and every \(\gamma {\lt}(c^*-c)/(2L)\), for all large \(n\) every circuit of fan-in two over any basis with at most \(cn\) gates of positive arity has correlation at most \(2^{-\gamma n}\) with \(h_n\). In particular some fixed \(\gamma {\gt}0\) works for all circuits with at most \(2.77n\) gates of positive arity, beyond the previous \(2.5n\) and \(2.6n\). In Lean, \(R_m\) is chosen by Classical.choose. Taking instead the lexicographically first robust matrix makes the family computable in \(\mathsf{E}^{\mathsf{NP}}\): whether some robust matrix extends a given prefix is one \(\mathsf{NP}\) query of length \(2^{O(n)}\) (guess the matrix and check its fewer than \(4^{n/2}\) pairs of row and column sets), so the matrix is found bit by bit in time \(2^{O(n)}\). This uniformity is a remark about the construction and is not formalized.
Let every set of \(\lfloor n/2\rfloor \) coordinates have cut rank at least \(\lfloor n/2\rfloor -e\), and let \(C\) be a single-output circuit over any basis on \(\{ 0,1\} \). If \(C\) leaves at least \(k\le \lfloor n/2\rfloor \) inputs unread, then \(\mathrm{corr}(f_Q,C)^2\le 2^{1+e-k}\). If \(C\) reads at least \(\lfloor n/2\rfloor \) inputs and its compiled constraint network has a layout all of whose frontiers have at most \(w\) edges, then \(\mathrm{corr}(f_Q,C)^2\le 2^{1+w+e-\lfloor n/2\rfloor }\).
Let \(|M|\le 2^m\). Suppose, for \(0\le i{\lt}d\),
and \(p_i\le 1/4\) for \(0\le i\le d\). No protocol with at most \(d\) messages solves a \((p_0,k_0)\)-density rectangle. In particular, for \(k\ge 1\) and \(m+1\le k\), the condition \((32768\cdot 194^d k)^d p\le 1/4\) suffices for a \((p,k)\)-rectangle.
For \(k\ge 1\), \(\Sigma _3^k(f)\) is attained, and \(\Pi _3^k(f)=\Sigma _3^k(\neg f)\). For every \(k\ge 1\) and \(\varepsilon {\gt}0\) there is \(C\ge 0\) such that every \(f\) whose accepted inputs contain no subcube of dimension \(D\) has \(|f^{-1}(1)|\le \Sigma _3^k(f)\, 2^{(1-1/k+\varepsilon )N+CD}\). Hence, for a family \(f_n\) whose accepted sets eventually contain no subcube of dimension \(D_n=o(n)\) and have \(n\log 2-\log |f_n^{-1}(1)|=o(n)\), for every \(k\ge 1\) and \(\varepsilon {\gt}0\), eventually \(\Sigma _3^k(f_n)\ge 2^{(1/k-\varepsilon )n}\); under the same hypotheses on the rejected sets, eventually \(\Pi _3^k(f_n)\ge 2^{(1/k-\varepsilon )n}\). A \(K\)-rectangle-free set contains no subcube of dimension \(2m\) when \(K\le 2^m\), so the \(\Sigma _3^k\) bound holds for every family that is eventually \(K_n\)-rectangle-free with \(\log K_n=o(n)\) and has density deficit \(o(n)\).
- Complexity.exists_isSigmaThree
- Complexity.exists_isSigmaThree_length_eq_sigmaThreeSize
- Complexity.sigmaThreeSize_le_length
- Complexity.isPiThree_iff_isSigmaThree_map_neg
- Complexity.piThreeSize_eq_sigmaThreeSize_not
- Complexity.IsSigmaThree.card_accepting_le
- Complexity.card_accepting_le_sigmaThreeSize
- Complexity.eventually_two_rpow_le_sigmaThreeSize
- Complexity.eventually_two_rpow_le_piThreeSize
- Complexity.not_containsSubcube_of_rectangleFree
- Complexity.eventually_two_rpow_le_sigmaThreeSize_of_rectangleFree
Over any basis, the number of essential inputs of the function \(\{ 0,1\} ^N \to \{ 0,1\} ^M\) computed by a circuit is at most the circuit’s total fan-in, the number of gate-input occurrences with output gates included. For circuits over the AND/OR basis of fan-in at most \(k\), it is at most \(k\) times the size \(G + M\).
A subset \(S\) of an additive monoid is \(K\)-sumset-free when it contains no sumset \(A+B\) with \(|A|,|B|\ge K\); the fibres of a sumset disperser are sumset-free. An additive sweep describes each input as the sum of a past and a future part, built by adding emitted labels, so that past and future parts of inputs with the same message can be recombined within \(S\); labels may overlap and paths need not be unique. If \(S\) is \(K\)-sumset-free with \(K\ge 2\) and \(|S|\ge K\), then \(|S|\le (K-1)^2\) times the number of transitions, and any code determining the transitions may replace them.
For a coherent sweep, a weight bounded by \(a\) whose sum over every rectangle with sides at least \(K_L\) and \(K_R\) is paid by a nonnegative budget satisfies \(|\sum _S w|\le \sum _S\mathrm{cost}+a(K_L-1)(K_R-1)T\), where \(T\) counts the transitions. Consequently, if \(f_n\) has bias at most \(2b_n\) on every coordinate rectangle with both sides at least \(K_n\), with \(\log K_n=o(n)\), then under \(\mathrm{LB}_3(A)\) every Boolean circuit of fan-in two over any basis with at most \((1+1/A-\varepsilon )n\) gates of positive arity agrees with \(f_n\) on at most a \(1/2+b_n+2^{-\gamma n}\) fraction of inputs, for any \(\gamma {\lt}\min (1,A\varepsilon )\); the same bound holds for the absolute correlation. For the Gaussian coefficient and for flat-source sumset extractors with error \(b_n\), some \(\gamma {\gt}0\) works. Extractor error at most \(Cn^{-a}\) gives agreement at most \(1/2+(C+1)n^{-a}\). Sumset bias is preserved by every injective affine change of the input coordinates.
- Complexity.Frontier.Sweep.abs_sumOn_le_of_budget
- Complexity.Frontier.RectangleBias
- Complexity.Frontier.agreement
- Complexity.Frontier.averageCase
- Complexity.Frontier.averageCase_abs
- Complexity.Frontier.averageCase_gaussian
- Complexity.Frontier.FlatSumsetBias
- Complexity.Frontier.FlatSumsetBias.rectangleBias
- Complexity.Frontier.averageCase_sumset
- Complexity.Frontier.averageCase_sumset_polynomial
- Complexity.Frontier.FlatSumsetBias.affine_pullback
The distinct signals crossing a cut of the compiled network are exactly the cut of its signal hypergraph, and their number is a symmetric submodular function of the cut; counting may charge distinct signals instead of edges. For a linear system \(Lx+Ry=0\) over a finite field \(F\), the feasible syndromes number exactly \(|F|^{\operatorname {rank}L+\operatorname {rank}R-\operatorname {rank}[L\, R]}\). Any finite code that determines the transitions on \(S\) bounds the transition count, in both the exact and the weighted counting lemmas. For subspaces \(P\le U\) and \(Q\le V\) of linear observations, encoding the exposed observations together with the shared information \(U\cap V\) costs \(\dim (U+Q)+\dim (V+P)-\dim (U+V)\), not the sum of the separate ranks.
- Complexity.Frontier.Compiler.signalCut_eq_hypergraph_cut
- Complexity.Frontier.Compiler.signalCut_submodular
- Complexity.Frontier.Compiler.ncard_accepted_le_signals
- Complexity.Frontier.LinearBoundary.ncard_syndromes
- Complexity.Frontier.LinearBoundary.ncard_syndromes_le_states
- Complexity.Frontier.Sweep.transitionCount_le_codes
- Complexity.Frontier.Sweep.abs_sumOn_le_codes
- Complexity.Frontier.Sweep.transitionCount_le_linear_codes
- Complexity.Frontier.LinearBoundary.joint_eq
- Complexity.Frontier.LinearBoundary.finrank_joint
In the weighted counting lemma each transition may be charged the smaller of its frontier allowance and the absolute weight of the inputs using it. For a predictor \(g\) with coherent nested sweeps of its two output classes and a target of rectangle bias \(2b\), agreement is at most \(1/2+b+\tfrac 12\sum \min (\lambda ,p)\) over the unconditional transition masses \(p\), with \(\lambda =(K-1)^2/|U|^n\), and at most \(1/2+b+\tfrac 12\lambda ^{1-\theta }\sum p^\theta \) for every \(0\le \theta \le 1\). A potential satisfying local square-root inequalities along an encoding bounds the sum of square roots of codeword masses by its value at the root.
- Complexity.Frontier.Sweep.cappedCapacity
- Complexity.Frontier.Sweep.rootCapacity
- Complexity.Frontier.Sweep.abs_sumOn_le_capped
- Complexity.Frontier.Sweep.cappedCapacity_le_root
- Complexity.Frontier.Sweep.momentCapacity
- Complexity.Frontier.Sweep.cappedCapacity_le_moment
- Complexity.Frontier.agreement_le_capped_sweeps
- Complexity.Frontier.agreement_le_root_sweeps
- Complexity.Frontier.agreement_le_moment_sweeps
- Complexity.Frontier.Communication.rootPotential_le
A straight-line program of fan-in at most \(r\) over any basis on \(U\), with any family of outputs and accepting sets, compiles into an exact network of maximum degree \(r+1\): signals, one junction per consumer, and output vertices. It accepts exactly the inputs whose outputs lie in their accepting sets, it has at most \(2rs+3|O|\) vertices, and when it is connected its cycle rank plus the number of inputs it reads is at most \((r-1)s+1\), where \(s\) counts the reachable gates of positive arity.
Let a smooth decomposable DAG have unions on a common scope, products on disjoint scopes, and leaves with at most one assignment, with no determinism or unique certificate assumed. If its accepted set is \(K\)-rectangle-free with at least \(K\) elements, \(K\ge 2\), then it has at most \((K-1)^2e+(K-1)^3p\) elements, where \(e\) counts union edges and \(p\) product nodes.
For every fixed \(d\ge 2\), loopless multigraphs of maximum degree \(d\) have layouts of width at most \(\gamma _d|E|+o(|V|)\), where \(\gamma _d=\arccos (2\sqrt{d-1}/d)/\pi \). Consequently \(\mathrm{LB}_d(A_d)\) holds for every \(d\ge 3\), with \(A_d=\tfrac {3d}{2d-3}\gamma _d{\lt}3/4\), and \(A_4=2/5\).
- Complexity.Frontier.Gaussian.vertexLayout_bound
- Complexity.Frontier.Gaussian.multigraph_vertexLayout_bound
- Complexity.Frontier.Multigraph.Compression.Terminal.multi_edge_bound
- Complexity.Frontier.Gaussian.degreeCoefficient
- Complexity.Frontier.Gaussian.degreeCoefficient_lt_three_quarters
- Complexity.Frontier.layoutBound_degree
- Complexity.Frontier.layoutBound_two_fifths
The accepted sets of the polynomial-time family \(\mathrm{sourceReductionHardFamily}\) of Theorem 703 satisfy the hypotheses of Theorem 908. Hence, for every \(\varepsilon {\gt}0\) and all large \(n\): every circuit of fan-in two deciding it, over any basis on \(\{ 0,1\} \) and with any accepting set, has more than \(\bigl(1+\pi /(3\arccos \tfrac {1+2\sqrt2}{4})-\varepsilon \bigr)n\) gates of positive arity; for every fan-in \(r\ge 2\), \((r-1)s{\gt}(1+1/A_{r+1}-\varepsilon )n\), in particular \((7/4-\varepsilon )n\) gates at fan-in three; the Gaussian bound holds for verifier circuits over any basis, uniformly in the number of witness inputs; and it holds for circuits with special gates of unbounded fan-in aggregating in a finite commutative monoid with \(o(n)\) bits of total state, counting only the ordinary gates. Moreover the unpadded extractor, with error \(35/72\), agrees with every circuit of fan-in two over any basis with at most \(\bigl(1+\pi /(3\arccos \tfrac {1+2\sqrt2}{4})-\varepsilon \bigr)n\) gates of positive arity on at most a \(71/72+2^{-\gamma n}\) fraction of inputs, for some \(\gamma {\gt}0\).
- Complexity.Frontier.rectangleFree_setOf
- Complexity.Frontier.sourceReductionHardFamily_frontierHypotheses
- Complexity.Frontier.sourceReductionHardFamily_lt_innerSize_gaussian
- Complexity.Frontier.sourceReductionHardFamily_lt_innerSize_all_fanIn
- Complexity.Frontier.sourceReductionHardFamily_lt_innerSize_degree
- Complexity.Frontier.sourceReductionHardFamily_lt_innerSize_fanInThree
- Complexity.Frontier.sourceReductionHardFamily_lt_innerSize_nondeterministic
- Complexity.Frontier.sourceReductionHardFamily_lt_innerGates_aggregate
- Complexity.Frontier.flatSumsetBias_of_flatSumsetExtractor
- Complexity.Frontier.sourceReductionFamily_agreement_le
\(\mathrm{LB}_3(2p)\) holds with \(p=\tfrac {3}{2\pi }\arccos \tfrac {1+2\sqrt2}{4}\), hence \(\mathrm{LB}_3(1/3)\); \(p\) is the coefficient of Theorem 780. The ordering hypothesis of the cutwidth development at every positive slack also gives \(\mathrm{LB}_3\) with the same coefficient. In every maximum degree \(d\), every connected multigraph has a layout of width at most \(\beta _1+d\lfloor \log _2|V|\rfloor \), so \(\mathrm{LB}_d(1)\) holds.
- Complexity.Frontier.LayoutBound.of_orderingBound
- Complexity.Frontier.layoutBound_gaussian
- Complexity.Frontier.layoutBound_of_orderingBound_frontier
- Complexity.Frontier.gaussianCoefficient_eq_frontierCoefficient
- Complexity.Frontier.layoutBound_one_third
- Complexity.Frontier.Multigraph.Compression
- Complexity.Frontier.Multigraph.exists_layout_cycleRank
- Complexity.Frontier.layoutBound_one
Under the hypotheses of Theorem 908, let the special gates of a circuit, of any fan-in, have a ledger in a finite commutative monoid \(M\) with \(\log |M|\le \beta (n)=o(n)\): each wire contributes an element of \(M\) according to its value, and each special gate is read off the product. Then the ordinary gates of positive arity, of fan-in at most \(r\), satisfy \((r-1)s{\gt}(1+1/A-\varepsilon )n\). Gates aggregating in one monoid \(T\), such as AND, OR, parity, and counting modulo a fixed number, have a ledger in \(T^{\text{special}}\).
Under \(\mathrm{LB}_{r+1}(A)\), every circuit of fan-in at most \(r\) with linear capacity computing \(x\mapsto Mx\) for a totally regular \(N\times N\) matrix has \((r-1)s{\gt}(1+1/A-\varepsilon )N\), counting gates of positive arity. With the Gaussian coefficient: over finite fields for every basis of fan-in two; over infinite fields for every basis of polynomial operations, via a dual-number linearization that produces an affine circuit of the same size, inner size, and fan-in; for arithmetic circuits computing the Cauchy map over every field of characteristic zero; and for the Cauchy map over \(\mathbb {Z}/q\) for every prime \(q\ge 2N\), over any basis. Over finite fields, and over infinite fields with polynomial operations, every fixed fan-in \(r\) gives \((r-1)s{\gt}(1+1/A_{r+1}-\varepsilon )N\), and fan-in three gives \((7/4-\varepsilon )N\).
- Complexity.Frontier.TotallyRegular
- Complexity.Frontier.totallyRegular_cauchy
- Complexity.Frontier.exists_affine_circuit
- Complexity.Frontier.lowerBound_linear
- Complexity.Frontier.linear_finite_gaussian
- Complexity.Frontier.linear_polynomial_gaussian
- Complexity.Frontier.arith_cauchy_gaussian
- Complexity.Frontier.cauchyZMod_gaussian
- Complexity.Frontier.linear_finite_degree
- Complexity.Frontier.linear_polynomial_degree
- Complexity.Frontier.linear_finite_fanInThree
- Complexity.Frontier.linear_polynomial_fanInThree
Changing the colours of an independent set of vertices changes the size of a cut by the sum of the local gains, and strictly decreases it when one selected vertex improves. In a cubic multigraph, replacing the keys of an independent set by the median of their neighbours’ keys does not increase the number of edges crossing any threshold.
Let \(r\ge 2\), \(A{\gt}0\), and assume \(\mathrm{LB}_{r+1}(A)\). Let \(S_n\subseteq U^n\) be \(K_n\)-rectangle-free with \(\log K_n=o(n)\) and \(n\log |U|-\log |S_n|=o(n)\). Then for every \(\varepsilon {\gt}0\) and all large \(n\), every circuit of fan-in at most \(r\) deciding \(S_n\), over any basis on \(U\) and with any accepting set, has \(s\) gates of positive arity with \((r-1)s{\gt}(1+1/A-\varepsilon )n\).
For any map and any split of its inputs and outputs, the number of inputs is at most the number of used boundary messages times the largest fibres of the two complementary mixed observations; in a compiled circuit the messages are the distinct signals crossing a cut. A map \(F:U^N\to U^N\) is MDS when any \(N\) coordinates of its graph code \((x,F(x))\) determine \(x\). Under \(\mathrm{LB}_{r+1}(A)\), every circuit of fan-in at most \(r\) over any basis computing an MDS map over any finite alphabet satisfies \((r-1)s{\gt}(1+1/A-\varepsilon )N\), uniformly in the alphabet; hence the Gaussian coefficients at fan-in two and in every fixed degree. Totally regular linear maps are MDS, and the MDS property survives coordinatewise permutations of the alphabet.
- Complexity.Frontier.OutputSplicing.card_le
- Complexity.Frontier.Compiler.pow_le_cutSignals_mul_fibers
- Complexity.Frontier.IsMDS
- Complexity.Frontier.TotallyRegular.isMDS
- Complexity.Frontier.IsMDS.permute
- Complexity.Frontier.lowerBound_mds
- Complexity.Frontier.mds_gaussian
- Complexity.Frontier.mds_degree
Theorem 908 holds for circuits on \(n+k\) inputs, with arbitrary \(k\), that accept \(x\) exactly when some witness \(y\) makes the output accept, uniformly in \(k\); for fan-in two the Gaussian coefficient holds. Witness inputs are not counted in \(n\); every gate of positive arity is counted.
Restricting a coherent sweep with nested revealed sets to the inputs whose transitions all lie in chosen sets preserves splicing; the discarded inputs are paid by a union bound, and discarding probability mass \(\delta \) costs at most \(\delta /2\) in agreement. On a binary tree of regions, weighted peeling has residual factor \((K-1)^3\) per joint merge record. For a network with unique satisfying assignments that reads every input, a laminar decomposition gives such a tree, whose exponent at a node is the size of the union of its cut and its two children’s cuts plus the inputs read locally.
A function on \(U^n\), for a finite alphabet with an addition and zero, that takes both values on \(A+B\) whenever \(|A|,|B|\ge K\) has \(K\)-rectangle-free fibres. If such dispersers have \(\log K_n=o(n)\) and accept a fixed fraction \(\delta {\gt}0\) of \(U^n\), every circuit of fan-in two deciding them, over any basis, has more than \(\bigl(1+\pi /(3\arccos \tfrac {1+2\sqrt2}{4})-\varepsilon \bigr)n\) gates.
Under the hypotheses on \(S_n\) of Theorem 908, every circuit of fan-in two deciding \(S_n\), over any basis on \(U\), has more than \(\bigl(1+\pi /(3\arccos \tfrac {1+2\sqrt2}{4})-\varepsilon \bigr)n\approx (4.5625-\varepsilon )n\) gates of positive arity, in particular more than \((4-\varepsilon )n\). For every fixed fan-in \(r\ge 2\), \((r-1)s{\gt}(1+1/A_{r+1}-\varepsilon )n\) with \(A_d{\lt}3/4\), so circuits of fan-in three need more than \((7/4-\varepsilon )n\) gates; the spanning-tree bound gives the simpler \((r-1)s{\gt}(2-\varepsilon )n\).
For every \(d \ge 2\) there is \(\varepsilon _d {\gt} 0\) such that, for all sufficiently large \(N\), every unbounded-fan-in AND/OR circuit of depth \(d\) computing \(N\)-bit parity has size at least \(2^{\varepsilon _d N^{1/(d-1)}}\). Theorem 360 proves an explicit non-asymptotic form of this bound for the imported library’s \(\mathsf{AC}^0\) model; the statement here, for the circuits of this library, is not yet formalized.
For every \(d\ge 2\) there is \(\varepsilon _d{\gt}0\) such that, for all sufficiently large \(n\), the general Karchmer–Wigderson game for \(n\)-bit parity has no deterministic protocol of at most \(d\) rounds with at most \(\varepsilon _d n^{1/(d-1)}\) bits in each message. Consequently, a depth-\(d\) unbounded-fan-in De Morgan circuit for parity has more than \(2^{\varepsilon _d n^{1/(d-1)}}\) wires. With \(g\) internal gates, also \(2^{\varepsilon _d n^{1/(d-1)}} {\lt} 2(n + g)\); in particular, for every fixed \(d\) and polynomial \(Cn^k + C\), all sufficiently large depth-\(d\) circuits for parity have more than \(Cn^k + C\) internal gates. The analytic prerequisites of this top-down proof are in Section 13.11.
Every monotone formula computing \(f : \{ 0,1\} ^N \to \{ 0,1\} \) yields a protocol for the monotone Karchmer–Wigderson game of \(f\) of the same depth, and every such protocol yields a monotone formula of the same depth computing \(f\). Hence, for every \(d \in \mathbb {N}\), the game has a protocol of depth at most \(d\) if and only if some monotone formula of depth at most \(d\) computes \(f\). There is no monotonicity hypothesis on \(f\); by Lemma 939, both sides fail when \(f\) is not monotone.
For every \(d\ge 2\) there is \(\varepsilon _d{\gt}0\) such that, for all sufficiently large \(n\), the general KW game for strict majority has no deterministic protocol of at most \(d\) rounds with at most \(\varepsilon _d n^{1/(d-1)}\) bits per message. Consequently, every depth-at-most-\(d\) unbounded-fan-in De Morgan circuit for strict majority has more than \(2^{\varepsilon _d n^{1/(d-1)}}\) wires. This covers both even and odd \(n\). With \(g\) internal gates, also \(2^{\varepsilon _d n^{1/(d-1)}} {\lt} 2(n + g)\), so at every fixed depth strict majority needs more than \(Cn^k + C\) internal gates for all sufficiently large \(n\).
There is \(\varepsilon {\gt} 0\) such that for all \(k \le n^{1/4}\), every monotone circuit deciding whether an \(n\)-vertex graph, given by its adjacency bits, contains a \(k\)-clique has size at least \(2^{\varepsilon \sqrt{k}}\) (Razborov; Alon–Boppana; Arora–Barak Theorem 14.7). This is formalized only in the imported library’s model: Theorem 362 gives more than \(2^{\sqrt{k}}\) gates, that is \(\varepsilon = 1\), for every \(k \le n^{1/4}\), for circuits over that library’s binary AND/OR signature without constants, every gate counted. Transferring the bound to the monotone circuits of Definition 989 remains open.
Consider a circuit over the imported library’s binary AND/OR signature (fan-in-two AND and OR gates, no constants and no negations) in which the entries \(x_{ik}\) of an \(I \times K\) matrix and \(y_{kj}\) of a \(K \times J\) matrix are distinct inputs (other inputs may be present). If, for all \(i\) and \(j\), some output computes \(\bigvee _k x_{ik} \wedge y_{kj}\) (other outputs are unconstrained), then the circuit has at least \(IJK\) AND gates. Every AND gate of the circuit is counted, used or not, and OR gates are free. In particular, a circuit with the entries of two \(n \times n\) matrices on its \(2n^2\) inputs and their Boolean product on its \(n^2\) outputs, all in row-major order, has at least \(n^3\) AND gates. The schoolbook circuit, with exactly \(IJK\) AND gates, shows the bound is tight; neither this nor the companion lower bound of \(IJ(K - 1)\) OR gates (Paterson; Mehlhorn–Galil) is formalized.
Consider a circuit over the imported library’s De Morgan signature (Boolean constants, identity, NOT, and fan-in-two AND and OR gates, with unbounded fan-out) that has no NOT gate, in which the entries \(x_{ik}\) of an \(I \times K\) matrix and \(y_{kj}\) of a \(K \times J\) matrix are distinct inputs (other inputs may be present). Let \(T\) be any set of triples \((i, k, j)\). If, for all \(i\) and \(j\), some output computes \(\bigvee _{k : (i, k, j) \in T} x_{ik} \wedge y_{kj}\) (other outputs are unconstrained), then the circuit has at least \(|T|\) AND gates. Every AND gate of the circuit is counted, used or not; OR, constant, and identity gates are free. Taking \(T = \{ (i, k, j) : (i, k) \in E_X,\ (k, j) \in E_Y\} \) gives the product of matrices with prescribed supports \(E_X\) and \(E_Y\); taking all triples gives the bound \(IJK\) of Theorem 990 for monotone circuits with constants.
Consider a circuit over the imported library’s De Morgan signature (Boolean constants, identity, NOT, and fan-in-two AND and OR gates, with unbounded fan-out) in which the entries \(x_{ik}\) of an \(I \times K\) matrix and \(y_{kj}\) of a \(K \times J\) matrix are distinct inputs (other inputs may be present), and suppose that, for all \(i\) and \(j\), some output computes \(\bigvee _k x_{ik} \wedge y_{kj}\) on every input (other outputs are unconstrained). If the circuit has at most \(t\) NOT gates, it has at least \(\lfloor I / 2^t \rfloor \lfloor J / 2^t \rfloor K\) AND gates; every NOT and every AND gate of the circuit is counted, used or not, and OR, constant, and identity gates are free. For \(t = 0\) this is the monotone bound \(IJK\). The bound holds for all \(I\), \(J\), \(K\), and \(t\). In particular, a circuit with the entries of two \(n \times n\) matrices on its \(2n^2\) inputs and their Boolean product on its \(n^2\) outputs, all in row-major order, with at most \(t\) NOT gates has at least \(n \lfloor n / 2^t \rfloor ^2\) AND gates, and at least \(n^3 / 4^{t + 1}\) of them when \(2^t \le n\). Consequently, for \(n \ge 1\) and every real \(\varepsilon \le 2\), if such a circuit has fewer than \(n^{3 - \varepsilon }\) AND gates, it has more than \((\varepsilon / 2) \log _2 n - 1\) NOT gates.
We know of no published lower bound for the Boolean matrix product by circuits with a bounded number of NOT gates. The monotone bound \(n^3\) is due to Pratt, Paterson, and Mehlhorn–Galil; by Markov and Fischer, \(\lceil \log _2 (N + 1) \rceil \) NOT gates suffice for every function of \(N\) inputs, with polynomial overhead in Fischer’s construction; and Jukna (Information Processing Letters, 2004) uses a similar direct-sum restriction for an explicit multi-output function needing \(\log n - O(\log \log n)\) NOT gates.
- Algebraic.Monotone.MatrixProduct.NegationLimited.div_mul_div_mul_le_andCost
- Algebraic.Monotone.MatrixProduct.NegationLimited.mul_div_sq_le_andCost
- Algebraic.Monotone.MatrixProduct.NegationLimited.cube_le_four_pow_mul_andCost
- Algebraic.Monotone.MatrixProduct.NegationLimited.mul_logb_sub_one_lt_notCost
Consider a circuit over the imported library’s De Morgan signature computing the Boolean product of an \(I \times K\) and a \(K \times J\) matrix whose entries are distinct inputs, as in Theorem 992, and a set \(S\) of inputs. If the function computed by every NOT gate depends only on the inputs in \(S\), the circuit has at least \(IJK - |S| \max (I, J)\) AND gates (every AND gate counted, used or not; all other gates free), and in the square row-major case at least \(n^3 - |S|\, n\). The same holds when every gate that computes a non-monotone function depends only on the inputs in \(S\).
- Algebraic.Monotone.MatrixProduct.NegationLimited.mul_mul_le_andCost_add
- Algebraic.Monotone.MatrixProduct.NegationLimited.cube_sub_le_andCost
- Algebraic.Monotone.MatrixProduct.NegationLimited.mul_mul_le_andCost_add_of_monotone_or_dependsOnlyOn
- Algebraic.Monotone.MatrixProduct.NegationLimited.cube_sub_le_andCost_of_monotone_or_dependsOnlyOn
For \(N \ge 1\), every DNF and every CNF computing \(N\)-bit parity has at least \(2^{N-1}\) terms, respectively clauses.
The parity family is not in \(\mathsf{AC}^0\): no family of polynomial-size, constant-depth, unbounded-fan-in AND/OR circuits, with negations free on gate inputs, computes \(N\)-bit parity at every input length \(N\). The analogous statement for the imported library’s \(\mathsf{AC}^0\) model is Theorem 359.
The parity family is not in \(\mathsf{AC}^0[3]\). Since \(\mathsf{AC}^0 \subseteq \mathsf{AC}^0[3]\) (Proposition 310), this gives a second proof that it is not in \(\mathsf{AC}^0\); Theorem 955 proves that statement through the switching lemma.
Let \(\varphi \) be a negation-normal unbounded formula over \(N\) variables that computes parity, and let \(d \ge \mathrm{depth}(\varphi )\), \(s \ge 2\) and \(q \ge 1\). Then
Let \(\mathrm{PHP}^{n+1}_n\) be the CNF over variables \(p_{ij}\) (\(i \le n + 1\), \(j \le n\)) stating that every pigeon \(i\) sits in some hole and no hole holds two pigeons. Every resolution refutation of \(\mathrm{PHP}^{n+1}_n\) has size \(2^{\Omega (n)}\).
The bound of Theorem 950 holds, up to an additive error \(\varepsilon \), when the free/fixed pattern and the fixed values are drawn from a distribution that \(\varepsilon \)-fools CNFs of size polynomial in \(N\) instead of the uniform product distribution (Trevisan–Xue). With an explicit generator fooling CNFs, such restrictions can be sampled from \(\mathrm{polylog}(N / \varepsilon )\) random bits.
Let \(S\) contain every row on which \(F\) and \(G\) differ, and let \(R\) contain every output coordinate that changes. With the original input and \(G(x)\) supplied for free,
Moreover \(C^S(E_R)\le \sum _{j\in R}C^S((E_R)_j)\).
If \(\varphi \) is unsatisfiable, then the empty clause is derivable from \(\varphi \).
Every clause derivable from \(\varphi \) is satisfied by every assignment satisfying \(\varphi \). In particular, if the empty clause is derivable from \(\varphi \), then \(\varphi \) is unsatisfiable.
For scalar functions and \(S=\{ x:f(x)\ne g(x)\} \),
Consequently, for every \(\varepsilon {\gt}0\) and all sufficiently large \(p\), uniformly over scalar functions on \(2p\) bits with at most \(2^p\) errors,
Every fan-in-two AND/OR circuit computing \(N\)-bit parity or its complement, \(N \ge 1\), has size at least \(2N - 1\), that is, at least \(2(N - 1)\) internal gates, and in fact size at least \(3(N - 1)\). Hence \(\mathrm{size}(\oplus _N) \ge \max (2N - 1, 3(N - 1))\).
For every \(N \ge 6\) there is a function \(f : \{ 0,1\} ^N \to \{ 0,1\} \) that no fan-in-two AND/OR circuit of size at most \(\lfloor 2^N / (5N) \rfloor \) computes, where the size \(G + 1\) of a single-output circuit counts its output gate. Consequently \(\mathrm{size}(f) {\gt} \lfloor 2^N / (5N) \rfloor \).
Let the slice complexity of a language \(L\) at length \(n \ge 1\) be the size complexity of its length-\(n\) slice, and \(0\) at \(n = 0\), where a circuit family answers with a stored bit. Then \(L \in \mathsf{SIZE}(s)\) exactly when the slice complexity is at most \(s(n)\) at every \(n\). If \(L \in \mathsf{SIZE}(s)\), then every length-\(n\) slice, \(n = 0\) included, is decided by a CSLib De Morgan circuit with at most \(n + 2s(n) + 1\) gates; conversely, CSLib circuits with at most \(s(n)\) gates at every length \(n \ge 1\) put \(L\) in \(\mathsf{SIZE}(s + 1)\).
For every \(\varepsilon {\gt} 0\) there is one threshold \(N_0\) such that every language has slice complexity at most \((1 + \varepsilon ) 2^n / n\) at every length \(n \ge N_0\). Hence every language is in \(\mathsf{SIZE}(s)\) for some \(s\) with \(s(n) \le (1 + \varepsilon ) 2^n / n\) for all large \(n\), and for some \(s = O(\lfloor 2^n / n \rfloor )\). Conversely, a single language lies outside \(\mathsf{SIZE}(s)\) for every \(s\) with \(n + 2s(n) \le 2^n / n\) for all large \(n\), in particular for every \(s = o(\lfloor 2^n / n \rfloor )\).
- Complexity.mem_SIZE_iff_sliceSizeComplexity_le
- Complexity.exists_cslib_of_mem_SIZE
- Complexity.mem_SIZE_of_cslib
- Complexity.lupanov_sliceSizeComplexity
- Complexity.exists_mem_SIZE_lupanov
- Complexity.exists_mem_SIZE_bigO_two_pow_div
- Complexity.exists_language_not_mem_SIZE
- Complexity.exists_language_not_mem_SIZE_littleO
If an unsatisfiable CNF over \(n\) variables whose clauses have at most \(k\) literals has a resolution refutation of size \(S\), then it has one of width at most \(k + O(\sqrt{n \log S})\).
Let \(C\) be a single-output circuit over the AND/OR/\(\mathrm{MOD}_3\) basis with \(n \ge 1\) inputs and depth at most \(d\) that computes \(n\)-bit parity. For every \(\ell \ge 1\),
and for every \(\ell \) with \((40 \ell )^{2d} \le n\), \(5 \cdot \mathrm{size}(C) \ge 2 \cdot 2^\ell \). Taking \(\ell = \lfloor n^{1/(2d)}/40 \rfloor \) gives \(\mathrm{size}(C) \ge 2^{\Omega (n^{1/(2d)})}\); this asymptotic reading is not a separate formal statement.
Let \(C\) be a single-output circuit over the AND/OR/\(\mathrm{MOD}_3\) basis with \(n \ge 1\) inputs and depth at most \(d\), and let \(\ell \ge 1\). Some function \(P\) of degree at most \((2\ell )^d\) satisfies \(\# \{ x : P(x) \ne C(x)\} \cdot 2^\ell \le \mathrm{size}(C) \cdot 2^n\), where \(C(x)\) is read in \(\mathbb {F}_3\).
For every \(p\ge 4\) there exists \(S\subseteq \{ 0,1\} ^{2p}\) with \(|S|=2^p\) and \(C(1_S){\gt}2^p/16\). There is also a scalar \(f\) at exactly \(2^p\) errors from zero satisfying
Consequently, any real-valued function \(b(p)\) eventually bounding the complexity difference of every scalar pair at distance at most \(2^p\) fails to satisfy \(b(p)=o(2^p)\).
For every \(k\) and \(\varepsilon {\gt}0\) there is \(c\) such that every CNF \(\varphi \) of width at most \(k\) over \(N\) variables has a list of at most \(2^{\varepsilon N}\) CNFs of width at most \(k\), in each of which every variable occurs in at most \(c\) clauses, such that each of them accepts only inputs that \(\varphi \) accepts and every input that \(\varphi \) accepts is accepted by one of them. The same holds for clause sets (Impagliazzo, Paturi and Zane, JCSS 2001).
For every \(\varepsilon {\gt}0\), there exists \(p_0\) such that for all \(p\ge p_0\), every output width \(m\), and all \(F,G:\{ 0,1\} ^{2p}\to \{ 0,1\} ^m\) with at most \(2^p\) differing input rows and at most \(2p\) active output coordinates,
The threshold is independent of \(m,F,G\). The same bound holds when only covering sets for the erroneous rows and active outputs are supplied.
For every \(\varepsilon {\gt}0\), for all sufficiently large integers \(p\), uniformly over all \(S\subseteq \{ 0,1\} ^{2p}\) with \(|S|\le 2^p\) and all Boolean functions \(u\),
Let \(\varphi \) be a negation-normal unbounded formula over \(N\) variables with depth at most \(d\), and let \(s \ge 2\) and \(q \in \mathbb {N}\). For any sequence of \(d\) restrictions, one per level, a staged compiler turns \(\varphi \) into a decision tree that computes \(\varphi \) under their composition, earlier restrictions taking precedence. For \(d\) independent sparse seeds, the number of \(d\)-tuples of seeds for which this decision tree has depth at least \(s\), multiplied by \(q^s\), is at most \(\mathrm{size}(\varphi )\, ((2q+1)^N)^d\, (4(s + 1))^s\). Consequently, if \(q {\gt} 0\) and
then some tuple of seeds leaves at least \(s\) variables free and reduces \(\varphi \) to a decision tree of depth less than \(s\).
If every clause of \(\psi \) has at most \(k\ge 1\) literals, every variable has at most \(\Delta \) neighbours, and \(\mathrm{sol}(\psi )\) contains no subcube of dimension \(D\), then \(|\mathrm{sol}(\psi )|\le 2^{(1-1/k)N+(D-1)(\Delta +1)/k}\). Consequently, for every \(k\ge 1\) and \(\varepsilon {\gt}0\) there is \(C\ge 0\) such that every CNF of width at most \(k\) over \(N\) variables whose accepted inputs contain no subcube of dimension \(D\) accepts at most \(2^{(1-1/k+\varepsilon )N+CD}\) inputs; the same holds for clause sets.
Let \(\varphi \) be a DNF of width \(w\) over \(N\) variables, no term of which contains a complementary pair of literals, and let \(q, s \in \mathbb {N}\). Call a restriction bad if the complete-block switching decision tree of the restricted formula has depth at least \(s\). This tree, rather than the canonical tree that queries one variable at a time, is the one used here: at the first surviving term it queries all of that term’s free variables before accepting or continuing. Then
Every DNF agrees with its sub-DNF of consistent terms, whose width is no larger, and the bound holds for that sub-DNF with \(w\) the original width. The same bounds hold for CNFs, where the condition is that no clause contains a complementary pair, and the switching tree and bad event are defined through the De Morgan dual DNF. Reading the counts as probabilities, which is not a separate formal statement: a uniform seed is bad with probability at most \((4(w+1)/q)^s\) when \(q \ge 1\).
- Complexity.DNF.switchingBad
- Complexity.DNF.switchingBad_width_encoding_bound
- Complexity.DNF.switchingBad_consistentPart_width_encoding_bound
- Complexity.CNF.switchingBad_width_encoding_bound
- Complexity.CNF.switchingBad_consistentPart_width_encoding_bound
- Complexity.DNF.eval_consistentPart
- Complexity.CNF.eval_consistentPart
If \(f\) is two-sided \(K\)-rectangle-free, every block decomposition of \(f\) has \(2^n{\lt}4K^2\cdot \mathrm{cost}\). With \(K\le 2^k\) this says \(\prod _{i\in I_1}4T_i\prod _{i\in I_2}V_i{\gt}2^{n-2k-2}\), where \(I_1\) consists of the one-dimensional blocks with \(T_i\ge 1\) and \(I_2\) of the summary blocks. In particular, if a weighted threshold program computing \(f\) is split into \(B\) direction runs with \(r_i\) input-reading gates in run \(i\), then \(2^n{\lt}4K^2\prod _ic_i\), where \(c_i=4(2^{r_i}-1)\) if \(r_i\ge 1\) and \(c_i=1\) otherwise.
For every \(\varepsilon {\gt}0\) and all sufficiently large \(n\), the fixed polynomial-time family \(\mathrm{sourceReductionHardFamily}(n)\) satisfies:
(C1) every weighted threshold program with real weights, of any depth, fan-in, and fan-out, computing it has more than \((1/2-\varepsilon )n\) input-reading gates; gates reading only other gates are free;
(C2) if all its input weight vectors are real multiples of one vector, it has more than \((1-\varepsilon )n\) input-reading gates;
(C3) if its gates split into \(B\) consecutive runs along single directions, \(s_{\mathrm{in}}+2B{\gt}(1-\varepsilon )n\); so a program whose input-reading gates switch direction \(B\) times has \(s_{\mathrm{in}}{\gt}n-o(n)-2B\);
(C2\('\)) every representation \(F(\langle w,x\rangle )\) of the family with \(F:\mathbb {R}\to \{ 0,1\} \) changing at most \(T\) times has \(T{\gt}2^{(1-\varepsilon )n}\), so multilevel threshold representations need \(2^{n-o(n)}\) levels;
(C4) every activation program computing it whose input-reading gate \(j\) changes at most \(T_j\) times has \(\sum _j\log _2\max (1,4T_j){\gt}(1-\varepsilon )n\), the sum ranging over the input-reading gates.
For comparison, Roychowdhury, Orlitsky, and Siu (IEEE Trans. Inf. Theory 40(2), 1994) and Gröger and Turán prove that inner product mod \(2\) needs about \(n/4\) gates in threshold circuits of unbounded depth, and Kane and Williams (STOC 2016) prove superlinear gate and superquadratic wire lower bounds for threshold circuits of depth two and three. A literature search in October 2026 found no explicit function proved to need \((1/2+\varepsilon )n\) gates in threshold circuits of unrestricted depth; this has not been checked exhaustively. As for every bound on this family, the threshold on \(n\) is enormous (Theorem 702).
- Algebraic.Threshold.sourceReductionHardFamily_lt_inputGates
- Algebraic.Threshold.sourceReductionHardFamily_lt_inputGates_of_direction
- Algebraic.Threshold.sourceReductionHardFamily_lt_inputGates_add_runs
- Algebraic.Threshold.sourceReductionHardFamily_lt_transitions
- Algebraic.Threshold.sourceReductionHardFamily_lt_sum_logb
A two-sided flat sumset disperser at threshold \(K\) is two-sided \(K\)-rectangle-free. Hence, for all sufficiently large \(n\), the fixed polynomial-time family \(\mathrm{sourceReductionHardFamily}(n)\) is two-sided \(K(n)\)-rectangle-free under every split of its inputs, balanced or not, where \(K(n)=2^{k(n)}\) and \(k(n)=o(n)\) is one more than the source entropy of the unpadded extractor at length \(n-1\).
Let \(G\) be a finite acyclic digraph with \(S\) edges whose longest simple path has at most \(2^k\) vertices, and let \(r \le k\). There is a set \(F\) of edges of \(G\) with \(k\, |F| \le r S\) whose removal leaves a digraph whose longest simple path has at most \(2^k / 2^r\) vertices.
A source computation from input \(x\) to output \(y\) in at most \(T\) steps is simulated by a fixed finite-state binary CSLib machine in at most \(2|x|+T+|y|+4\) steps. Consequently, polynomial bounds on source time and full output length on every binary input establish canonical \(\mathsf{FP}\) membership for the computed string function.
Suppose a finite Mathlib machine computes \(f(x)\) with polynomial time and output bounds for inputs accepted by a fixed DFA. Returning \(f(x)\) on accepted inputs and the empty string on every other input defines a total function in \(\mathsf{FP}\). Validation adds \(2|x|+2\) source steps on accepted inputs; rejected inputs halt after \(|x|\) steps.
For \(n {\gt} 0\), \(L\) is an anti-checker for \((f, s)\) iff the canonical code of the \(\mathsf{SuccinctMCSP}\) instance with arity \(n\), the samples \((z, f(z))\) for \(z\) in \(L\) (in list order) and threshold \(s\) is not in \(\mathsf{SuccinctMCSP}\).
A size-\(s\) circuit for a truth table \(T\) yields a \(\mathrm{KT}\) description of \(T\) of cost polynomial in \(s\); conversely a bounded description of \(T\) can be unrolled into a circuit with an explicit size bound. Only the gap reductions supported by these explicit inequalities are derived.
All circuits here are multi-output fan-in-two \(\{ \wedge ,\vee \} \) circuits, and \(s_\beta (n) = \lfloor 2^{\lfloor \beta n \rfloor }/(10n)\rfloor \). Let counter families mean: there is a natural \(k\) such that for every positive rational \(\beta \) and all sufficiently large \(n\) there are circuits of size at most \(2^{\lceil k \beta n \rceil }\), one for each prefix length used by the construction, each mapping a packed list of labeled samples \((z_i, b_i) \in \{ 0,1\} ^n \times \{ 0,1\} \) to a binary estimate of the number of canonical codes of well-formed circuits with at most \(s_\beta (n)\) gates that agree with every sample, correct to relative error at most \(1/(8n)\) on every input. Let generators mean: there is a natural \(k'\) such that for every sufficiently small positive rational \(\beta \) and all sufficiently large \(n\) there is a circuit of size at most \(2^n \cdot 2^{\lceil k' \beta n \rceil }\) mapping a \(2^n\)-bit truth table to \(2^{\lfloor 10 \beta n \rfloor }\) points of \(\{ 0,1\} ^n\) that form an anti-checker for \((f, s_\beta (n))\) whenever the input is the truth table of an \(f\) with no circuit of size at most \(2^{\lfloor \beta n \rfloor }\). Then counter families imply generators.
There is a family (for instance Reed–Solomon concatenated with Hadamard) that is list-decodable, has polynomial parameters, and has a uniform polynomial-time realization.
Every Hamming ball of radius \(r\) in \(\{ 0,1\} ^n\) has exactly \(|B(r)| = \sum _{i \le r}\binom {n}{i}\) elements. If \(C \subseteq \{ 0,1\} ^n\) has pairwise distances at least \(d\) and \(2r {\lt} d\), then \(|C| \cdot |B(r)| \le 2^n\); in particular a block code \(\{ 0,1\} ^k \to \{ 0,1\} ^m\) with minimum distance \(d\) has \(2^k \cdot |B(r)| \le 2^m\). For every \(n, d\) there is such a \(C\) with \(2^n \le |C| \cdot |B(d-1)|\) (with \(d - 1\) truncated at \(0\)).
For every machine \(U\), length \(n\), clock \(t\) and threshold \(r\): at most \(2^r - 1\) strings \(x \in \{ 0,1\} ^n\) satisfy \(C^t_U(x) {\lt} r\), so their uniform probability is at most \((2^r - 1)/2^n\); and if \(r \le n\), some \(x \in \{ 0,1\} ^n\) has \(C^t_U(x) \ge r\).
Let \(\gamma \) be a compiler with additive overhead \(c\), that is, \(|\gamma (p)| \le |p| + c\) for every program \(p\). (a) If \(U\) simulates \(M\) through \(\gamma \) (Definition 24), then \(C_U(x) \le C_M(x) + c\) for all \(x\). (b) If \(U\) simulates \(M\) forward in time through \(\gamma \) under a clock \(\tau \) with \(\tau (p, t) \le a_0(|p| + t + 1)^{k_0}\) for all \(p, t\) (Definition 25; the untimed simulation of (a) is not needed), then there are constants \(a, k\) such that for all \(x, t, s\), \(C^t_M(x) \le s\) implies \(C^{a(s+t+1)^k}_U(x) \le s + c\).
For a universal machine \(U\), the map \(x \mapsto C_U(x)\) is not computable, and \(\{ x : C_U(x) \ge |x|\} \) contains no infinite computably enumerable subset. (The bounded measures \(C^t_U\) are decidable and are unaffected.)
\(\mathsf{MKTP} \in \mathsf{NP}\) and \(\mathsf{MKtP} \in \mathsf{EXP}\), with verifiers that run the bounded universal evaluator (never a noncomputable minimization), and the corresponding total upper bounds and counting bounds for \(\mathrm{Kt}\) and \(\mathrm{KT}\).
Consider a list code whose codewords are Boolean functions on a finite nonempty coordinate set and whose decoder returns an indexed list of \(L\) candidate messages, and let \(\varepsilon \) be rational. If the code is list-decodable up to relative distance \(1/2 - \varepsilon \) (every message whose codeword is within that relative distance of the received word appears in the list), and a word \(w\) agrees with the encoding of \(m\) on at least a \(1/2 + \varepsilon \) fraction of coordinates, then \(m\) belongs to the decoder’s candidate set for \(w\), which has at most \(L\) distinct elements.
For a selected magnification frontier: the known lower-bound technique for the neighbouring problem extends to circuits with small-fan-in local oracle gates, while the magnifying problem has such local-oracle circuits of the size required by the antecedent; hence that technique cannot establish the antecedent. Locality is a mathematical property of circuits and reductions, not of proofs. Local oracle circuits are not yet defined.
There is an integer \(c \ge 1\) such that \(\mathrm{LB}(c)\) implies \(\mathsf{NP} \not\subseteq \mathsf{P/poly}\).
A single statement placing the strongest known unconditional lower bound for the raw \(\mathsf{GapMCSP}\) family next to the antecedent of Theorem 1122, with the remaining exponent and gap computed explicitly; followed by further published frontiers (formula and probabilistic-formula magnification for \(\mathsf{GapMCSP}\) and \(\mathsf{GapMKtP}\), and streaming magnification for \(\mathsf{MCSP}[s]\)).
There is an integer \(c \ge 1\) such that if \(\mathsf{NP} \subseteq \mathsf{P/poly}\), then for every positive rational \(\varepsilon \) and every positive rational \(\beta _0\) there is a positive rational \(\beta {\lt} \beta _0\) for which the raw problem at \((\beta , c)\) lies in \(\mathsf{PromiseEventuallySIZE}(N^{1+\varepsilon })\).
For every \(n \ge 16\): some \(f \colon \{ 0,1\} ^n \to \{ 0,1\} \) has its canonical instance at threshold \(\lfloor 2^n/(5n) \rfloor \) outside \(\mathsf{MCSP}\), while for every \(f\) the canonical instance at threshold \(\lfloor 18 \cdot 2^n / n \rfloor \) lies in \(\mathsf{MCSP}\). The first half already holds for every \(n \ge 6\).
(a) A canonical code lies in \(\mathsf{MCSP}\) iff the minimum circuit size of its table (defined as \(0\) at arity \(0\)) is at most its threshold; at positive arity this minimum is the library’s circuit size complexity over the fan-in-two \(\{ \wedge ,\vee \} \) basis. (b) There is a relation \(R\) such that \(x \in \mathsf{MCSP}\) iff \(\exists w\, R(x, w)\) for every string \(x\), and \(R\) is polynomially balanced in the encoded input length. Here \(R(x, w)\) requires \(x\) to decode canonically and, at positive arity, \(w\) to be a canonical serialized circuit that is well formed, has at most \(\min (s, (2^n+2)^2)\) gates, and agrees with every truth-table row (at arity \(0\), \(w\) is empty); the check is executable.
For every fixed machine \(U\) (in particular \(\mathtt{utmTM}\)) and every polynomially bounded threshold \(r\) computable in polynomial time, \(\mathsf{MINKT}(U, r) \in \mathsf{NP}\); and \(\mathsf{GapMINKT}(U, \sigma , \tau ) \in \mathsf{PromiseNP}\) for all widening parameters.
(a) Let \(R_{U,r}(w, p)\) hold when \(w\) is the canonical code \(\mathrm{pair}(x,1^t)\) of an instance, \(|p| {\lt} r(|x|)\), and \(U\) produces \(x\) on \(p\) within \(t\) steps. If \(r\) is bounded by a polynomial and \(\mathrm{pairLang}(R_{U,r}) \in \mathsf{P}\), then \(\mathsf{MINKT}(U, r) \in \mathsf{NP}\). (b) Let \(Y_U(w, p)\) hold when \(w\) is the canonical code \(\mathrm{pair}(\mathrm{pair}(x,1^t),1^s)\) of an instance, \(|p| \le s\), and \(U\) produces \(x\) on \(p\) within \(t\) steps. For widening parameters, if \(\mathrm{pairLang}(Y_U) \in \mathsf{P}\), then \(\mathsf{GapMINKT}(U, \sigma , \tau ) \in \mathsf{PromiseNP}\).
(a) A total embedded language lies in \(\mathsf{PromiseP}\) (resp. \(\mathsf{PromiseNP}\), \(\mathsf{PromiseCoNP}\)) exactly when it lies in \(\mathsf{P}\) (resp. \(\mathsf{NP}\), \(\mathsf{coNP}\)), and it is promise-\(\mathsf{NP}\)-complete exactly when it is \(\mathsf{NP}\)-complete. (b) \(\mathsf{PromiseP}\) and \(\mathsf{PromiseNP}\) are closed backward under polynomial-time promise reductions. (c) \(\mathsf{PromiseP} \subseteq \mathsf{PromiseNP}\), and \(\mathsf{PromiseP}\) is closed under swapping the yes and no sides.
- Complexity.PromiseProblem.ofLanguage_mem_PromiseP_iff
- Complexity.PromiseProblem.ofLanguage_mem_PromiseNP_iff
- Complexity.PromiseProblem.ofLanguage_mem_PromiseCoNP_iff
- Complexity.PromiseProblem.ofLanguage_promiseNPComplete_iff
- Complexity.PromiseProblem.MapReducesPoly.mem_PromiseP
- Complexity.PromiseProblem.MapReducesPoly.mem_PromiseNP
- Complexity.PromiseP_subset_PromiseNP
- Complexity.PromiseP.complement
If a promise-\(\mathsf{NP}\)-hard problem lies in \(\mathsf{PromiseP}\), then \(\mathsf{P} = \mathsf{NP}\); hence a promise-\(\mathsf{NP}\)-complete problem lies in \(\mathsf{PromiseP}\) if and only if \(\mathsf{P} = \mathsf{NP}\). Moreover \(\mathsf{PromiseP} = \mathsf{PromiseNP}\) if and only if \(\mathsf{P} = \mathsf{NP}\).
\(\mathsf{SuccinctMCSP} \in \mathsf{NP}\).
Let \(R\) be the normalized raw-circuit witness relation of \(\mathsf{SuccinctMCSP}\): \(R(x, w)\) requires \(x\) to decode canonically, \(w\) to be a canonical serialized circuit that is well formed, has at most \(\min (s, 1 + m(3n+2))\) gates for \(m\) samples, and agrees with every sample (at arity \(0\), a single constant bit agreeing with every sample), and \(|w| \le 1 + |x|(4|x|+6)\). The executable checker SuccinctMCSP.verifyRawWitness accepts exactly the pairs in \(R\). If \(\mathrm{pairLang}(R) \in \mathsf{P}\), then \(\mathsf{SuccinctMCSP} \in \mathsf{NP}\).
(a) If \(U\) is universal, then \(C_U(x) {\lt} \infty \) for every \(x\), and for every \(x\) some clock \(t\) (depending on \(x\)) has \(C^t_U(x) {\lt} \infty \). (b) If \(U\) is efficiently universal, there are constants \(c, a, k\) such that for every \(x\) and every \(t \ge a(2|x|+3)^k\), \(C^t_U(x) \le |x| + c\); and there is a constant \(c'\) with \(C_U(x) \le |x| + c'\) for every \(x\).
Under an explicit hypothesis that \(T\) dominates the input length, \(\mathsf{DTIME}(T) \subseteq \mathsf{DTIME}_{\mathrm{RAM}}(T(n) \log T(n))\). What is formalized is only the exact-bound form of Theorem 42, membership in \(\mathsf{DTIME}_{\mathrm{RAM}}(n \mapsto \beta _M(n, T(n)))\); the asymptotic estimate of \(\beta _M\) is open.
Let \(H = \{ p : \mathcal{U} \text{ halts on } p \} \). There are no \(k\), machine \(M\) with \(k\) work tapes, and bound \(T\) such that \(M\) decides \(H\) in time \(T\). The same holds for \(H_V\) for every universal machine \(V\).
Suppose \(\{ \mathit{pre}\} \, M_t\, \{ \mathit{mid}\} _{b_t}\), where \(\mathit{mid}\) guarantees that every tape holds \(\triangleright \) at cell \(0\) and nowhere else and that the output head is at a cell at most \(p\); that \(\mathit{mid}\) with output cell \(1\) equal to \(1\) (resp. not \(1\)) implies the precondition of \(M_1\) (resp. \(M_0\)) on the tapes obtained by normalizing the input and work tapes and placing the output head at cell \(1\); that \(\{ \mathit{mid}_i\} \, M_i\, \{ \mathit{post}_i\} _{b_i}\) for \(i = 0, 1\); and that both postconditions imply \(\mathit{post}\) after normalization. Then \(\{ \mathit{pre}\} \, \mathrm{if}(M_t, M_1, M_0)\, \{ \mathit{post}\} _b\) with \(b = b_t + p + \max (b_1, b_0) + 5\).
For \(h\ge 2\), the complement of the ordinary \(h\)-state Mathlib liveness NFA requires
for every equivalent \(s\)-state two-way NFA. There is also a witness in the endmarker model with \(h+3\) states and no left moves whose complement satisfies the same lower bound.
Let \(\mathit{inv}\) be an invariant and \(v\) a variant with \(v \le K\) under \(\mathit{inv}\). Suppose every iteration of \(\mathrm{loop}(M_b, M_t)\) started from \(\mathit{inv}\) either halts within \(b\) steps satisfying \(\mathit{post}\), or returns to the loop start within \(b\) steps satisfying \(\mathit{inv}\) with \(v\) strictly smaller. Then \(\{ \mathit{inv}\} \, \mathrm{loop}(M_b, M_t)\, \{ \mathit{post}\} _{(K+1) b}\).
If a nondeterministic machine \(N\) with \(k \ge 1\) work tapes decides \(L\) in time \(T\), then its single-tape simulator, a machine with one work tape, decides \(L\) in time \(16(k+1)(T(n) + n + 1)^2\). Consequently, for any \(k\), if \(L\) is decided by some \(k\)-work-tape machine in time \(T = O(n^c)\), it is decided by some one-work-tape machine in time \(O(n^{c'})\) for some \(c'\).
For \(h\ge 2\), every \(s\)-state two-way deterministic recognizer of one-way liveness satisfies
The same bound applies when the language is presented as the language accepted by the standard Mathlib NFA above.
The standard \(h\)-state Mathlib NFA accepts exactly one-way liveness. In the endmarker model, a one-way nondeterministic automaton with \(h+3\) states recognizes it under both acceptance conventions.
\(\mathsf{P} \subseteq \mathsf{P}_{\mathrm{RAM}}\). More precisely, if a deterministic machine \(M\) decides \(L\) in time \(T\), a fixed RAM program built from \(M\) decides \(L\) in logarithmic time \(\beta _M(n, T(n))\), for an explicit bound \(\beta _M(n, t)\) depending only on \(M\), \(n\), and \(t\); so \(L \in \mathsf{DTIME}_{\mathrm{RAM}}(n \mapsto \beta _M(n, T(n)))\).
If \(n + 1 = O(T(n))\), then \(\mathsf{DTIME}_{\mathrm{RAM}}(T) \subseteq \mathsf{DTIME}(T(n)^2)\). More precisely, with no hypothesis on \(T\): if a program \(P\) decides \(L\) in logarithmic time \(T\), a fixed twenty-work-tape machine built from \(P\) decides \(L\) in time \(c_P (n + T(n) + 1)^2\), where \(c_P\) depends only on \(P\).
For every \(k\), the program that loads the constant \(2\) into \(R_1\) and then executes \(R_1 := R_1 \cdot R_1\) \(k\) times, run from the all-zero configuration, halts after \(k + 1\) steps with \(R_1 = 2^{2^k}\), unit time exactly \(k + 1\), and logarithmic time at least \(2^k\).
\(\mathsf{P}_{\mathrm{RAM}} \subseteq \mathsf{P}\). The proof goes through a second simulator: if a program \(P\) decides \(L\) in logarithmic time \(T\), a fixed twenty-work-tape machine built from \(P\) decides \(L\) in time \(10^9 m_P (n + (m_P + 2) T(n) + m_P + 4)^4\), where \(m_P\) depends only on \(P\).
\(\bigcup _k \mathsf{DSPACE}_{\mathrm{RAM}}(n^k) = \mathsf{PSPACE}\).
Define register machines without indirect addressing and Boolean (straight-line or bounded-loop) programs, and relate each to the RAM and to Turing machines by explicit simulations, so that their polynomial-time classes equal \(\mathsf{P}\) as theorems rather than as separate class definitions.
If \(\{ \mathit{pre}\} \, M_1\, \{ \mathit{mid}\} _{b_1}\), the phase-boundary normalization maps tapes satisfying \(\mathit{mid}\) to tapes satisfying \(\mathit{mid}'\), and \(\{ \mathit{mid}'\} \, M_2\, \{ \mathit{post}\} _{b_2}\), then \(\{ \mathit{pre}\} \, \mathrm{seq}(M_1, M_2)\, \{ \mathit{post}\} _{b_1 + 1 + b_2}\).
If \(f\) and \(g\) are time-constructible and \(f(n) \log f(n) = o(g(n))\), then \(\mathsf{DTIME}(f) \subsetneq \mathsf{DTIME}(g)\) (Arora–Barak Theorem 3.1).
Let \(M\) be a deterministic machine with \(k\) work tapes that decides \(L\) in time \(T\), and let \(T'(n) = 16(k+1)(T(n) + n + 1)^2\). There is a description \(\alpha _0\) such that for every string \(j\) and every input \(x\), with \(\alpha = \alpha _0 j\), the machine \(\mathcal{U}\) on \(\langle \alpha , x \rangle \) halts within \(\mathrm{utmTime}(\alpha , T'(|x|), |x|)\) steps with output cell \(1\) equal to \(1\) if \(x \in L\) and \(0\) if \(x \notin L\). Here \(\mathrm{utmTime}(\alpha , t, n) = 4(2|\alpha | + 2 + n) + 4 g(\alpha ) + (t+1) s(\alpha ) + 2t + 35\), where \(g(\alpha )\) and \(s(\alpha )\) depend only on \(\alpha \) (Arora–Barak Theorem 1.9, with the quadratic factor coming from the single-tape reduction). The unpadded case, \(j\) empty, is also stated on its own. The underlying linear-time statement is also formalized: for every description \(\alpha \) satisfying a syntactic side condition on its table region (met by every encoded machine, with or without padding), if the one-work-tape machine that \(\alpha \) describes decides \(L\) in time \(T\), then \(\mathcal{U}\) on \(\langle \alpha , x \rangle \) halts within \(\mathrm{utmTime}(\alpha , T(|x|), |x|)\) steps with the same verdict.
Every online witness machine has an equivalent nondeterministic machine, and every nondeterministic machine has an online witness presentation. Both translations preserve the exact time bound \(T\), the exact charged-space bound \(S\), and their simultaneous use, with the same \(k\) charged work tapes. The bounds are arbitrary functions; no polynomial or constructibility hypothesis is required. A visible \(t\)-step run depends only on the first \(t\) witness bits, so the stream can be represented by a finite certificate. This equivalence concerns one-way, consumed witnesses; it does not grant free rereadable certificate storage.
- Complexity.WitnessTM.run_congr_prefix
- Complexity.WitnessTM.exists_run_eq_trace
- Complexity.WitnessTM.exists_trace_eq_run
- Complexity.WitnessTM.allWitnessesHaltIn_iff
- Complexity.WitnessTM.acceptsInTime_iff
- Complexity.WitnessTM.decidesInTime_iff
- Complexity.WitnessTM.decidesInTimeSpace_iff
- Complexity.WitnessTM.decidesInSpace_iff
- Complexity.NTM.toNTM_toWitnessTM
- Complexity.NTM.toWitnessTM_decidesInTime_iff
- Complexity.NTM.toWitnessTM_decidesInTimeSpace_iff
- Complexity.NTM.toWitnessTM_decidesInSpace_iff
\(3\mathrm{SAT}\) is \(\mathsf{NP}\)-complete.
The language accepts exactly the canonical pair encodings \(\langle c, r \rangle \) (all other strings are rejected) of a tagged circuit-family code \(c\) and a ruler \(r\), whose contents are ignored and whose length fixes the assignment width, for which some \(w\) with \(|w| = |r|\) makes the serialized circuit evaluator return true on \(c\) and \(w\). The pair language of its witness relation is in \(\mathsf{P}\), and the language is in \(\mathsf{NP}\). The same holds for the extension variant, which accepts exactly the canonical encodings \(\langle c, \langle u, r \rangle \rangle \) for which some \(w\) with \(|w| = |r|\) makes the evaluator return true on \(c\) and \(u\, w\).
- Complexity.CircuitSAT.language
- Complexity.CircuitSAT.extensionLanguage
- Complexity.CircuitSAT.pair_mem_language_iff
- Complexity.CircuitSAT.pair_mem_extensionLanguage_iff
- Complexity.CircuitSAT.pairLang_witness_mem_P
- Complexity.CircuitSAT.pairLang_extensionWitness_mem_P
- Complexity.CircuitSAT.language_mem_NP
- Complexity.CircuitSAT.extensionLanguage_mem_NP
\(\mathrm{CLIQUE}\) and \(\mathrm{VC}\) are \(\mathsf{NP}\)-complete.
For every \(n\) and \(f \colon (\{ 0,1\} ^*)^n \to \{ 0,1\} ^*\), \(f\) is in Cobham’s algebra if and only if there is \(g \in \mathsf{FP}\) with \(g(\mathrm{enc}(v)) = f(v)\) for all \(v\), where \(\mathrm{enc}\) is the canonical fixed-arity tuple encoding by nested pairing, \(\mathrm{enc}() = \varepsilon \) and \(\mathrm{enc}(v_0, v_1, \ldots , v_m) = \langle \mathrm{enc}(v_1, \ldots , v_m), v_0 \rangle \). The encoding \(\mathrm{enc}\) is itself in Cobham’s algebra at every arity.
\(\mathsf{P} \subseteq \mathsf{coNP}\), and hence \(\mathsf{P} \subseteq \mathsf{NP} \cap \mathsf{coNP}\). If \(\mathsf{P} = \mathsf{NP}\) then \(\mathsf{NP} = \mathsf{coNP}\); equivalently, \(\mathsf{NP} \neq \mathsf{coNP}\) implies \(\mathsf{P} \neq \mathsf{NP}\).
A CSLib machine computing a binary string function \(f\) with identity input and output encodings in time \(t(|x|)\) yields a canonical machine computing the same complete string in time \(3t(|x|)\). Consequently \(f\in \mathsf{FP}\) if and only if a CSLib machine computes it with polynomial bounds on time and space. The reverse transfer needs only the time bound.
If a machine with \(k\) work tapes decides \(L\) within time \(f\), then a multi-tape machine in CSLib’s model decides \(L\) within time and space \((2k + 3)(2f(|x|) + 5)\) on every input \(x\). CSLib’s machines take their alphabet as a parameter, and its complexity definitions use machines over the binary alphabet with finitely many states: a read-only input tape whose head cannot move more than one cell past either end of the input, two-way work tapes that start blank, and emitted output, with the work cells visited counted as space. Our languages are passed to CSLib with the identity encoding, and a decider emits the single bit \([x \in L]\). Consequently every language in \(\mathsf{DTIME}(T)\) is decided there within time and space \(t(|x|)\) for one function \(t = O(T)\), and every language in \(\mathsf{P}\) within time and space \(p(|x|)\) for one polynomial \(p\). The simulation is also space-faithful: a machine deciding \(L\) within time \(T\) and space \(S\) yields a CSLib decider within time \(2T + 4\) and space \((2k + 3)(S + 2)\), so \(\mathsf{DTISP}(T, S)\) transfers with time \(O(T)\) and space \(O(S + 1)\). A machine computing \(f\) within time \(T\) yields a CSLib machine computing \(f\), with the identity encodings of input and output, within time \(3T + 4\) and space \((2k + 3)(3T + 5)\), so every \(\mathsf{FP}\) function is CSLib-computable within polynomial time and space.
- Complexity.TM.DecidesInTime.decidableInTimeAndSpace
- Complexity.decidableInTimeAndSpace_of_mem_DTIME
- Complexity.decidableInTimeAndSpace_of_mem_P
- Complexity.TM.DecidesInTimeSpace.decidableInTimeAndSpace
- Complexity.decidableInTimeAndSpace_of_mem_DTISP
- Complexity.TM.ComputesInTime.computableInTimeAndSpace
- Complexity.computableInTimeAndSpace_of_mem_FP
A CSLib multi-tape machine deciding \(L\) (with the identity encoding) within time \(t(|x|)\), under any space bound, yields one of our machines deciding \(L\) within time \(3t\). Hence CSLib time \(t\) gives \(\mathsf{DTIME}(t)\), and CSLib polynomial time gives \(\mathsf{P}\). Together with Theorem 119, a language is in \(\mathsf{P}\) if and only if some multi-tape machine in CSLib’s model decides it within polynomial time. The Lean equivalence states its right side with one polynomial bounding both time and space; the forward direction supplies the space bound, and the converse ignores it. This direction carries time only: the CSLib space bound is discarded, so there is as yet no converse for \(\mathsf{DTISP}\) or \(\mathsf{L}\).
Suppose an ordinary deterministic verifier decides \(L_0\) in time \(T\) and decision space \(S\). Let a concrete setup machine compute a unary witness bound \(B(n)\) in time \(A(n)\) and space \(U(n)\), restoring the input and leaving the required parked frame. There is a witness machine deciding \(\{ x : \exists y,\ |y| \le B(|x|) \land \langle x,y\rangle \in L_0\} \). It stores the finite certificate and paired virtual input on charged work tapes. Put \(R_B(n)=\max _{m\le B(n)} R(2n+2+m)\), \(G(n)=3B(n)+3\), and \(P_B(n)=4n+2B(n)+10\). Its bounds are
in time and
in charged space. No monotonicity of \(T\) or \(S\) is assumed. The online witness equivalence transfers these same compiler bounds to an NTM.
If \(R \in \mathsf{FNP}\) and \(x \in L \iff \exists y\, R(x, y)\) for all \(x\), then \(L \in \mathsf{NP}\). In particular \(\{ x : \exists y\, R(x, y)\} \in \mathsf{NP}\) for every \(R \in \mathsf{FNP}\).
Fix a concrete prefix codec for Boolean formulas over \(\wedge \), \(\vee \), \(\neg \) and variables, and let \(\mathrm{FSAT}\) be the set of encodings of satisfiable formulas, malformed strings excluded. Then \(\mathrm{SAT} \le _p \mathrm{FSAT}\) (a CNF is a formula) and \(\mathrm{FSAT} \le _p \mathrm{SAT}\) (Tseitin encoding with one fresh variable per gate), so \(\mathrm{FSAT}\) is \(\mathsf{NP}\)-complete.
\(\mathrm{INDSET}\) is \(\mathsf{NP}\)-complete.
If \(L\) is \(\mathsf{NP}\)-hard and \(L \in \mathsf{P}\), then \(\mathsf{P} = \mathsf{NP}\). If \(L\) is \(\mathsf{NP}\)-complete, then \(L \in \mathsf{P} \iff \mathsf{P} = \mathsf{NP}\) and \(L \in \mathsf{coNP} \iff \mathsf{NP} = \mathsf{coNP}\).
\(\mathsf{NP} \subseteq \mathsf{PSPACE}\), and hence \(\mathsf{NP} \subseteq \mathsf{EXP}\).
For every \(L \in \mathsf{NP}\) there is \(R \in \mathsf{FNP}\) with \(x \in L \iff \exists y\, R(x, y)\) for all \(x\). Together with Theorem 146, \(\mathsf{NP} = \{ L : \exists R \in \mathsf{FNP}\ \forall x\ (x \in L \iff \exists y\, R(x, y))\} \).
For every \(T\), \(\mathsf{DTIME}(T) \subseteq \mathsf{NTIME}(T)\). Both classes are monotone under \(O(\cdot )\): if \(T_1 = O(T_2)\) then \(\mathsf{DTIME}(T_1) \subseteq \mathsf{DTIME}(T_2)\) and \(\mathsf{NTIME}(T_1) \subseteq \mathsf{NTIME}(T_2)\). Consequently \(\mathsf{P} \subseteq \mathsf{NP}\), \(\mathsf{P} \subseteq \mathsf{EXP}\), \(\mathsf{NP} \subseteq \mathsf{NEXP}\), and \(\mathsf{EXP} \subseteq \mathsf{NEXP}\).
If \(f \in \mathsf{FP}\) and \(L \in \mathsf{P}\), then \(f^{-1}(L) = \{ x : f(x) \in L\} \in \mathsf{P}\). The same holds with \(\mathsf{NP}\) in place of \(\mathsf{P}\).
Every regular binary language, in the sense shared by Mathlib and CSLib, is in \(\mathsf{DTIME}(n + 2)\) and hence in \(\mathsf{P}\). In particular, the languages of CSLib’s finite nondeterministic automata, one-way or two-way, and the preimages of subsets of finite monoids under monoid homomorphisms from binary strings are in \(\mathsf{P}\).
For every \(z\), \(z \in \mathrm{SAT}\) if and only if some \(\alpha \) is a witness for \(z\), and the witness relation is polynomially balanced. Its pair language is decided by a deterministic machine with three work tapes within a time bound that is \(O(n^2)\), so it is in \(\mathsf{P}\); and \(\mathrm{SAT} \in \mathsf{NP}\).
\(\mathsf{FNP}\) is closed under disjunction: if \(R_1, R_2 \in \mathsf{FNP}\) then \(R_1 \vee R_2 \in \mathsf{FNP}\). If moreover a language \(L\) satisfies \(x \in L \iff \exists y\, R_1(x, y)\) and \(x \notin L \iff \exists y\, R_2(x, y)\) for all \(x\), then \(R_1 \vee R_2\) is in \(\mathsf{TFNP}\) (Megiddo–Papadimitriou).
Let \(S \subseteq \{ 0,1\} ^n\), let \(q \ge 1\) be an integer, and let \(t \ge 0\). The relative hashing estimator runs the constant-factor hashing estimator of Lemma 214 on \(S^{8q}\) with amplification \(k = 8qn + 2 + t\) and returns \(\lfloor (16w)^{1/(8q)} \rfloor \) for its output \(w\). With probability at least \(1 - 2^{-t}\) over the seed, its output \(e\) satisfies \((q - 1)|S| \le qe \le (q + 1)|S|\); for \(t = 2\) this probability is at least \(3/4\). Its output is always below \(2^{n+1}\). By construction (this is a property of the definition, not a separate theorem), the estimator reads \(S\) only through whether \(S^{8q}\) is nonempty and whether zero cells \(\{ z \in S^{8q} : h(z) = 0^j\} \) of affine hashes \(h\) are nonempty.
- Complexity.ApproximateCounting.Relative.hashingEstimate
- Complexity.ApproximateCounting.Relative.successEvent
- Complexity.ApproximateCounting.Relative.failureEvent
- Complexity.ApproximateCounting.Relative.one_sub_two_pow_le_eventProb_successEvent
- Complexity.ApproximateCounting.Relative.eventProb_failureEvent_le_two_pow
- Complexity.ApproximateCounting.Relative.three_fourths_le_eventProb_successEvent
- Complexity.ApproximateCounting.Relative.hashingEstimate_lt_two_pow_succ
For every \(L \in \mathsf{BPP}\) and every polynomial \(q\) there is a polynomial-time probabilistic machine, all of whose paths halt within its clock, that accepts every \(x \in L\) with probability at least \(1 - 2^{-q(|x|)}\) and every \(x \notin L\) with probability at most \(2^{-q(|x|)}\).
If \(L \in \mathsf{BPP}\) then \(\overline{L} \in \mathsf{BPP}\).
For every \(T\), \(\mathsf{DTIME}(T) \subseteq \mathsf{BPTIME}(T) \subseteq \mathsf{PPTIME}(T)\) and \(\mathsf{RTIME}(T) \subseteq \mathsf{NTIME}(T)\). Consequently \(\mathsf{P} \subseteq \mathsf{BPP} \subseteq \mathsf{PP}\); \(\mathsf{RP} \subseteq \mathsf{NP}\); \(\mathsf{ZPP} \subseteq \mathsf{RP}\), \(\mathsf{ZPP} \subseteq \mathsf{coRP}\), and \(\mathsf{ZPP} \subseteq \mathsf{NP}\); and \(\mathsf{RP}, \mathsf{ZPP} \subseteq \mathsf{NEXP}\).
- Complexity.DTIME_subset_BPTIME
- Complexity.BPTIME_subset_PPTIME
- Complexity.RTIME_subset_NTIME
- Complexity.P_subset_BPP
- Complexity.BPP_subset_PP
- Complexity.P_subset_PP
- Complexity.RP_subset_NP
- Complexity.ZPP_subset_RP
- Complexity.ZPP_subset_coRP
- Complexity.ZPP_subset_NP
- Complexity.RP_subset_NEXP
- Complexity.ZPP_subset_NEXP
\(L \in \mathsf{coRP}\) if and only if some polynomial-time probabilistic machine, all of whose paths halt within its clock, accepts every \(x \in L\) with probability \(1\) and every \(x \notin L\) with probability at most \(1/2\).
\(\mathsf{P} \subseteq \mathsf{RP} \cap \mathsf{coRP} = \mathsf{ZPP}\).
If \(\Sigma ^p_k = \Pi ^p_k\) for some \(k \ge 1\), then \(\mathsf{PH} = \Sigma ^p_k\). In particular, if \(\mathsf{P} = \mathsf{NP}\) then \(\mathsf{PH} = \mathsf{P}\).
For every \(k\), \(\Sigma ^p_{k+1} = \mathsf{NP}^{\Sigma ^p_k}\), where \(\mathsf{NP}^{\mathcal{C}}\) is the class of languages decided in polynomial time by a nondeterministic oracle machine with an oracle in \(\mathcal{C}\).
If \(\mathsf{PSPACE}\) is closed under complement and \(\exists \mathsf{PSPACE} \subseteq \mathsf{PSPACE}\), then \(\Sigma ^p_k \subseteq \mathsf{PSPACE}\) for every \(k\), and hence \(\mathsf{PH} \subseteq \mathsf{PSPACE}\). For every polynomial \(p\) and every \(L' \in \mathsf{PSPACE}\) there are a deterministic machine and a polynomial \(Q\) such that every configuration the machine reaches on \(x\) is within decision space \(Q(|x|)\) and the machine halts on every \(x\) with output \(1\) if \(x \in \exists ^p L'\) and \(0\) otherwise; hence \(\exists \mathsf{PSPACE} \subseteq \mathsf{PSPACE}\). Consequently \(\mathsf{PH} \subseteq \mathsf{PSPACE}\).
If \(L \in \mathsf{PP}\) then \(\overline{L} \in \mathsf{PP}\).
\(\mathsf{GapP}\) is closed under addition and multiplication, and \(L \in \mathsf{PP}\) if and only if there is \(h \in \mathsf{GapP}\) with \(x \in L \iff h(x) {\gt} 0\) for all \(x\).
For every \(f \in \# \mathsf{P}\) and polynomial \(q\), a probabilistic polynomial-time machine with an \(\mathsf{NP}\) oracle outputs, with probability at least \(2/3\), a value \(e\) with \((1 - 1/q(|x|)) f(x) \le e \le (1 + 1/q(|x|)) f(x)\).
\(\mathsf{ZPP}\) equals the class of languages decided by a polynomial-time probabilistic machine that outputs \(1\), \(0\), or “don’t know”, is never wrong, and says “don’t know” with probability at most \(1/2\); and it equals the class decided with zero error in expected polynomial time.
The executable evaluator returns exactly the relationally defined values. A hitting list for size \(s\) detects nonzeroness of every formula of size at most \(s\). A hitting list for size \(s+2\) also detects admissibility of every such formula, even when it is identically zero. Consequently the two generated tests are total and correct, without an admissibility promise. No polynomial bit-time bound for these evaluation tests is asserted here.
- Complexity.RationalHitting.Formula.evalMatrix?_eq_some_iff
- Complexity.RationalHitting.Nonzero.admissible
- Complexity.RationalHitting.Hits.nonzero_iff
- Complexity.RationalHitting.Hits.admissible_iff
- Complexity.RationalHitting.Formula.admissible?_eq_true_iff
- Complexity.RationalHitting.Formula.nonzero?_eq_true_iff
The total hitting-list generator belongs to canonical \(\mathsf{FP}\). Its output on every positive unary parameter pair is exactly the source’s complete reduced-rational binary encoding; all other inputs produce empty output. This is a generation theorem, with no assertion about polynomial bit complexity for evaluating formulas on the resulting list.
OpenAI’s generator produces a hitting list for every \(s\geq 1\) and \(n\geq 1\). Its common dimension is at most \(256(n+s+1)^{10}\), its full binary output length is polynomial, and one fixed finite-state \(\mathrm{TM0}\) machine generates the list within a fixed polynomial number of transitions. The mathematical hitting and dimension bounds also hold for \(n=0\).
The inverse formula \(f^{-1}\) is admissible if and only if \(f\) is nonzero. Every admissible formula \(f\) in \(n\) variables has a defined evaluation in some dimension \(0{\lt}d\leq 256(n+|f|+3)^{10}\).
If \(f, g \in \mathsf{FL}\) then \(g \circ f \in \mathsf{FL}\). If moreover \(A \in \mathsf{L}\), then \(f^{-1}(A) \in \mathsf{L}\).
Fix polynomials \(d\) and \(\ell \). Suppose that on input \(x\) a game tree has nodes that are strings of length at most \(\ell (|x|)\) and depth at most \(d(|x|)\); the children of a node are enumerated in order by a polynomial-time successor function, so the branching may be exponential; leaves carry polynomial-time values; and each internal node folds its children’s values with a polynomial-time operation (such as maximum, minimum, sum, \(\vee \) or \(\wedge \)) whose intermediate values have polynomial length. Then every language defined by a polynomial-time predicate of the root value is in \(\mathsf{PSPACE}\).
If \(S'\) is space-constructible, \(S'(n) \ge \log n\) and \(S = o(S')\), then \(\mathsf{DSPACE}(S) \subsetneq \mathsf{DSPACE}(S')\).
If \(S'\) is space-constructible, \(S'(n) \ge \log n\) and \(S = o(S')\), then \(\mathsf{NSPACE}(S) \subsetneq \mathsf{NSPACE}(S')\).
If \(S = O(\log n)\), then for every DTM with \(k\) work tapes there is \(c\) with \(B(n, S(n)) = O(n^{1 + (2c + 1)k})\), where \(B\) is the snapshot count of Theorem 236. Hence \(\mathsf{L} \subseteq \mathsf{P}\) and \(\mathsf{FL} \subseteq \mathsf{FP}\).
The function computed by every log-space loop program is in \(\mathsf{FL}\), and a program that outputs a single bit decides a language in \(\mathsf{L}\).
\(\mathsf{NL} \subseteq \mathsf{P}\) and \(\mathsf{coNL} \subseteq \mathsf{P}\). The library also records a reduction of \(\mathsf{NL} \subseteq \mathsf{P}\) to one machine, which the proof below does not use: if for every NTM \(M\) deciding some language in space \(S = O(\log n)\) and all constants \(A, B\) some DTM decides, within an explicit polynomial time bound, the set of \(x\) such that some configuration in \(\mathrm{reachSet}(\mathrm{init}(x), A(|x| + 1)^B)\) of \(M\) is halted with verdict \(1\), then \(\mathsf{NL} \subseteq \mathsf{P}\).
Directed \(s\)–\(t\) reachability, under an adjacency-matrix codec, is in \(\mathsf{NL}\) and every language in \(\mathsf{NL}\) log-space reduces to it.
\(\mathsf{PSPACE} \subseteq \mathsf{EXP}\). More precisely, if a DTM \(M\) with state set \(Q\) and \(k\) work tapes decides \(L\) in space \(f\), transducer or not, then \(M\) decides \(L\) in time \(n \mapsto |Q|\, (n + f(n) + 2)\, \bigl((f(n) + 1)\, 4^{f(n) + 1}\bigr)^k\, (f(n) + 2)\, 4^{f(n) + 2}\), and if \(f = O(n^m)\) this bound is \(O(2^{n^j})\) for some \(j\).
Every regular binary language, in the sense shared by Mathlib and CSLib (accepted by a finite deterministic automaton), is in \(\mathsf{DSPACE}(0)\), hence in \(\mathsf{DSPACE}(S)\) for every \(S\), and is in \(\mathsf{L}\). The languages of CSLib’s finite nondeterministic automata, one-way or two-way, the languages of regular expressions over \(\{ 0,1\} \), and the preimages of subsets of finite monoids under monoid homomorphisms from binary strings are in \(\mathsf{L}\).
\(\mathsf{NPSPACE} \subseteq \mathsf{PSPACE}\), hence \(\mathsf{PSPACE} = \mathsf{NPSPACE}\).
If \(S\) is space-constructible and \(S(n) \ge \log n\), then \(\mathsf{NSPACE}(S) \subseteq \mathsf{DSPACE}(S^2)\).
Let \(M\) be a deterministic transducer with state set \(Q\) and \(k\) work tapes, and let \(B(n, s) = 8\, |Q|\, (n + s + 2)\, \bigl((s + 1)\, 4^{s + 1}\bigr)^k\), the exact number of reduced snapshots (state, input head, bounded view of each work tape, whether the output head is on the left marker, and the symbol under the output head). If every configuration \(M\) reaches from its initial configuration on \(x\) is within auxiliary space \(s\), and \(M\) reaches a halted configuration in \(t\) steps, then \(t + 1 \le B(|x|, s)\); in particular \(t \le B(|x|, s)\). Consequently, if \(M\) decides \(L\) in space \(S\) then \(M\) decides \(L\) in time \(n \mapsto B(n, S(n))\), and if \(M\) computes \(f\) in space \(S\) then \(M\) computes \(f\) in time \(n \mapsto B(n, S(n))\).
- Complexity.TM.transducerConfigBound
- Complexity.TM.card_transducerSnapshot
- Complexity.TM.IsTransducer.reachesIn_succ_le_transducerConfigBound
- Complexity.TM.IsTransducer.reachesIn_le_transducerConfigBound
- Complexity.TM.DecidesInSpace.decidesInTime_configBound
- Complexity.TM.ComputesInSpace.computesInTime_configBound
\(\mathsf{TQBF} \in \mathsf{PSPACE}\), and every \(L \in \mathsf{PSPACE}\) satisfies \(L \le _p \mathsf{TQBF}\) under polynomial-time many-one reductions.
Let \(g\) be clock-constructible with \(g(n) \ge 1\) for all \(n\), and let \((f(n) + n + 1)^2 = o(g(n))\). Then some language lies in \(\mathsf{DTIME}((n+1)^2 (g(n) + 1))\) but not in \(\mathsf{DTIME}(f)\); in fact \(\mathsf{DTIME}(f) \subsetneq \mathsf{DTIME}((n+1)^2 (g(n) + 1))\). In particular, for every \(a \ge 1\), \(\mathsf{DTIME}((n+1)^a) \subsetneq \mathsf{DTIME}((n+1)^{2a+5})\).
For every \(k\) and every machine \(M\) with \(k\) work tapes there is a description \(\alpha \) such that \(\mathcal{U}\) simulates \(M\) under the compiler \(p \mapsto \langle \alpha , p \rangle \), and does so in time \((p, t) \mapsto \mathrm{utmTime}(\alpha , 16(k+1)(t + |p| + 1)^2, |p|)\). Consequently \(\mathcal{U}\) is efficiently universal (with additive program overhead \(2|\alpha | + 2\)) and universal.