The computation biomachine

Logic gates and neural networks provide two computing architectures to test in a cell. Their scaling puzzles lead to the biological task: complex dynamic decisions made through binding and persistent expression states.

The biomachine perspective begins with a function. Lecture 10 selected control and asked how molecular mechanisms maintain an output or adapt to a change. Lecture 11 connected reaction orders to dynamical behavior. Lecture 9 supplied the circuits that switch, remember and keep time. Today we choose computation as the function and ask how the cell achieves it.

We will follow two engineered constructions before choosing the biological task. A molecular NAND works, but its dedicated catalytic channels supply a small gate budget. A molecular linear threshold unit also works, but regulation among transcription-factor genes supplies a small weight budget. These comparisons motivate a different question: how does a cell choose and preserve useful actions? Binding lets the same factors participate in many interactions and expression combinations. MultiFate makes that principle concrete.

What this lecture enables

Construct the molecular gate and weighted comparison, identify the resources their architectures need, and explain how homodimer activation and heterodimer sequestration create several persistent cell-state decisions.

Four parts and ten main teaching points. Present, or the P key, switches to the graphical lecture. The optional extension derives a richer binding-state response map. The older finite-affinity, loading, timing, energy and memory calculations remain available below the main argument.

The exposition develops the calculations and worked examples. The lineage follows the experiments and the questions they tested.

Part 1

Test logic gates as a cellular computing architecture

Build a molecular gate, connect the construction to an engineered architecture, and estimate the component budget.

1The biomachine perspective asks how computation is achieved

Choose computation as the function of a biomachine. Then ask what principles make engineered computation powerful and whether a cell uses those principles.

An engineered computer combines simple operations into a complex calculation. A logic gate combines a few binary inputs. A circuit connects many gates, and a clock lets the circuit perform successive operations. A neural network combines many weighted response units. Its connections encode a learned input-output map. In both cases, one unit is simple. Much of the architecture's power comes from how many units, connections and operations it can combine.

The biomachine question has two steps. First, can biological components implement the same computing unit? Second, can that implementation scale with the components available to a cell? We will try logic gates, then neural networks. Each molecular construction works. Each component count raises a new question.

P1Build the proposed computing unit, then ask whether its architecture scales in a cell.

What principles let a machine turn signals into useful actions? Begin with familiar computing architectures. Then ask what the cell must do. Linked logic gates Compose logical deductions Fit an input-output relation Weighted neural networks
II
II
Act A living cell Sense, retain a state, act Which tasks and resource counts belong in the comparison?

Scroll inside the figure to see it at reading size.

Figure 1. Engineered computing principles suggest two molecular constructions. The diagrams compare gate composition, weighted responses and a cell that selects actions from signals. Arrows between functional blocks indicate information flow.

The scaling puzzle leads us back to the cell's task. A cell responds to nutrients, stress and developmental signals by selecting actions. The selected action may depend on the cell's present state and the signals that came before. Binding lets the same molecules participate in many possible configurations. Feedback can make some expression combinations persist. We will test this alternative through MultiFate's cell-state decisions.

The physical notation

A bare species symbol denotes a free concentration. A total is qXq_X. A complex of two partners is CXYC_{XY}. Binary labels describe the concentrations or expression states we read. They are not additional molecular species unless we explicitly construct them.

Use the biomachine perspective to test a computing principle in two steps: build its molecular unit, then count how the resulting architecture scales.

2Molecules can implement and compose logic gates

Logic gates are the first attempt because a large digital computer is built from connected gates. We need a molecular gate before asking how many the cell can supply.

A NAND gate produces output 0 only when both inputs are 1. Its four outputs for inputs 00, 01, 10 and 11 are 1, 1, 1 and 0. Repeating one input gives NOT. NAND followed by NOT gives AND. Combining these operations gives OR. Connected NAND gates can therefore implement any finite Boolean truth table. Repeated computation also requires memory and a sequencing rule.

P2Inputs select catalytic conversion. The output balance implements a molecular truth table.

A gate network performs a larger task by connecting repeated units Four NAND gates compute XOR. Replication increases the gate count.
xx
yy
11
22
33
44
x⊕yx\oplus y
¬(x∧y)\neg(x\land y)
¬ ⁣[x∧¬(x∧y)]\neg\!\left[x\land\neg(x\land y)\right]
Inputs Output 0 0 0 0 1 1 1 0 1 1 1 0 XOR unit XOR unit XOR unit XOR unit XOR unit More parallel units
G=4NG=4N
Gate count measures available hardware. Circuit depth affects the time to settle. These edges carry logic signals. They are not chemical reactions.

Scroll inside the figure to see it at reading size.

Figure 2. Connected gates turn simple binary operations into a larger calculation. The inputs and intermediate binary values are signals in a circuit. The network illustrates composition and circuit depth, rather than chemical reactions.

Molecular forms can encode the inputs and output. Let X0,X1X_0,X_1 encode input xx, and Y0,Y1Y_0,Y_1 encode input yy. Reservoirs supply the selected input forms. The output forms Z0,Z1Z_0,Z_1 interconvert. The selected inputs catalyze conversion toward the required output. The four composite conversions are

X0+Y0+Z0⇝X0+Y0+Z1,X0+Y1+Z0⇝X0+Y1+Z1,X1+Y0+Z0⇝X1+Y0+Z1,X1+Y1+Z1⇝X1+Y1+Z0.\begin{aligned} X_0+Y_0+Z_0&\rightsquigarrow X_0+Y_0+Z_1,\\ X_0+Y_1+Z_0&\rightsquigarrow X_0+Y_1+Z_1,\\ X_1+Y_0+Z_0&\rightsquigarrow X_1+Y_0+Z_1,\\ X_1+Y_1+Z_1&\rightsquigarrow X_1+Y_1+Z_0. \end{aligned}
A chemical NAND uses persistent input forms to convert the output Each panel starts with the wrong output form and shows the required net conversion. Inputs 00
X0X_0
Y0Y_0
Held in reservoirs
Z0Z_0
Z1Z_1
Output 1 Initial output Inputs 01
X0X_0
Y1Y_1
Held in reservoirs
Z0Z_0
Z1Z_1
Output 1 Initial output Inputs 10
X1X_1
Y0Y_0
Held in reservoirs
Z0Z_0
Z1Z_1
Output 1 Initial output Inputs 11
X1X_1
Y1Y_1
Held in reservoirs
Z1Z_1
Z0Z_0
Output 0 Initial output
qZ=Z0+Z1,tgate=(a+b)−1q_Z=Z_0+Z_1,\qquad t_{\mathrm{gate}}=(a+b)^{-1}
The inputs are returned unchanged. The net arrows leave catalytic steps unresolved.

Scroll inside the figure to see it at reading size.

Figure 3. The selected input forms drive the required output conversion. The input reservoirs hold one form of each input. Composite conversions move a fixed output pool between its two forms. The readout is the output-1 fraction.

The rate balance recovers the truth table. Let z=qZ1/qZz=q_{Z_1}/q_Z be the output-1 fraction of a fixed output pool. Write aa for the effective conversion rate from output 0 to output 1 and bb for the reverse rate. Both have inverse-time units after the held inputs are included. Then

z˙=a(1−z)−bz,z∗=aa+b(a+b>0).\dot z=a(1-z)-bz,\qquad z^*=\frac{a}{a+b}\quad(a+b>0).

For inputs 00, 01 and 10, the ideal construction has a>0a>0 and b=0b=0, so z∗=1z^*=1. For 11, it has a=0a=0 and b>0b>0, so z∗=0z^*=0. This calculation neglects bound output intermediates and assumes the unresolved catalytic mechanism supports the stated effective conversions. The optional calculation checks leakage and settling time.1

Promoter binding supplies another familiar way to combine inputs. Lecture 9 assigned activity to promoter occupancy states. An unbound active promoter repressed by either of two inputs gives NOR at the low and high input levels. Other active-state choices give AND, OR and NAND. The logic resides in which bound configurations permit production.2

Genetic gates have also been composed in living cells. Nielsen and colleagues' Cello system connected characterized transcriptional gates in E. coli and tested the complete circuits. The designs used measured input and output ranges to choose compatible gates. A temporary wrong output in one circuit exposed the additional need to account for signal propagation delays.3

Write the output-changing operations for each input combination, then check their balance. A molecular truth table can work. The next question is how many such units can operate together.

3A dedicated catalytic-gate architecture has a small component budget

Linked logic gates scale computation by supplying more elementary operations. A large circuit combines the outputs of many simple gates. At a fixed clock and precision, more gates allow more operations to run in parallel. Reusing those gates for more clock cycles allows a longer computation. If GG gates each evaluate once per clock cycle at frequency fclockf_\mathrm{clock}, the available gate evaluations over elapsed time TT scale as

Neval∼GfclockT.N_\mathrm{eval}\sim G f_\mathrm{clock}T.

Here NevalN_\mathrm{eval} counts elementary gate evaluations. A floating-point operation combines many such evaluations, so a FLOP count must also specify arithmetic precision and the operation performed. The principle is that a chosen computational architecture has an identifiable resource that must scale with the work.

The molecular NAND construction lets us estimate that resource in a cell. Give the cell an illustrative budget of Ncat∼103N_\mathrm{cat}\sim10^3 distinct catalytic types. Suppose each type supplies one independently addressed conversion channel, and every molecular NAND requires four distinct channels. The number of separately specified gates is then

Gcell∼Ncat4∼1034=250gates.G_\mathrm{cell}\sim\frac{N_\mathrm{cat}}{4}\sim\frac{10^3}{4}=250\quad\text{gates}.

This is the few-hundred-gate estimate in the 2025 lecture. The scale of the molecular inventory is plausible: the E. coli iML1515 metabolic reconstruction links 1,515 enzyme-associated genes to 2,719 metabolic reactions. It also shows why the gene-to-channel assignment is an architectural assumption rather than an identity.110

Even a compact historical computer used thousands of logic gates. The Apollo Block II guidance computer contained 5,600 logic gates in 2,800 packages. Its gate count is about twenty times the illustrative molecular budget. A modern scale reference is the 2020 Apple M1 system on a chip, for which the manufacturer reports 16 billion transistors. The M1 number counts physical transistors, including memory and other functions, rather than logic gates.89

P3The dedicated catalytic construction supplies hundreds of gates and leaves a scaling puzzle.

A dedicated catalytic construction gives a limited gate budget Count distinct catalytic types for this construction. Compare the resulting budget with a gate count. Illustrative cellular construction
E1E_1
E2E_2
E3E_3
E4E_4
Assume about 1,000 distinct enzyme types. Allocate four types to each chemical NAND.
Gcell∼10004=250G_{\mathrm{cell}}\sim\frac{1000}{4}=250
A budget under the stated assignment. Apollo guidance computer, Block II 2,800 circuit packages 5,600 logic gates Reported hardware count (Hall, 1972). Chemical NAND 250 Apollo Block II 5,600 Gate count under the two stated meanings Modern chip context: Apple M1 (2020) contains 16 billion transistors. Transistors are physical switches. This number is not a measured count of NAND gates. The catalytic assignment is a construction scenario, not an upper bound on cellular computation.

Scroll inside the figure to see it at reading size.

Figure 4. The dedicated catalytic construction supplies a limited gate budget. The cell estimate assumes 1000 independently addressed catalytic types and four conversion channels per NAND. Apollo supplies a measured gate count. The M1 comparison separately counts physical transistors.

The first scaling comparison leaves a puzzle. Under the dedicated-channel construction, a cell provides hundreds of specialized gates. Engineered computers link much larger component arrays and reuse them at fast clocks. Borrowing the gate-array architecture therefore does not explain how a compact cell makes so many coordinated decisions. This is a comparison within the stated architecture, not an upper bound on every computation chemistry can implement.

A different computational unit may use the same components more efficiently. The next attempt combines many inputs in one weighted decision. Neural networks organize such units into layers, and their scaling comparison counts weights rather than dedicated catalytic gates.

Estimate the gate and operation budget of the molecular construction, then use the mismatch with large engineered circuits to ask whether another architecture fits the cell.

Part 2

Test neural networks as a cellular computing architecture

Build a weighted molecular comparison, then ask how many regulatory weights the cell can supply.

4A neural network combines weighted inputs through layers

Perhaps the cell uses a more compact computing unit than an explicit truth table. A neural network combines weighted inputs before applying a nonlinear response.

A neural-network unit adds weighted inputs and applies a response. If its inputs are xjx_j, weights are wjw_j and threshold is θ\theta, a linear threshold unit returns

y={1,∑jwjxj>θ,0,∑jwjxj≤θ.y=\begin{cases}1,&\sum_jw_jx_j>\theta,\\0,&\sum_jw_jx_j\le\theta.\end{cases}

The inputs, weights and threshold are dimensionless here. A positive weight favors output 1. A negative weight favors output 0. Modern networks also use smooth or rectified responses. The common construction is a weighted combination followed by a nonlinear response.

P4A neural network builds a complex map by composing weighted responses across layers.

A neural network composes weighted decisions across layers A connection supplies one weight. A neuron sums its weighted inputs and applies a threshold.
x1x_1
x2x_2
x3x_3
h1h_1
h2h_2
h3h_3
y1y_1
y2y_2
Inputs Hidden units Outputs
3×3+3×2=15 weights3\times3+3\times2=15\ \text{weights}
x1x_1
x2x_2
x3x_3
w1>0w_1>0
w2<0w_2<0
w3>0w_3>0
∑\sum
yy
Weighted sum Threshold
y=1{∑jwjxj>θ}y=1_{\{\sum_jw_jx_j>\theta\}}
Blue: w>0,teal: w<0\text{Blue: }w>0,\quad\text{teal: }w<0
Positive and negative weights let an input favor or oppose the decision. Count the connections when asking how this construction scales.

Scroll inside the figure to see it at reading size.

Figure 5. Weighted connections compose responses across layers. The chosen layer sizes give 15 connection weights before biases. Inputs enter one layer and subsequent layers read the preceding responses. This is a computing diagram.

Connecting these units in layers builds a richer input-output map. One layer reads the inputs. Later layers read combinations computed by earlier layers. Training adjusts the weights so the outputs fit a specified family of examples. This is the engineered principle we will test in gene regulation: can molecular inputs be weighted and compared, and how many weights can the cell provide?

A decision boundary makes the unit's task visible. For binary inputs, weights w1=w2=1w_1=w_2=1 with threshold 1/21/2 give OR. Threshold 3/23/2 gives AND. XOR needs intermediate decisions because its two positive input corners cannot be separated from its two negative corners by one line. The optional XOR construction shows the extra layer explicitly.

Read a linear threshold unit as a signed weighted comparison. The network's connections tell you which weights must be supplied and tuned.

5Competitive binding and titration give a linear threshold unit

A molecular weighted decision must combine several inputs and permit both signs of influence. Two repressed producers can do this when their proteins sequester each other.

Three expressed genes make the comparison and its readout. Gene GRG_R produces protein RR. Gene GSG_S produces protein SS. The proteins bind into an inactive complex CRSC_{RS}. Free SS represses the third gene, G0G_0, which produces the output. Input factors IjI_j repress the two producers with different affinities. The inputs are supplied separately, so producing them is outside the three-gene count.

Three expressed genes convert promoter allocation into a decision Two genes supply proteins that sequester each other. Free repressor controls the reporter. 1 Allocate each promoter 2 Produce the two proteins 3 Pair competing proteins 4 Read free repressor
GiG_i
GiG_i
I1I_1
GiG_i
I2I_2
+I1+I_1
k+i1k_{+i1}
k−i1k_{-i1}
+I2+I_2
k+i2k_{+i2}
k−i2k_{-i2}
Active Repressed when occupied
Di=1+∑jIj/Kij,i=R,SD_i=1+\sum_jI_j/K_{ij},\quad i=R,S
GRG_R
R
RR
GSG_S
S
SS
RNA Protein
qR=aRDR,qS=aSDSq_R=\frac{a_R}{D_R},\quad q_S=\frac{a_S}{D_S}
RR
++
SS
k+k_+
k−k_-
RR
SS
CRSC_{RS}
Paired proteins cannot bind the reporter.
qR=R+CRS,qS=S+CRSq_R=R+C_{RS},\quad q_S=S+C_{RS}
qR−qS=R−Sq_R-q_S=R-S
G0G_0
O
OO
Unoccupied promoter expresses output
G0G_0
O
SS
Occupied promoter is repressed
p=G0qG0=KoutKout+Sp=\frac{G_0}{q_{G_0}}=\frac{K_{\mathrm{out}}}{K_{\mathrm{out}}+S}
Harpoons: elementary binding. Bare squiggles: transcription and translation.

Scroll inside the figure to see it at reading size.

Figure 6. Three expressed genes convert promoter allocation into a weighted decision. Free inputs regulate two producer promoters. Their proteins sequester each other, and a third promoter reads free repressor. The output promoter is rare, so its bound repressor makes a negligible contribution to the protein totals. Elementary binding arrows carry microscopic rate constants. Expression arrows describe composite processes.

First, competitive binding allocates each promoter. Hold the free input concentrations IjI_j constant. Assume promoter binding equilibrates before the protein totals change. Only one input can bind a producer promoter at a time, and an occupied promoter is inactive. For the RR producer, let KRjK_{Rj} be the input's dissociation constant. Elementary binding gives CGRIj=IjGR/KRjC_{G_RI_j}=I_jG_R/K_{Rj}. Counting the unbound and input-bound promoters gives GR=qGR/DRG_R=q_{G_R}/D_R, where DR=1+∑jIj/KRjD_R=1+\sum_jI_j/K_{Rj}. Define DSD_S in the same way, using the other promoter's input dissociation constants KSjK_{Sj}.

Second, each available promoter makes its protein. Transcription and translation are composite processes. Let aRa_R and aSa_S denote the unrepressed steady protein totals, including the expression gain and promoter abundance. With total-proportional removal, the steady totals are qR=aR/DRq_R=a_R/D_R and qS=aS/DSq_S=a_S/D_S. Every aia_i, qiq_i, IjI_j and dissociation constant has concentration units.

Third, tight sequestration removes the matched proteins. One molecule of RR binds one molecule of SS. When pair binding is sufficiently tight, CRS≃min⁡(qR,qS)C_{RS}\simeq\min(q_R,q_S) and free S≃max⁡(qS−qR,0)S\simeq\max(q_S-q_R,0). A sensitive output promoter is repressed when SS is in excess. It is available when RR is in excess. The ideal decision therefore labels qR>qSq_R>q_S as output 1.

Fourth, compare the two totals to obtain signed weights. Both expression denominators are positive, so cross multiplication preserves the comparison. Choose a concentration scale c0>0c_0>0 and encode the inputs as xj=Ij/c0x_j=I_j/c_0. The whole calculation fits in four lines:

DR=1+∑jIj/KRj,DS=1+∑jIj/KSj,qR=aR/DR,qS=aS/DS,qR>qS ⟺ aR−aS+∑jIj(aR/KSj−aS/KRj)>0,y=1 ⟺ ∑jwjxj>θ,wj=aRKSj−aSKRj,θ=aS−aRc0.\begin{aligned} D_R&=1+\sum_jI_j/K_{Rj},\quad D_S=1+\sum_jI_j/K_{Sj},\\ q_R&=a_R/D_R,\quad q_S=a_S/D_S,\\ q_R>q_S&\ \Longleftrightarrow\ a_R-a_S+\sum_jI_j\left(a_R/K_{Sj}-a_S/K_{Rj}\right)>0,\\ y=1&\ \Longleftrightarrow\ \sum_jw_jx_j>\theta,\quad w_j=\frac{a_R}{K_{Sj}}-\frac{a_S}{K_{Rj}},\quad\theta=\frac{a_S-a_R}{c_0}. \end{aligned}

P5Competitive promoter binding, expression and sequestration give a signed weighted decision.

Positive promoter denominators turn a molecular comparison into a plane
DR=1+∑jIj/KRj>0,DS=1+∑jIj/KSj>0D_R=1+\sum_jI_j/K_{Rj}>0,\quad D_S=1+\sum_jI_j/K_{Sj}>0
Compare protein totals
qR=aRDR,qS=aSDS,qR>qSq_R=\frac{a_R}{D_R},\quad q_S=\frac{a_S}{D_S},\quad q_R>q_S
Multiply by positive denominators
aRDS−aSDR>0a_RD_S-a_SD_R>0
Collect the independent input concentrations
∑j(aRKSj−aSKRj)Ij>aS−aR\sum_j\left(\frac{a_R}{K_{Sj}}-\frac{a_S}{K_{Rj}}\right)I_j>a_S-a_R
Express the decision in common concentration units
∑jwjxj>θ,xj=Ij/c0\sum_jw_jx_j>\theta,\quad x_j=I_j/c_0
wj=aRKSj−aSKRj,θ=aS−aRc0w_j=\frac{a_R}{K_{Sj}}-\frac{a_S}{K_{Rj}},\qquad\theta=\frac{a_S-a_R}{c_0}

Scroll inside the figure to see it at reading size.

Figure 7. Positive expression laws yield a signed affine comparison. The free inputs vary while expression amplitudes and promoter affinities remain fixed. Positive denominators preserve the inequality under cross multiplication. The final row defines the dimensionless weights and threshold.

Different affinities make inputs with either sign. A positive weight makes increasing that input favor the comparison qR>qSq_R>q_S. A negative weight makes increasing that input favor the opposite comparison. The proteins and their production remain nonnegative. The signed weight comes from comparing two positive expression outputs. For example, the parameter choice below gives the decision 3x1−x2>13x_1-x_2>1:

aR=2c0,aS=3c0,(KR1,KR2)=(3c0,1.5c0),(KS1,KS2)=(0.5c0,2c0).a_R=2c_0,\quad a_S=3c_0,\quad(K_{R1},K_{R2})=(3c_0,1.5c_0),\quad(K_{S1},K_{S2})=(0.5c_0,2c_0).
Protein surplus gives an ideal decision boundary Free inputs vary. Expression amplitudes and promoter affinities stay fixed. The input plane 0 0.5 1 1.5 2 0 1 2 3
x1=I1/c0x_1=I_1/c_0
x2=I2/c0x_2=I_2/c_0
qR>qSq_R>q_S
Ideal output 1
qR<qSq_R<q_S
Ideal output 0 Pair the common amount. Read the free protein. 1 1
(x1,x2)=(0,1)(x_1,x_2)=(0,1)
RR
SS
SS
G0G_0
O
SS
CRS/c0≈1.200C_{RS}/c_0\approx1.200
S/c0≈0.800S/c_0\approx0.800
Repressed 2 2
(x1,x2)=(1,1)(x_1,x_2)=(1,1)
RR
SS
RR
G0G_0
O
CRS/c0≈0.857C_{RS}/c_0\approx0.857
R/c0≈0.143R/c_0\approx0.143
Expressed 3 3
(x1,x2)=(0.5,2)(x_1,x_2)=(0.5,2)
RR
SS
SS
G0G_0
O
SS
CRS/c0≈0.800C_{RS}/c_0\approx0.800
S/c0≈0.200S/c_0\approx0.200
Repressed
x2=3x1−1:qR=qSx_2=3x_1-1:\quad q_R=q_S
Finite readout rounds the equality line.
aR=2c0, aS=3c0,(KR1,KR2)=(3,1.5)c0,(KS1,KS2)=(0.5,2)c0a_R=2c_0,\ a_S=3c_0,\quad (K_{R1},K_{R2})=(3,1.5)c_0,\quad(K_{S1},K_{S2})=(0.5,2)c_0
The molecular pictures show the strong-binding readout limit away from equality.

Scroll inside the figure to see it at reading size.

Figure 8. The two inputs select which protein remains in excess. The free inputs vary while producer amplitudes and affinities remain fixed at the stated example. The line 3x1−x2=13x_1-x_2=1 is the exact total-comparison boundary. In the ideal tight-sequestration and sensitive-reporter limit, output is 1 where R remains unmatched and 0 where S remains unmatched. Finite binding rounds the reporter response near the boundary.
Read the boundary as a molecular decision

Hold x1=1x_1=1 and increase x2x_2. The totals match at x2=2x_2=2. In the ideal readout, below that value, RR is in excess and the reporter is available. Above that value, SS is in excess and represses the reporter. Finite binding and reporter loading determine the measured transition.

The drawn line compares producer totals. A finite reporter's half-output contour also depends on pair affinity, reporter affinity and reporter abundance. Adding reporter sites consumes free repressor and shifts the measured threshold. The loading calculation derives this shift, and the exposition's calculator lets you vary the reporter abundance.

A reliable binary readout needs a concentration margin. The inputs must leave a sufficient protein surplus, binding must settle before the readout, and promoter-bound amounts must be small enough for the unloaded calculation. The optional calculations give the finite-affinity and clock conditions.1

The sequestration threshold has experimental support. Buchler and Cross built a synthetic yeast circuit in which an inhibitor sequestered a transcriptional activator. Increasing inhibitor abundance moved the activation threshold and sharpened the reporter response. This tests the titration mechanism used as one ingredient of our weighted comparison.18 The lineage explains the intervention and its evidence.

Competitive promoter binding, positive expression and one-to-one sequestration turn three expressed genes into a signed weighted comparison. The third promoter reads which protein remains unmatched.

6Regulator-network weights leave a second scaling puzzle

A neural network's weighted connections provide its next scaling resource. In a fully connected network with nℓn_\ell units in layer ℓ\ell, every unit in one layer supplies a weighted input to every unit in the next. The number of connection weights is

W=∑ℓ=0L−1nℓnℓ+1.W=\sum_{\ell=0}^{L-1}n_\ell n_{\ell+1}.

Here LL is the number of transitions between layers. Biases add further parameters. Sharing one weight across several connections changes the parameter count. Once the architecture is fixed, these weights determine the family of input-output maps the network can represent.

The molecular linear threshold unit suggests counting regulation among transcription-factor genes. Treat each transcription factor as a potential output of a decision unit. Let NTFN_\mathrm{TF} be the number of transcription-factor types and rr the mean number of input regulators per transcription-factor gene. Assign one effective weighted influence to each regulatory connection. Then

Wcell∼NTFr.W_\mathrm{cell}\sim N_\mathrm{TF}r.

The 2025 handwritten notes explicitly write “genes (TFs)” in this estimate. This counts the network among regulators. It gives the following simple comparison, using the notes' approximate bacterial and yeast inventories, the published human census, and declared input counts.111

Regulatory networkTranscription-factor typesAssumed inputs per regulator geneEstimated weighted connections
E. coli30030022300×2=600300\times2=600
Yeast20020055200×5=1000200\times5=1000
Human1600160010101600×10=160001600\times10=16000

Published engineered networks use much larger learned parameter budgets. LeNet-5 uses 60,000 trainable parameters for handwritten-digit recognition. AlexNet uses 60 million parameters for image classification. The published GPT-3 model uses 175 billion trainable parameters for language modeling. These are parameters in specific trained architectures, including biases where the source count includes them.121314

P6The regulator-network weight count leaves the second scaling puzzle.

Count regulatory weights before comparing neural architectures Cell scenarios count regulator-to-regulator inputs. Neural models count trained parameters.
Wcell=NTFrW_{\mathrm{cell}}=N_{\mathrm{TF}}r
Number of transcription factors × assumed inputs per transcription factor
10210^{2}
10410^{4}
10610^{6}
10810^{8}
101010^{10}
101210^{12}
Bacterium 300 × 2 600 Yeast 200 × 5 1,000 Human 1,600 × 10 16,000 LeNet-5 (1998) trained parameters 60,000 AlexNet (2012) trained parameters 60,000,000 GPT-3 (2020) trained parameters 175,000,000,000 Counts on a logarithmic scale The cellular scenarios depend on the selected architecture and assumed connectivity. The comparison motivates a different task and a different molecular unit.

Scroll inside the figure to see it at reading size.

Figure 9. Regulation among transcription-factor genes leaves a second scaling puzzle. The biological bars use the stated transcription-factor inventories and inputs per regulator gene. Engineered bars use published trainable parameter counts. The source definitions remain distinct.

The second scaling comparison still does not explain the cell's complex decisions. The illustrative human regulator network has about four times fewer weighted connections than LeNet-5, about 4,000 times fewer than AlexNet, and about ten million times fewer than GPT-3. Counting regulation of all target genes would add connections. It would not automatically give independently adjustable neural-network weights. The regulator-network analogy nevertheless leaves the intended question: how does a small molecular controller make complex decisions without reproducing the giant architectures we build?

The answer may depend on which computation the cell needs. A computer can perform long symbolic deductions. A trained neural network can fit a broad family of input-output maps. A cell must at least sense environmental changes and choose coordinated actions through time. We now ask how molecular binding can support those complex dynamic decisions.

Count the weighted connections in the proposed regulator network, compare its scale with specific engineered networks, and use the remaining gap to reconsider the biological task.

Part 3

Choose the biological task and its molecular units

Return to signals, histories and actions. Binding supplies a large repertoire of interacting molecular allocations.

7Environmental signals call for dynamic decisions

Both molecular constructions succeed, yet both borrowed architectures have a small component budget. We now ask what computation a cell actually needs.

The biological task is to choose an action from environmental signals. A nutrient change can call for a different metabolic programme. A stress signal can call for protection or growth arrest. A developmental signal can select a lasting expression state. These are examples of dynamic decisions. Their inputs include a signal history and a current cellular state. Their outputs are actions and changes of state.

P7A cell uses signal history and its present state to select an action.

A cell uses input history to select a state and an action The same current input can lead to different actions after different histories.
uA(t)u_A(t)
favors A
tt
AA
BB
Persistent state
qAq_A
tt
Divide
uB(t)u_B(t)
favors B
tt
AA
BB
Persistent state
qAq_A
tt
Move A pulse changes the state. The state selects a continuing action. The input has returned to its baseline in both rows. The states remain different. Schematic histories and state trajectories. Actions illustrate possible cellular tasks.

Scroll inside the figure to see it at reading size.

Figure 10. A cell uses input history to select a state and an action. The signal protocol and prior state determine a trajectory. Feedback can preserve a selected expression state after a pulse. Arrows denote regulation and state evolution, rather than elementary reactions.

The present signal can mean different things after different histories. A transient developmental pulse can leave the cell in a state that persists after the pulse has gone. The same present environment can then accompany different expression states. To represent that decision, write the dynamics and the observed action as

q˙=f(q,I(t)),y=h(q).\dot q=f(q,I(t)),\qquad y=h(q).

Here qq collects the changing molecular totals, I(t)I(t) is the environmental signal, ff gives their rates of change, and hh gives the measured action or state label. A decision experiment specifies the initial state, signal protocol and reading time.

Choosing the biological task changes what efficient computation means. The logic-gate attempt borrowed an architecture for explicit Boolean operations. The neural-network attempt borrowed an architecture for fitting a flexible input-output function. A cell needs particular decisions that keep it functioning and select its future behavior. We should ask how its molecules make those decisions, rather than require the cell to reproduce a large general-purpose computing architecture.

Binding is a candidate because it directly couples sensing to molecular allocation. One molecule can bind different partners. A bound configuration can make a process available, prevent it, or create an active complex. The same concentrations that describe the cell's physical state also supply its computing inputs. We next count these binding units and build a decision from them.

Describe a cellular computation by the signal history, prior state, selected action and retention time. This specifies the biological task that the molecular architecture must explain.

8Binding supplies many interacting units from a shared inventory

Binding supplies many interaction channels without requiring one new gene for every channel. A protein can bind several partners, nucleic-acid sites, metabolites and cofactors. The same molecular inventory can therefore participate in many competing allocations. Those allocations change which molecules remain active and which processes they control.

Pairwise binding opportunities grow quadratically with the number of protein types. Let PP be the number of protein types included in a model. Counting unordered heterotypic pairs and one homotypic pair for each type gives

Npair=(P2)+P=P(P+1)2.N_\mathrm{pair}=\binom P2+P=\frac{P(P+1)}2.

For an illustrative inventory of P=4000P=4000, the count is approximately P2/2≃8×106P^2/2\simeq8\times10^6 possible pair types. For P=20,000P=20{,}000, it is approximately 2×1082\times10^8. These are possibilities before specifying affinity, co-localization and expression. They explain why the number of interaction opportunities can greatly exceed the number of genes.

A measured physical association network

Huttlin and colleagues' BioPlex 3.0 study assembled 118,162 protein associations among 14,586 proteins from 10,128 bait pulldowns in human 293T cells. A second network in HCT116 cells showed substantial changes in the associations. The assembled 293T network therefore gives an observed scale of about 1.2×1051.2\times10^5 physical associations.15

P8Binding reuses one molecular inventory across many interacting allocations.

Binding lets one molecular pool participate in many interactions Different partners create different allocations of the same conserved molecules. Protein with protein
RR
SS
k+1k_{+1}
k−1k_{-1}
RR
SS
Protein with DNA
RR
GG
k+2k_{+2}
k−2k_{-2}
GG
RR
Protein with RNA
RR
MM
k+3k_{+3}
k−3k_{-3}
RR
Protein with a small molecule
RR
II
k+4k_{+4}
k−4k_{-4}
RR
Four protein types. Ten possible pair types.
X1X_1
X1X_1
X1X_1
X2X_2
X1X_1
X3X_3
X1X_1
X4X_4
X2X_2
X2X_2
X2X_2
X3X_3
X2X_2
X4X_4
X3X_3
X3X_3
X3X_3
X4X_4
X4X_4
X4X_4
Npair=P(P+1)2N_{\mathrm{pair}}=\frac{P(P+1)}2
The realized pairs depend on affinity and amounts.
qXi=Xi+2CXiXi+∑j≠iCXiXjq_{X_i}=X_i+2C_{X_iX_i}+\sum_{j\ne i}C_{X_iX_j}
More pair types do not make the amounts independently adjustable. Every allocation must obey the same molecular balances.

Scroll inside the figure to see it at reading size.

Figure 11. One molecular inventory participates in many binding interactions. The schematic distinguishes binding classes, possible protein-pair types and shared totals. A physical association is not assumed to be an independently programmed computing element.

Affinity-purification associations can include proteins connected through the same complex. They are not a list of independently programmable elementary binding reactions.

Other binding classes enlarge the interaction inventory. Protein-DNA, protein-RNA, substrate, cofactor, lipid and ion binding add other classes of interaction. The 2025 lecture's totals of 105 ⁣– ⁣10610^5\!\text{–}\!10^6, 106 ⁣– ⁣10710^6\!\text{–}\!10^7 and 107 ⁣– ⁣10810^7\!\text{–}\!10^8 for bacterial, yeast and mammalian binding interactions are broad estimates across those classes, not comprehensive measured censuses.1

One tight binding pair acts by matching the common amount and keeping the excess free. For the elementary pair A+B⇌k−k+CABA+B\xrightleftharpoons[k_-]{k_+}C_{AB}, the totals are qA=A+CABq_A=A+C_{AB} and qB=B+CABq_B=B+C_{AB}. In the tight-binding limit,

CAB≃min⁡(qA,qB),A≃max⁡(qA−qB,0),B≃max⁡(qB−qA,0).C_{AB}\simeq\min(q_A,q_B),\qquad A\simeq\max(q_A-q_B,0),\qquad B\simeq\max(q_B-q_A,0).

Free AA is a rectified linear unit applied to the difference of the totals. The complex takes their minimum. These operations act on existing molecules. Connecting several binding partners changes their common conservation equations, as the optional loading calculation shows.

Strong pairing matches common amounts and leaves the excess free One binding reaction supplies a minimum in the complex and a rectifier in each free pool.
A+B⇌k−k+CABA+B\xrightleftharpoons[k_-]{k_+}C_{AB}
AA
AA
AA
AA
AA
BB
BB
BB
Supplied amounts Pair
AA
BB
AA
BB
AA
BB
AA
AA
Matched pairs Excess A 0 1 2 0 0.5 1
CAB≈min⁡(qA,qB)C_{AB}\approx\min(q_A,q_B)
qA/c0(qB=c0)q_A/c_0\quad(q_B=c_0)
CAB/c0C_{AB}/c_0
0 1 2 0 0.5 1
A≈max⁡(qA−qB,0)A\approx\max(q_A-q_B,0)
qA/c0(qB=c0)q_A/c_0\quad(q_B=c_0)
A/c0A/c_0
These are strong-binding limits. Finite dissociation rounds the corner. One conserved amount can be read through several binding forms.

Scroll inside the figure to see it at reading size.

Figure 12. One tight binding pair matches common amounts and leaves the excess free. At prescribed totals, reversible binding approaches the minimum for its complex and a rectified difference for each free partner. These concentration operations require the stated tight-binding regime.

Competitive binding converts these interactions into dynamic decisions. Changing one partner's total redistributes several complexes and free pools together. If an active binding state controls production, the allocation changes the future totals as well. Feedback can then maintain one of several expression patterns. MultiFate makes this mechanism concrete: homodimers activate their own genes, while heterodimers inhibit by consuming the same monomer pools.

Count the interaction opportunities supplied by a shared molecular inventory, then trace how binding and expression turn those allocations into persistent cellular decisions.

Part 4

Build and scale cell-fate decisions through binding

Homodimers and heterodimers close expression into persistent choices. Combinations expand the repertoire.

9Homodimer activation and heterodimer sequestration create three stable choices

A cell-fate decision must preserve an expression state after the selecting signal has gone. Binding can make several combinations self-maintaining while using the same small set of regulators.

MultiFate lets each transcription factor activate itself and sequester the others. Consider two factors, AA and BB. Each factor forms an active homodimer that activates its own gene. The two factors also form an inactive heterodimer. That heterodimer removes both monomers from the pools that could make active homodimers. Self-activation and inhibition therefore use the same dimerization domain, rather than separate regulatory machinery for each pair.

The dimers determine the production available to each gene. The elementary binding steps are

A+A⇌k−k+CAA,B+B⇌k−k+CBB,A+B⇌k−2k+CAB.A+A\xrightleftharpoons[k_-]{k_+}C_{AA},\qquad B+B\xrightleftharpoons[k_-]{k_+}C_{BB},\qquad A+B\xrightleftharpoons[k_-]{2k_+}C_{AB}.

Assume dimerization equilibrates before production and removal appreciably change the totals. Write Kd=k−/k+K_d=k_-/k_+ for the shared binding scale in the paper's convention. The factor of two in heterodimer association gives CAB=2AB/KdC_{AB}=2AB/K_d, while CAA=A2/KdC_{AA}=A^2/K_d and CBB=B2/KdC_{BB}=B^2/K_d. Each homodimer contains two copies of its factor. Each heterodimer contains one copy of each factor. The total concentrations are therefore

qA=A+2CAA+CAB,qB=B+2CBB+CAB.q_A=A+2C_{AA}+C_{AB},\qquad q_B=B+2C_{BB}+C_{AB}.

These protein totals neglect the much smaller amounts bound to promoter sites. The promoter response reads the homodimers without appreciably changing their allocation.

MultiFate shares binding partners to create persistent expression states Homodimers activate their own genes. Heterodimers sequester both factors. Self-activation by the homodimer
AA
++
AA
k+k_+
k−k_-
AA
AA
CAAC_{AA}
GAG_A
A
AA
Dashed edge: activates its own promoter. Inhibition by heterodimer allocation
AA
++
BB
2k+2k_+
k−k_-
AA
BB
CABC_{AB}
The heterodimer activates neither promoter. Both factors leave their free pools together. Add a factor. Add its possible binding partners. Two factors: three expression states 10 01 11 Three factors: seven expression states 100 010 001 110 101 011 111 1 means high expression. 0 means low expression. The cell retains a combination of active factors. The seven MultiFate-3 expression states persisted for at least 18 days. These observed counts concern the tested circuits and conditions. They are not a count for every parameter choice.

Scroll inside the figure to see it at reading size.

Figure 13. Homodimers activate expression while heterodimers sequester the same factors. Only homodimers activate their own genes. The inactive heterodimer consumes both monomers. Closing production with total-proportional removal permits the three expression choices shown, at the stated model parameters.

Homodimer formation already makes activation nonlinear. The active homodimer concentration is proportional to the square of its free monomer concentration. Increasing AA can therefore give a more than proportional increase in its activator. Adding BB consumes the same monomers into an inactive heterodimer and opposes that activation. Closing expression around these two effects supplies self-activation and inhibition.

Production and removal close this allocation into a memory. Transcription and translation are composite production processes. Let α\alpha be basal production, β\beta the largest added production, KMK_M the homodimer concentration for half activation, and δ\delta the removal frequency. The production rates have concentration-per-time units, and the removal frequency has inverse-time units. The published effective promoter response uses exponent nn to describe its homodimer-dependent activity. This exponent is not the molecularity of an elementary reaction. Uniform removal acts on the total, including bound molecules:

q˙A=α+βCAA nKM n+CAA n−δqA,q˙B=α+βCBB nKM n+CBB n−δqB.\dot q_A=\alpha+\beta\frac{C_{AA}^{\,n}}{K_M^{\,n}+C_{AA}^{\,n}}-\delta q_A,\qquad \dot q_B=\alpha+\beta\frac{C_{BB}^{\,n}}{K_M^{\,n}+C_{BB}^{\,n}}-\delta q_B.

Fast dimerization supplies the allocation before the totals change appreciably. The feedback now determines which allocations can maintain themselves. The optional calculation writes that allocation and the published parameter choice explicitly.

Nullclines locate the expression combinations that maintain both totals. Each factor must balance production and removal. The AA nullcline is the set of (qA,qB)(q_A,q_B) with q˙A=0\dot q_A=0. The BB nullcline has q˙B=0\dot q_B=0. At an intersection, both totals stop changing. The response to a small perturbation determines whether the intersection is stable.

Two factors can maintain three different expression states. The Lecture 9 parameter choice gives stable states with AA high and BB low, BB high and AA low, and both high. The first two states sustain one homodimer while heterodimer formation suppresses the other. In the third state, both factors produce enough active homodimer to maintain their expression despite sequestration. The two nullclines cross at these three stable states and at two intervening saddles. A perturbation near each stable state returns to the same expression combination.

The illustrative stable totals are approximately (qA,qB)/KM=(19.99,0.83)(q_A,q_B)/K_M=(19.99,0.83), its reverse, and (18.69,18.69)(18.69,18.69). These are the same model calculations and parameter choice as Lecture 9. The labels high and low distinguish expression levels. They do not mean that a low factor is absent.7

P9Active homodimers and inactive heterodimers support three persistent expression choices.

Binding and expression maintain three stable expression states The unchanged MultiFate-2 model has three stable equilibria and two saddles. Protein totals and their rates of change Binding at the stable equilibria 0 5 10 15 20 0 5 10 15 20
qA/KMq_A/K_M
qB/KMq_B/K_M
1 2 3 1 A high, B low
(qA,qB)/KM=(19.99,0.83)(q_A,q_B)/K_M=(19.99,0.83)
8.217
CAAC_{AA}
0.014
CBBC_{BB}
0.686
CABC_{AB}
2 A low, B high
(qA,qB)/KM=(0.83,19.99)(q_A,q_B)/K_M=(0.83,19.99)
0.014
CAAC_{AA}
8.217
CBBC_{BB}
0.686
CABC_{AB}
3 A high, B high
(qA,qB)/KM=(18.69,18.69)(q_A,q_B)/K_M=(18.69,18.69)
4.163
CAAC_{AA}
4.163
CBBC_{BB}
8.327
CABC_{AB}
dqA/dt=0dq_A/dt=0
dqB/dt=0dq_B/dt=0
Stable equilibrium Saddle Concentrations in units of
KMK_M
Homodimers activate. Heterodimers do not. A nullcline marks zero rate of change for one protein total.
α/(KMδ)=0.8,β/(KMδ)=20,Kd/KM=1,n=1.5\alpha/(K_M\delta)=0.8,\quad\beta/(K_M\delta)=20,\quad K_d/K_M=1,\quad n=1.5
Model calculation with fast binding and total-proportional removal. Arrows show rate direction.

Scroll inside the figure to see it at reading size.

Figure 14. Three stable points and two saddles organize the maintained expression choices. The nullclines and allocations use fixed parameters α/(KMδ)=0.8\alpha/(K_M\delta)=0.8, β/(KMδ)=20\beta/(K_M\delta)=20, Kd/KM=1K_d/K_M=1 and n=1.5n=1.5. Both total concentrations vary over the phase portrait. Nullcline intersections balance production and removal for both factors. Protein totals count two constituents per homodimer and one per heterodimer. All concentrations use the homodimer half-activation scale.

A dynamic decision must be selected by a signal and retained after that signal ends. MultiFate provides an experimental test of both steps. Doxycycline activates expression of factor BB. Trimethoprim stabilizes the factor proteins. Reducing trimethoprim allows faster protein removal. The dimerization control AP1903 is held constant.

Inducing the second factor can select the state where both factors are high. Zhu and colleagues started one sorted population with AA high and BB low. Doxycycline induced BB during days 0–6 while protein stability remained high. After doxycycline was withdrawn, the population retained the state where both factors were high. The added factor now had enough active homodimer to maintain its own expression.

Changing protein stability permits a different retained choice. A separately sorted population started with both factors high. During days 0–6, doxycycline induced BB while trimethoprim was reduced. The state with both factors high lost stability, and the population moved to BB high and AA low. Doxycycline was then withdrawn and trimethoprim was restored. The population retained the new expression state through the follow-up to day 18.7

Transient controls select expression states that persist after withdrawal Two MultiFate-2 experiments start from separately sorted cell populations. Sorted starting state Treat during days 0–6. Then remove the writing controls. Retained through day 18 10 A high, B low 0 6 18 Doxycycline Withdrawn Induce B expression Trimethoprim remains high throughout.
10 μM10\,\mu\mathrm M
11 A high, B high 11 A high, B high 0 6 18 Doxycycline Withdrawn Induce B expression 0 6 18 Lower trimethoprim Restore high level
30 nM30\,\mathrm{nM}
10 μM10\,\mu\mathrm M
01 A low, B high AP1903 at 100 nM enables dimerization throughout both protocols. Doxycycline at 500 ng/ml induces B. Trimethoprim controls transcription-factor stability. Population-level transition summary. The drawing does not trace one cell continuously. Experimental protocols: Zhu et al., Figure 4B and Figure S16B. Elapsed time is in days.

Scroll inside the figure to see it at reading size.

Figure 15. Transient experimental controls select expression states that persist after removal. The two protocols start from separately sorted populations. Doxycycline induction takes cells with A high and B low to both factors high. Doxycycline induction with trimethoprim reduction takes cells with both factors high to B high and A low. The selecting controls are then removed while dimerization remains enabled. These are the measured switching directions from Zhu et al., Figure 4B and supplementary Figure S16.

The final external conditions do not identify the selected state. Each protocol ends with the original controls restored. The circuit preserves the expression choice made during the temporary signal. These are two measured population protocols with different sorted starting states. The optional model comparison instead holds the starting state fixed and computes three retained outcomes.

Homodimer activation and inactive heterodimer formation let a small set of factors maintain several expression combinations. The binding allocation creates the regulation. The closed production and removal dynamics establish the memory states.

10Combinatorial expression states expand the repertoire of decisions

MultiFate turns a small set of regulators into many possible decisions by reusing them in different expression combinations.

Three factors provide seven nonempty high-expression combinations. The labels are A, B, C, A+B, A+C, B+C and A+B+C. Zhu and colleagues built a three-factor MultiFate circuit and maintained all seven expression states for at least 18 days under the reported stabilizing conditions. These are engineered transcription-factor expression states. Each state is a distinct molecular choice that the circuit can preserve.7

P10Reusing factors across expression combinations expands the repertoire of decisions.

More factors can support many more persistent expression states Count stable states of the stated model separately from possible binary labels and pair types. Persistent states or binary labels 2 3 4 5 6 7 0 32 64 96 128
N transcription factorsN\ \text{transcription factors}
3 7 15 30 56 99 Possible unordered pair types 2 3 4 5 6 7 0 10 20 30
N transcription factorsN\ \text{transcription factors}
Course model enumeration, fixed parameters
2N possible binary labels, including all-low2^N\ \text{possible binary labels, including all-low}
N(N+1)/2N(N+1)/2
A structural count, not a stability test. Two factors maintain three choices 10 01 11 Three factors: seven measured states 100 010 001 110 101 011 111
α/(KMδ)=0.8,β/(KMδ)=20\alpha/(K_M\delta)=0.8,\quad\beta/(K_M\delta)=20
Kd/KM=1,n=1.5K_d/K_M=1,\quad n=1.5
The curve beyond three factors is a model calculation. Possible labels alone do not establish stability.

Scroll inside the figure to see it at reading size.

Figure 16. The same factor types support several persistent expression combinations. Left, numerical enumeration at fixed Lecture 9 model parameters gives 3, 7, 15, 30, 56 and 99 stable states for two through seven factors. The dashed curve counts all possible binary labels, including the all-low label. Right, the unordered dimer count grows as N(N+1)/2. The counts at four or more factors are model calculations, rather than experimental state inventories.

The two counts now grow differently. With NN factor types, the dimerization construction uses NN homodimer types and N(N−1)/2N(N-1)/2 heterodimer types. The possible high-or-low expression labels number 2N2^N, including the all-low label. For ten factors, there are 55 unordered dimer types and 1024 binary labels. This is the combinatorial opportunity: the factors are reused across the expression combinations.

Ndimer=N(N+1)2,Npattern=2N.N_\mathrm{dimer}=\frac{N(N+1)}2,\qquad N_\mathrm{pattern}=2^N.

The closed dynamics decide which combinations are stable. The same model calculation used in Lecture 9 gives 3, 7, 15, 30, 56 and 99 stable states for two through seven factors at its stated parameters. The published larger-model analysis also finds many attractors, but the count grows more slowly than 2N2^N because competition changes how much active homodimer remains. Possible labels alone are not a stability argument. The demonstrated three and seven states, and the explicitly computed larger counts, supply that dynamical evidence.

A useful repertoire of decisions includes ways to select the states. The two-factor experiments showed that transient induction and changes in protein stability can select a retained expression combination. Adding factors expands the possible combinations. The resulting circuit must still maintain the desired combinations and permit the required transitions. A downstream process can then read the selected factors to execute an action.

How binding answers the cellular computing task

A small set of factors can supply several persistent decisions by reusing its binding partners. Concentration changes redistribute the factors among active homodimers and inactive heterodimers. Signals select an expression combination, and feedback maintains it after the signals end. This architecture performs the biological task with the molecules that also sustain the selected state.

The selected action must still be executed physically. Lecture 13 asks which metabolic fluxes can support it under nutrient, stoichiometric and energy constraints. The optional binding-network construction below asks a different extension question: how rich can the static decision map from inputs to molecular activity become?

Count the factor types, binding interactions and maintained expression states separately. Use MultiFate to explain how shared binding can turn a small molecular repertoire into many persistent decisions.

Beyond the main lecture

Construct a richer binding response and check its implementation

The first extension asks what response maps binding states can represent. The later calculations check finite outputs, resource loading and memory dynamics.

A1 · Binding-state allocation can approximate a continuous decision map

One conserved molecular pool can make a response with several rises and falls. A linear threshold unit represents one weighted comparison. A molecule with several binding states can instead assign a different activity to each state. Redistribution among those states changes the output without requiring a separate expressed gene for every comparison.

A scaffold with successive binding states makes this construction explicit. Let CkC_k contain one scaffold and kk copies of ligand SS, with C0=EC_0=E. Add the ligand through elementary reversible steps:

Ck−1+S⇌kk−kk+Ck,σk=kk−kk+,k=1,…,m.C_{k-1}+S\xrightleftharpoons[k_k^-]{k_k^+}C_k,\qquad \sigma_k=\frac{k_k^-}{k_k^+},\qquad k=1,\ldots,m.

The scaffold total qEq_E is fixed. The ligand total qSq_S is the input. Define each occupancy fraction as pk=Ck/qEp_k=C_k/q_E. Scaffold and ligand conservation give

∑k=0mpk=1,qS=S+qE∑k=0mkpk.\sum_{k=0}^m p_k=1,\qquad q_S=S+q_E\sum_{k=0}^m k p_k.

State activities turn the allocation into an output. Assign state CkC_k a nonnegative dimensionless activity ωk\omega_k, measured relative to one reference production rate k0k_0. The normalized activity and physical production flux are

A(qS)=∑k=0mωkpk(qS),vout=k0qEA(qS).A(q_S)=\sum_{k=0}^m\omega_kp_k(q_S),\qquad v_\mathrm{out}=k_0q_EA(q_S).

This readout must not appreciably bind or sequester the scaffold or ligand. It may be a measurement of the states or a sufficiently slow production process. A reporter that changes the allocation must be included in the binding model.

Widely separated tight affinities make successive states fill in order. Choose the step dissociation constants as σk=κrm−k\sigma_k=\kappa r^{m-k}, with 0<r≤1/40<r\le1/4. Here κ\kappa is the largest dissociation concentration. The ratio pk/pk−1=S/σkp_k/p_{k-1}=S/\sigma_k falls by a factor rr at every step. The occupancy fractions therefore concentrate near one state and its neighbor. Restrict the input range to 0≤qS≤U≤(m−1)qE0\le q_S\le U\le(m-1)q_E, leaving a final state beyond the range.

The sharp limit gives linear interpolation by conservation alone. Take r→0r\to0 and κ→0\kappa\to0 at fixed mm and qEq_E. At an input qS=qE(j+λ)q_S=q_E(j+\lambda), with 0≤λ≤10\le\lambda\le1, free ligand vanishes and only adjacent states CjC_j and Cj+1C_{j+1} retain appreciable fractions. Their fractions must sum to one and have mean occupancy j+λj+\lambda. Hence

pj→1−λ,pj+1→λ,A(qS)→(1−λ)ωj+λωj+1.p_j\to1-\lambda,\qquad p_{j+1}\to\lambda,\qquad A(q_S)\to(1-\lambda)\omega_j+\lambda\omega_{j+1}.

An activity table specifies successive segments of the response. Equal consecutive activities give a plateau. A larger next activity gives a rise. A smaller next activity gives a fall. For six binding steps, the table (ω0,…,ω6)=(0,1,1,0,1,0,0)(\omega_0,\ldots,\omega_6)=(0,1,1,0,1,0,0) gives a rise, a plateau, a fall, another rise and another fall on 0≤qS≤5qE0\le q_S\le5q_E. Every activity and every occupancy fraction remains nonnegative.

State activities create rises, plateaus and falls in one binding response One ligand binds in six successive steps. The same scaffold total is distributed among seven states.
EE
C0C_0
ω0=0\omega_0=0
k+1k_{+1}
k−1k_{-1}
+S+S
EE
C1C_1
ω1=1\omega_1=1
k+2k_{+2}
k−2k_{-2}
+S+S
EE
C2C_2
ω2=1\omega_2=1
k+3k_{+3}
k−3k_{-3}
+S+S
EE
C3C_3
ω3=0\omega_3=0
k+4k_{+4}
k−4k_{-4}
+S+S
EE
C4C_4
ω4=1\omega_4=1
k+5k_{+5}
k−5k_{-5}
+S+S
EE
C5C_5
ω5=0\omega_5=0
k+6k_{+6}
k−6k_{-6}
+S+S
EE
C6C_6
ω6=0\omega_6=0
Give each state its activity. Increasing total ligand moves the allocation along the ladder. 0 1 2 3 4 5 0 0.5 1
qS/qEq_S/q_E
A=∑kωkpkA=\sum_k\omega_kp_k
Rise Plateau Fall Rise Fall Finite binding response Sharp-limit interpolant
A→(1−λ)ωj+λωj+1,qS=qE(j+λ)A\to(1-\lambda)\omega_j+\lambda\omega_{j+1},\quad q_S=q_E(j+\lambda)
Between successive total-ligand amounts, two adjacent state activities are blended.
σk/qE=10−4(10−4)6−k,k=1,…,6\sigma_k/q_E=10^{-4}(10^{-4})^{6-k},\quad k=1,\ldots,6
Illustrative equilibrium calculation. The chosen affinities span 20 decades. Finite affinities round the sharp corners. The output is a static equilibrium response.

Scroll inside the figure to see it at reading size.

Figure 17. A finite binding ladder follows an activity table through rises, a plateau and falls. The total ligand input varies from zero to 5qE5q_E while scaffold abundance, six step affinities and seven state activities remain fixed. At κ=10−4qE\kappa=10^{-4}q_E and r=10−4r=10^{-4}, the exact finite equilibrium response rounds the sharp ordered-binding interpolant. The readout is normalized activity. Physical production flux is k0qEk_0q_E times that activity.

A finite equilibrium calculation rounds the interpolant's corners. Fix qEq_E and choose κ=10−4qE\kappa=10^{-4}q_E and r=10−4r=10^{-4}. Solving the free-ligand balance gives a response within 0.019610.01961 of the interpolant on 501 checked inputs. The sufficient analytical bound is 0.140120.14012 throughout the interval. The sampled maximum checks the calculation. The analytical bound supplies the uniform guarantee.

This illustrative ladder uses dissociation constants spanning 20 orders of magnitude. It shows how allocation produces the activity-table response. It is not a fitted biological design or a claim that the construction is cheap.

Refining the state spacing gives a constructive approximation theorem. To follow a continuous nonnegative target ff on a compact concentration interval with qS≥0q_S\ge0, first hold the target constant outside that interval for any grid points beyond its endpoints. Choose a small scaffold total qEq_E and set ωk=f(kqE)\omega_k=f(kq_E). The interpolant follows the sampled target. Uniform continuity makes its error small when the spacing is small. The finite binding response can be made close to that interpolant by choosing sufficiently small positive rr and κ\kappa. Thus every target and every positive error tolerance have a finite binding network and nonnegative activity table that meet the tolerance throughout that interval. The inspected local tutorial gives the finite-parameter proof and a second construction from identical independent sites.16

Several inputs can be read jointly on the same scaffold. For two ligands with independent binding-site groups, occupancy states are indexed by (k1,k2)(k_1,k_2). Their equilibrium fractions factor into the two groups' occupancy fractions. Sampling a nonnegative target at the grid vertices gives bilinear interpolation in the sharp limit of two ordered ladders. Refining that grid extends the approximation to continuous maps on a compact rectangle of positive ligand totals. The full theorem allows several outputs to read the same occupancy distribution through different nonnegative activity tables.

Four joint binding states already give a concrete two-input map. Take one independent site for each ligand. Hold the free concentrations I1I_1 and I2I_2 in reservoirs, and define yj=Ij/(Kj+Ij)y_j=I_j/(K_j+I_j). Give activity 1 to states occupied by exactly one ligand and activity 0 to the empty and doubly occupied states. The normalized activity is

A=y1(1−y2)+(1−y1)y2.A=y_1(1-y_2)+(1-y_1)y_2.
Selected occupancy states give a curved two-input decision map A scaffold has two independent binding sites. Only the singly occupied states are active. Four equilibrium occupancy states Continuous activity map
EE
C00=EC_{00}=E
EE
I1I_1
C10C_{10}
EE
I2I_2
C01C_{01}
EE
I1I_1
I2I_2
C11C_{11}
k+1k_{+1}
k−1k_{-1}
k+1k_{+1}
k−1k_{-1}
k+2k_{+2}
k−2k_{-2}
k+2k_{+2}
k−2k_{-2}
+I1+I_1
+I1+I_1
+I2+I_2
+I2+I_2
Rose glow marks active scaffold states. 0 0 0.5 0.5 1 1
y2y_2
y1y_1
Darker rose means greater activity.
yj=IjKj+Ij,Kj=k−jk+j,A=C10+C01qEy_j=\frac{I_j}{K_j+I_j},\quad K_j=\frac{k_{-j}}{k_{+j}},\quad A=\frac{C_{10}+C_{01}}{q_E}
A=y1(1−y2)+(1−y1)y2A=y_1(1-y_2)+(1-y_1)y_2
The finite low and high inputs are chosen to give occupancy fractions 0.01 and 0.99. Activities: 0.0198 when inputs match. 0.9802 when they differ. Free inputs are clamped and the scaffold total is fixed. This equilibrium map has no autonomous memory.

Scroll inside the figure to see it at reading size.

Figure 18. Four joint binding states produce a continuous XOR response. The two free input concentrations vary while independent-site affinities and scaffold abundance remain fixed. Only singly occupied states contribute activity. The surface reads their combined occupancy fraction, rather than a history-dependent state transition.

Use free concentrations Ij=Kj/99I_j=K_j/99 for a low input and Ij=99KjI_j=99K_j for a high input. The occupied-site fractions are then 0.01 and 0.99. Activity is 0.0198 when both inputs have the same label and 0.9802 when their labels differ. This is a finite molecular XOR readout. Controlling ligand totals instead requires the balances qIj=Ij+qEyjq_{I_j}=I_j+q_Ey_j, rather than silently identifying free and total input.

The approximation theorem permits resources to scale with the requested accuracy. More states resolve finer features. The ordered ladder's affinity span is σm/σ1=r−(m−1)\sigma_m/\sigma_1=r^{-(m-1)}. Reducing qEq_E also reduces the physical flux unless the readout gain increases. State activities must be physically realizable. The resource-limited scaffold manuscript separates occupancy resolution, pool concentration, physical gain and the input combinations distinguished by the activity table.17

The theorem establishes a static equilibrium response map. Persistent states and autonomous transitions require additional production, removal and feedback dynamics. Those dynamics are what turn the binding allocations in MultiFate into cell-state decisions.

Derive MultiFate allocation and select a persistent state

The binding equations show how the factors compete. Substitution gives qA=A[1+2(A+B)/Kd]q_A=A[1+2(A+B)/K_d] and the same factor multiplying BB. Both monomers thus retain one common fraction φ\varphi of their own totals:

φ=21+1+8(qA+qB)/Kd,CAA=φ2qA2Kd,CBB=φ2qB2Kd.\varphi=\frac{2}{1+\sqrt{1+8(q_A+q_B)/K_d}},\qquad C_{AA}=\frac{\varphi^2q_A^2}{K_d},\qquad C_{BB}=\frac{\varphi^2q_B^2}{K_d}.

At fixed qAq_A, adding BB increases the pooled total and lowers φ\varphi. The active homodimer of AA then decreases. While AA contributes little to the pooled total, its homodimer grows nearly quadratically with qAq_A. The same binding equations provide the steep self-activation and the inhibition by another factor.

The numerical example retains Lecture 9's published parameter choice. The production parameters are α/(KMδ)=0.8\alpha/(K_M\delta)=0.8 and β/(KMδ)=20\beta/(K_M\delta)=20. The binding scale is Kd/KM=1K_d/K_M=1, and the effective promoter exponent is n=1.5n=1.5. Time is measured in protein removal lifetimes. These parameters give the three stable states stated in the main lecture.

A transient control can choose which stable state remains after the control is removed. Keep the Lecture 9 two-factor model and its published parameter choice. Let qˉA=qA/KM\bar q_A=q_A/K_M, qˉB=qB/KM\bar q_B=q_B/K_M and Cˉii=Cii/KM\bar C_{ii}=C_{ii}/K_M. Measure time by τ=δreft\tau=\delta_{\mathrm{ref}}t, where δref\delta_{\mathrm{ref}} is the baseline removal frequency. One unit of τ\tau is one baseline removal lifetime. This clock stays fixed when the control changes removal.

The induction supplies extra production within the existing production ceiling. Write hi=Cˉii 1.5/(1+Cˉii 1.5)h_i=\bar C_{ii}^{\,1.5}/(1+\bar C_{ii}^{\,1.5}) for homodimer-dependent promoter activity. A control sB∈[0,1]s_B\in[0,1] supplements the remaining activation of the B promoter. At sB=1s_B=1, B production reaches its existing maximum. A second control γ=δ/δref\gamma=\delta/\delta_{\mathrm{ref}} multiplies the uniform removal frequency:

dqˉAdτ=0.8+20hA−γqˉA,dqˉBdτ=0.8+20[hB+sB(1−hB)]−γqˉB.\frac{d\bar q_A}{d\tau}=0.8+20h_A-\gamma\bar q_A,\qquad \frac{d\bar q_B}{d\tau}=0.8+20\bigl[h_B+s_B(1-h_B)\bigr]-\gamma\bar q_B.

The baseline has sB=0s_B=0 and γ=1\gamma=1. The extra B-production rate is 20sB(1−hB)20s_B(1-h_B). The total production of each factor never exceeds 20.820.8 in these units. Dimerization is assumed to equilibrate before the totals change, including during the interval of faster removal.

All three protocols start with A high and B low. Initially, (qˉA,qˉB)=(19.9854,0.8342)(\bar q_A,\bar q_B)=(19.9854,0.8342). Apply the controls only during 1≤τ<61\le\tau<6. Compare no control, B induction alone, and B induction with doubled uniform removal. At τ=6\tau=6, restore sB=0s_B=0 and γ=1\gamma=1 in every case.

The same initial model state can retain three different choices The controls return to their baseline before the final readout. These model protocols are uncalibrated. Writing controls
qA/KM, qB/KMq_A/K_M,\ q_B/K_M
Final binding allocations No signal 0 6 8 0 1
sBs_B
0 6 8 1 2
γ\gamma
0 6 20 40 0 10 20 10 8.217
CAA/KMC_{AA}/K_M
0.014
CBB/KMC_{BB}/K_M
0.686
CAB/KMC_{AB}/K_M
A high, B low Induce B 0 6 8 0 1
sBs_B
0 6 8 1 2
γ\gamma
0 6 20 40 0 10 20 11 4.163
CAA/KMC_{AA}/K_M
4.163
CBB/KMC_{BB}/K_M
8.327
CAB/KMC_{AB}/K_M
A high, B high Induce B Increase removal 0 6 8 0 1
sBs_B
0 6 8 1 2
γ\gamma
0 6 20 40 0 10 20 01 0.014
CAA/KMC_{AA}/K_M
8.217
CBB/KMC_{BB}/K_M
0.686
CAB/KMC_{AB}/K_M
A low, B high
τ=δreft\tau=\delta_{\mathrm{ref}}t
Factor A Factor B Pulse window: 1 ≤ τ < 6. Final allocation and retained choice: τ = 40.
α/(KMδref)=0.8,β/(KMδref)=20,Kd/KM=1,n=1.5\alpha/(K_M\delta_{\mathrm{ref}})=0.8,\quad\beta/(K_M\delta_{\mathrm{ref}})=20,\quad K_d/K_M=1,\quad n=1.5
The signal saturates B production. Removal is multiplied by γ only during the writing interval. Illustrative simulation of fast binding with expression and total-proportional removal.

Scroll inside the figure to see it at reading size.

Figure 19. The same starting state can retain three outcomes under the same final environment. The illustrative model starts with A high and B low. The controls vary only during 1≤τ<61\le\tau<6. All protocols return to the fixed Lecture 9 baseline at τ=6\tau=6, with time measured in baseline removal lifetimes. Read the retained factor totals at τ=40\tau=40. Induction stays within the existing production ceiling. The duration and removal multiplier are illustrative, rather than fitted drug controls.

The original environment retains three different outcomes. With no control, the state remains A high and B low. B induction alone raises B into the basin of the state with both factors high. Adding faster removal lets A lose enough self-activation for B to become the sole high factor. At τ=40\tau=40, the respective totals are approximately (19.99,0.83)(19.99,0.83), (18.69,18.69)(18.69,18.69) and (0.83,19.99)(0.83,19.99). No selecting control remains. The feedback sustains the selected allocation.

This numerical comparison illustrates control, rather than fitting the experimental drugs. The experiment uses transient induction and changes protein stability. The published inducer response approaches full activation when its inducer term becomes large. The calculation uses that limiting control with a five-lifetime pulse and a twofold removal change. It assigns no doxycycline concentration, trimethoprim concentration or duration in days. The measured protocols also use separately sorted starting populations. The calculation instead holds the starting state fixed to make the retained choices easy to compare.7

The final points satisfy the constituent balances and production-removal balance. Their Jacobian eigenvalues have negative real parts. The trajectories settle after the controls return to baseline. This is a deterministic fast-binding model calculation.

Varying the pulse reveals which controls select each retained state. Keep the same A-high starting state and full B induction. Let TpulseT_{\mathrm{pulse}} be the pulse duration. Scan δrefTpulse\delta_{\mathrm{ref}}T_{\mathrm{pulse}} from 0.25 to 8 and the removal multiplier γ\gamma from 1 to 2.5. After each pulse, restore the baseline and wait 100 baseline removal lifetimes before identifying the retained state.

Pulse duration and removal select the retained state Same A-high start. Restore baseline before the final readout. 1 2 4 6 8 1 1.5 2 2.5
δrefTpulse\delta_{\mathrm{ref}}T_{\mathrm{pulse}}
γ=δ/δref\gamma=\delta/\delta_{\mathrm{ref}}
Both high A low, B high

Scroll inside the figure to see it at reading size.

Figure 20. Pulse duration and protein removal determine the retained expression choice. All 800 model protocols start from the same A-high state and fully induce B during the pulse. The horizontal axis varies pulse duration in baseline removal lifetimes. The vertical axis varies the removal multiplier. Each colored cell records the state after restoring baseline controls and waiting 100 baseline lifetimes. The grid contains both-high and B-high outcomes. The no-control A-high outcome is shown in the preceding trajectory figure. This finite numerical scan uses illustrative rate controls, rather than calibrated drug doses.

The tested controls select two different expression combinations. At the baseline removal rate, every tested pulse leaves both factors high. Faster removal permits B high and A low when the pulse lasts long enough. The no-control trajectory above remains A high and B low. That outcome is absent from this grid of induced pulses. The plotted boundary separates sampled outcomes. The exposition develops the writing protocol and its relation to the experiments.

The expression amplitude retains transcript and protein timescales

The unrepressed amplitude follows from two production and removal balances. Let MRM_R denote transcript concentration. Write

M˙R=ktx,RGR−γMRMR,q˙R=ktl,RMR−γRqR,aR=ktx,Rktl,RqGRγMRγR.\dot M_R=k_{\mathrm{tx},R}G_R-\gamma_{M_R}M_R,\qquad\dot q_R=k_{\mathrm{tl},R}M_R-\gamma_Rq_R,\qquad a_R=\frac{k_{\mathrm{tx},R}k_{\mathrm{tl},R}q_{G_R}}{\gamma_{M_R}\gamma_R}.

The rate constants have inverse-time units, so aRa_R has concentration units. Transcript and protein removal need not have the same rate. The total equation includes bound protein under the declared uniform removal rule. A different protection or removal mechanism requires its own total balance.

B0 · Check the molecular NAND error and settling time

We can test the logic analogy by constructing one gate. The construction must both choose the right output and reach it from the wrong initial output.

Use two molecular forms to encode each bit. The forms X0,X1X_0,X_1 encode input xx. The forms Y0,Y1Y_0,Y_1 encode input yy. Hold the selected input forms in reservoirs. The output forms Z0,Z1Z_0,Z_1 interconvert while their total qZq_Z remains fixed. NAND requires output 1 for inputs 00, 01 and 10, and output 0 for input 11.

X0+Y0+Z0⇝X0+Y0+Z1,X0+Y1+Z0⇝X0+Y1+Z1,X1+Y0+Z0⇝X1+Y0+Z1,X1+Y1+Z1⇝X1+Y1+Z0.\begin{aligned} X_0+Y_0+Z_0&\rightsquigarrow X_0+Y_0+Z_1,\\ X_0+Y_1+Z_0&\rightsquigarrow X_0+Y_1+Z_1,\\ X_1+Y_0+Z_0&\rightsquigarrow X_1+Y_0+Z_1,\\ X_1+Y_1+Z_1&\rightsquigarrow X_1+Y_1+Z_0. \end{aligned}

These are composite catalytic conversions. Their squiggly arrows state the net accounting. The model leaves the binding steps, catalytic machinery and fuel reservoirs unresolved. In a regime where the effective rates are proportional to the three displayed concentrations, let κ\kappa have units concentration−2 time−1. Define the two pseudo-first-order conversion rates

a=κ(X0Y0+X0Y1+X1Y0),b=κX1Y1.a=\kappa(X_0Y_0+X_0Y_1+X_1Y_0),\qquad b=\kappa X_1Y_1.

The output fraction follows a one-dimensional relaxation. Neglect output tied up in the unresolved complexes, so each output form's free concentration equals its total in this effective model. With z=qZ1/qZz=q_{Z_1}/q_Z, the conversion balance is z˙=a(1−z)−bz\dot z=a(1-z)-bz. For constant inputs and a+b>0a+b>0, the steady fraction and relaxation time are

z∗=aa+b,tgate=1a+b,z(t)=z∗+[z(0)−z∗]e−t/tgate.z^*=\frac{a}{a+b},\qquad t_\mathrm{gate}=\frac{1}{a+b},\qquad z(t)=z^*+[z(0)-z^*]e^{-t/t_\mathrm{gate}}.

Ideal input reservoirs recover the NAND truth table. Set the selected form of each input to concentration c0c_0 and the unselected form to zero. For 00, 01 and 10, a=κc02a=\kappa c_0^2 and b=0b=0. For 11, those roles reverse. After tgatelog⁡(1/ϵ)t_\mathrm{gate}\log(1/\epsilon), the output fraction lies within ϵ\epsilon of its desired value even from the opposite initial output. If both conversion rates vanish, the output retains its initial condition and the gate has no defined completion time.

A chemical NAND needs the correct conversion, a bounded opposing conversion and time to settle.

The chemical NAND must relax before its output is read 00, 01 or 10: make output 1
z=qZ1/qZz=q_{Z_1}/q_Z
0 0.5 1 0 1 2 3 4 5
t/tgatet/t_\mathrm{gate}
11: make output 0
z=qZ1/qZz=q_{Z_1}/q_Z
0 0.5 1 0 1 2 3 4 5
t/tgatet/t_\mathrm{gate}
Desired conversion only Opposing rate = 0.1 of desired rate

Scroll inside the figure to see it at reading size.

Figure 21. Leakage changes the answer as well as the approach to it. The desired pseudo-first-order rate is 1 in units of the ideal gate clock. The dashed curve adds an opposing rate of 0.1. Its wrong-output fraction approaches 1/11. The plot is computed from the stated relaxation equation, with an initially wrong output.

Finite opposing rates give a measurable gate error. If the desired rate is aa and the unwanted reverse rate is bb, the error at rest is b/(a+b)b/(a+b). Achieving error at most ϵ\epsilon requires b/a≤ϵ/(1−ϵ)b/a\le\epsilon/(1-\epsilon). The fuels must also support the maintained direction of conversion. Writing an irreversible effective rate does not establish its thermodynamic feasibility.

NAND gates are functionally complete for finite Boolean functions. NAND gives NOT by repeating an input. Combining NAND with NOT gives AND. De Morgan's identity then gives OR. A finite truth table can be written as an OR of ANDs of input literals, so these constructions realize any finite Boolean function. A machine that computes for arbitrarily long inputs also needs a scalable memory and a sequencing rule. A fixed finite gate circuit alone supplies neither.1

Check a chemical gate by deriving its output fraction, error and settling time under the stated input reservoirs.

B1 · Check finite sequestration, reporter affinity and the expression clock

At finite affinity, both unmatched pools remain positive. A useful Boolean output requires a margin from the comparison boundary and an appropriate reporter affinity.

The pair's binding balance determines the free repressor. At prescribed totals, ignore the third promoter's contribution to the protein balance for now. Let C=CRSC=C_{RS}, qR=R+Cq_R=R+C, qS=S+Cq_S=S+C and RS=KpairCRS=K_\mathrm{pair}C. For equilibrium allocation, Kpair=k−/k+K_\mathrm{pair}=k_-/k_+. Define the total difference Δ=qR−qS\Delta=q_R-q_S. Since R=S+ΔR=S+\Delta, the nonnegative root is

S2+(Δ+Kpair)S−KpairqS=0,S=(Δ+Kpair)2+4KpairqS−(Δ+Kpair)2.S^2+(\Delta+K_\mathrm{pair})S-K_\mathrm{pair}q_S=0,\qquad S=\frac{\sqrt{(\Delta+K_\mathrm{pair})^2+4K_\mathrm{pair}q_S}-(\Delta+K_\mathrm{pair})}{2}.

The reporter reads free repressor through a saturating law. Let the output gene produce protein OO. For a rare promoter repressed by free SS, the normalized unbound activity is p=Kout/(Kout+S)p=K_\mathrm{out}/(K_\mathrm{out}+S). Under total-proportional reporter removal, pp is also the steady output total qO∗q_O^* divided by its unrepressed concentration amplitude aOa_O. The physical output is continuous even though the ideal label changes at Δ=0\Delta=0.

Finite binding needs a concentration margin and a reporter affinity between the two free-pool scales.

Finite binding rounds the ideal threshold into a response band 0 1 2 3 0 1 2 3
x1=I1/c0x_1=I_1/c_0
x2=I2/c0x_2=I_2/c_0
qR>qSq_R>q_S
qR<qSq_R<q_S
Two free input concentrations 0 1 2 0 0.5 1
x1(x2=1)x_1\quad(x_2=1)
pp
A slice across the decision boundary Finite promoter-open probability Ideal Boolean output
3x1−x2−1=03x_1-x_2-1=0
Kpair/c0=0.003,Kout/c0=0.03K_{\mathrm{pair}}/c_0=0.003,\quad K_{\mathrm{out}}/c_0=0.03

Scroll inside the figure to see it at reading size.

Figure 22. The affine boundary organizes a rounded molecular response. The paired promoters use the mixed-sign parameters from §5. The finite reporter response is computed from the exact pair-allocation root. The plot uses Kpair=0.003c0K_\mathrm{pair}=0.003c_0 and Kout=0.03c0K_\mathrm{out}=0.03c_0. These illustrative parameters expose a broad response band. The ideal sign label and the physical reporter activity are different objects.

A finite concentration margin gives an explicit accuracy test. Restrict the tested inputs so that ∣Δ∣≥δq>0|\Delta|\ge\delta_q>0, and bound qS≤Bmaxq_S\le B_\mathrm{max}. The symbol δq\delta_q denotes a concentration margin, not a removal rate. When Δ≥δq\Delta\ge\delta_q, free R≥δqR\ge\delta_q, so S=KpairC/R≤KpairBmax/δqS=K_\mathrm{pair}C/R\le K_\mathrm{pair}B_\mathrm{max}/\delta_q. When Δ≤−δq\Delta\le-\delta_q, free S≥δqS\ge\delta_q.

The two bounds place the reporter affinity in a window. To require p≥1−ϵp\ge1-\epsilon on the positive side and p≤ϵp\le\epsilon on the negative side, a sufficient condition is

(1−ϵ)KpairBmaxϵδq≤Kout≤ϵδq1−ϵ.\frac{(1-\epsilon)K_\mathrm{pair}B_\mathrm{max}}{\epsilon\delta_q}\le K_\mathrm{out}\le\frac{\epsilon\delta_q}{1-\epsilon}.

A reporter that binds too weakly stays active on the negative side. A reporter that binds too tightly senses the small leftover repressor even on the positive side. The window exists when KpairBmax≤[ϵδq/(1−ϵ)]2K_\mathrm{pair}B_\mathrm{max}\le[\epsilon\delta_q/(1-\epsilon)]^2. These are conservative sufficient bounds for the declared input range.

The limit must preserve this separation of scales. Sending KoutK_\mathrm{out} to zero at fixed positive KpairK_\mathrm{pair} represses the output at every input with qS>0q_S>0. The useful logical limit instead requires KpairBmax/δq≪Kout≪δqK_\mathrm{pair}B_\mathrm{max}/\delta_q\ll K_\mathrm{out}\ll\delta_q. A large slope near equality does not replace a reliable output interval away from equality.

The removal mechanism fixes the turnover correction. Suppose free proteins and whole complexes are removed at the common frequency γ\gamma. Removing one complex removes one constituent of each type. The complex balance is

C˙=k+RS−(k−+γ)C.\dot C=k_+RS-(k_-+\gamma)C.

At steady state, the same allocation root uses Kpair=(k−+γ)/k+K_\mathrm{pair}=(k_-+\gamma)/k_+. Replacing this by the thermodynamic dissociation constant requires γ≪k−\gamma\ll k_-. Binding must also relax faster than the changing totals. Very small dissociation alone does not guarantee an accurate equilibrium readout.

Choose an input margin and reporter affinity that meet the specified error tolerance, then check the binding clock against protein turnover.

B2 · Recalculate signal loading, delay and stochastic interpretation

A wire in a logic diagram transmits a value. A molecule that binds a downstream target also leaves the upstream free pool.

The third promoter becomes a load when its bound amount is appreciable. If its total is qG0q_{G_0}, its bound repressor concentration is CG0S=qG0S/(Kout+S)C_{G_0S}=q_{G_0}S/(K_\mathrm{out}+S). The pair totals now obey qR=R+Cq_R=R+C and qS=S+C+CG0Sq_S=S+C+C_{G_0S}. Eliminating free RR gives a single monotone balance for SS:

qS=S+qRSKpair+S+qG0SKout+S.q_S=S+\frac{q_RS}{K_\mathrm{pair}+S}+\frac{q_{G_0}S}{K_\mathrm{out}+S}.

Loading shifts the reporter's midpoint. The reporter has p=1/2p=1/2 when S=KoutS=K_\mathrm{out}. Substituting this concentration gives qS=Kout+qRKout/(Kpair+Kout)+qG0/2q_S=K_\mathrm{out}+q_RK_\mathrm{out}/(K_\mathrm{pair}+K_\mathrm{out})+q_{G_0}/2. The final term is absent from the isolated unit. The downstream promoter's copy number therefore moves the observed threshold even at unchanged upstream totals.

Every downstream binding target belongs in the upstream mass balance.

A downstream binding site changes the available protein 0 0.5 1 1.5 2 0 0.5 1
x1(x2=1)x_1\quad(x_2=1)
pp
Trace reporter sites Reporter sites consume free S Full protein balance
qS=S+CRS+CG0Sq_S=S+C_{RS}+C_{G_0S}
CG0S=qG0SKout+SC_{G_0S}=q_{G_0}\frac{S}{K_{\mathrm{out}}+S}
CRS=qRSKpair+SC_{RS}=q_R\frac{S}{K_{\mathrm{pair}}+S}
Same upstream totals. Different free S and reporter output.
qG0/c0=0 or 0.5,Kpair/c0=0.003,Kout/c0=0.03q_{G_0}/c_0=0\ \text{or}\ 0.5,\quad K_{\mathrm{pair}}/c_0=0.003,\quad K_{\mathrm{out}}/c_0=0.03

Scroll inside the figure to see it at reading size.

Figure 23. A downstream target changes the response at fixed upstream totals. The comparison solves the full mass balance for free repressor with and without the output-promoter pool. The controlled quantities are protein totals. A reservoir that clamps free repressor would instead supply the bound amount and preserve the free-input response.

Several downstream targets add several bound amounts. If free II binds promoter pools qGiq_{G_i}, its supplied total is qI=I+∑iqGiI/(Ki+I)q_I=I+\sum_i q_{G_i}I/(K_i+I), before adding any other partners. Consequently the affine comparison in §5 is generally not affine in input totals. A negligible total binding capacity, or a reservoir that fixes free input, justifies the earlier input interpretation.

Expression can replenish signal but adds delay. The output concentration is produced from a promoter activity, rather than supplied by an ideal wire. Even with fast binding, transcript and protein relaxation introduce clocks tM=1/γMt_M=1/\gamma_M and tR=1/γRt_R=1/\gamma_R. For a normalized step from 0 to 1, a one-stage first-order response reaches error ϵ\epsilon after tRlog⁡(1/ϵ)t_R\log(1/\epsilon). Several stages can introduce longer transients and temporary wrong classifications. Their timing should be checked in the composed dynamics.3

Small concentrations make the readout stochastic. At volume VV, a concentration cc corresponds to mean count n=cNAVn=cN_AV, where NAN_A is Avogadro's constant. A Poisson reference has relative standard deviation 1/n1/\sqrt n. Correlations and burst production can change that reference. A deterministic tolerance bounds mean concentrations. A probability of wrong classification needs a stochastic model and a sampling protocol.

Recalculate free inputs after connecting targets, and distinguish a mean output tolerance from a probability of an incorrect decision.

B3 · Compare energy for specified physical operations

A molecular event, a transistor transition and a logical reset are different operations. An energy comparison becomes useful when their physical meanings are explicit.

The thermal scale sets a reference for energy, not a universal price per computation. At T≃300 KT\simeq300\,\mathrm K, Boltzmann's constant kB≃1.4×10−23 J/Kk_B\simeq1.4\times10^{-23}\,\mathrm{J/K} gives kBT≃4×10−21 Jk_BT\simeq4\times10^{-21}\,\mathrm J.

Resetting an unbiased bit gives a bound on exported heat. An isothermal reset of an initially unbiased one-bit memory with two equivalent physical states and no usable side information exports at least kBTln⁡2≃3×10−21 Jk_BT\ln2\simeq3\times10^{-21}\,\mathrm J as heat to a thermal reservoir. Denote this exported heat by QeraseQ_\mathrm{erase}. This is Landauer's erasure bound. The initial logical uncertainty, access to correlations and implementation matter.4

Qerase≥kBTln⁡2,kBT≃4×10−21 J(T≃300 K).Q_\mathrm{erase}\ge k_BT\ln2,\qquad k_BT\simeq4\times10^{-21}\,\mathrm J\quad(T\simeq300\,\mathrm K).

A reversible reset exports heat without producing net entropy. At the bound, the reservoir's entropy gain balances the memory's entropy loss. A practical device can export more heat through irreversible driving. The erasure bound and the excess dissipation are different quantities.

An illustrative electronic transition can be estimated from capacitance. Charging a capacitance Cel=1 fFC_\mathrm{el}=1\,\mathrm{fF} to voltage U=1 VU=1\,\mathrm V stores CelU2/2=5×10−16 JC_\mathrm{el}U^2/2=5\times10^{-16}\,\mathrm J, about 105kBT10^5k_BT. A conventional unrecovered charge-discharge cycle dissipates CelU2C_\mathrm{el}U^2. These chosen capacitance and voltage values illustrate the calculation. They are not a measured cost for every transistor or a whole processor.

ATP supplies a larger chemical energy than the thermal scale. A phosphorylation potential near 50 kJ/mol50\,\mathrm{kJ/mol} corresponds to about 8×10−20 J8\times10^{-20}\,\mathrm J per molecule after division by 6×1023 mol−16\times10^{23}\,\mathrm{mol^{-1}}. This is about 20kBT20k_BT. The value depends on temperature and the ATP, ADP and phosphate reservoirs. Qian gives this scale for explicitly stated intracellular concentrations.5

Compare energy per specified reset, transition or maintained response.

Specified operationIllustrative energy at 300 KWhat the number means
Erase an unbiased bit in the reversible limit∼3×10−21 J\sim3\times10^{-21}\,\mathrm JMinimum exported heat under the stated information and reservoir assumptions.
Hydrolyze one ATP with phosphorylation potential near 50 kJ/mol∼8×10−20 J\sim8\times10^{-20}\,\mathrm JAvailable chemical free energy. It does not specify how many ATP molecules a task uses.
Unrecovered 1 fF, 1 V charge-discharge cycle∼10−15 J\sim10^{-15}\,\mathrm JAn illustrative capacitor-cycle cost. Peripheral circuits and architecture need further accounting.

Equilibrium binding can change a readout without a continuously driven cycle. Relaxation to a new equilibrium has a free-energy balance, but it does not assign one fixed thermal unit to each abstract evaluation. Preparing input amounts, producing the reporter and restoring depleted reservoirs may dominate the circuit's operating cost. Tight binding can also slow release. Energy, accuracy and speed must be compared together.

A persistent cellular state has a maintenance budget. Cells replace degraded or diluted molecules and operate in changing environments. Binding can reuse existing molecules and act in parallel. Expression and turnover keep the concentrations available. The relevant comparison is the cost of a reliable task over a stated duration, including the preparation, readout and maintenance that task needs.

Use the thermal scale as a reference, and state the physical operation before assigning an energy per computation.

B4 · Write a memory in the separate cooperative-toggle example

The same present input can lead to different actions after different histories. To represent that task, include the circuit's state.

A steady input-output response and a dynamical memory answer different questions. The steady input-output response returns y=Φ(I)y=\Phi(I) after a constant input has settled. A dynamical circuit instead has q˙=f(q,I(t))\dot q=f(q,I(t)) and readout y=h(q)y=h(q). Its output depends on the initial state and the input history. A memory task specifies a writing pulse, removal of that pulse and a later reading time.

A stable attractor preserves the result of a writing pulse. An attractor is a state or invariant set approached by trajectories starting nearby. Its basin of attraction consists of initial conditions that approach it. For a bistable fixed-point circuit, a pulse can move the state across the boundary between the two basins. Once the input returns to its original value, the selected stable fixed point can retain the result.

A cooperative repression model gives a concrete memory experiment. To demonstrate this function, take negligible promoter loading and an effective Hill-2 repression law. This example is a cooperative toggle. It does not reuse the paired-promoter threshold mechanism. With concentration scale c0c_0 and removal clock tdegt_\mathrm{deg}, let writing inputs uA(t)u_A(t) and uB(t)u_B(t) increase production of AA and BB, respectively:

q˙A=1tdeg[4c01+(qB/c0)2−qA+c0uA(t)],q˙B=1tdeg[4c01+(qA/c0)2−qB+c0uB(t)].\begin{aligned} \dot q_A&=\frac{1}{t_\mathrm{deg}}\left[\frac{4c_0}{1+(q_B/c_0)^2}-q_A+c_0u_A(t)\right],\\ \dot q_B&=\frac{1}{t_\mathrm{deg}}\left[\frac{4c_0}{1+(q_A/c_0)^2}-q_B+c_0u_B(t)\right]. \end{aligned}

All parameter values are illustrative. The concentrations are nonnegative. Each dimensionless nonnegative input specifies an additional production flux in its corresponding equation. The two unforced stable states have one protein high and the other low. The symmetric fixed point is unstable to opposite changes in the two proteins.

A writing pulse selects a basin. The unforced dynamics then preserve the decision.

A transient pulse moves the state into another basin of attraction 0 2 4 0 2 4
qA/c0q_A/c_0
qB/c0q_B/c_0
Autonomous dynamics after pulse removal 0 5 10 15 20 25 0 2 4 6 8
t/tdegt/t_{\mathrm{deg}}
qA/c0, qB/c0q_A/c_0,\ q_B/c_0
Pulse One pulse. A persistent change in concentrations. Stable fixed point Protein A Open circle: saddle. Dashed line: basin boundary. Protein B
tdegc0q˙A=41+(qB/c0)2−qAc0+uA(t),tdegc0q˙B=41+(qA/c0)2−qBc0+uB(t)\frac{t_{\mathrm{deg}}}{c_0}\dot q_A=\frac{4}{1+(q_B/c_0)^2}-\frac{q_A}{c_0}+u_A(t),\quad \frac{t_{\mathrm{deg}}}{c_0}\dot q_B=\frac{4}{1+(q_A/c_0)^2}-\frac{q_B}{c_0}+u_B(t)
uA(t)=6 1{5≤t/tdeg<7},uB(t)=0u_A(t)=6\,1_{\{5\le t/t_{\mathrm{deg}}<7\}},\quad u_B(t)=0

Scroll inside the figure to see it at reading size.

Figure 24. A transient input can leave a persistent expression state. The phase portrait and pulse trajectory are computed from the declared cooperative toggle. The plotted pulse sets uA=6u_A=6 for two removal times, starting at t/tdeg=5t/t_\mathrm{deg}=5, with uB=0u_B=0. The explorer can pulse either protein. The memory is the final attracting state after the input returns to zero. The elapsed time is measured in removal times. This is a deterministic illustration, not a measured retention probability.

The reaction-order calculation explains the two kinds of fixed point. At the symmetric fixed point, let q=qA=qBq=q_A=q_B denote the common concentration. Each repression order is −2(q/c0)2/[1+(q/c0)2]-2(q/c_0)^2/[1+(q/c_0)^2]. Its magnitude exceeds 1 for this example. The balance-order matrix therefore has an unstable direction in which one protein increases while the other decreases. At the asymmetric fixed points, the product of the two repression-order magnitudes is below 1, so both linearized modes return. Lecture 11's stability test turns the simulation into an interpretable mechanism.

Biological comparison: a pulse commits an oocyte

Xiong and Ferrell showed that transient progesterone stimulation could commit Xenopus oocytes to a mature state that persisted after hormone withdrawal. A separate experiment transiently activated an engineered Raf kinase with oestradiol. Blocking feedback made that kinase-pathway response reverse after the stimulus was removed. The result supports a concrete cell-state memory task. The two-protein toggle above is an illustration of the same dynamical question, rather than a model of that signaling pathway.6

State selection remains an input-output computation when history is included. The inputs can include a pulse protocol and the prior state. The output can be the eventual expression state or a subsequent action. This formulation keeps the familiar computational language while making the cell's memory explicit.

Specify a pulse-and-read protocol, locate the attracting states, and test whether the selected state persists after the writing input disappears.

B5 · Derive XOR from intermediate linear threshold units

A weighted decision compresses a truth table when the classes can be separated by a plane. We need this target before looking for a molecular implementation.

A linear threshold unit compares a weighted sum with a threshold. For dimensionless inputs xjx_j, dimensionless signed weights wjw_j and threshold θ\theta, define

y={1,∑jwjxj>θ,0,∑jwjxj≤θ.y=\begin{cases}1,&\sum_jw_jx_j>\theta,\\0,&\sum_jw_jx_j\le\theta.\end{cases}

The weights describe how each input moves the comparison. A positive weight favors output 1. A negative weight favors output 0. The equality convention belongs to the logical definition. A finite molecular implementation will require a nonzero margin from equality.

AND and OR use the same weights and different thresholds. On binary inputs, set w1=w2=1w_1=w_2=1. Threshold θ=3/2\theta=3/2 gives AND. Threshold θ=1/2\theta=1/2 gives OR. Both choices leave a margin of 1/21/2 on every binary input.

XOR cannot be computed by one linear threshold unit. XOR labels 10 and 01 as 1, and 00 and 11 as 0. The four required inequalities are w1>θw_1>\theta, w2>θw_2>\theta, 0≤θ0\le\theta and w1+w2≤θw_1+w_2\le\theta. The first two imply w1+w2>2θ≥θw_1+w_2>2\theta\ge\theta, contradicting the last. The failure follows from the task's geometry.

Depth helps when intermediate decisions make a task separable.

Two thresholds compose a decision that one threshold cannot make 0 1 0 1
x1x_1
x2x_2
Both segments pass through the same midpoint. XOR = 1 XOR = 0
h1h_1
h2h_2
yy
x1,x2x_1,x_2
x1,x2x_1,x_2
+1+1
−1-1
h1=1{x1+x2>1/2}h_1=1_{\{x_1+x_2>1/2\}}
h2=1{x1+x2>3/2}h_2=1_{\{x_1+x_2>3/2\}}
y=1{h1−h2>1/2}y=1_{\{h_1-h_2>1/2\}}
Hidden thresholds are OR and AND. The output selects OR without AND.

Scroll inside the figure to see it at reading size.

Figure 25. Two intermediate decisions compute XOR. The binary input square assigns output 1 to opposite corners. No affine line separates those corners from the other two. The hidden units compute OR and AND. The output tests their difference. Connecting physical versions of these units still requires the loading and timing checks in the optional loading and timing calculation.

Two hidden linear threshold units and one output linear threshold unit compute XOR. Let h1=1{x1+x2>1/2}h_1=1\{x_1+x_2>1/2\} and h2=1{x1+x2>3/2}h_2=1\{x_1+x_2>3/2\}. The output y=1{h1−h2>1/2}y=1\{h_1-h_2>1/2\} is 1 precisely when one input is high. This construction proves a specific representational advantage of an additional layer. It does not assert that every extra layer multiplies every task's capacity by the same factor. finite molecular XOR calculation checks a finite molecular implementation of the three linear threshold units.

Test whether a truth table is linearly separable, and introduce intermediate decisions when one threshold cannot represent it.

B6 · Check the finite-margin window with an explicit OR gate

An illustrative OR gate has a finite input margin. Set aR=c0a_R=c_0, aS=1.5c0a_S=1.5c_0, KR1=KR2=3c0K_{R1}=K_{R2}=3c_0 and KS1=KS2=2c0/3K_{S1}=K_{S2}=2c_0/3. The score is x1+x2−1/2x_1+x_2-1/2. On binary inputs, the steady totals are

x1+x2qR/c0qS/c0Δ/c0013/2−1/213/43/53/2023/53/89/40\begin{array}{c|c|c|c}x_1+x_2&q_R/c_0&q_S/c_0&\Delta/c_0\\\hline0&1&3/2&-1/2\\1&3/4&3/5&3/20\\2&3/5&3/8&9/40\end{array}

The physical margin differs from the score margin. The smallest total difference is δq=0.15c0\delta_q=0.15c_0, and Bmax=1.5c0B_\mathrm{max}=1.5c_0. For ϵ=0.1\epsilon=0.1 and Kpair=10−5c0K_\mathrm{pair}=10^{-5}c_0, the sufficient reporter window is 9×10−4c0≤Kout≤1.67×10−2c09\times10^{-4}c_0\le K_\mathrm{out}\le1.67\times10^{-2}c_0. Choose Kout=3×10−3c0K_\mathrm{out}=3\times10^{-3}c_0. Evaluating the exact root gives low activity near 0.006 at input 00, activity near 0.987 at 01 or 10, and activity near 0.994 at 11. These are deterministic mean activities.

The example still needs the clock and loading assumptions. The chosen pair constant is an effective allocation constant. If interpreted as the equilibrium dissociation constant, the expression clock must make the turnover correction negligible. The rare-reporter approximation also requires the reporter's bound amount to be small compared with the concentration margin. The explorer lets you deliberately violate the affinity window.

B7 · Derive the reporter-affinity window and its loading correction

High output requires the small leftover repressor to be negligible to the reporter. The requirement p≥1−ϵp\ge1-\epsilon is equivalent to S/Kout≤ϵ/(1−ϵ)S/K_\mathrm{out}\le\epsilon/(1-\epsilon). On the positive-margin side, use S≤KpairBmax/δqS\le K_\mathrm{pair}B_\mathrm{max}/\delta_q. This gives the lower bound on KoutK_\mathrm{out}.

Low output requires the reporter to bind the surplus repressor. The requirement p≤ϵp\le\epsilon is equivalent to S/Kout≥(1−ϵ)/ϵS/K_\mathrm{out}\ge(1-\epsilon)/\epsilon. On the negative-margin side, use S≥δqS\ge\delta_q. This gives the upper bound on KoutK_\mathrm{out}.

A finite reporter pool reduces the guaranteed free repressor on the negative side. With loading, R−S=Δ+CG0SR-S=\Delta+C_{G_0S}. On the negative-margin side, S−R=−Δ−CG0S≥δq−qG0S-R=-\Delta-C_{G_0S}\ge\delta_q-q_{G_0}. Thus a conservative loaded specification uses δq−qG0\delta_q-q_{G_0} in the upper bound, provided it is positive. The positive-side lower bound remains valid because R≥ΔR\ge\Delta. The full monotone balance can give a less conservative result.

B8 · Check the cooperative toggle's fixed points and stability

The asymmetric fixed points can be found exactly. Write a=qA/c0a=q_A/c_0 and b=qB/c0b=q_B/c_0 for this calculation. At zero input, a(1+b2)=4a(1+b^2)=4 and b(1+a2)=4b(1+a^2)=4. Subtraction gives (a−b)(1−ab)=0(a-b)(1-ab)=0. The symmetric solution obeys a3+a=4a^3+a=4, with a≃1.3788a\simeq1.3788. The asymmetric solutions have ab=1ab=1, a+b=4a+b=4 and therefore (a,b)=(2+3,2−3)(a,b)=(2+\sqrt3,2-\sqrt3) or its reverse.

The Jacobian confirms the memory states. In the clock t/tdegt/t_\mathrm{deg}, the diagonal entries are −1. At a fixed point the product of the two off-diagonal magnitudes is 4a2b2/[(1+a2)(1+b2)]4a^2b^2/[(1+a^2)(1+b^2)]. At the asymmetric points this product is 1/4, so the eigenvalues are −1/2 and −3/2. At the symmetric point the off-diagonal magnitude is approximately 1.31, giving one positive eigenvalue. The two attracting states and the intervening unstable state support the basin-switching interpretation.

Retention under molecular noise remains a separate question. Stochastic transitions can eventually leave a basin. A retention specification needs a duration and a probability of spontaneous switching, together with molecular copy numbers and reaction propensities. The deterministic explorer establishes the writing and retention mechanism at the level of the rate equations.

B9 · Compose three finite molecular linear threshold units to compute XOR

A molecular XOR must propagate finite output levels through the second layer. The ideal construction in the intermediate-decision calculation uses binary hidden outputs. Here the hidden outputs are continuous reporter concentrations. Reservoirs hold the original inputs at Ij=c0xjI_j=c_0x_j, with xj∈{0,1}x_j\in\{0,1\}. Give each hidden reporter an unrepressed concentration amplitude c0c_0. Neglect promoter loading throughout this calculation, so a hidden reporter's free concentration equals its total. Its normalized activity then supplies the receiving linear threshold unit's dimensionless input.

Choose promoter parameters to realize OR, AND and a signed comparison. Every paired producer uses Kpair=10−5c0K_\mathrm{pair}=10^{-5}c_0. This is an effective allocation constant under the clock assumptions of the finite-affinity calculation. The promoter parameters and reporter affinities are

Linear threshold unit(aR,aS)/c0(a_R,a_S)/c_0(KR1,KR2)/c0(K_{R1},K_{R2})/c_0(KS1,KS2)/c0(K_{S1},K_{S2})/c_0Kout/c0K_\mathrm{out}/c_0
Hidden OR(1,3/2)(1,3/2)(3,3)(3,3)(2/3,2/3)(2/3,2/3)0.0030.003
Hidden AND(1,5/2)(1,5/2)(5,5)(5,5)(2/3,2/3)(2/3,2/3)0.0030.003
Output comparison(1,3/2)(1,3/2)(3,3/4)(3,3/4)(2/3,1)(2/3,1)0.0020.002

The exact total comparisons have scores x1+x2−1/2x_1+x_2-1/2, x1+x2−3/2x_1+x_2-3/2 and h1−h2−1/2h_1-h_2-1/2. Here h1h_1 and h2h_2 denote the actual hidden reporter activities. Substitute those finite activities into the output comparison, then solve its pair-allocation root. The resulting normalized activities are

Binary inputHidden OR activity h1h_1Hidden AND activity h2h_2Final activity
000.0059640.0019960.004078
10 or 010.9868460.0176770.978845
110.9944760.9772190.036433

Separate margins on the two sides give a sufficient error bound for each linear threshold unit. In the reporter-affinity calculation, use the minimum positive concentration difference δ+\delta_+ and the largest repressor total B+B_+ among inputs requiring output 1. Use the minimum magnitude of the negative concentration difference δ−\delta_- among inputs requiring output 0. The same argument gives

(1−ϵ)KpairB+ϵδ+≤Kout≤ϵδ−1−ϵ.\frac{(1-\epsilon)K_\mathrm{pair}B_+}{\epsilon\delta_+}\le K_\mathrm{out}\le\frac{\epsilon\delta_-}{1-\epsilon}.

For ϵ=0.05\epsilon=0.05, the hidden OR has an allowed interval [0.00076,0.02632]c0[0.00076,0.02632]c_0. The hidden AND has [0.00133,0.00877]c0[0.00133,0.00877]c_0. Using the finite hidden activities, the output comparison has δ+=0.138869c0\delta_+=0.138869c_0, B+=0.600493c0B_+=0.600493c_0 and δ−=0.052824c0\delta_-=0.052824c_0. Its allowed interval is [0.000822,0.002780]c0[0.000822,0.002780]c_0. Every chosen reporter affinity lies in its interval. The composition therefore meets a 5% tolerance on deterministic mean activity for all four binary inputs.

The composition uses nine expressed genes before supplying its inputs. Each linear threshold unit contains two producers and one reporter. The first two reporters become the second layer's inputs. Receiving promoter pools must remain small enough to preserve the margins, and shared expression resources must preserve the stated amplitudes. The calculation establishes the finite steady response under those assumptions. Completion time and stochastic error still require the composed dynamics and a sampling protocol.

Teaching selection

The ten teaching points form one 85-minute argument. Reserve five minutes for course business and five minutes for closing discussion within the 95-minute class. The optional constructions and detailed checks are outside this selection.

PointMinutes
P1 · The biomachine perspective asks how computation is achieved5
P2 · Molecules can implement and compose logic gates9
P3 · A dedicated catalytic-gate architecture has a small component budget7
P4 · A neural network combines weighted inputs through layers7
P5 · Competitive binding and titration give a linear threshold unit13
P6 · Regulator-network weights leave a second scaling puzzle7
P7 · Environmental signals call for dynamic decisions6
P8 · Binding supplies many interacting units from a shared inventory7
P9 · Homodimer activation and heterodimer sequestration create three stable choices16
P10 · Combinatorial expression states expand the repertoire of decisions8
Total teaching time85

Keep both component-count comparisons, the change to dynamic decisions, the four-line molecular linear threshold unit and the MultiFate mechanism. If time is short, compress the historical hardware context and detailed allocation values. Retain the nullcline structure, the controlled transitions and the route from shared binding to the three maintained expression choices.

Sources and reading connections

Primary full texts support the numerical comparisons and biological examples. The local unpublished binding tutorial supports the optional construction. All illustrative molecular calculations state their model and parameter choices.

  1. F. Xiao. CCBS 2025, Lecture 10: Computation (Bio)machine. The chemical NAND, paired-promoter titration derivation and change of task to persistent expression states. Archived course PDF. Used as a historical source. The present page states the kinetic, dimensional and computational scope explicitly.
  2. N. E. Buchler, U. Gerland and T. Hwa. On schemes of combinatorial transcription logic. PNAS 100, 5136–5141 (2003). DOI. Promoter-state logic and the assumptions behind combining inputs.
  3. A. A. K. Nielsen and colleagues. Genetic circuit design automation. Science 352, aac7341 (2016). DOI. Implemented Boolean circuits, output-state validation, growth effects and transient composition failures.
  4. C. H. Bennett. Notes on Landauer's principle, reversible computation, and Maxwell's Demon. Studies in History and Philosophy of Modern Physics 34, 501–510 (2003). DOI. The physical scope of logical erasure and reversible computation.
  5. H. Qian. Phosphorylation energy hypothesis: Open chemical systems and their biological functions. Annual Review of Physical Chemistry 58, 113–142 (2007). DOI. ATP phosphorylation potential under specified molecular reservoirs.
  6. W. Xiong and J. E. Ferrell Jr. A positive-feedback-based bistable ‘memory module’ that governs a cell fate decision. Nature 426, 460–465 (2003). DOI. Transient stimulation and sustained oocyte signaling. The appended 2007 corrigendum is included in the inspected copy. This page uses the experiments, not the corrected historical model equation.
  7. R. Zhu and colleagues. Synthetic multistability in mammalian cells. Science 375, eabg9765 (2022). DOI. Seven experimentally maintained expression states, controlled switching and the distinct scaling of the larger symmetric model.
  8. E. C. Hall. Apollo Guidance, Navigation and Control: MIT's Role in Project Apollo. Final Report, Volume III: Computer Subsystem. R-700, Charles Stark Draper Laboratory, Massachusetts Institute of Technology (August 1972). Primary report · Local full text. Table 2-1, printed p. 27: 5,600 logic gates in the Block II guidance computer, in 2,800 packages.
  9. Apple. “Apple unleashes M1.” Manufacturer press release, 10 November 2020. Primary release · Archived full page. The opening specification reports 16 billion physical transistors. The lecture does not convert this number into a measured logic-gate count.
  10. J. M. Monk and colleagues. “iML1515, a knowledgebase that computes Escherichia coli traits.” Nature Biotechnology 35, 904–908 (2017). DOI · Local full text. Opening text and Figure 1: 1,515 enzyme-associated genes and 2,719 metabolic reactions. This supplies a molecular-inventory scale, rather than a one-gene-per-gate mapping.
  11. S. A. Lambert and colleagues. “The Human Transcription Factors.” Cell 172, 650–665 (2018). DOI · Local full text. The catalog contains 1,639 known or likely human transcription factors. The selected copy is the author manuscript.
  12. Y. LeCun, L. Bottou, Y. Bengio and P. Haffner. “Gradient-Based Learning Applied to Document Recognition.” Proceedings of the IEEE 86, 2278–2324 (1998). DOI · Local author manuscript. Author-manuscript p. 7: 60,000 trainable free parameters in LeNet-5. Weight sharing separates trainable parameters from the larger number of connections.
  13. A. Krizhevsky, I. Sutskever and G. E. Hinton. “ImageNet Classification with Deep Convolutional Neural Networks.” Advances in Neural Information Processing Systems 25 (2012). Proceedings · Local full text. Paper p. 1: 60 million model parameters.
  14. T. B. Brown and colleagues. “Language Models are Few-Shot Learners.” Advances in Neural Information Processing Systems 33 (2020). Author preprint · Local full text. Selected arXiv version 4, p. 8, Table 2.1: GPT-3 has 175 billion trainable parameters. No unpublished GPT-4 parameter estimate is used.
  15. E. L. Huttlin and colleagues. “Dual proteome-scale networks reveal cell-specific remodeling of the human interactome.” Cell 184, 3022–3040 (2021). DOI · Local full text. Summary and Results: 118,162 protein associations among 14,586 proteins in the assembled 293T network. Affinity-purification associations include complex-mediated interactions.
  16. Universal Approximation with Equilibrium Binding: A tutorial: one conservation mechanism, two proofs, and their physical costs. Unpublished local tutorial, October 2026. Its printed attribution describes a synthesis of the binding universal-approximation manuscripts and the work of XU Ye. No individual author is inferred. Local full text. Theorem 5.7, Proposition 5.13, Theorem 7.1 and Theorem 11.12: occupancy concentration, conserved-total calibration, scalar and multivariate approximation, and the resources needed as the error decreases.
  17. Resource-Limited Universality in Equilibrium Binding Scaffolds. Unpublished local working manuscript, 2026. No author is printed in the inspected opening. Local full text. Sections 2–3 and Appendix A: exact occupancy scaffolds, conserved-total calibration, positive approximation and its pool-size and gain costs.
  18. N. E. Buchler and F. R. Cross. Protein sequestration generates a flexible ultrasensitive response in a genetic network. Molecular Systems Biology 5, 272 (2009). DOI. Figures 2 and 3: synthetic yeast measurements test how inhibitor abundance sets the sequestration threshold and response sharpness.