Documentation

CslibFrontier.Computability.Circuit.Prefix.OptimalDepth.CharPoly

Characteristic polynomial P_k and positive growth root α_k #

Characteristic polynomial P_k(x) = 2 + x + ⋯ + x^{k-2} - x^k (prefixCharPoly k) and its unique positive real root α_k (alphaRoot k) governing the asymptotic depth of optimal fanout-k universal prefix circuits [Ser25a].

Main definitions #

Main results #

References #

Characteristic polynomial P_k(x) = 2 + x + ⋯ + x^{k-2} - x^k governing the asymptotic growth of optimal fanout-k prefix circuit widths ([Ser25a], p. 2).

noncomputable def Cslib.Circuits.Prefix.alphaRoot (k : ℕ) :

For k ≥ 2, the unique positive real root α_k of prefixCharPoly k ([Ser25a], p. 2). Returns 0 when k < 2.

alphaRoot k is a root of prefixCharPoly k for all k ≥ 2 ([Ser25a], p. 2).

1 < alphaRoot k for all k ≥ 2.

alphaRoot k < Real.goldenRatio for all k ≥ 2, immediate from P_k(φ) < 0 for the characteristic polynomial P_k(x) ([Ser25a], p. 2).

theorem Cslib.Circuits.Prefix.eq_alphaRoot_of_pos_of_prefixCharPoly_eq_zero {k : ℕ} {x : ℝ} (hk : 2 ≤ k) (hx : 0 < x) (h0 : prefixCharPoly k x = 0) :

Uniqueness of the positive root alphaRoot k of prefixCharPoly k for k ≥ 2 ([Ser25a], p. 2).

Original auxiliary root lower bound 3 / 2 < alphaRoot k for all k ≥ 3 (via prefixCharPoly k (3 / 2) > 0), used in the inhomogeneous recurrence bound of width_le_mul_alphaRoot_pow.

At fanout k = 2, alphaRoot 2 = √2, immediate from P_2(x) = 2 - x^2 ([Ser25a], p. 2).

The positive roots alphaRoot k form a strictly increasing sequence on k ≥ 2, immediate from the definition of P_k(x) ([Ser25a], p. 2).

As k → ∞, alphaRoot k converges to the golden ratio φ = (1 + √5) / 2 ([Ser25a], p. 2).