Documentation

CslibFrontier.Computability.Circuit.Encoding.PolyTime

Reading an encoded circuit #

Cslib.Circuits.Circuit.encCircuit encodes a circuit as a dependent pair of its number of inputs and the circuit (Turing.MultiTapeTM.encSigma), whose second component is encoded by its code. Reading it as the plain pair of the number of inputs and the code is therefore free, after which the pair projections read either part.

Main results #

Read an encoded circuit as the pair of its number of inputs, in unary, and its code. The encoded words are the same.