Minimal depth of optimal fanout-bounded prefix circuits #
Following Sergeev [Ser25a], we complete the depth characterization of optimal
(zero-deficiency) fanout-k universal prefix circuits. Extracting principal-chain segments directly
from any zero-deficiency universal prefix DAG yields sharp k = 2 width bounds
(width_le_one_add_maxCircuitWidthUpper_two, width_le_maxCircuitWidthUpper_two) and general
exponential circuit width upper bounds (width_le_mul_alphaRoot_pow) in terms of the unique
positive root α_k (alphaRoot k) of the characteristic polynomial
P_k(x) = 2 + x + ⋯ + x^{k-2} - x^k (prefixCharPoly k).
Combining these upper bounds with the constructive lower bounds of
CslibFrontier.Computability.Circuit.Prefix.ConsistentTree, we establish that for each fanout bound
k ≥ 2, there exists a constant C ≥ 0 (depending on k) such that for every input width
N ≥ 1, the minimal depth D(N, k) (optimalPrefixDepth N k) of an optimal fanout-k universal
prefix circuit on N inputs satisfies
|(optimalPrefixDepth N k : ℝ) - Real.logb (alphaRoot k) N| ≤ C
(abs_optimalPrefixDepth_sub_logb_le), together with the exact k = 2 threshold characterization
(optimalPrefixDepth_two_le_iff), strict monotonicity of α_k on k ≥ 2
(alphaRoot_strictMonoOn), and convergence α_k → φ (tendsto_alphaRoot_atTop).
Main definitions #
Cslib.Circuits.Prefix.prefixCharPoly,Cslib.Circuits.Prefix.alphaRoot: characteristic polynomialP_k(x)and its unique positive rootα_k.Cslib.Circuits.Prefix.optimalPrefixDepth: minimal depthD(N, k)of an optimal fanout-kuniversal prefix circuit onNinputs.
Main results #
Cslib.Circuits.Prefix.width_le_one_add_maxCircuitWidthUpper_two,Cslib.Circuits.Prefix.width_le_maxCircuitWidthUpper_two,Cslib.Circuits.Prefix.width_le_mul_alphaRoot_pow: sharpk = 2and general exponential width upper bounds for optimal fanout-kuniversal prefix circuits.Cslib.Circuits.Prefix.prefixCharPoly_alphaRoot,Cslib.Circuits.Prefix.eq_alphaRoot_of_pos_of_prefixCharPoly_eq_zero,Cslib.Circuits.Prefix.one_lt_alphaRoot,Cslib.Circuits.Prefix.alphaRoot_lt_goldenRatio,Cslib.Circuits.Prefix.three_halves_lt_alphaRoot,Cslib.Circuits.Prefix.alphaRoot_two,Cslib.Circuits.Prefix.alphaRoot_strictMonoOn,Cslib.Circuits.Prefix.tendsto_alphaRoot_atTop: existence, uniqueness, enclosure,k = 2value√2, strict monotonicity, and convergenceα_k → φofα_k.Cslib.Circuits.Prefix.exists_optimalPrefixCircuit_depth_eq,Cslib.Circuits.Prefix.optimalPrefixDepth_one,Cslib.Circuits.Prefix.optimalPrefixDepth_two_le_iff,Cslib.Circuits.Prefix.abs_optimalPrefixDepth_sub_logb_le: attainment ofD(N, k),N = 1base case, exactk = 2threshold characterization, and main theoremD(N, k) = log_{α_k} N ± O(1).
References #
Exact maximum width bound for optimal fanout-2 prefix circuits of positive depth:
N ≤ 1 + w_2*(c.depth - 1) ([Ser25a], p. 3, w_2(D) = w_2*(D - 1)).
Every optimal fanout-2 prefix circuit on N ≥ 1 inputs satisfies
N ≤ maxCircuitWidthUpper 2 c.depth ([Ser25a], p. 3, Eq. (3)).
Exponential upper bound on the input width of any optimal (zero-deficiency) fanout-k
universal prefix circuit in terms of (alphaRoot k) ^ c.depth ([Ser25a],
pp. 3–5).
Minimal depth D(N, k) of an optimal (zero-deficiency) universal prefix circuit on N inputs
with wire fanout bounded by k ([Ser25a], p. 2).
For every k ≥ 2 and N ≥ 1, there exists an optimal fanout-k universal prefix circuit on
N inputs attaining depth optimalPrefixDepth N k.
On a single input N = 1, the minimal depth of an optimal fanout-k prefix circuit is 0.
Exact threshold characterization of optimalPrefixDepth N 2 for D ≥ 1 and N ≥ 1:
optimalPrefixDepth N 2 ≤ D if and only if N ≤ 1 + maxCircuitWidthUpper 2 (D - 1)
([Ser25a], pp. 2–3, following Eq. (3)).
Sergeev's Theorem ([Ser25a], p. 2): for every fanout bound k ≥ 2, there
exists a constant C ≥ 0 (depending only on k) such that for every input width N ≥ 1, the
minimal depth optimalPrefixDepth N k of an optimal (zero-deficiency) fanout-k universal prefix
circuit on N inputs satisfies
|(optimalPrefixDepth N k : ℝ) - Real.logb (alphaRoot k) N| ≤ C.