<p>(A). XOR function and its distribution. Left: The simplest logic of XOR gate expressed as the combination of basic logic units, according to the four rules in main text. XOR gate is distributed into two different logic-operating cells, USC and DSC. USC bears a genetic AND gate, with the output signal linked to DSC. DSC processes three inputs; two environmental inputs and an intermediate signal from USC. NOT gate does not belong to either cell, but is realized by transcription-inhibitory “chemical wire”. Such construction satisfies truth table of XOR gate presented in the right panel. (B). Gene circuit to characterize transfer function of USC. Only when both inputs exist, functional T7 polymerase would activate T7 promoter and produce out...