Valiant depth reduction for bounded-fan-in programs #
Specializes Cslib.IsGrading.exists_sdiff
(CslibFrontier.Foundations.Combinatorics.DepthReduction)
[Valiant1977; Jukna2012, Lemma 1.4; AroraBarak09, Lemma 13.14; Lokam2009, Lemma 2.2]
to
arbitrary bounded-fan-in straight-line programs p : Program σ n g (p.FanInAtMost r). For any
t ≤ k and p.depth < 2 ^ k, cutting at most r * t * g / k gates leaves every wire with
residual gate depth at most 2 ^ (k - t) (Program.valiantDepthReduction), and turning those
cut gates into extra inputs produces a fan-in-preserving cut program of depth at most 2 ^ (k - t)
with the exact same wire trace (Program.exists_cutProgram, Program.exists_depthReduced_program).
Main results #
Cslib.Circuits.Program.valiantDepthReduction: cuts at mostr * t * g / kgates so every wire has residual depth at most2 ^ (k - t).Cslib.Circuits.Program.exists_depthReduced_program: combinesvaliantDepthReductionandexists_cutPrograminto a fan-in-preserving program of depth at most2 ^ (k - t)onmextra cut-gate inputs (m ≤ r * t * g / k).
References #
Valiant Depth-Reduction Lemma ([Val77]; [Jukna2012, Lemma 1.4];
[AroraBarak09, Lemma 13.14]; [Lokam2009, Lemma 2.2]), specialized from
Cslib.IsGrading.exists_sdiff
to bounded-fan-in straight-line programs: for t ≤ k and p.depth < 2 ^ k, cutting at most
r * t * g / k gates makes every wire's residual gate depth at most 2 ^ (k - t).
Every bounded-fan-in program p of depth < 2 ^ k admits m ≤ r * t * g / k cut gates
whose replacement by extra inputs yields a FanInAtMost r program of depth at most 2 ^ (k - t)
computing the same wire trace.