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.
A bare species symbol, such as , denotes its free concentration. A total counts every molecular state containing that constituent. A complex 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.
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 . Let the output be the active fraction of a reporter promoter. Declare output 1 successful when and output 0 successful when , 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 collect changing protein totals, let denote the external controls, and let be the measured output:
The writing protocol changes for a finite time. Retention is then measured after 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 encode the first bit and encode the second. Hold the selected input forms fixed. Two output forms share a conserved total . The following composite conversions implement the intended NAND directions:
The arrows state conversion accounting. They do not assert elementary three-body chemistry. Suppose the unresolved catalytic mechanisms supply effective conversion frequencies from output 0 to output 1 and in reverse. After incorporating the held inputs, both frequencies have inverse-time units.
The output-1 fraction obeys a linear balance. Solving it gives both the stationary answer and the transient:
This formula assumes . 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 , while 11 has .
Leakage changes the stationary truth table. A high output has error . A low output has error . The remaining distance from that stationary output decays on the relaxation time . Accuracy must therefore budget leakage and finite waiting separately.
Checkpoint: a leaky high-output gate with a five-percent target error
Let and . The leakage error is . A sufficient waiting time for total error at most 0.05 is
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 and . Their inactive complex is . A third gene produces output protein and is repressed by free .
First reconstruct the free producer promoters. Input binds promoter with dissociation constant . Assume exclusive occupancy, so no promoter binds two inputs simultaneously. At equilibrium,
An occupied producer promoter is inactive in this model. Define using the other promoter's constants . Other promoter activity assignments produce other response functions. Promoter-state models make this dependence explicit.2
Next write expression as addition and removal. Let be transcript concentration. Transcription, translation and removal are composite processes with the following rate laws:
The four constants have inverse-time units. At a constant-input steady state,
The amplitudes 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 preserves the sign. With a reference concentration and inputs ,
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 , and . Then and . The comparison is .
Checkpoint: compute the actual concentration surplus at a point
At , the denominators are and . Hence , and . The abstract score is 1, but the molecular concentration margin is only . 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.
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 denote the dissociation constant. The equilibrium constraints are
Substitution gives a quadratic in the complex concentration. Its physical root is the smaller one. A form that avoids subtracting nearly equal numbers is
Recover and . Both free pools are positive at positive totals and finite affinity. Their difference remains exactly .
A short bound explains the approximation more clearly than the quadratic alone. Let . Then and . Consequently,
Both terms on the left are nonnegative. Dropping either term yields
The second bound is useful for classification away from equality. The first remains useful at equality. At , the free pools are exactly . Their leading size is when .
The reporter adds a second affinity. For a negligibly loading promoter repressed by free , its active fraction and normalized output are
Here is the unrepressed steady output total. Define a concentration margin by restricting inputs to , and assume . For , the residual repressor is at most . For , the repressor is at least .
These two bounds give a sufficient design interval for output error at most :
The interval exists when . This sufficient condition says how small the pair affinity must be before any reporter can meet both error requirements using these bounds.
Checkpoint: can an abstract score margin guarantee a molecular margin?
Suppose , and . Then a valid concentration margin is . 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 and . At equilibrium,
The repressor total now includes both complexes. The scalar equation that determines free is
The right side starts at zero and is strictly increasing. Its derivative is
A unique solution lies between zero and . Bisection therefore solves this allocation without choosing a questionable quadratic branch.
The half-output relation is particularly simple. Set and substitute:
Even with no reporter load, this contour differs from at finite affinities. A finite reporter shifts the required total by another . Substituting the different producer fractions from Section 3 generally gives a curved half-output contour in the original input plane.
Keep , and . Change the repressor total or the reporter-site total. The calculation solves the complete scalar conservation equation above.
. .
Free repressor . Active reporter fraction .
Half-output threshold . 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 . Suppose free proteins and the entire complex are removed at the common frequency . Complex removal eliminates one constituent of each type. Then
The constituent balances retain the simple total-proportional form. The full stationary complex relation, however, uses . Pure binding equilibrium uses and is a good replacement for that stationary relation when . 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 . At equilibrium,
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 . Protein error is driven by that transient and decays through . Its slow mode is set by the smaller of the two removal frequencies. When they coincide, the transient can contain a factor . Waiting several binding times does not guarantee a settled protein output.
Checkpoint: quantify a steady binding correction
For illustrative values , and , the binding dissociation constant is . The full stationary effective constant is , 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.
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
Specify the microscopic convention before writing the equilibrium constants. Use equal homodimer association constants and dissociation constants . Let heterodimer association be with dissociation :
With , this convention gives , and . Every homodimer contains two copies of its constituent:
To solve these balances, sum the free monomers. Let and . Both total equations contain the same factor:
The positive quadratic root yields a common free fraction:
Adding B at fixed A total lowers the common free fraction and reduces . 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 be basal production, the additional production scale, the active-homodimer half-response concentration, and a common constituent removal frequency. The model is
This is a fast-binding reduction. Promoter-bound protein is neglected in the constituent totals. The exponent 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 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 be the free concentration of factor . The constituent balance is
With , the same quadratic gives and . Thus one reconstruction supplies all active homodimers. It does not determine the number of stable expression patterns. Those require the corresponding 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 , , and . The scaled production parameters are and . Baseline removal has .
The worked example takes , , and . In these units, and
A fixed point balances production and removal. Every positive fixed-point total lies between 0.8 and 20.8 because . 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 . For a small displacement , the leading dynamics are . 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 and . Here is the derivative with respect to the sum of scaled totals. Then
The symbol 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 totals | Jacobian eigenvalues per baseline lifetime | Local behavior |
|---|---|---|
| and its reverse | Attracting asymmetric choices | |
| Attracting both-high choice | ||
| and its reverse | Saddles |
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 . A common increase of both totals has eigenvalue . Increasing one while decreasing the other has eigenvalue . 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 supplement the unoccupied fraction of B's expression response, and let change the common removal frequency. Keep the baseline clock fixed:
Primes denote derivatives with respect to . Full induction 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 selects the both-high state. The same induction with selects the B-high state. After the pulse, restore in every case. The final environments are identical.
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
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.
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 contain one scaffold and copies of ligand , for . Successive elementary binding steps have dissociation constants :
Define the occupancy fractions , where is the fixed scaffold total. Equilibrium gives relative weights and . Thus
The second equation calibrates free ligand against the controlled total. Its right side increases with . For example, the derivative of mean occupancy with respect to 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 to each state. The normalized readout is . A physical production flux with per-scaffold reference rate is . 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 , only states and retain appreciable occupancy and free ligand is negligible. The two conservation equations then give and . The output is approximately the straight segment joining and .
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 be bounded by and continuously extended outside the target interval. Assign . For an occupancy random variable with probabilities , define . Conservation gives . Hence
Choose a concentration tolerance . On , the target changes by at most its modulus of continuity . Outside that interval, bound the change by and use the second-moment inequality. This gives
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 and one for ligand . The sites bind independently. The controlled quantities are ligand totals , 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 and be the individual occupied fractions. Independence gives the normalized activity
Ligand conservation determines the total input levels needed for a desired occupancy. Since each scaffold has one site for each ligand,
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 and scaffold total . Encode low as occupancy 0.01 and high as occupancy 0.99. The required total concentrations are
| Input labels | Occupancies | Activity | XOR target |
|---|---|---|---|
| 00 | 0.0198 | 0 | |
| 10 | 0.9802 | 1 | |
| 01 | 0.9802 | 1 | |
| 11 | 0.0198 | 0 |
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 . The bound contribution is , 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:
The positive constant has inverse-concentration-per-time units. The model has no external input after initialization. Its concentration dynamics and conserved sum are
The computation preserves the sign of the initial advantage. Set . Subtracting the first two equations gives . 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 , trajectories remain in the compact nonnegative simplex at fixed , with . The function is nonincreasing, and its derivative vanishes only when in this region. To remain at , the third equation also requires . The positive advantage then forces and . 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 , substitute . The equation becomes , which approaches . 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 and . The two winning corners have eigenvalues twice. The all-Z corner has eigenvalues twice. The equal-mixture fixed point has eigenvalues and . 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
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.