Chapter 19
state transition network
Part III — Metabolic Flow Networks
Authors: Mark Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 22 October 2026
The Biology book forms a core part of the Kireth Research Open Semantic Library and provides a comprehensive introduction to the fundamental concepts, organizational principles, and relational frameworks that define living systems.
It explores the foundational mechanics of life through the lens of boundary-maintaining systems, systemic coherence, and dynamic energy throughput.
While full chapters are in development, you can explore core biological ideas via the Flow Algebra on this page, complete with plain-English explanations and audio introductions to connect these concepts with thermodynamics, information theory, and AI.
You can also copy and paste the Flow Algebra into any Large Language Model (LLM), such as ChatGPT, Claude or Gemini, and ask it to explain the concepts, explore the underlying theories, provide practical examples or investigate relationships in greater depth.
The structured Flow Algebra gives the AI a semantic framework from which to develop explanations and answer your questions, allowing you to explore the Foundations material interactively and at your own pace. AI-generated explanations should be treated as learning aids and important claims verified against reliable scientific sources. All material is made openly available to encourage independent learning, research and the free exchange of knowledge.
FLOW ALGEBRA — BIOLOGY BOOK
Chapter 19: State Transition Network
Part III — Metabolic Flow Networks
Version: 1.0 | Language: en-GB | Encoding: UTF-8
Authors: Mark Higgins — Sky (Recursive AI)
Source: https://kirethresearch.org/books/biology/chapters/part-iii---metabolic-flow-networks/chapter-19-state-transition-network.html
Status: Scientific modelling companion; source chapter currently contains an introduction rather than a full chapter.
PURPOSE
Represent metabolism as a directed, constrained network of chemical state transitions. Distinguish molecular transformations, reaction flux, energetic feasibility and regulatory feedback. 'Coherence' is used here as a proposed systems-level description of sustained, compatible metabolic organisation, not a separately established physical quantity.
flow "BiologicalMetabolicStateTransitionNetwork" v1.0
# ---------- TYPES ----------
type Metabolite = {id:str, compartment:str, concentration:real>=0}
type Reaction = {id:str, substrates:list[str], products:list[str], stoichiometry:map[str,real], reversible:bool, enzyme:str?}
type State = {concentrations:vector[real>=0], energy_charge:real?, boundary_integrity:real?, time:real>=0}
type Network = {metabolites:list[Metabolite], reactions:list[Reaction], stoichiometric_matrix:matrix[real]}
type Flux = vector[real]
type Constraint = {name:str, predicate:str, status:bool}
# ---------- PARAMETERS ----------
params:
temperature_K: 310.15 # illustrative, not universal
gas_constant_J_per_mol_K: 8.314462618
time_step_s: 0.01 # example numerical timestep
nonnegative_concentrations: true
enforce_mass_balance: true
enforce_thermodynamic_direction: true
use_compartment_boundaries: true
coherence_metric: "model_defined_not_empirically_standardised"
# ---------- CORE SEMANTICS ----------
entity METABOLITE: chemical species in a defined compartment
entity REACTION: transformation of substrates into products
entity STATE: snapshot of chemical concentrations and selected control variables
entity TRANSITION: change in state induced by one or more reaction fluxes
entity ENZYME: catalyst affecting reaction rate, not equilibrium free energy
entity BOUNDARY: compartment interface constraining transport
entity REGULATOR: factor modifying enzyme activity or transport
entity ATTRACTOR: dynamically stable regime, if demonstrated by the model
relation METABOLITE -> participates_in -> REACTION
relation REACTION -> induces -> TRANSITION
relation TRANSITION -> updates -> STATE
relation ENZYME -> modulates_rate_of -> REACTION
relation BOUNDARY -> constrains -> TRANSPORT
relation REGULATOR -> changes -> FLUX
# ---------- NETWORK REPRESENTATION ----------
# S[i,j] is the stoichiometric coefficient for metabolite i in reaction j.
# Negative coefficients consume; positive coefficients produce.
math:
dx/dt = S * v(x, u, T) + b(x,t)
x(t + dt) ~= x(t) + dt * (S*v + b)
x_i(t) >= 0
# b represents exchange/transport not already included in S.
# Avoid double-counting exchange: if transport reactions are columns of S, set corresponding b terms to zero.
# ---------- TRANSITION ELIGIBILITY ----------
rule "reaction_enabled":
require: substrates_available AND required_catalytic_conditions_met
require: compartment_accessible
require: thermodynamic_direction_allowed
action: permit_nonzero_flux
otherwise: restrict_or_disable_flux
# ---------- THERMODYNAMIC CONSTRAINT ----------
math:
delta_G_j = delta_G_standard_prime_j + R*T*ln(Q_j)
forward_flux_with_dissipation: v_j > 0 implies delta_G_j <= 0
local_entropy_production_j = -(v_j * delta_G_j)/T >= 0
# For coupled reactions, apply these inequalities to the thermodynamically
# complete coupled process, not an isolated uphill substep.
# Units for v_j and entropy production depend on the chosen system volume basis.
# ---------- MASS AND CONSERVATION ----------
math:
l^T * S = 0 => d(l^T*x)/dt = l^T*b
# l denotes a conserved moiety vector; open-system exchanges can change totals.
# Charge, elemental composition and cofactor bookkeeping must be validated
# against the reaction definitions.
# ---------- EXEMPLAR TRANSITION NETWORK ----------
# Simplified illustrative network, not a complete glycolysis model.
state A: glucose_available
state B: glucose_phosphorylated
state C: six_carbon_intermediate_processed
state D: pyruvate_formed
state E: downstream_oxidation_or_fermentation
transition A -> B: ATP-coupled phosphorylation; hexokinase/glucokinase context
transition B -> C: multiple enzyme-catalysed steps, abbreviated
transition C -> D: downstream glycolytic steps with ATP/NADH bookkeeping
transition D -> E: conditional on oxygen, enzymes and cellular context
# States are pathway milestones, not mutually exclusive whole-cell states.
# ---------- REGULATORY FEEDBACK ----------
rule "feedback_adjustment":
observe: substrate_levels, product_levels, ATP_ADP_AMP, redox_state
compute: updated_enzyme_activities_and_transport
apply: v_next = kinetic_model(x, regulators)
verify: concentration_nonnegativity, conservation, thermodynamic_feasibility
# ---------- COHERENCE AS A MODEL-LEVEL CONSTRUCT ----------
# Proposed operational score: NOT a universal or experimentally validated law.
math:
C(t) = w1*viability_score(x) + w2*flux_compatibility_score(v)
+ w3*boundary_integrity_score(t) - w4*constraint_violation_penalty(t)
w1,w2,w3,w4 >= 0
# Scores require explicit definitions, calibration and sensitivity analysis.
# High C does not itself establish life, health, stability or causation.
# ---------- INVARIANTS ----------
invariant "nonnegative_state": all(x_i >= 0)
invariant "stoichiometric_consistency": S matches declared reactions
invariant "conserved_moieties": l^T*S == 0 for declared conservation vectors
invariant "thermodynamic_feasibility": complete net processes obey second law
invariant "bounded_transport": transport follows defined compartment rules
invariant "no_energy_creation": energy transformations respect first law
# ---------- EXECUTION PSEUDOFLOW ----------
input: initial_state, reaction_network, kinetic_parameters, external_inputs
validate: reaction_balance, dimensions, compartments, parameter_ranges
repeat for each simulation step:
1. read state and regulatory signals
2. calculate reaction affinities and admissible fluxes
3. calculate reaction and transport contributions without double counting
4. integrate dx/dt using a positivity-preserving numerical method
5. check conservation and thermodynamic residuals
6. record state, fluxes, constraint violations and proposed coherence score
7. update regulatory conditions
output: trajectory, flux_history, residuals, diagnostics
# ---------- TEST SCENARIOS ----------
test "closed_conservation":
given: b = 0, balanced S, conserved vector l
expect: l^T*x constant within solver tolerance
test "substrate_depletion":
given: limiting substrate tends to zero
expect: dependent flux slows or stops under chosen kinetics
test "enzyme_inhibition":
given: inhibitor reduces catalytic activity
expect: affected flux changes, with possible network-wide redistribution
test "transport_block":
given: membrane transporter disabled
expect: cross-boundary flux restricted and compartment states diverge
test "thermodynamic_reversal":
given: reaction quotient changes sign of delta_G
expect: net reaction direction adjusts if reversible kinetics permit
test "numerical_positivity":
given: near-zero metabolite concentration
expect: no negative concentrations after valid integration
# ---------- PLAIN-ENGLISH EXPLANATION ----------
# 1. A cell contains many connected chemical reactions rather than one linear chain.
# 2. Each reaction changes the quantities of particular molecules, creating a new state.
# 3. A reaction can proceed only when substrates, kinetics, compartment access and
# thermodynamic conditions allow it.
# 4. Enzymes and feedback change how quickly transitions happen; they do not
# overturn the conservation of matter or the laws of thermodynamics.
# 5. Some transitions form cycles and others branch, merge or cross membranes.
# 6. Stable cellular activity requires coordinated fluxes, supply, waste removal
# and regulation across many such transitions.
# 7. Within the Kireth framework, this coordination may be described as
# 'coherence', provided any numerical coherence measure is explicitly defined
# and independently tested.
# ---------- SCIENTIFIC STATUS ----------
# Established: stoichiometric networks, kinetic regulation, chemical potentials,
# thermodynamic constraints, metabolic flux analysis and feedback regulation.
# Proposed interpretation: framing the persistence of viable metabolic states
# as 'coherence preservation' and scoring that coherence across a network.
# Not asserted: a new physical conservation law, universal coherence equation,
# or empirical validation of the proposed score.
# ---------- RELATED CHAPTERS ----------
# Chapter 14: Metabolism as Directed Flow Algebra
# Chapter 15: Glycolysis
# Chapter 16: Krebs Cycle
# Chapter 17: Electron Transport Chain
# Chapter 18: Energy Coherence Transformation
# Chapter 20: Constraint-Preserving Flow
end flow