FLOW ALGEBRA
TITLE: Differentiated Cell Ontology
VERSION: 1.0
DATE: 2026-10-16
AUTHORS: Mark Higgins — Sky (Recursive AI)
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/cellular-entities/differentiated-cell-ontology.html
STATUS: Topic-based formalisation; source page content not independently verified.
LICENCE: Open research reuse; consult the Kireth Research site for the governing licence.
1. PURPOSE
Model differentiated cells as context-dependent biological entities with lineage,
identity, functional specialisation, molecular state and provenance. Distinguish
cell identity from maturity, terminal differentiation and cell-cycle status.
2. TYPED ENTITIES
entity Cell : BiologicalEntity
entity DifferentiatedCell <: Cell
entity StemCell <: Cell
entity ProgenitorCell <: Cell
entity CellType : BiologicalClass
entity CellState : BiologicalState
entity Tissue : BiologicalStructure
entity Organ : BiologicalStructure
entity Organism : BiologicalEntity
entity Lineage : BiologicalProcessHistory
entity DifferentiationEvent : BiologicalEvent
entity TranscriptionFactor : Protein
entity Gene : MolecularEntity
entity ExpressionProfile : MeasurementSet
entity EpigeneticProfile : MeasurementSet
entity ProteinMarker : MolecularEntity
entity CellularFunction : BiologicalProcess
entity Microenvironment : BiologicalContext
entity Observation : Evidence
entity Assay : MeasurementProcedure
entity TimePoint : TemporalEntity
3. CORE RELATIONSHIPS
relation instance_of(Cell, CellType)
relation located_in(Cell, Tissue)
relation tissue_part_of(Tissue, Organ)
relation belongs_to(Cell, Organism)
relation descended_from(Cell, Cell)
relation follows_lineage(Cell, Lineage)
relation differentiates_into(Cell, Cell)
relation participates_in(Cell, DifferentiationEvent)
relation expresses(Cell, Gene)
relation has_marker(Cell, ProteinMarker)
relation has_expression_profile(Cell, ExpressionProfile)
relation has_epigenetic_profile(Cell, EpigeneticProfile)
relation performs(Cell, CellularFunction)
relation influenced_by(Cell, Microenvironment)
relation observed_by(Cell, Assay)
relation supported_by(Assertion, Observation)
relation measured_at(Observation, TimePoint)
4. TYPE AND INTEGRITY RULES
rule R01: DifferentiatedCell(x) -> Cell(x)
rule R02: instance_of(x,t) AND CellType(t) -> Cell(x)
rule R03: differentiates_into(a,b) -> Cell(a) AND Cell(b)
rule R04: descended_from(b,a) -> Cell(a) AND Cell(b)
rule R05: located_in(c,t) -> Cell(c) AND Tissue(t)
rule R06: has_marker(c,m) -> Cell(c) AND ProteinMarker(m)
rule R07: observed_by(c,a) -> Cell(c) AND Assay(a)
constraint C01: identifiers must be scoped to a source and version
constraint C02: lineage edges require temporal direction or explicit uncertainty
constraint C03: a marker alone does not establish unique cell identity
constraint C04: differentiated does not necessarily imply post-mitotic
constraint C05: terminally differentiated is not synonymous with senescent
constraint C06: lineage and cell type must not be inferred from morphology alone
5. DIFFERENTIATION FLOW
flow Differentiation:
input: precursor:Cell, context:Microenvironment, time:TimePoint
precondition: viable(precursor)
transition: regulatory_program_change(precursor,context)
transition: -expression_state_change(precursor)
transition: functional_specialisation(precursor)
output: descendant:Cell
assert: descended_from(descendant,precursor)
assert: differentiates_into(precursor,descendant)
note: identity and maturity require evidence-based classification
6. EXAMPLE CELL TYPES
example Neuron: specialised electrical and chemical signalling
example SkeletalMuscleFibre: contractile multinucleated cell
example Erythrocyte: oxygen transport; mammalian mature erythrocytes lack nuclei
example Hepatocyte: liver metabolism and secretion
example Enterocyte: intestinal absorption
example Keratinocyte: epithelial barrier formation
example Osteocyte: bone matrix maintenance
example Adipocyte: lipid storage and endocrine signalling
example Macrophage: immune surveillance and phagocytosis
note: examples do not form an exhaustive or exclusive taxonomy
7. STATE MODEL
state Undifferentiated
state LineageCommitted
state Differentiating
state Differentiated
state TerminallyDifferentiated
state Quiescent
state Cycling
state Senescent
state Apoptotic
transition LineageCommitted -> Differentiating : lineage_program_activation
transition Differentiating -> Differentiated : acquisition_of_specialised_features
transition Differentiated -> TerminallyDifferentiated : context_dependent_maturation
transition Differentiated -> Cycling : cell_cycle_entry_when_permitted
transition Cycling -> Quiescent : reversible_cycle_exit
note: maturation, proliferation and senescence are orthogonal dimensions
note: reprogramming and transdifferentiation are possible in specific contexts
8. QUANTITATIVE MODELS
model CellPopulation:
dN/dt = (p - d) * N + influx - efflux
where N = cell_count, p = proliferation_rate, d = death_rate
units: N[cells], p[time^-1], d[time^-1]
model DifferentiationFraction:
f_d = N_d / N_total
domain: N_total > 0
model MarkerFraction:
f_marker = N_marker_positive / N_assayed
domain: N_assayed > 0
model TransitionProbability:
P(state_next | state_current, context, time)
constraint: sum_over_possible_next_states(P) = 1
note: models are simplified and must be fitted to experimental data
9. SEMANTIC_EQUIVALENCE
map "specialised cell" ~= "differentiated cell" [context_dependent]
map "mature cell" ~= "differentiated cell" [not_universally_equivalent]
map "terminally differentiated cell" != "senescent cell"
map "progenitor cell" != "differentiated cell" [categories_may_overlap_by_context]
map "cell type" != "cell state"
map "marker expression" != "proof of cell identity"
10. INFERENCE
infer I01:
if lineage_evidence(c,l) AND characteristic_profile(c,t)
AND compatible_function(c,t) AND context_consistent(c,t)
then candidate_cell_type(c,t)
require: confidence_score AND evidence_provenance
infer I02:
if observed_differentiation(a,b) AND time(a) < time(b)
then candidate_lineage_transition(a,b)
require: direct lineage evidence for confirmed ancestry
infer I03:
if cell_cycle_exit(c) then NOT automatically terminally_differentiated(c)
11. CONFIDENCE
confidence assertion:
value: [0,1]
inputs: [assay_quality, marker_specificity, lineage_evidence,
biological_context, replication, annotation_consistency]
rule: missing evidence must not be treated as negative evidence
rule: numerical confidence requires calibrated methodology
rule: inferred assertions retain evidence links and uncertainty
12. PROVENANCE
provenance record:
assertion_id: string
evidence_id: string
source_reference: string
assay_method: string?
organism: string?
tissue: string?
sampling_time: datetime?
curator: string?
ontology_version: string
confidence: number?
13. RECURSIVE_FLOW
flow CellIdentityRefinement:
input: candidate_type, observations, ontology_version
step: validate_entity_types
step: collect_marker_and_functional_evidence
step: compare_lineage_and_tissue_context
step: resolve_semantic_aliases
step: evaluate_conflicts_and_uncertainty
step: update_candidate_classification
recurse_if: new_independent_evidence AND improvement_expected
stop_if: stable_classification OR evidence_exhausted OR max_iterations
output: classification_with_provenance
14. FLOW_HASH
FLOW_HASH:
method: SHA-256
scope: canonical_serialisation_of_flow_content
rule: compute at publication; do not invent digest
purpose: integrity, version comparison and reproducibility
15. UPDATE_MODEL
UPDATE_MODEL:
triggers: [new_cell_atlas, revised_taxonomy, new_lineage_tracing,
new_marker_evidence, corrected_annotation]
steps: [validate_source, compare_versions, assess_conflicts,
revise_assertions, recompute_confidence, regenerate_hash]
preserve: [prior_versions, source_links, change_history]
16. AI_CONSUMPTION
AI_CONSUMPTION:
input: typed_entities + relations + evidence + constraints
tasks: [cell_type_classification, lineage_reasoning, knowledge_graph_linking,
literature_retrieval, hypothesis_generation]
output: grounded_assertions_with_confidence_and_provenance
safeguards: [no_marker_only_diagnosis, no_unqualified_lineage_claims,
distinguish_observation_from_inference,
human_review_for_biomedical_decisions]
17. VALIDATION
validate typed_relationships
validate nonempty_provenance_for_empirical_claims
validate time_order_for_lineage_transitions
validate probability_bounds_0_to_1
validate semantic_non_equivalence_constraints
validate version_and_hash_consistency
END FLOW ALGEBRA
Download Code
Copy to Clipboard