FLOW ALGEBRA
TITLE: Cancer Cell Ontology
VERSION: 1.0
DOMAIN: Biological Entities / Cellular Entities
SOURCE_URL: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/cellular-entities/cancer-cell-ontology.html
AUTHORSHIP: Mark Higgins — Sky (Recursive AI)
SITE: https://kirethresearch.org
STATUS: Topic-based formalisation; source page not independently verified.
1. PURPOSE
Represent cancer cells, their molecular alterations, phenotypes, microenvironment interactions and evolving populations as typed, evidence-qualified semantic relationships. A cancer cell is a cell belonging to a malignant neoplastic lineage; no single marker alone establishes malignancy.
2. TYPED ENTITIES
entity Cell : BiologicalCell
entity CancerCell : Cell
entity TumourCell : Cell
entity MalignantClone : CellPopulation
entity Tumour : TissueMass
entity NormalCell : Cell
entity CancerStemLikeCell : CancerCell
entity Genome : MolecularSystem
entity SomaticVariant : GeneticAlteration
entity DriverAlteration : SomaticVariant
entity PassengerAlteration : SomaticVariant
entity Oncogene : Gene
entity TumourSuppressorGene : Gene
entity DNARepairGene : Gene
entity EpigeneticAlteration : RegulatoryChange
entity SignallingPathway : BiologicalProcess
entity CellCycle : BiologicalProcess
entity Apoptosis : CellDeathProcess
entity Senescence : CellularState
entity Angiogenesis : TissueProcess
entity Invasion : CellularProcess
entity Metastasis : MultiStepProcess
entity ImmuneEvasion : BiologicalProcess
entity TumourMicroenvironment : TissueContext
entity ImmuneCell : Cell
entity StromalCell : Cell
entity ExtracellularMatrix : BiologicalStructure
entity Biomarker : MeasurableFeature
entity Treatment : Intervention
entity Observation : EvidenceRecord
entity Sample : BiologicalSpecimen
entity Timepoint : TemporalEntity
3. TYPE CONSTRAINTS
CancerCell SUBTYPE_OF Cell
CancerStemLikeCell SUBTYPE_OF CancerCell
DriverAlteration SUBTYPE_OF SomaticVariant
MalignantClone CONSISTS_OF CancerCell
Tumour MAY_CONTAIN CancerCell
Tumour MAY_CONTAIN ImmuneCell
Tumour MAY_CONTAIN StromalCell
CancerCell HAS_GENOME Genome
CancerCell EXISTS_IN TumourMicroenvironment
4. RELATIONSHIP SIGNATURES
HAS_ALTERATION : Cell x GeneticAlteration -> Boolean
ALTERS_FUNCTION : GeneticAlteration x Gene -> Boolean
ACTIVATES : BiologicalEntity x SignallingPathway -> ContextualRelation
SUPPRESSES : BiologicalEntity x BiologicalProcess -> ContextualRelation
PROLIFERATES_IN : Cell x TissueContext -> Boolean
DERIVED_FROM : CellPopulation x CellPopulation -> EvidenceQualifiedRelation
INTERACTS_WITH : Cell x Cell -> ContextualRelation
INVADES : Cell x TissueContext -> EvidenceQualifiedRelation
DISSEMINATES_TO : CellPopulation x AnatomicalSite -> EvidenceQualifiedRelation
EXPRESSES : Cell x Biomarker -> Measurement
RESPONDS_TO : CellPopulation x Treatment -> ResponseObservation
RESISTS : CellPopulation x Treatment -> EvidenceQualifiedRelation
OBSERVED_IN : Cell x Sample -> EvidenceQualifiedRelation
5. STATE MODEL
state(cell,t) = {
identity, lineage, genotype, epigenotype, phenotype,
cell_cycle_phase, viability, location, environment,
signalling_activity, treatment_exposure, evidence
}
transition : state(cell,t) x Event -> state(cell,t+dt)
Events include division, mutation, differentiation, stress response,
cell death, migration, treatment exposure and clonal selection.
6. BIOLOGICAL PROCESSES
FLOW tumour_initiation:
susceptible_cell + acquired_or_inherited_risk_factors
-> altered_cell_population
-> selected_clone [conditional, not deterministic]
FLOW clonal_evolution:
clone_population(t) + variation + selection + drift
-> clone_population(t+dt)
FLOW invasion_metastasis:
local_invasion -> intravasation -> circulation
-> extravasation -> colonisation [each step conditional]
FLOW therapeutic_response:
treatment + heterogeneous_cell_population
-> differential_survival + possible_adaptation
-> observed_response [context and time dependent]
7. QUANTITATIVE MODELS
Net population growth (simplified):
dN/dt = (b - d) * N
where N is cell number, b division rate, d death rate.
Logistic approximation (when appropriate):
dN/dt = r*N*(1 - N/K)
where r is intrinsic net growth and K is an assumed carrying capacity.
Clonal fraction:
f_i(t) = N_i(t) / sum_j N_j(t)
Treatment survival fraction:
SF(D) = viable_clonogenic_cells_after_D / untreated_control
These are models, not universal biological laws; assumptions and measurement methods must be recorded.
8. LOGICAL INFERENCE
RULE R1:
CancerCell(x) -> Cell(x)
RULE R2:
HAS_ALTERATION(x,a) AND DriverAlteration(a)
-> POSSIBLE_FUNCTIONAL_ADVANTAGE(x) [not certain]
RULE R3:
EXPRESSSES_MARKER(x,m) -> NOT_SUFFICIENT_FOR_CANCER_DIAGNOSIS(x,m)
RULE R4:
METASTATIC_DESCENDANT_OF(x,y) -> SHARES_ANCESTRAL_LINEAGE(x,y)
RULE R5:
RESISTS(x,drug) -> REQUIRES_CONTEXT(drug,dose,time,assay)
RULE R6:
DIFFERENT_GENOTYPES(x,y) -> NOT_NECESSARILY_DIFFERENT_CELL_TYPES(x,y)
RULE R7:
ABSENCE_OF_DETECTED_VARIANT(x,a) -> NOT_PROOF_OF_TRUE_ABSENCE(x,a)
9. SEMANTIC_EQUIVALENCE
CancerCell ~= MalignantCell [when malignancy is established]
TumourCell != CancerCell [tumours may be benign]
NeoplasticCell != CancerCell [neoplasia can be benign]
CancerStemLikeCell != NormalStemCell
Metastasis != LocalInvasion
DriverAlteration != PassengerAlteration
MarkerExpression != ConfirmedDiagnosis
EQUIVALENCE_POLICY: require context, ontology version and evidence.
10. CONFIDENCE
confidence(assertion) : Real[0,1]
confidence := calibrated_estimate(evidence_quality, reproducibility,
measurement_uncertainty, biological_context, source_agreement)
Never assign numeric confidence without a justified estimation method.
Store evidence provenance, uncertainty and conflicting observations.
11. PROVENANCE
record = {
assertion_id, subject, predicate, object, organism,
tissue, sample_id, assay, timestamp, reference,
evidence_type, confidence, ontology_version
}
Separate experimentally observed claims from inferred claims.
12. RECURSIVE FLOW
FLOW classify_and_update(cell_observation):
validate_observation
-> resolve_entity_identity
-> map_to_cell_lineage
-> attach_genomic_and_phenotypic_evidence
-> evaluate_contextual_rules
-> record_uncertainty_and_conflicts
-> update_entity_graph
-> repeat_on_new_evidence
TERMINATION: stop when no new evidence or graph changes are available.
13. FLOW_HASH
FLOW_HASH := SHA256(canonical_serialisation(
ontology_id, ontology_version, entity_types,
relation_signatures, inference_rules, provenance_schema
))
Hash is computed at implementation time; no fabricated digest.
14. UPDATE_MODEL
UPDATE_MODEL:
trigger: new_assay | new_publication | corrected_annotation | ontology_revision
steps: verify_source -> validate_schema -> assess_conflicts
-> revise_assertions -> version_graph -> recompute_hash
policy: retain historical provenance and reversible revisions
15. AI_CONSUMPTION
AI_CONSUMPTION:
input: typed_entity_graph + evidence + context
output: grounded_relationships + qualified_inferences + uncertainty
safeguards:
- do_not_infer_diagnosis_from_single_marker
- distinguish_correlation_from_causation
- distinguish_in_vitro_from_in_vivo_evidence
- require_species_tissue_and_assay_context
- avoid_unvalidated_treatment_predictions
- cite_source_and_version_for_each_claim
16. VALIDATION
CHECK all_entities_are_typed
CHECK relationship_domains_and_ranges
CHECK provenance_present_for_empirical_claims
CHECK no_conflicting_assertion_is_silently_overwritten
CHECK quantitative_model_assumptions_documented
CHECK clinical_claims_are_not_generated_without_evidence
CHECK semantic_equivalence_is_context_qualified
END FLOW ALGEBRA
Download Code
Copy to Clipboard