Documentation

CslibFrontier.Computability.Circuit.Boolean.CodeReplication

Codes of replicated De Morgan circuits #

Specializes Cslib.Circuits.Circuit.replicateCode from CslibFrontier.Computability.Circuit.Encoding.Combinators to De Morgan circuits.

Main definitions #

Main results #

@[reducible, inline]

The code of k disjoint copies of the De Morgan circuit with code code on n inputs.

Replicating a raw code multiplies its gate count by k.

Replicating the code of a circuit gives the code of its disjoint copies.

Replicating a raw code is polynomial-time, with a binary input count and a unary number of copies.