Documentation

CslibFrontier.Computability.Circuit.Boolean.RepeatedSquaring.LogSpace

Generating repeated Boolean squaring in logarithmic space #

A generator enumerates the squarings, the matrix entries in each squaring, and the intermediate vertex in each entry. It writes the binary wire numbers in program order.

Main results #

References #

The circuit is the Boolean matrix-powering construction of Arora and Barak, Chapter 6, Exercise 9(b–c), 2007 draft.

Logspace generation of the gate list of repeated matrix squaring, after applying the given wire numbering. Numerical dimensions, round counts and address arguments are unary. The generated circuit lines use native operation tags and binary wire addresses.