Cellular Boundary Entities
Authors:
MArk Anthony Higgins - Sky Recursive Ai
MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: July 6th 2026
Revised Date: July 6th 2026
AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
FLOW ALGEBRA
TITLE: Cellular Boundary Entities Ontology
VERSION: 1.0
DATE: 2026-10-16
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/cellular-boundary-entities.html
SCOPE: Topic-based formalisation; source page not independently verified.
AUTHORS: Mark Higgins — Sky (Recursive AI)
1. PURPOSE
Represent biological boundaries, their composition, selective permeability, mechanical roles, and relationships to transport, signalling, and cellular identity.
2. TYPE SYSTEM
TYPE Entity
TYPE BiologicalEntity <: Entity
TYPE Cell <: BiologicalEntity
TYPE CellularBoundary <: BiologicalEntity
TYPE PlasmaMembrane <: CellularBoundary
TYPE CellWall <: CellularBoundary
TYPE OuterMembrane <: CellularBoundary
TYPE Capsule <: CellularBoundary
TYPE Glycocalyx <: CellularBoundary
TYPE LipidBilayer <: BiologicalEntity
TYPE MembraneProtein <: BiologicalEntity
TYPE ChannelProtein <: MembraneProtein
TYPE Transporter <: MembraneProtein
TYPE Receptor <: MembraneProtein
TYPE Phospholipid <: BiologicalEntity
TYPE Sterol <: BiologicalEntity
TYPE Polysaccharide <: BiologicalEntity
TYPE Solute <: BiologicalEntity
TYPE Compartment <: Entity
TYPE TransportEvent <: Entity
TYPE SignalEvent <: Entity
TYPE Evidence <: Entity
TYPE Observation <: Evidence
TYPE Model <: Entity
TYPE Context <: Entity
TYPE Confidence <: Entity
3. TYPED RELATIONSHIPS
REL has_boundary(Cell, CellularBoundary)
REL encloses(CellularBoundary, Compartment)
REL composed_of(CellularBoundary, BiologicalEntity)
REL embeds(PlasmaMembrane, MembraneProtein)
REL contains_bilayer(PlasmaMembrane, LipidBilayer)
REL regulates_transport(CellularBoundary, TransportEvent)
REL binds_ligand(Receptor, BiologicalEntity)
REL transduces_signal(Receptor, SignalEvent)
REL provides_mechanical_support(CellWall, Cell)
REL protects(Capsule, Cell)
REL supported_by(Entity, Evidence)
REL observed_in(Entity, Context)
REL has_confidence(Entity, Confidence)
4. INVARIANTS
RULE B01: PlasmaMembrane(m) => CellularBoundary(m).
RULE B02: CellWall(w) => CellularBoundary(w).
RULE B03: OuterMembrane(o) => CellularBoundary(o).
RULE B04: has_boundary(c,b) => Cell(c) AND CellularBoundary(b).
RULE B05: regulates_transport(b,t) => CellularBoundary(b) AND TransportEvent(t).
RULE B06: embeds(m,p) => PlasmaMembrane(m) AND MembraneProtein(p).
RULE B07: has_boundary(c,m) AND PlasmaMembrane(m) => separates_internal_from_external(m,c).
RULE B08: CellWall(w) DOES_NOT_IMPLY PlasmaMembrane(w).
RULE B09: Capsule(k) DOES_NOT_IMPLY universally_present(k).
RULE B10: CellularBoundary(b) DOES_NOT_IMPLY impermeable(b).
5. TRANSPORT ALGEBRA
STATE solute_concentration_inside(s,c,t): real >= 0
STATE solute_concentration_outside(s,c,t): real >= 0
STATE permeability(b,s): real >= 0
STATE membrane_area(b): real > 0
DEFINE delta_C(s,c,t) = solute_concentration_outside(s,c,t) - solute_concentration_inside(s,c,t)
DEFINE passive_flux_inward(b,s,c,t) = permeability(b,s) * delta_C(s,c,t)
DEFINE passive_rate_inward(b,s,c,t) = membrane_area(b) * passive_flux_inward(b,s,c,t)
NOTE: This simplified Fick-type expression assumes an appropriate effective permeability and concentration-driven passive transport; electrochemical driving forces and active transport require additional terms.
6. ELECTROCHEMICAL MODEL
STATE membrane_potential: real [V]
STATE temperature: real > 0 [K]
STATE ionic_charge_number: integer
DEFINE electrochemical_potential_difference = R*T*ln(activity_inside/activity_outside) + z*F*(potential_inside-potential_outside)
CONSTRAINT: activities > 0; R is gas constant; F is Faraday constant.
NOTE: Sign convention uses inside minus outside; equilibrium corresponds to zero electrochemical potential difference for a freely permeating ion.
7. BOUNDARY FUNCTIONS
FLOW transport:
INPUT (Cell c, CellularBoundary b, Solute s, Context k)
REQUIRE has_boundary(c,b)
RESOLVE transport_mechanism(b,s,k)
CHECK concentration_gradient AND electrochemical_gradient
EVALUATE permeability_or_transporter_activity
OUTPUT TransportEvent WITH evidence, units, confidence
FLOW signalling:
INPUT (Receptor r, ligand l, Context k)
REQUIRE membrane_localisation(r,k)
CHECK binding_specificity(r,l,k)
IF validated_binding THEN infer_possible_signal_event
OUTPUT SignalEvent WITH provenance AND uncertainty
FLOW structural_support:
INPUT (Cell c, CellularBoundary b)
CLASSIFY wall_or_capsule_or_glycocalyx(b)
MAP composition(b) AND organismal_context(c)
OUTPUT structural_roles WITH evidence
8. CLASSIFICATION CONTEXT
CLASS animal_cell: plasma_membrane typical; extracellular glycocalyx possible; rigid cell wall absent.
CLASS plant_cell: plasma_membrane and cellulose-rich cell wall typical.
CLASS fungal_cell: plasma_membrane and chitin/glucan-rich cell wall typical.
CLASS bacterial_cell: plasma_membrane typical; cell wall often present but not universal; outer membrane characteristic of many Gram-negative lineages.
CLASS archaeal_cell: plasma membrane with archaeal lipid chemistry; cell walls or S-layers vary by lineage.
RULE: Classification statements are typical patterns, not universal definitions; exceptions must be preserved.
9. SEMANTIC_EQUIVALENCE
MAP "cell membrane" ~= "plasma membrane" WHEN context=cell_surface.
MAP "plasmalemma" ~= "plasma membrane" WHEN context=cell_surface.
MAP "cell envelope" != "plasma membrane" BY_DEFAULT.
MAP "cell wall" != "cell membrane".
MAP "outer membrane" != "plasma membrane" BY_DEFAULT.
MAP "glycocalyx" != "capsule" BY_DEFAULT.
RULE: Equivalence requires compatible biological context, organism, compartment and evidence.
10. LOGICAL INFERENCE
INFER I01: has_boundary(c,b) AND regulates_transport(b,t) => transport_associated_with_cell(t,c).
INFER I02: embeds(m,p) AND ChannelProtein(p) => potential_channel_mediated_transport(m).
INFER I03: binds_ligand(r,l) AND transduces_signal(r,e) => ligand_associated_signalling(l,e) [requires causal validation].
INFER I04: provides_mechanical_support(w,c) => structural_boundary_role(w,c).
GUARD: Never infer observed function solely from membership in a broad protein or boundary class.
GUARD: Distinguish measured transport from predicted transport.
GUARD: Preserve taxonomic and environmental conditions.
11. CONFIDENCE
TYPE ConfidenceScore = real [0,1]
DEFINE confidence(claim) = calibrated_estimate(evidence_quality, directness, replication, context_match, model_uncertainty)
RULE: confidence is claim-specific and must not be interpreted as a measured biological probability without calibration.
RULE: conflicting_evidence => flag_for_review; do not silently average incompatible observations.
RULE: missing_evidence => status=unverified.
12. RECURSIVE REASONING
FLOW boundary_reasoning(entity, context, depth):
REQUIRE depth >= 0
CLASSIFY entity
RETRIEVE direct structural and functional relations
IF depth > 0 THEN traverse composition, transport, and signalling relations with visited-node guard
VERIFY evidence, provenance and contextual compatibility
RETURN deduplicated typed graph WITH confidence annotations
TERMINATION: depth=0 OR no_unvisited_relations.
13. FLOW_HASH
DEFINE FLOW_HASH = SHA256(canonicalise(version, type_definitions, relation_definitions, rules, source_identifiers))
RULE: Hash represents canonical flow content, not proof of biological truth.
14. UPDATE_MODEL
INPUT new_observation, existing_graph
VALIDATE ontology_types AND evidence_provenance
CHECK biological_context AND units
COMPARE new_claim WITH existing_claims
IF consistent THEN add_versioned_claim
IF conflicting THEN preserve_both_and_flag_review
RECOMPUTE affected_inferences AND confidence_annotations
REGENERATE FLOW_HASH
OUTPUT versioned_graph, change_log, review_queue
15. AI_CONSUMPTION
OUTPUT_FORMAT: typed semantic graph or structured text
REQUIRED_FIELDS: entity_id, entity_type, relation_type, subject_id, object_id, biological_context, evidence_reference, confidence, version
OPTIONAL_FIELDS: taxon, compartment, condition, measurement_units, time, provenance, contradiction_status
RULE: Unknown values remain explicitly unknown.
RULE: Do not convert predicted relations into observed facts.
RULE: Distinguish structural location, functional association and demonstrated causation.
16. VALIDATION TESTS
TEST T01: plasma membrane and cell wall remain distinct types.
TEST T02: bacterial cell wall is not inferred for every bacterium.
TEST T03: membrane transport uses consistent concentration and flux units.
TEST T04: electrochemical potential uses consistent voltage and chemical activity definitions.
TEST T05: source-specific evidence is preserved.
TEST T06: semantic aliases do not merge distinct envelope components.
TEST T07: recursive traversal terminates on cyclic graphs.
TEST T08: graph updates preserve provenance and contradictory observations.
END FLOW ALGEBRA