Skip to main content

Malignant Tumour Ontology

Pathological Biological Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 27 October 2026
Audio Overview
FLOW ALGEBRA — MALIGNANT TUMOUR ONTOLOGY
Kireth Semantic Library | Pathological Biological Entities
Companion to: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/pathological-biological-entities/malignant-tumour-ontology.html
Authors of source ontology: Mark Anthony Higgins — Sky Recursive AI
Flow companion generated: 2026-10-27 | UTF-8 | en-GB
Status: Proposed formal companion; not a verbatim extraction of hidden page specifications.

01. PURPOSE
Represent malignant neoplasms as typed biological entities with evidence-based classification, progression, tissue invasion, dissemination, provenance and uncertainty.

02. CORE STATE
S_t = (I_t, R_t, B_t, K_t)
I_t := observed and asserted tumour attributes at time t
R_t := typed biological and pathological relationships
B_t := constraints, exclusions, provenance and safety boundaries
K_t := established ontology, classification vocabulary and evidence
E_t = expand(I_t, R_t)
V_t = {x in E_t | satisfies(x, B_t) and evidence_supported(x, K_t)}
x*_t = argmax_{x in V_t} P(x | I_t, R_t, B_t, K_t)
I_(t+1) = update(I_t, x*_t, evidence_t)
NOTE: Probabilities require calibrated models and data; without them, retain qualitative uncertainty and do not calculate numerical confidence.

03. ENTITY TYPES
MalignantTumour <: Neoplasm <: PathologicalEntity
PrimaryMalignantTumour <: MalignantTumour
SecondaryMalignantTumour <: MalignantTumour
Carcinoma <: MalignantTumour
Sarcoma <: MalignantTumour
HaematologicalMalignancy <: MalignantNeoplasm
Melanoma <: MalignantTumour
CentralNervousSystemMalignancy <: MalignantTumour
TumourSample, CellPopulation, Tissue, Organ, AnatomicalSite
HistologicalType, Grade, Stage, Biomarker, MolecularAlteration
InvasionEvent, MetastaticDeposit, RecurrenceEvent, EvidenceRecord

04. ATTRIBUTES
id: stable identifier
site: anatomical location
origin_site: primary anatomical origin when established
lineage: tissue or cell lineage
histology: evidence-supported morphological type
grade: grading system and value, with system specified
stage: staging system, edition, time and value
invasion_status: present | absent | indeterminate
metastatic_status: confirmed | not_detected | indeterminate
biomarkers: measured results with method and date
observation_time: ISO-8601 timestamp
provenance: source, author, method, date and version
certainty: confirmed | probable | possible | unknown

05. RELATIONSHIP GRAPH
MalignantTumour --arises_in--> Tissue
MalignantTumour --located_at--> AnatomicalSite
MalignantTumour --has_histology--> HistologicalType
MalignantTumour --has_grade--> Grade
MalignantTumour --has_stage--> Stage
MalignantTumour --has_biomarker--> Biomarker
MalignantTumour --supported_by--> EvidenceRecord
MalignantTumour --may_invade--> AdjacentTissue
PrimaryMalignantTumour --may_seed--> MetastaticDeposit
MetastaticDeposit --originates_from--> PrimaryMalignantTumour
RecurrenceEvent --recurs_after--> PriorTumourEvent

06. FORMAL INVARIANTS
INV-01: Every classified entity has a stable ID and provenance.
INV-02: Malignant status must not be inferred from tumour size alone.
INV-03: Histological grade and anatomical stage are distinct dimensions.
INV-04: A suspected metastasis is not a confirmed metastasis.
INV-05: Not detecting metastasis does not prove its absence.
INV-06: Tissue invasion and distant metastasis are distinct processes.
INV-07: Biomarker status is method-, specimen- and time-dependent.
INV-08: Classification and staging systems must be versioned.
INV-09: Contradictory evidence is retained and flagged, not silently discarded.
INV-10: A model-generated inference is not a clinical diagnosis.

07. TRANSFORMATION RULES
RULE R1: IF pathology confirms malignant cellular features THEN assert malignant_neoplasm with cited evidence.
RULE R2: IF histological lineage is established THEN map to compatible subtype; retain uncertainty where ambiguous.
RULE R3: IF direct infiltration of adjacent tissue is demonstrated THEN assert local_invasion = confirmed.
RULE R4: IF distant lesion is proven related to a primary tumour THEN assert metastatic_relationship = confirmed.
RULE R5: IF only imaging suggests dissemination THEN assert suspected_metastasis, not confirmed_metastasis.
RULE R6: IF a recognised staging scheme and requisite data exist THEN compute stage under that scheme's rules.
RULE R7: IF stage inputs are missing THEN mark stage = indeterminate and enumerate missing evidence.
RULE R8: IF a biomarker result is updated THEN preserve previous value, sample and assay provenance.
RULE R9: IF histology contradicts an earlier label THEN create a review flag and supersession link.
RULE R10: IF a lesion follows treatment THEN classify recurrence only with appropriate temporal and clinical evidence.

08. MINI-RECURSION ENGINE
input: EntityRecord, EvidenceSet, OntologyVersion
repeat until fixed_point or iteration_limit:
  candidates := expand(EntityRecord, typed_relations)
  candidates := filter(candidates, invariants, provenance, evidence)
  accepted := rank_by_supported_evidence(candidates)
  EntityRecord := merge_without_erasing_conflicts(EntityRecord, accepted)
  audit := append(audit, changes, rejected_candidates, source_refs)
output: EntityRecord, audit, unresolved_questions
termination: no newly justified assertions OR finite iteration limit

09. TRI-MAPPING
Entity mapping: malignant tumour -> neoplasm -> pathological biological entity
Relationship mapping: arises_in / invades / metastasises_to / supported_by
Execution mapping: evidence -> candidate assertions -> validation -> typed graph update

10. HOW TO READ
A node denotes an entity or evidence record.
An arrow denotes a typed, directed relationship.
A rule fires only when its antecedent is supported.
Unknown values remain unknown; missing data are not negative findings.

11. DIAGRAM (TEXT)
[Evidence] -> [Candidate tumour] -> [Classification checks]
                                      |-> [Histology / lineage]
                                      |-> [Grade / stage]
                                      |-> [Invasion / dissemination]
                                      v
                             [Validated entity graph]
                                      v
                              [Audit + provenance]

12. AI SEARCH FLOW
QUERY: normalise terms, including malignant tumour / malignant neoplasm / cancer where context permits.
RETRIEVE: select matching entities, relationships, evidence and ontology versions.
FILTER: enforce anatomical, temporal, provenance and certainty constraints.
EXPAND: traverse subtype, origin, invasion and metastasis relationships.
ANSWER: return supported facts, uncertainties and citations to evidence.
ABSTAIN: do not manufacture diagnoses, stages, prognoses or numerical confidence.

13. CONFIDENCE AND PROVENANCE
confidence_basis: evidence quality, concordance, completeness and classification validity
source_priority: verified pathology and clinical records over unverified secondary claims
record: assertion_id, source_uri, extraction_method, date, author, ontology_version
on_conflict: preserve both claims, mark review_required

14. VALIDATION TESTS
TEST A: benign label alone cannot satisfy malignant classification.
TEST B: no staging result without a named staging scheme and sufficient inputs.
TEST C: suspected distant lesion remains suspected without confirmation.
TEST D: every inferred relationship carries supporting evidence.
TEST E: repeated execution on unchanged evidence produces unchanged assertions.
TEST F: new evidence updates the graph while retaining prior provenance.

15. EXECUTION GUARANTEE (CONDITIONAL)
For finite input graphs and bounded expansion, the engine terminates.
For validated input, every emitted assertion must pass declared invariants.
These are design requirements, not a proof of implementation correctness.
No claim of diagnostic accuracy or clinical safety is implied.

16. SEMANTIC EQUIVALENCE
malignant tumour ~= malignant neoplasm [context-dependent]
primary malignant tumour != metastatic deposit
histological grade != clinical stage
local invasion != distant metastasis
suspected malignancy != confirmed malignancy

17. UPDATE MODEL
version: 1.0-companion
update_policy: append-only evidence, versioned assertions, explicit supersession
change_log: preserve rule revisions, classification updates and source links

18. CITATION
Source: Kireth Research, Malignant Tumour Ontology.
https://kirethresearch.org/booksai-core/entity-graph/biological-entities/pathological-biological-entities/malignant-tumour-ontology.html
Companion Flow Algebra formalisation for semantic research and machine reasoning.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ