From binding mechanisms to readable and retained decisions

A worked method for specifying molecular computations, deriving their responses, checking composition and selecting states that persist after a signal ends.

A molecular computing claim is established by a chain of calculations. Specify the input and output. Write the constituent balances. Reconstruct the relevant free species. Calculate the response and its error. If the task requires memory, also find attracting states and a signal protocol that selects them. This chapter teaches each step and then transfers the method to a new input encoding.

The core asks how a compact cell can make complex decisions. This exposition supplies the derivations behind that argument. The lineage follows the historical questions and experiments. You can read this chapter without having attended the lecture.

Concentration and reaction conventions

A bare species symbol, such as RR, denotes its free concentration. A total qRq_R counts every molecular state containing that constituent. A complex CRSC_{RS} names its constituents. Dissociation constants have concentration units. An elementary binding step has a straight arrow with microscopic rate constants. A composite process, including expression or unresolved removal, has a bare squiggly arrow and a separately stated rate law.

Part I

Specify the task and build its molecular comparison

Start with a response that can be checked. Then derive the molecular balances that realize it.

1Specify the input, readout and required history

A computational task is a statement about observable behavior. A Boolean gate assigns output labels to specified input ranges. An analog computation returns a concentration related to its inputs. A memory task retains a choice after the writing signal ends. These definitions determine what the model has to establish.

For a static classifier, give five specifications. Name the controlled input quantity, the allowed input values, the measured output, the permitted output error and the reading time. For example, let the inputs be held free repressor concentrations I1,I2I_1,I_2. Let the output be the active fraction pp of a reporter promoter. Declare output 1 successful when p≥0.9p\ge0.9 and output 0 successful when p≤0.1p\le0.1, after the specified equilibration and expression interval.

Free input and total input are different interventions. Holding free ligand fixed requires a sufficiently large reservoir or active control. Holding total ligand fixed requires including every bound ligand in conservation. The same binding site can give different input-response curves under those two choices.

For memory, specify an initial state and a signal protocol. Let qq collect changing protein totals, let I(t)I(t) denote the external controls, and let yy be the measured output:

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

The writing protocol changes I(t)I(t) for a finite time. Retention is then measured after I(t)I(t) returns to its original value. A high output maintained only by a permanently high input is a response, not this specified memory task.

Checkpoint: what must be held fixed to test a reporter load?

Compare the reporter response while holding producer totals, affinities, input conditions and the reading time fixed. Vary the reporter-site total. If adding the reporter also changes growth or expression resources, measure those effects and enlarge the model before attributing the change to sequestration alone.

Write a computation specification that states which concentration is controlled, which quantity is read and whether the signal must remain present.

2A molecular NAND needs the right stationary output and time to reach it

A gate calculation must show that the output reaches its required state. Let two molecular forms X0,X1X_0,X_1 encode the first bit and Y0,Y1Y_0,Y_1 encode the second. Hold the selected input forms fixed. Two output forms share a conserved total qZ=qZ0+qZ1q_Z=q_{Z_0}+q_{Z_1}. The following composite conversions implement the intended NAND directions:

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}

The arrows state conversion accounting. They do not assert elementary three-body chemistry. Suppose the unresolved catalytic mechanisms supply effective conversion frequencies a≥0a\ge0 from output 0 to output 1 and b≥0b\ge0 in reverse. After incorporating the held inputs, both frequencies have inverse-time units.

The output-1 fraction z=qZ1/qZz=q_{Z_1}/q_Z obeys a linear balance. Solving it gives both the stationary answer and the transient:

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

This formula assumes a+b>0a+b>0. If both frequencies vanish, the output remains at its initial value and does not evaluate the gate. In the ideal construction, inputs 00, 01 and 10 have a>0,b=0a>0,b=0, while 11 has a=0,b>0a=0,b>0.

Leakage changes the stationary truth table. A high output has error 1−z∗=b/(a+b)1-z^*=b/(a+b). A low output has error z∗=a/(a+b)z^*=a/(a+b). The remaining distance from that stationary output decays on the relaxation time tgate=1/(a+b)t_{\mathrm{gate}}=1/(a+b). Accuracy must therefore budget leakage and finite waiting separately.

∣z(t)−ytarget∣≤∣z∗−ytarget∣+e−(a+b)t.|z(t)-y_{\mathrm{target}}|\le |z^*-y_{\mathrm{target}}|+e^{-(a+b)t}.
Checkpoint: a leaky high-output gate with a five-percent target error

Let a=1 s−1a=1\,\mathrm{s}^{-1} and b=0.01 s−1b=0.01\,\mathrm{s}^{-1}. The leakage error is 0.01/1.01≈0.0099010.01/1.01\approx0.009901. A sufficient waiting time for total error at most 0.05 is

t≥log⁡[1/(0.05−0.009901)]1.01≈3.18 s.t\ge\frac{\log[1/(0.05-0.009901)]}{1.01}\approx3.18\,\mathrm{s}.

This bound allows any initial fraction. These rates are illustrative assumptions.

Connecting gates introduces additional conditions. The output of one gate must lie in the input range expected by the next, and the last gate must wait for relevant upstream changes. Cello's measured circuit failures and propagation-delay example show why a correct isolated truth table does not certify a connected circuit.1

Solve the gate's balance, leakage error and relaxation time before deciding when its output can be interpreted as a logical value.

3Derive a weighted comparison from promoter occupancy and expression

The three-gene construction combines several inputs before thresholding them. Two producer genes make proteins RR and SS. Their inactive complex is CRSC_{RS}. A third gene produces output protein OO and is repressed by free SS.

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.
Figure 1. Three expressed genes supply two positive outputs, a sequestration comparison and a readout. Input production and shared expression machinery are outside this three-gene count.

First reconstruct the free producer promoters. Input IjI_j binds promoter GRG_R with dissociation constant KRjK_{Rj}. Assume exclusive occupancy, so no promoter binds two inputs simultaneously. At equilibrium,

CGRIj=GRIjKRj,qGR=GR+∑jCGRIj,GR=qGRDR,DR=1+∑jIjKRj.C_{G_RI_j}=\frac{G_R I_j}{K_{Rj}},\qquad q_{G_R}=G_R+\sum_jC_{G_RI_j},\qquad G_R=\frac{q_{G_R}}{D_R},\quad D_R=1+\sum_j\frac{I_j}{K_{Rj}}.

An occupied producer promoter is inactive in this model. Define DSD_S using the other promoter's constants KSjK_{Sj}. Other promoter activity assignments produce other response functions. Promoter-state models make this dependence explicit.2

Next write expression as addition and removal. Let TRT_R be transcript concentration. Transcription, translation and removal are composite processes with the following rate laws:

T˙R=ktx,RGR−δT,RTR,q˙R=ktl,RTR−δRqR.\dot T_R=k_{\mathrm{tx},R}G_R-\delta_{T,R}T_R,\qquad \dot q_R=k_{\mathrm{tl},R}T_R-\delta_Rq_R.

The four constants have inverse-time units. At a constant-input steady state,

qR=aRDR,aR=ktx,Rktl,RqGRδT,RδR,qS=aSDS.q_R=\frac{a_R}{D_R},\qquad a_R=\frac{k_{\mathrm{tx},R}k_{\mathrm{tl},R}q_{G_R}}{\delta_{T,R}\delta_R},\qquad q_S=\frac{a_S}{D_S}.

The amplitudes aR,aSa_R,a_S have concentration units. Transcript and protein removal rates need not be equal. The protein balance assumes removal proportional to the entire constituent total, including bound protein. Section 6 returns to that assumption.

Now compare the totals. Since both denominators are positive, multiplication by DRDSD_RD_S preserves the sign. With a reference concentration c0c_0 and inputs xj=Ij/c0x_j=I_j/c_0,

qR−qS=aR−aS+∑jIj(aR/KSj−aS/KRj)DRDS=c0(∑jwjxj−θ)DRDS,wj=aRKSj−aSKRj,θ=aS−aRc0.\begin{aligned}q_R-q_S&=\frac{a_R-a_S+\sum_j I_j(a_R/K_{Sj}-a_S/K_{Rj})}{D_RD_S}\\&=\frac{c_0(\sum_jw_jx_j-\theta)}{D_RD_S},\\w_j&=\frac{a_R}{K_{Sj}}-\frac{a_S}{K_{Rj}},\qquad\theta=\frac{a_S-a_R}{c_0}.\end{aligned}

The weights and threshold are dimensionless. Each weight is a difference of two positive influences. The total comparison is exactly affine in the free inputs under the stated promoter and expression model.

A worked choice makes the physical signs visible. Set aR=2c0,aS=3c0a_R=2c_0,a_S=3c_0, (KR1,KR2)=(3,1.5)c0(K_{R1},K_{R2})=(3,1.5)c_0 and (KS1,KS2)=(0.5,2)c0(K_{S1},K_{S2})=(0.5,2)c_0. Then w=(3,−1)w=(3,-1) and θ=1\theta=1. The comparison is 3x1−x2>13x_1-x_2>1.

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.
Figure 2. The exact equality of totals is the line 3x1−x2=13x_1-x_2=1. The molecular pictures interpret the unmatched pool in the tight-binding limit. A finite reporter response still needs the analysis of Section 4.
Checkpoint: compute the actual concentration surplus at a point

At x1=x2=1x_1=x_2=1, the denominators are DR=2D_R=2 and DS=3.5D_S=3.5. Hence qR=c0q_R=c_0, qS=6c0/7q_S=6c_0/7 and Δ=c0/7\Delta=c_0/7. The abstract score is 1, but the molecular concentration margin is only c0/7c_0/7. The positive denominators preserve the sign while changing its physical size.

Calculate the signed weights and the actual protein surplus from the promoter states and expression balances, with the input convention and units explicit.

Part II

Check the finite molecular implementation

A correct sign comparison becomes a useful output only when affinity, downstream binding and relaxation preserve its accuracy.

4Choose pair and reporter affinities from an error requirement

The limiting rectifier must be compared with the exact binding solution. For one unloaded pair, let Kpair>0K_{\mathrm{pair}}>0 denote the dissociation constant. The equilibrium constraints are

qR=R+CRS,qS=S+CRS,KpairCRS=RS.q_R=R+C_{RS},\qquad q_S=S+C_{RS},\qquad K_{\mathrm{pair}}C_{RS}=RS.

Substitution gives a quadratic in the complex concentration. Its physical root is the smaller one. A form that avoids subtracting nearly equal numbers is

CRS=2qRqSqR+qS+Kpair+(qR−qS)2+2Kpair(qR+qS)+Kpair2.C_{RS}=\frac{2q_Rq_S}{q_R+q_S+K_{\mathrm{pair}}+\sqrt{(q_R-q_S)^2+2K_{\mathrm{pair}}(q_R+q_S)+K_{\mathrm{pair}}^2}}.

Recover R=qR−CRSR=q_R-C_{RS} and S=qS−CRSS=q_S-C_{RS}. Both free pools are positive at positive totals and finite affinity. Their difference remains exactly Δ=qR−qS\Delta=q_R-q_S.

A short bound explains the approximation more clearly than the quadratic alone. Let η=min⁡(R,S)\eta=\min(R,S). Then R=max⁡(Δ,0)+ηR=\max(\Delta,0)+\eta and S=max⁡(−Δ,0)+ηS=\max(-\Delta,0)+\eta. Consequently,

η(η+∣Δ∣)=KpairCRS≤Kpairmin⁡(qR,qS).\eta(\eta+|\Delta|)=K_{\mathrm{pair}}C_{RS}\le K_{\mathrm{pair}}\min(q_R,q_S).

Both terms on the left are nonnegative. Dropping either term yields

0≤η≤Kpairmin⁡(qR,qS),η≤Kpairmin⁡(qR,qS)∣Δ∣(Δ≠0).0\le\eta\le\sqrt{K_{\mathrm{pair}}\min(q_R,q_S)},\qquad \eta\le\frac{K_{\mathrm{pair}}\min(q_R,q_S)}{|\Delta|}\quad(\Delta\ne0).

The second bound is useful for classification away from equality. The first remains useful at equality. At qR=qS=qq_R=q_S=q, the free pools are exactly [Kpair2+4Kpairq−Kpair]/2[\sqrt{K_{\mathrm{pair}}^2+4K_{\mathrm{pair}}q}-K_{\mathrm{pair}}]/2. Their leading size is Kpairq\sqrt{K_{\mathrm{pair}}q} when Kpair≪qK_{\mathrm{pair}}\ll q.

The reporter adds a second affinity. For a negligibly loading promoter repressed by free SS, its active fraction and normalized output are

p=KoutKout+S,qO=a0p.p=\frac{K_{\mathrm{out}}}{K_{\mathrm{out}}+S},\qquad q_O=a_0p.

Here a0a_0 is the unrepressed steady output total. Define a concentration margin δ>0\delta>0 by restricting inputs to ∣Δ∣≥δ|\Delta|\ge\delta, and assume qS≤Bmax⁡q_S\le B_{\max}. For Δ≥δ\Delta\ge\delta, the residual repressor is at most KpairBmax⁡/δK_{\mathrm{pair}}B_{\max}/\delta. For Δ≤−δ\Delta\le-\delta, the repressor is at least δ\delta.

These two bounds give a sufficient design interval for output error at most ϵ∈(0,1/2)\epsilon\in(0,1/2):

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

The interval exists when KpairBmax⁡≤[ϵδ/(1−ϵ)]2K_{\mathrm{pair}}B_{\max}\le[\epsilon\delta/(1-\epsilon)]^2. This sufficient condition says how small the pair affinity must be before any reporter can meet both error requirements using these bounds.

A reporter must fit between two concentration scales Sufficient 10% output error, concentration margin 0.2, repressor total at most 1 -6 -5 -4 -3 -2 -5 -4 -3 -2 -1
log⁡10(Kpair/c0)\log_{10}(K_{\mathrm{pair}}/c_0)
log⁡10(Kout/c0)\log_{10}(K_{\mathrm{out}}/c_0)
Sufficient operating region Worked choice
Figure 3. The two error bounds leave an interval of suitable reporter affinities. The marked example uses Kpair=10−4c0K_{\mathrm{pair}}=10^{-4}c_0, Kout=0.01c0K_{\mathrm{out}}=0.01c_0, δ=0.2c0\delta=0.2c_0 and Bmax⁡=c0B_{\max}=c_0. The shaded region is a sufficient guarantee for 10% error.
Checkpoint: can an abstract score margin guarantee a molecular margin?

Suppose ∣∑jwjxj−θ∣≥γ|\sum_jw_jx_j-\theta|\ge\gamma, DR≤DR,max⁡D_R\le D_{R,\max} and DS≤DS,max⁡D_S\le D_{S,\max}. Then a valid concentration margin is δ=c0γ/(DR,max⁡DS,max⁡)\delta=c_0\gamma/(D_{R,\max}D_{S,\max}). A score margin without bounds on the denominators does not give this uniform positive concentration margin.

Turn an input margin and output tolerance into a sufficient interval for reporter affinity. Quantify the rounding near equal totals instead of assigning an exact bit there.

5Include downstream binding before connecting the unit

A reporter with finite abundance consumes the repressor it observes. Write its free and bound states as G0G_0 and CG0SC_{G_0S}. At equilibrium,

CG0S=qG0SKout+S,CRS=qRSKpair+S.C_{G_0S}=\frac{q_{G_0}S}{K_{\mathrm{out}}+S},\qquad C_{RS}=\frac{q_RS}{K_{\mathrm{pair}}+S}.

The repressor total now includes both complexes. The scalar equation that determines free SS is

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}.

The right side starts at zero and is strictly increasing. Its derivative is

1+qRKpair(Kpair+S)2+qG0Kout(Kout+S)2>0.1+\frac{q_RK_{\mathrm{pair}}}{(K_{\mathrm{pair}}+S)^2}+\frac{q_{G_0}K_{\mathrm{out}}}{(K_{\mathrm{out}}+S)^2}>0.

A unique solution lies between zero and qSq_S. Bisection therefore solves this allocation without choosing a questionable quadratic branch.

The half-output relation is particularly simple. Set S=KoutS=K_{\mathrm{out}} and substitute:

qS(1/2)=Kout+qRKoutKpair+Kout+qG02.q_S^{(1/2)}=K_{\mathrm{out}}+\frac{q_RK_{\mathrm{out}}}{K_{\mathrm{pair}}+K_{\mathrm{out}}}+\frac{q_{G_0}}{2}.

Even with no reporter load, this contour differs from qR=qSq_R=q_S at finite affinities. A finite reporter shifts the required total by another qG0/2q_{G_0}/2. Substituting the different producer fractions from Section 3 generally gives a curved half-output contour in the original input plane.

More reporter sites move the observed decision Fixed protein totals: the reporter is included in repressor conservation 0 0.5 1 1.5 2 2.5 0 0.25 0.5 0.75 1
qS/c0q_S/c_0
p=Kout/(Kout+S)p=K_{\mathrm{out}}/(K_{\mathrm{out}}+S)
qG0/c0=0q_{G_0}/c_0=0
qG0/c0=0.2q_{G_0}/c_0=0.2
qG0/c0=1q_{G_0}/c_0=1
Figure 4. At fixed qR=c0q_R=c_0, increasing the reporter-site total shifts the observed decision. Pair affinity is 0.001c00.001c_0 and reporter affinity is 0.03c00.03c_0. Adding c0c_0 of reporter sites moves the half-output repressor total by 0.5c00.5c_0. The zero-load curve is the limit of a reporter dilute enough to consume negligible repressor.
Try a loaded readout

Keep qR=c0q_R=c_0, Kpair=0.001c0K_{\mathrm{pair}}=0.001c_0 and Kout=0.03c0K_{\mathrm{out}}=0.03c_0. Change the repressor total or the reporter-site total. The calculation solves the complete scalar conservation equation above.

qS/c0=q_S/c_0= 1.20. qG0/c0=q_{G_0}/c_0= 0.00.

Free repressor S/c0=S/c_0= 0.20486. Active reporter fraction p=p= 0.12774.

Half-output threshold qS(1/2)/c0=q_S^{(1/2)}/c_0= 0.99774. Below half output.

Checkpoint: does a larger reporter necessarily give less activity?

No. At fixed protein totals, extra sites sequester repressor and can increase the active fraction. The total number of active promoters and the active fraction are different outputs. A physical protein readout may also change with expression resources, so the fixed-total prediction should be tested under the intervention actually performed.

Close the conservation law over every downstream binding site and calculate the observed boundary after connection.

6Check which fast approximation and removal law justify the response

A fast binding layer and a steady expression layer answer different questions. Binding equilibrium reconstructs free species at current totals. Expression steady state determines the totals after an input has been held long enough. A transient calculation must not replace changing totals by their final expression values prematurely.

A resolved pair shows how removal can alter an apparent dissociation constant. Take elementary binding R+S⇌k−k+CRSR+S\xrightleftharpoons[k_-]{k_+}C_{RS}. Suppose free proteins and the entire complex are removed at the common frequency δ\delta. Complex removal eliminates one constituent of each type. Then

C˙RS=k+RS−k−CRS−δCRS,q˙R=vR−δqR,q˙S=vS−δqS.\dot C_{RS}=k_+RS-k_-C_{RS}-\delta C_{RS},\qquad \dot q_R=v_R-\delta q_R,\qquad \dot q_S=v_S-\delta q_S.

The constituent balances retain the simple total-proportional form. The full stationary complex relation, however, uses Keff=(k−+δ)/k+K_{\mathrm{eff}}=(k_-+\delta)/k_+. Pure binding equilibrium uses Kd=k−/k+K_d=k_-/k_+ and is a good replacement for that stationary relation when δ≪k−\delta\ll k_-. Faster binding relaxation alone does not justify discarding a competing removal route.

The local binding relaxation time has a separate expression. With temporarily fixed totals and no removal, differentiate the complex rate with respect to CRSC_{RS}. At equilibrium,

tbind=1k+(R+S)+k−.t_{\mathrm{bind}}=\frac{1}{k_+(R+S)+k_-}.

Compare this time with the input variation time and the protein-total relaxation times. Near equal totals under tight binding, the free pools become small. The binding relaxation can then slow relative to what a high-total concentration estimate suggests.

The expression system adds its own clocks. At fixed free promoter, transcript error decays as e−δTte^{-\delta_Tt}. Protein error is driven by that transient and decays through δR\delta_R. Its slow mode is set by the smaller of the two removal frequencies. When they coincide, the transient can contain a factor te−δRtt e^{-\delta_Rt}. Waiting several binding times does not guarantee a settled protein output.

Checkpoint: quantify a steady binding correction

For illustrative values k+=1 nM−1s−1k_+=1\,\mathrm{nM}^{-1}\mathrm{s}^{-1}, k−=0.01 s−1k_-=0.01\,\mathrm{s}^{-1} and δ=10−4 s−1\delta=10^{-4}\,\mathrm{s}^{-1}, the binding dissociation constant is 0.01 nM0.01\,\mathrm{nM}. The full stationary effective constant is 0.0101 nM0.0101\,\mathrm{nM}, a 1% increase. These values illustrate the criterion and are not a parameter fit for the weighted circuit.

Distinguish binding relaxation, a stationary effective affinity and expression settling. Derive each from the physical removal processes included in the model.

Part III

Build and select a persistent expression state

The next calculations turn a binding response into feedback, then distinguish a fixed point from a usable memory.

7Shared dimerization couples self-activation and inhibition

MultiFate uses the same protein pool for self-activation and mutual inhibition. Homodimers activate their own expression. Heterodimers are inactive. The mechanism lets an additional factor compete with the existing factors through protein binding.3

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.
Figure 5. The two-factor circuit uses active homodimers and inactive heterodimers. Production and removal change the totals. The three expression choices require the appropriate dynamical regime.

Specify the microscopic convention before writing the equilibrium constants. Use equal homodimer association constants k+k_+ and dissociation constants k−k_-. Let heterodimer association be 2k+2k_+ with dissociation k−k_-:

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}.

With Kd=k−/k+K_d=k_-/k_+, this convention gives CAA=A2/KdC_{AA}=A^2/K_d, CBB=B2/KdC_{BB}=B^2/K_d and CAB=2AB/KdC_{AB}=2AB/K_d. Every homodimer contains two copies of its constituent:

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

To solve these balances, sum the free monomers. Let U=A+BU=A+B and Q=qA+qBQ=q_A+q_B. Both total equations contain the same factor:

qA=A(1+2U/Kd),qB=B(1+2U/Kd),Q=U+2U2/Kd.q_A=A(1+2U/K_d),\quad q_B=B(1+2U/K_d),\quad Q=U+2U^2/K_d.

The positive quadratic root yields a common free fraction:

ϕ=11+2U/Kd=21+1+8Q/Kd,A=ϕqA,B=ϕqB.\phi=\frac{1}{1+2U/K_d}=\frac{2}{1+\sqrt{1+8Q/K_d}},\qquad A=\phi q_A,\quad B=\phi q_B.

Adding B at fixed A total lowers the common free fraction and reduces CAA=ϕ2qA2/KdC_{AA}=\phi^2q_A^2/K_d. Raising A's own total has a direct positive effect on its homodimer as well. This explicit allocation is the origin of the inhibitory cross-coupling and self-activation in the reduced dynamics.

Close the dynamics with a stated promoter response. Let α\alpha be basal production, β\beta the additional production scale, KMK_M the active-homodimer half-response concentration, and δ\delta a common constituent removal frequency. The model is

q˙i=α+βCiinKMn+Ciin−δqi,i∈{A,B}.\dot q_i=\alpha+\beta\frac{C_{ii}^{n}}{K_M^n+C_{ii}^{n}}-\delta q_i,\qquad i\in\{A,B\}.

This is a fast-binding reduction. Promoter-bound protein is neglected in the constituent totals. The exponent nn describes an effective expression response. It is not the stoichiometry of the dimerization reaction.

Checkpoint: where would the two-factor model fail if the heterodimer were active?

The constituent conservation equations would still count heterodimer binding. The expression law would change because CABC_{AB} would now contribute to one or both promoters. A shared binding pool alone does not determine the sign of regulation. The activity assigned to each molecular state is essential.

Checkpoint: extend the shared binding calculation to N factors

Use the same homodimer and heterodimer rate convention for every pair. Let xix_i be the free concentration of factor ii. The constituent balance is

qi=xi+2xi2Kd+∑j≠i2xixjKd=xi(1+2Kd∑j=1Nxj).q_i=x_i+\frac{2x_i^2}{K_d}+\sum_{j\ne i}\frac{2x_ix_j}{K_d}=x_i\left(1+\frac{2}{K_d}\sum_{j=1}^N x_j\right).

With Q=∑iqiQ=\sum_iq_i, the same quadratic gives xi=ϕqix_i=\phi q_i and ϕ=2/[1+1+8Q/Kd]\phi=2/[1+\sqrt{1+8Q/K_d}]. Thus one reconstruction supplies all NN active homodimers. It does not determine the number of stable expression patterns. Those require the corresponding NN production-removal balances and their Jacobian.

Reconstruct active homodimers from total concentrations before writing the feedback dynamics, and keep the activity of every binding state explicit.

8A fixed-point calculation must include a stability calculation

Choose units that preserve the physical quantities. Define qˉi=qi/KM\bar q_i=q_i/K_M, Cˉii=Cii/KM\bar C_{ii}=C_{ii}/K_M, Kˉd=Kd/KM\bar K_d=K_d/K_M and τ=δreft\tau=\delta_{\mathrm{ref}}t. The scaled production parameters are αˉ=α/(KMδref)\bar\alpha=\alpha/(K_M\delta_{\mathrm{ref}}) and βˉ=β/(KMδref)\bar\beta=\beta/(K_M\delta_{\mathrm{ref}}). Baseline removal has δ=δref\delta=\delta_{\mathrm{ref}}.

The worked example takes αˉ=0.8\bar\alpha=0.8, βˉ=20\bar\beta=20, Kˉd=1\bar K_d=1 and n=1.5n=1.5. In these units, Cˉii=ϕ2qˉi2\bar C_{ii}=\phi^2\bar q_i^2 and

dqˉidτ=0.8+20h(Cˉii)−qˉi,h(c)=c1.51+c1.5.\frac{d\bar q_i}{d\tau}=0.8+20h(\bar C_{ii})-\bar q_i,\qquad h(c)=\frac{c^{1.5}}{1+c^{1.5}}.

A fixed point balances production and removal. Every positive fixed-point total lies between 0.8 and 20.8 because 0<h<10<h<1. That bound supplies a finite region for a numerical root calculation. Exchange symmetry also means that every asymmetric solution has a reflected partner.

The Jacobian determines local attraction. Let Jij=∂(dqˉi/dτ)/∂qˉjJ_{ij}=\partial(d\bar q_i/d\tau)/\partial\bar q_j. For a small displacement δqˉ\delta\bar q, the leading dynamics are d(δqˉ)/dτ=Jδqˉd(\delta\bar q)/d\tau=J\delta\bar q. Eigenvalues with negative real parts imply local decay. A positive real eigenvalue gives an unstable direction.

Differentiating the allocation keeps the inhibitory coupling visible. Let z=1+8(qˉA+qˉB)z=\sqrt{1+8(\bar q_A+\bar q_B)} and ϕQ=−8/[z(1+z)2]\phi_Q=-8/[z(1+z)^2]. Here ϕQ\phi_Q is the derivative with respect to the sum of scaled totals. Then

∂Cˉii∂qˉj=2ϕ2qˉiδij+2ϕϕQqˉi2,Jij=20h′(Cˉii)∂Cˉii∂qˉj−δij,h′(c)=1.5c(1+c1.5)2.\begin{aligned}\frac{\partial\bar C_{ii}}{\partial\bar q_j}&=2\phi^2\bar q_i\delta_{ij}+2\phi\phi_Q\bar q_i^2,\\J_{ij}&=20h'(\bar C_{ii})\frac{\partial\bar C_{ii}}{\partial\bar q_j}-\delta_{ij},\qquad h'(c)=\frac{1.5\sqrt c}{(1+c^{1.5})^2}.\end{aligned}

The symbol δij\delta_{ij} is 1 for equal indices and 0 otherwise. It is not a removal frequency. The second allocation term is negative and appears in both columns because either total enlarges the shared pool.

Scaled totalsJacobian eigenvalues per baseline lifetimeLocal behavior
(19.9854,0.8342)(19.9854,0.8342) and its reverse−0.9367,−0.8774-0.9367,-0.8774Attracting asymmetric choices
(18.6936,18.6936)(18.6936,18.6936)−0.6976,−0.8401-0.6976,-0.8401Attracting both-high choice
(4.6586,19.7607)(4.6586,19.7607) and its reverse0.8335,−0.91240.8335,-0.9124Saddles
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.
Figure 6. Nullclines, rate directions and binding allocations connect the fixed-point calculation to the three expression choices. Filled markers are attracting equilibria. The saddles have one unstable direction. These are deterministic model results at the displayed parameters.

The listed roots and eigenvalues establish local behavior at those states. The phase portrait adds numerical evidence about nearby trajectories and basin separation. Neither calculation alone measures stochastic escape times in a living cell. Finite molecule numbers and expression fluctuations require a stochastic model or retention experiments.

Checkpoint: test the two perturbation modes at the both-high state

Exchange symmetry gives a Jacobian of the form (abba)\begin{pmatrix}a&b\\b&a\end{pmatrix}. A common increase of both totals has eigenvalue a+ba+b. Increasing one while decreasing the other has eigenvalue a−ba-b. Both must be negative for local stability. A stable common mode alone cannot exclude a symmetry-breaking instability.

Find candidate fixed points in a bounded positive region, differentiate the binding reconstruction and test every independent perturbation mode.

9A transient protocol must reach the basin of the state to be retained

A stable state is useful for memory only if a permitted signal can select it. Start from the A-high fixed point in Section 8. Let sB∈[0,1]s_B\in[0,1] supplement the unoccupied fraction of B's expression response, and let γ=δ/δref\gamma=\delta/\delta_{\mathrm{ref}} change the common removal frequency. Keep the baseline clock τ\tau fixed:

qˉA′=0.8+20hA−γqˉA,qˉB′=0.8+20[hB+sB(1−hB)]−γqˉB.\begin{aligned}\bar q_A'&=0.8+20h_A-\gamma\bar q_A,\\\bar q_B'&=0.8+20[h_B+s_B(1-h_B)]-\gamma\bar q_B.\end{aligned}

Primes denote derivatives with respect to τ\tau. Full induction sB=1s_B=1 reaches the existing maximal B-production rate 20.8. This is a bounded illustrative control, not a calibrated drug-response law.

Compare three protocols from the same initial state. No control leaves the system A high. A five-lifetime pulse with sB=1,γ=1s_B=1,\gamma=1 selects the both-high state. The same induction with γ=2\gamma=2 selects the B-high state. After the pulse, restore sB=0,γ=1s_B=0,\gamma=1 in every case. The final environments are identical.

Pulse duration and protein removal select the retained state Model calculation: all controls return to 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}}
A high, B low Both high A low, B high
Figure 7. An 800-condition scan varies pulse duration and the removal multiplier from one A-high starting state. Each color is the state retained after control removal and 100 baseline lifetimes of settling. The grid is numerical evidence for these protocols. It does not locate every control boundary exactly.

The experiments identify corresponding physical interventions. In MultiFate, doxycycline can induce B, trimethoprim controls protein stability, and AP1903 enables dimerization. One sorted A-high population reached both-high after B induction. A separately sorted both-high population reached B-high after B induction combined with reduced protein stability. The writing controls were removed or restored, and the resulting expression choices persisted.34

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.
Figure 8. Source-derived experimental protocols from Zhu et al., Figure 4B and Figure S16B. The two rows begin with different sorted populations. They must not be read as one observed cell following a continuous two-step trajectory.

The measured and computed experiments have different scopes. The calculation fixes one initial state and imposes dimensionless rate controls. The experiments use drug concentrations, cell populations and time in days. Mapping between them requires dose-response and removal-rate calibration. Both distinguish the writing interval from the subsequent retention interval.

Checkpoint: distinguish four kinds of state count

For three binary labels there are eight possible patterns. The cited experiment maintained seven expression states under its operating conditions. A deterministic model may have a different number of stable equilibria under another parameter choice. A restricted signal family may reach only some of those equilibria. These four counts answer different questions.

Specify the initial state, allowed pulse and restored environment, then test both the selected basin and retention after the signal ends.

Part IV

Transfer the calculation to new tasks

A method is usable when it survives a change of response shape, input encoding or computational mechanism.

10State activities make an equilibrium response rise and fall

A scaffold with several binding states can represent a response more complex than one threshold. Let CjC_j contain one scaffold and jj copies of ligand SS, for j=0,…,mj=0,\ldots,m. Successive elementary binding steps have dissociation constants σj\sigma_j:

Cj−1+S⇌k−,jk+,jCj,σj=k−,j/k+,j.C_{j-1}+S\xrightleftharpoons[k_{-,j}]{k_{+,j}}C_j,\qquad \sigma_j=k_{-,j}/k_{+,j}.

Define the occupancy fractions pj=Cj/qEp_j=C_j/q_E, where qEq_E is the fixed scaffold total. Equilibrium gives relative weights w0=1w_0=1 and wj=Sj/(σ1⋯σj)w_j=S^j/(\sigma_1\cdots\sigma_j). Thus

pj=wj∑k=0mwk,qS=S+qE∑j=0mjpj.p_j=\frac{w_j}{\sum_{k=0}^{m}w_k},\qquad q_S=S+q_E\sum_{j=0}^{m}j p_j.

The second equation calibrates free ligand against the controlled total. Its right side increases with SS. For example, the derivative of mean occupancy with respect to log⁡S\log S is the occupancy variance, which is nonnegative. The ligand balance therefore has a unique physical solution for each positive total in this scaffold model.

Assign a nonnegative activity ωj\omega_j to each state. The normalized readout is f=∑jωjpjf=\sum_j\omega_jp_j. A physical production flux with per-scaffold reference rate k0k_0 is v=k0qEfv=k_0q_Ef. The readout is assumed not to disturb the binding allocation.

Ordered tight binding produces interpolation through conservation. Suppose adjacent affinities and their overall scale are chosen so that, near qS/qE=j+uq_S/q_E=j+u, only states jj and j+1j+1 retain appreciable occupancy and free ligand is negligible. The two conservation equations then give pj≈1−up_j\approx1-u and pj+1≈up_{j+1}\approx u. The output is approximately the straight segment joining ωj\omega_j and ωj+1\omega_{j+1}.

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.
Figure 9. A finite six-step binding ladder approximates an activity-table interpolant. The activity table is (0,1,1,0,1,0,0)(0,1,1,0,1,0,0). The dissociation constants span twenty orders of magnitude. The sampled maximum error is about 0.01961, while a separate analytical bound is 0.14012 throughout the interval.

The approximation theorem needs two controlled errors. First choose closely spaced activity samples of a continuous nonnegative target. Then make the occupancy distribution sufficiently concentrated. The inspected tutorial supplies finite-parameter bounds for an ordered ladder and an alternative independent-site construction. Its theorem allows the number of states, pool sizes, affinities and activity table to depend on the target and requested tolerance.5

Supporting calculation: why concentration of occupancy controls approximation error

Let the target gg be bounded by MM and continuously extended outside the target interval. Assign ωj=g(jqE)\omega_j=g(jq_E). For an occupancy random variable JJ with probabilities pjp_j, define U=qEJU=q_EJ. Conservation gives E⁡U=qS−S\operatorname{E}U=q_S-S. Hence

E⁡(U−qS)2=qE2Var⁡(J)+S2.\operatorname{E}(U-q_S)^2=q_E^2\operatorname{Var}(J)+S^2.

Choose a concentration tolerance r>0r>0. On ∣U−qS∣≤r|U-q_S|\le r, the target changes by at most its modulus of continuity ωg(r)\omega_g(r). Outside that interval, bound the change by 2M2M and use the second-moment inequality. This gives

∣f(qS)−g(qS)∣≤ωg(r)+2Mr2[qE2Var⁡(J)+S2].|f(q_S)-g(q_S)|\le\omega_g(r)+\frac{2M}{r^2}\left[q_E^2\operatorname{Var}(J)+S^2\right].

A uniform bound on free ligand and occupancy variance therefore gives a uniform approximation bound. The molecular construction must supply those bounds. Merely increasing the number of named states does not.

Static richness does not establish dynamical memory. The scaffold response above is uniquely determined by its totals under the specified equilibrium model. Multiple retained expression choices require the additional feedback dynamics of Sections 7–9.

Build a response from state activities and conserved occupancy, then identify which resources and error bounds make its approximation claim valid.

11Design an XOR response when the inputs are totals

The transfer problem changes the input convention. Build a two-input XOR response on one scaffold with one site for ligand XX and one for ligand YY. The sites bind independently. The controlled quantities are ligand totals qX,qYq_X,q_Y, not free reservoirs.

The four scaffold states are empty, X-bound, Y-bound and doubly bound. Assign activity 1 to the two singly occupied states and activity 0 to the other two. Let pX=X/(KX+X)p_X=X/(K_X+X) and pY=Y/(KY+Y)p_Y=Y/(K_Y+Y) be the individual occupied fractions. Independence gives the normalized activity

f=pX(1−pY)+(1−pX)pY.f=p_X(1-p_Y)+(1-p_X)p_Y.

Ligand conservation determines the total input levels needed for a desired occupancy. Since each scaffold has one site for each ligand,

qX=X+qGpX=KXpX1−pX+qGpX,qY=KYpY1−pY+qGpY.q_X=X+q_Gp_X=\frac{K_Xp_X}{1-p_X}+q_Gp_X,\qquad q_Y=\frac{K_Yp_Y}{1-p_Y}+q_Gp_Y.

These relations are strictly increasing on occupancy fractions between 0 and 1. They provide the calibration directly. Joint occupancy does not add an extra ligand term because it is already included in each site's occupied fraction.

Choose KX=KY=0.02c0K_X=K_Y=0.02c_0 and scaffold total qG=0.2c0q_G=0.2c_0. Encode low as occupancy 0.01 and high as occupancy 0.99. The required total concentrations are

qlow=0.00220202c0,qhigh=2.178c0.q_{\mathrm{low}}=0.00220202c_0,\qquad q_{\mathrm{high}}=2.178c_0.
Input labelsOccupanciesActivityXOR target
00(0.01,0.01)(0.01,0.01)0.01980
10(0.99,0.01)(0.99,0.01)0.98021
01(0.01,0.99)(0.01,0.99)0.98021
11(0.99,0.99)(0.99,0.99)0.01980

The maximum error at these four inputs is 0.0198. The calculation uses finite affinities and finite scaffold abundance. It assumes independent sites and the stated state activities. It does not claim a two-percent error throughout unspecified neighborhoods of the four inputs or after adding an unmodeled downstream load.

Checkpoint: why does setting the total input equal to the desired free input fail?

At low occupancy 0.01, the free concentration is 0.02c0(0.01/0.99)≈0.00020202c00.02c_0(0.01/0.99)\approx0.00020202c_0. The bound contribution is 0.002c00.002c_0, which is much larger. Using only the free concentration as the total would under-supply ligand and change the output. The total-input calibration is part of the implementation.

Translate a desired occupancy table into finite total input levels through conservation, then calculate the physical truth table and its declared error.

12Prove a dynamical winner-take-all computation

A second transfer problem tests a dynamical answer rather than a static binding map. The historical analog-computation exercise starts with two species and asks the larger initial population to take the entire pool. The following elementary reactions provide a mechanism:

X+Y→k2Z,Z+X→k2X,Z+Y→k2Y.X+Y\xrightarrow{k}2Z,\qquad Z+X\xrightarrow{k}2X,\qquad Z+Y\xrightarrow{k}2Y.

The positive constant kk has inverse-concentration-per-time units. The model has no external input after initialization. Its concentration dynamics and conserved sum are

X˙=kX(Z−Y),Y˙=kY(Z−X),Z˙=k[2XY−Z(X+Y)],qsum=X+Y+Z.\begin{aligned}\dot X&=kX(Z-Y),\qquad \dot Y=kY(Z-X),\\\dot Z&=k[2XY-Z(X+Y)],\qquad q_{\mathrm{sum}}=X+Y+Z.\end{aligned}

The computation preserves the sign of the initial advantage. Set Δ=X−Y\Delta=X-Y. Subtracting the first two equations gives Δ˙=kZΔ\dot\Delta=kZ\Delta. Therefore a positive initial advantage stays positive and cannot shrink.

To prove convergence, identify where the motion can end. LaSalle’s invariance principle supplies a sufficient test. In a compact forward-invariant region, a trajectory approaches the largest invariant subset where a differentiable, nonincreasing function has zero time derivative. Invariant means that subsequent motion stays inside the set.

Here the initial advantage supplies the required function and region. With Δ(0)>0\Delta(0)>0, trajectories remain in the compact nonnegative simplex at fixed qsumq_{\mathrm{sum}}, with Δ≥Δ(0)\Delta\ge\Delta(0). The function −Δ-\Delta is nonincreasing, and its derivative vanishes only when Z=0Z=0 in this region. To remain at Z=0Z=0, the third equation also requires XY=0XY=0. The positive advantage then forces Y=0Y=0 and X=qsumX=q_{\mathrm{sum}}. The invariance principle therefore gives convergence to the X-winning state. The reversed initial advantage gives the Y-winning state.

An exact tie gives a different answer. On the invariant line X=Y>0X=Y>0, substitute Z=qsum−2XZ=q_{\mathrm{sum}}-2X. The equation becomes X˙=kX(qsum−3X)\dot X=kX(q_{\mathrm{sum}}-3X), which approaches X=Y=Z=qsum/3X=Y=Z=q_{\mathrm{sum}}/3. That fixed point is stable within the tie line but unstable to an unequal perturbation. The task must therefore exclude ties or state how a tie is to be interpreted.

Checkpoint: recover the fixed points and their stability after eliminating Z

The reduced equations are X˙=kX(qsum−X−2Y)\dot X=kX(q_{\mathrm{sum}}-X-2Y) and Y˙=kY(qsum−2X−Y)\dot Y=kY(q_{\mathrm{sum}}-2X-Y). The two winning corners have eigenvalues −kqsum-kq_{\mathrm{sum}} twice. The all-Z corner has eigenvalues kqsumkq_{\mathrm{sum}} twice. The equal-mixture fixed point has eigenvalues −kqsum-kq_{\mathrm{sum}} and kqsum/3kq_{\mathrm{sum}}/3. These local tests agree with the global sign and invariance argument.

The two transfer problems establish different functions with the same discipline. The scaffold XOR uses a unique equilibrium response and explicit input calibration. Winner-take-all uses conserved dynamics and a global convergence argument. MultiFate uses open production and removal to retain a signal-selected expression choice. In each case, the computational interpretation follows from the specified experiment and the mechanism.

A chosen expression state must ultimately affect a physical action. Lecture 13 asks whether the resulting metabolic fluxes can satisfy material and energy constraints. That next step tests what the decision enables the cell to do.

Prove an analog computation by identifying its conserved quantity, invariant input distinction and attracting output, including the exceptional initial conditions.

References

  1. A. A. K. Nielsen and colleagues. Genetic circuit design automation. Science 352, aac7341 (2016). DOI. Molecular gate composition, insulation, circuit testing and transient propagation faults.
  2. N. E. Buchler, U. Gerland and T. Hwa. On schemes of combinatorial transcription logic. PNAS 100, 5136–5141 (2003). DOI. State-dependent promoter activities, continuous input responses and logical interpretations.
  3. R. Zhu, J. M. del Rio-Salgado, J. Garcia-Ojalvo and M. B. Elowitz. Synthetic multistability in mammalian cells. Science 375, eabg9765 (2022). DOI. Active homodimers, inactive heterodimers, controlled switching and experimentally maintained expression states.
  4. Zhu and colleagues. Supplementary materials for Synthetic multistability in mammalian cells (2022). Article and supplement. External-induction models and Figure S16's two-factor protocols. The dimensionless pulse calculations here are illustrative model extensions, not drug-dose fits.
  5. Universal Approximation with Equilibrium Binding: A tutorial: one conservation mechanism, two proofs, and their physical costs. Unpublished local tutorial, 7 October 2026 snapshot. The printed attribution describes a synthesis of binding approximation manuscripts and XU Ye's work. Theorems 5.7, 7.1 and 11.12 provide finite-parameter and multivariate statements. Section 10 gives the mechanism and proof ingredients needed here without requiring access to the private source.
  6. F. Xiao. CCBS 2025 computation lecture and Homework 2, problem 2. Historical sources for the molecular weighted comparison and analog winner-take-all exercise. The present treatment states its units, physical boundaries and exceptional cases explicitly.