FLOW ALGEBRA
Somatic Cell Ontology | Kireth Semantic Library
Version: 1.0 | Date: 2026-10-16
Source: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/cellular-entities/somatic-cell-ontology.html
Authors: Mark Higgins — Sky (Recursive AI)
PURPOSE
Represent somatic cells, their structures, lineage, division, differentiation, and biological states as typed, traceable relations. This is a proposed formal model, not a validated executable specification.
ENTITY_TYPES
Cell <: BiologicalEntity
SomaticCell <: Cell
GermlineCell <: Cell
StemCell <: Cell
DifferentiatedCell <: SomaticCell
Tissue <: BiologicalStructure
Organ <: BiologicalStructure
Nucleus <: Organelle
Chromosome <: GeneticStructure
Genome <: GeneticInformation
Gene <: GeneticInformation
CellCycle <: BiologicalProcess
Mitosis <: CellDivision
Cytokinesis <: CellDivision
Differentiation <: BiologicalProcess
Apoptosis <: BiologicalProcess
Senescence <: CellState
Mutation <: GeneticChange
Environment <: Context
Observation <: Evidence
TYPED_RELATIONSHIPS
is_a(SomaticCell, Cell)
belongs_to(cell:SomaticCell, tissue:Tissue)
part_of(tissue:Tissue, organ:Organ)
contains(cell:Cell, component:Organelle)
has_genome(cell:Cell, genome:Genome)
expresses(cell:Cell, gene:Gene, context:Environment)
has_state(cell:Cell, state:CellState, time:Time)
undergoes(cell:Cell, process:BiologicalProcess)
descends_from(child:Cell, parent:Cell)
differentiates_into(source:Cell, target:Cell)
supported_by(assertion:Assertion, evidence:Observation)
DEFINITIONS_AND_SCOPE
SomaticCell := cell participating in the non-germline body lineage of a multicellular organism.
NOTE: Classification is organism- and developmental-context-dependent.
NOTE: Some somatic cells are diploid; ploidy varies by organism, tissue, differentiation, and cell-cycle state.
NOTE: Mature mammalian red blood cells lack nuclei; therefore nucleus presence is not a universal somatic-cell requirement.
NOTE: Somatic and germline classifications should not be conflated with a universal ability or inability to divide.
CORE_FLOW
organism_context -> tissue_context -> cell_identity
cell_identity -> lineage_assignment -> somatic_classification
somatic_classification -> cell_state -> process_event -> observed_outcome
observed_outcome -> evidence_record -> confidence_update
CLASSIFICATION_RULES
IF cell_lineage(c) = somatic AND context_valid(c)
THEN classify(c, SomaticCell)
IF observed(c, tissue_membership) AND NOT observed(c, germline_membership)
THEN propose(c, SomaticCell) [requires independent lineage evidence]
IF somatic(c) THEN cell(c)
NOT (somatic(c) => diploid(c))
NOT (somatic(c) => nucleated(c))
NOT (somatic(c) => mitotically_active(c))
CELL_CYCLE_MODEL
states := {G0, G1, S, G2, M}
permitted_example_transitions := {G1->S, S->G2, G2->M, M->G1, G1->G0, G0->G1}
transitions depend on cell type, checkpoints, and environment.
mitosis: replicated nuclear chromosomes -> segregated chromosome sets
cytokinesis: cell body -> daughter-cell compartments
checkpoint_failure -> possible arrest, repair, apoptosis, or abnormal progression
LINEAGE_AND_DIFFERENTIATION
progenitor_cell -> differentiation_signal -> specialised_somatic_cell
lineage_graph := directed graph of observed or inferred parent-child relations
parent_of(a,b) => descends_from(b,a)
transitive_ancestry(a,c) IF parent_of(a,b) AND transitive_ancestry(b,c)
differentiation does not necessarily imply irreversible commitment.
reprogramming may alter cell identity under suitable experimental conditions.
GENETIC_AND_EPIGENETIC_STATE
somatic_mutation := sequence alteration arising in a somatic lineage
somatic_mutation -> potential clonal inheritance in descendant cells
expression_state := f(cell_type, regulatory_state, signals, environment, time)
epigenetic_state influences transcription without necessarily changing DNA sequence.
distinguish somatic mosaicism from inherited germline variation.
QUANTITATIVE_MODELS
population_growth_idealised: N(t) = N0 * exp(r*t)
net_rate: r = proliferation_rate - loss_rate
population_balance: dN/dt = births(t) - deaths(t) + inflow(t) - outflow(t)
NOTE: These are idealised models; rates and validity depend on measured biological context.
fraction_in_state(s) = count(cells_in_s) / count(observed_cells)
mutation_frequency = mutant_observations / eligible_observations
NOTE: State measurement method and denominator must be documented.
CONSTRAINTS
Every lineage edge MUST reference a valid cell identity and time ordering.
Every observation MUST preserve measurement method and provenance.
Distinguish experimental cell lines from in-vivo primary cells.
Do not infer organism-wide properties from a single cultured cell.
Do not treat absence of evidence as evidence of absence.
Species-specific exceptions override generic default assumptions.
SEMANTIC_EQUIVALENCE
"somatic cell" ~= "body cell" [common-language approximation]
"somatic cell" != "germ cell"
"somatic mutation" != "germline mutation"
"cell differentiation" != "cell division"
equivalence_level := {exact, contextual, approximate, non_equivalent}
Preserve source terminology and scope for each mapping.
CONFIDENCE
confidence(assertion) in [0,1]
evidence_factors := {source_quality, method_validity, replication, context_match, recency}
confidence_update := calibrated_evidence_aggregation(prior, evidence_factors)
NOTE: No numeric confidence is assigned without measured evidence and a calibration method.
RECURSIVE_REASONING
resolve(cell) -> classify_lineage(cell)
classify_lineage(cell) -> inspect_parentage(cell) -> resolve(parent)
STOP when verified lineage root, missing evidence, cycle, or depth limit reached.
Detect cycles in lineage records; report contradictions instead of silently accepting them.
FLOW_HASH
canonicalise(entity_types, relations, rules, source_version)
FLOW_HASH := SHA256(canonical_serialisation)
NOTE: Hash computed only by an implementation over final canonical content.
UPDATE_MODEL
input := {new_observation, corrected_taxonomy, new_lineage_evidence, revised_source}
validate -> compare_version -> assess_conflicts -> update_assertions
update_assertions -> recalculate_confidence -> regenerate_hash -> publish_revision
retain previous versions and provenance.
AI_CONSUMPTION
output_schema := {entity_id, type, label, organism, tissue, lineage,
state, relationships, evidence, confidence, provenance,
version, flow_hash}
AI agents MUST distinguish observed facts, hypotheses, and inferred relations.
AI agents SHOULD request clarification when organism or developmental context is absent.
AI agents MUST NOT represent unvalidated inferred lineage as confirmed.
EXAMPLE_INSTANCE
entity: example_hepatocyte_01
type: DifferentiatedCell
subclass_of: SomaticCell
organism: Homo sapiens
tissue: liver tissue
process: metabolism
evidence_status: illustrative_only
NOTE: Example is conceptual and does not denote a real sampled cell.
END FLOW ALGEBRA
Download Code
Copy to Clipboard