Reading an encoded De Morgan circuit #
The De Morgan form of Cslib.Circuits.Circuit.computableInPolyTime_arity_code: an encoded circuit
read as the pair of its number of inputs and its code.
Main results #
Cslib.Circuits.Boolean.computableInPolyTime_arity_code: an encoded De Morgan circuit as the pair of its number of inputs and its code.
theorem Cslib.Circuits.Boolean.computableInPolyTime_arity_code (m : ℕ) :
Turing.MultiTapeTM.ComputableInPolyTime (fun (c : (n : ℕ) × Circuit signature n m) => (c.fst, c.snd.code))
(encCircuit m) (Turing.MultiTapeTM.encPair Turing.MultiTapeTM.encUnary encCode)
Read an encoded De Morgan circuit as the pair of its number of inputs, in unary, and its code
(Cslib.Circuits.Circuit.computableInPolyTime_arity_code).