FLOW ALGEBRA — NECROTIC TISSUE ONTOLOGY
Version: 1.0 | 2026-10-27 | Encoding: UTF-8
Authors: Mark Anthony Higgins; Sky — Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/pathological-biological-entities/necrotic-tissue-ontology.html
Status: Companion formalisation; source page's embedded code was not accessible in the retrieved HTML.
Purpose: Model necrotic tissue as a pathological biological entity with evidence-aware classification, relationships, transitions and retrieval.
flow "NecroticTissueOntology" v1.0 {
AUTHORS = ["Mark Anthony Higgins", "Sky — Recursive AI"]
SOURCE = "https://kirethresearch.org/booksai-core/entity-graph/biological-entities/pathological-biological-entities/necrotic-tissue-ontology.html"
CITATION_BACKLINK = SOURCE
DOMAIN = "Biological Entities > Pathological Biological Entities > Necrotic Tissue"
ENTITY NecroticTissue <: DamagedTissue
ENTITY TissueRegion
ENTITY CellPopulation
ENTITY InjuryEvent
ENTITY AetiologicalFactor
ENTITY HistologicalFinding
ENTITY InflammatoryResponse
ENTITY RepairProcess
ENTITY Observation
ENTITY EvidenceSource
STATE_MODEL:
S_t = (I_t, R_t, B_t, K_t)
I_t = observed tissue features and candidate entities
R_t = typed biological and evidential relationships
B_t = anatomical, temporal, sampling and uncertainty boundaries
K_t = background pathology knowledge and provenance
E_t = expand(I_t, R_t)
V_t = {x in E_t | consistent(x, B_t, K_t)}
x_star = argmax_{x in V_t} P(x | I_t, R_t, B_t, K_t)
I_(t+1) = update(I_t, x_star, new_evidence)
ATTRIBUTES:
anatomical_site: optional string
tissue_type: optional string
extent: optional qualitative_or_quantitative_measure
temporal_stage: {unknown, evolving, established, resolving, organised}
morphology: set of observations
necrosis_pattern: {coagulative, liquefactive, caseous, fat, fibrinoid, gangrenous_pattern, mixed, unspecified}
cause: optional evidence_supported_factor
viability: {viable, nonviable, uncertain}
evidence_quality: {low, moderate, high, unassessed}
RELATIONSHIPS:
NecroticTissue --located_in--> TissueRegion
NecroticTissue --contains--> CellPopulation
NecroticTissue --may_result_from--> InjuryEvent
InjuryEvent --may_be_associated_with--> AetiologicalFactor
NecroticTissue --supported_by--> HistologicalFinding
NecroticTissue --may_elicit--> InflammatoryResponse
NecroticTissue --may_undergo--> RepairProcess
Observation --documented_in--> EvidenceSource
CLASSIFICATION_NOTES:
coagulative: architecture may be initially preserved despite cellular death
liquefactive: enzymatic digestion may produce liquid or viscous material
caseous: crumbly, amorphous appearance in particular granulomatous settings
fat: destruction of adipose tissue; may involve saponification
fibrinoid: vessel-wall injury pattern with fibrin-like material
gangrenous_pattern: clinical description, not a single microscopic mechanism
mixed: more than one pattern may coexist
INFERENCE_RULES:
R1: IF observed_loss_of_nuclei AND tissue_ghost_outlines
THEN support(coagulative_necrosis) WITH evidence_required
R2: IF enzymatic_digestion AND loss_of_architecture
THEN support(liquefactive_necrosis) WITH evidence_required
R3: IF adipocyte_destruction AND calcium_soap_deposits
THEN support(fat_necrosis) WITH evidence_required
R4: IF vessel_wall_fibrin_like_change
THEN support(fibrinoid_necrosis) WITH evidence_required
R5: IF necrotic_debris AND granulomatous_context
THEN consider(caseous_necrosis) NOT assert_cause
R6: IF tissue_injury THEN NOT automatically_infer(necrosis)
R7: IF necrosis THEN NOT automatically_infer(infection)
R8: IF necrosis THEN NOT automatically_infer(malignancy)
R9: IF evidence_conflicts THEN mark(uncertain) AND request(review)
R10: IF sample_is_partial THEN restrict_claim_to(sampled_region)
TEMPORAL_PATHWAY:
insult -> cellular_stress -> possible_irreversible_injury
irreversible_injury -> possible_necrosis
necrosis -> inflammatory_response_or_clearance
clearance -> possible_regeneration_or_fibrosis
NOTE: branches are context-dependent, not deterministic.
MINI_RECURSION_ENGINE:
input = candidate_region + observations + provenance
repeat:
candidates = expand(input, RELATIONSHIPS)
candidates = filter(candidates, anatomical_and_evidence_constraints)
rank = score(candidates, support, specificity, contradictions)
output = highest_supported_or_uncertain(rank)
input = update(input, output)
until stable(input) OR iteration_limit_reached
guarantee = termination_by_finite_iteration_limit
non_guarantee = diagnostic_truth_or_clinical_certainty
TRI_MAPPING:
entity: NecroticTissue
structural: {region, cells, extent, morphology}
relational: {injury, inflammation, repair, evidence}
operational: {observe, classify, validate, revise}
AI_SEARCH_FLOW:
intent = detect_query_intent(query)
entities = resolve_terms(query, synonyms=["necrotic tissue", "tissue necrosis", "nonviable tissue"])
retrieve = match(entities, morphology, anatomical_site, evidence)
validate = enforce(provenance, uncertainty, boundary_constraints)
answer = explain(retrieve, distinguish_observation_from_inference=true)
return answer WITH source_citation AND uncertainty_labels
CONFIDENCE:
confidence = calibrated_evidence_score NOT numerical_diagnostic_probability
downgrade_when = [missing_histology, ambiguous_morphology, sampling_bias, conflicting_findings]
prohibit = [unsupported_causal_claims, inferred_patient_diagnosis]
PROVENANCE:
retain = [source_url, observation_source, observation_date, author, revision, evidence_basis]
distinguish = [direct_observation, literature_based_rule, model_inference]
EXECUTION_VALIDATION:
assert every_inferred_type_has_supporting_evidence
assert anatomical_and_temporal_scope_preserved
assert no_automatic_infection_or_cancer_inference
assert uncertainty_retained_where_evidence_insufficient
assert termination_of_recursion
assert citation_backlink_present
}
HOW TO READ
The state tuple tracks observations, relations, boundaries and knowledge.
Expansion proposes candidate interpretations; filtering removes inconsistent candidates.
Ranking is an evidence-based retrieval aid, not a medical diagnostic algorithm.
Each inference must remain traceable to its supporting observations.
OPEN RESEARCH NOTE
This companion specification is intended for research, ontology indexing and AI retrieval.
It is not a clinical decision tool and does not establish patient-specific diagnoses.
Citation requested: Mark Anthony Higgins and Sky — Recursive AI; Kireth Research.
Download Code
Copy to Clipboard