Documentation

CslibFrontier.Computability.Circuit.Prefix.OptimalDepth.Recurrence

Real two-parameter segment-width recurrence V_k(d, h) and diagonal sum V_k*(D) #

Auxiliary real-valued recurrence V_k(d, h), root-budgeted variant W_k(r, d, h), and diagonal sum V_k*(D) used to upper-bound generalized prefix distribution trees for fanout k ≥ 3 in the proof of Sergeev's theorem [Ser25a].

Main definitions #

Main results #

References #

noncomputable def Cslib.Circuits.Prefix.V (k : ℕ) :
ℕ → ℕ → ℝ

Real segment-width upper bound V_k(d, h) with base (3 / 2) ^ d at h = 0.

theorem Cslib.Circuits.Prefix.V_zero_right (k d : ℕ) :
V k d 0 = (3 / 2) ^ d

At output budget h = 0, V k d 0 = (3 / 2) ^ d.

theorem Cslib.Circuits.Prefix.V_nonneg (k d h : ℕ) :
0 ≤ V k d h

V k d h is nonnegative for all k, d, h.

noncomputable def Cslib.Circuits.Prefix.W (k r d : ℕ) :
ℕ → ℝ

Root-budgeted segment bound W k r d h for a root with fanout budget r.

theorem Cslib.Circuits.Prefix.W_eq_V {k : ℕ} (hk : 2 ≤ k) (d h : ℕ) :
W k k d h = V k d h

At full root budget r = k ≥ 2, W k k d h coincides with V k d h.

theorem Cslib.Circuits.Prefix.W_one_le {k r : ℕ} (hr : 1 ≤ r) (d h : ℕ) :
1 ≤ W k r d h

For positive root budget r ≥ 1, 1 ≤ W k r d h.

theorem Cslib.Circuits.Prefix.W_mono_left (k r d h : ℕ) :
W k r d h ≤ W k r (d + 1) h

W k r d h is monotone in the interval-tree depth d.

theorem Cslib.Circuits.Prefix.W_split_depth_one {k r d h : ℕ} (hr : 2 ≤ r) :
W k (r - 1) d (h + 1) + V k d h = W k r (d + 1) (h + 1)

Splitting off a direct child subtree at depth 1 satisfies W k (r - 1) d (h + 1) + V k d h = W k r (d + 1) (h + 1).

theorem Cslib.Circuits.Prefix.W_split_depth_two {k r d h : ℕ} (hk : 3 ≤ k) (hr : 2 ≤ r) (_hrk : r ≤ k) :
W k r d (h + 2) + V k d h ≤ W k r (d + 1) (h + 2)

Splitting off a proper descendant subtree at depth ≥ 2 satisfies W k r d (h + 2) + V k d h ≤ W k r (d + 1) (h + 2) for k ≥ 3 and 2 ≤ r ≤ k.

noncomputable def Cslib.Circuits.Prefix.vStar (k D : ℕ) :

Diagonal sum V_k*(D) = ∑_{d=0}^D V_k(d, D - d) bounding circuit width for k ≥ 3.

theorem Cslib.Circuits.Prefix.vStar_recurrence {k D : ℕ} (hk : 3 ≤ k) (hD : k ≤ D) :
vStar k D = ∑ i ∈ Finset.Ico 2 k, vStar k (D - i) + 2 * vStar k (D - k) + (3 / 2) ^ D + ↑(k - 1)

Inhomogeneous order-k linear recurrence for vStar k D when 3 ≤ k ≤ D.