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.
Runs In Any LLM
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
Chapter 9 — Transport Proteins as Regulated Boundary Gates
Part II — Cellular Boundary Systems | Kireth Research Biology
Version: 1.0 | Language: en-GB | Format: UTF-8 TXT
Authors: Mark Higgins — Sky (Recursive AI)
Source: https://kirethresearch.org/books/biology/chapters/part-ii---cellular-boundary-systems/chapter-9-transport-proteins-as-regulated-boundary-gates.html
STATUS AND SCOPE
This is a structured, executable-style conceptual model, not a validated numerical simulator. Established biophysical equations are distinguished from proposed coherence abstractions. Parameters require empirical calibration for any particular transporter or cell.
flow "TransportProteinsAsRegulatedBoundaryGates" v1.0
# ---------- ENTITY TYPES ----------
type MembraneBoundary = {area_m2: real>0, capacitance_F: real>=0, integrity: real[0,1]}
type Solute = {name: str, charge_z: int, concentration_inside_M: real>=0, concentration_outside_M: real>=0}
type TransportProtein = {id: str, class: enum[channel,carrier,pump,cotransporter], abundance: int>=0, state: enum[closed,open,inward_facing,outward_facing,occluded,inactive], selectivity: set[str], regulation: real[0,1]}
type CellState = {membrane: MembraneBoundary, solutes: map[str,Solute], transporters: list[TransportProtein], potential_inside_minus_outside_V: real, ATP_M: real>=0, temperature_K: real>0}
# ---------- RELATIONSHIPS ----------
relationship EMBEDDED_IN(TransportProtein, MembraneBoundary)
relationship SELECTIVELY_TRANSPORTS(TransportProtein, Solute)
relationship REGULATED_BY(TransportProtein, Signal)
relationship COUPLED_TO(TransportProtein, EnergySource)
relationship MAINTAINS(CellState, ConcentrationGradient)
relationship PERTURBS(TransportFlux, CellState)
# ---------- PHYSICAL DEFINITIONS ----------
constants:
R: 8.314462618 # J mol^-1 K^-1
F: 96485.33212 # C mol^-1
# Chemical potential of a dilute solute in compartment k:
# mu_k = mu0 + R*T*ln(a_k), where a is dimensionless activity.
# Electrochemical potential difference for outside -> inside:
# delta_mu_in = R*T*ln(a_in/a_out) + z*F*(psi_in - psi_out)
# Positive delta_mu_in means inward transfer requires free energy.
# Activities may be approximated by concentration ratios in dilute ideal solutions.
function delta_mu_in(solute, state):
require solute.activity_inside > 0 and solute.activity_outside > 0
return R*state.temperature_K*ln(solute.activity_inside/solute.activity_outside)
+ solute.charge_z*F*state.potential_inside_minus_outside_V
# ---------- TRANSPORT CLASSES ----------
flow "PassiveChannel" v1.0:
input: channel, solute, state
require: channel.class == channel
require: solute.name in channel.selectivity
gate_probability: real[0,1] # function of voltage, ligand, stretch or other stimuli
conductance_S: real>=0
ion_current_A: conductance_S * gate_probability * (Vm - E_ion)
# E_ion = (R*T/(z*F))*ln(a_out/a_in), for z != 0.
# Positive current follows the conventional outward-positive current sign.
update: ion_amount_from_current_using_charge_and_time
explain: "An open ion channel permits flux driven by an electrochemical gradient; opening does not itself supply uphill transport energy."
flow "FacilitatedCarrier" v1.0:
input: carrier, solute, state
require: carrier.class == carrier
binding: solute + outward_facing_carrier -> bound_carrier
transition: bound_carrier -> inward_facing_carrier
release: inward_facing_carrier -> solute_inside + carrier
constraint: passive_net_flux_down_electrochemical_potential
explain: "Carrier binding and conformational changes enable selective, saturable transport without necessarily consuming ATP."
flow "PrimaryActivePump" v1.0:
input: pump, substrates, ATP, state
require: pump.class == pump
coupled_reaction: ATP + H2O -> ADP + phosphate
energy_condition: delta_G_transport_total + delta_G_ATP_hydrolysis <= 0
update: transport_substrates_and_consume_ATP_according_to_stoichiometry
explain: "ATP hydrolysis can be coupled to uphill movement; stoichiometry and direction are protein-specific."
flow "SecondaryActiveCotransporter" v1.0:
input: cotransporter, driving_ion, coupled_solute, state
require: cotransporter.class == cotransporter
energy_condition: sum(stoichiometric_delta_mu_for_each_transported_species) <= 0
update: move_coupled_species_together
explain: "Downhill movement of one species can power uphill movement of another without direct ATP hydrolysis by the cotransporter."
# ---------- REGULATED GATE STATE MACHINE ----------
state_machine "TransporterRegulation":
states: [closed, open, inactive, internalised]
closed -> open when activating_signal AND membrane_conditions_permit
open -> closed when deactivating_signal OR gating_timeout
open -> inactive when inhibitory_modification
inactive -> closed when recovery_condition
closed -> internalised when trafficking_signal
internalised -> closed when membrane_reinsertion
invariant: transitions_obey_transporter_specific_mechanisms
# ---------- CELL-LEVEL CONSERVATION ----------
# Let J_i be inward-positive molar flux in mol m^-2 s^-1.
# d(n_inside_i)/dt = A * sum(J_i,transporters) + synthesis_i - consumption_i
# d(n_outside_i)/dt = -A * sum(J_i,transporters) + external_sources_i - external_sinks_i
# This assumes a two-compartment exchange geometry and excludes unspecified leakage.
# dQ_inside/dt = F * sum(z_i * d(n_inside_i)/dt), with charge carried by ions.
# Membrane voltage dynamics require capacitance and any other currents/charge pools.
# ---------- COHERENCE INTERPRETATION (PROPOSED) ----------
# Define an operational boundary-coherence score rather than a universal physical law.
params:
concentration_targets: map[str, interval]
potential_target_V: interval
membrane_integrity_threshold: real[0,1]
weights: {composition: real>=0, voltage: real>=0, integrity: real>=0}
function boundary_coherence(state, targets, weights):
composition_score = weighted_fraction_of_solute_levels_within_targets(state.solutes)
voltage_score = score_distance_to_target_interval(state.potential_inside_minus_outside_V)
integrity_score = state.membrane.integrity
return weighted_mean([composition_score, voltage_score, integrity_score], weights)
# Scores depend on chosen targets and are NOT direct measurements of thermodynamic entropy.
# A living membrane can preserve organised gradients through continual energy dissipation.
flow "RecursiveBoundaryMaintenance" v1.0:
observe: [solute_levels, membrane_potential, membrane_integrity, energy_availability]
compare: observed_state_against_viability_targets
select: available_channels_carriers_pumps_and_signalling_responses
execute: transport_and_regulatory_transitions
account: mass_charge_and_energy_conservation
repeat: while cell_is_viable
stop: if irrecoverable_damage OR energy_exhaustion OR explicit_end_condition
# ---------- INVARIANTS AND VALIDATION ----------
invariant I1: solute_amounts_nonnegative
invariant I2: protein_abundance_nonnegative
invariant I3: probability_of_open_state_in_[0,1]
invariant I4: passive_transport_cannot_sustain_uphill_flux_without_coupling
invariant I5: coupled_transport_obeys_total_free_energy_constraint
invariant I6: mass_balance_holds_for_all_explicitly_modelled_compartments
invariant I7: charge_balance_and_membrane_capacitance_are_consistent
invariant I8: selectivity_and_transport_stoichiometry_are_protein_specific
invariant I9: ATP_use_and_gradient_dissipation_are_counted_in_energy_budget
invariant I10: proposed_coherence_score_is_not_identical_to_entropy_or_fitness
# ---------- TEST SCENARIOS ----------
test "ChannelOpens":
given: permeant_ion_has_nonzero_electrochemical_driving_force
when: gate_open_probability_increases
expect: magnitude_of_passive_flux_generally_increases_under_fixed_conditions
test "PumpInhibited":
given: gradient_maintenance_depends_on_active_pump
when: pump_activity_decreases_and_leak_persists
expect: maintained_gradient_tends_to_decay_over_time
test "SecondaryTransport":
given: favourable_driving_ion_gradient_and_coupled_stoichiometry
when: cotransporter_operates
expect: uphill_coupled_solute_transfer_possible_if_total_delta_G_nonpositive
test "EnergyDepletion":
given: ATP_dependent_pumps_and_ongoing_passive_leaks
when: ATP_supply_falls_below_maintenance_demand
expect: increased_risk_of_ion_imbalance_and_loss_of_homeostasis
# ---------- PLAIN-ENGLISH EXPLANATION ----------
# 1. The lipid membrane restricts movement; transport proteins provide selective pathways.
# 2. Channels typically permit rapid downhill ion movement when their gates are open.
# 3. Carriers change shape to move bound substrates, often with saturating kinetics.
# 4. Pumps use coupled chemical energy to sustain gradients against spontaneous relaxation.
# 5. Cotransporters exploit existing gradients to drive other transport processes.
# 6. Signals, voltage, mechanical forces, phosphorylation and trafficking can regulate gates.
# 7. Selective transport preserves intracellular composition, membrane potential and viability.
# 8. In the Kireth coherence interpretation, regulation helps preserve a dynamic boundary state.
# 9. This interpretation is a modelling layer, not a replacement for biophysics.
# ---------- CONNECTIONS ----------
links:
previous: "Chapter 8 — Ion Gradients as Stored Potential Tension"
next: "Chapter 10 — Nucleus"
domains: [membrane_biophysics, transport_kinetics, thermodynamics, homeostasis, systems_biology]
END FLOW ALGEBRA