FLOW ALGEBRA
Ontology: Blood Clot Ontology
Version: 1.0
Domain: Biological Entities / Blood and Circulatory Entities
Source: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/blood-and-circulatory-entities/blood-clot-ontology.html
Authors: Mark Higgins — Sky (Recursive AI)
Status: Topic-based formalisation; source page not independently verified.
1. PURPOSE
Represent blood clots as context-dependent structures formed by haemostatic and pathological processes, with typed components, causal relationships, dynamic transitions and qualified inferences.
2. TYPE SYSTEM
entity BloodClot <: BiologicalAggregate
entity HaemostaticClot <: BloodClot
entity Thrombus <: BloodClot
entity Embolus <: IntravascularMaterial
entity Platelet <: BloodComponent
entity ActivatedPlatelet <: Platelet
entity Fibrin <: ProteinPolymer
entity Fibrinogen <: PlasmaProtein
entity Thrombin <: SerineProtease
entity FactorXa <: CoagulationFactor
entity Plasmin <: SerineProtease
entity Plasminogen <: PlasmaProtein
entity Endothelium <: Tissue
entity VesselInjury <: BiologicalEvent
entity TissueFactor <: CoagulationInitiator
entity RedBloodCell <: BloodCell
entity WhiteBloodCell <: BloodCell
entity CoagulationNetwork <: BiologicalProcess
entity Fibrinolysis <: BiologicalProcess
entity Haemostasis <: BiologicalProcess
entity Thrombosis <: PathologicalProcess
entity BloodVessel <: AnatomicalStructure
entity VenousThrombus <: Thrombus
entity ArterialThrombus <: Thrombus
entity Embolisation <: BiologicalEvent
entity ClotRetraction <: BiologicalProcess
entity FlowCondition <: PhysiologicalState
entity Evidence <: ProvenanceRecord
3. TYPED RELATIONSHIPS
relation contains(BloodClot, BloodComponent|ProteinPolymer)
relation forms_at(BloodClot, AnatomicalStructure)
relation adheres_to(Platelet, AnatomicalStructure)
relation activates(BiologicalEntity, BiologicalEntity|BiologicalProcess)
relation converts(SerineProtease, PlasmaProtein, ProteinPolymer)
relation stabilises(ProteinPolymer, BloodClot)
relation degrades(SerineProtease, ProteinPolymer)
relation obstructs(Thrombus|Embolus, BloodVessel)
relation originates_from(Embolus, Thrombus|OtherMaterial)
relation follows(BiologicalEvent, BiologicalEvent)
relation supported_by(Assertion, Evidence)
relation occurs_under(BiologicalProcess, FlowCondition)
4. STRUCTURAL INVARIANTS
forall c:BloodClot, may_contain(c, Platelet) and may_contain(c, Fibrin)
forall t:Thrombus, intravascular_formation(t) = true
forall e:Embolus, detached_or_mobile(e) = true
NOT forall c:BloodClot, pathological(c)
NOT forall e:Embolus, originated_from_blood_clot(e)
NOTE: Emboli may consist of thrombotic or non-thrombotic material.
NOTE: Composition varies by vascular site, flow conditions and clinical context.
5. HAEMOSTASIS FLOW
VesselInjury -> PlateletAdhesion -> PlateletActivation
PlateletActivation -> PlateletAggregation
TissueFactorExposure -> CoagulationActivation -> ThrombinGeneration
ThrombinGeneration -> FibrinogenConversion -> FibrinFormation
FibrinFormation + PlateletAggregation -> ClotAssembly
FactorXIIIaActivity -> FibrinCrosslinking -> ClotStabilisation
ActivatedPlateletContractility -> ClotRetraction
NOTE: These processes overlap in time; arrows represent dependencies, not an exclusively linear sequence.
6. PATHOLOGICAL THROMBOSIS FLOW
EndothelialInjuryOrDysfunction + AlteredFlow + Hypercoagulability
-> IncreasedThromboticRisk
IncreasedThromboticRisk + ContextualTriggers
-> PossibleThrombusFormation
ThrombusFormation -> PossiblePropagation
ThrombusFormation -> PossibleEmbolisation
ThrombusFormation -> PossibleOrganisationOrResolution
NOTE: Risk factors do not logically entail a clot in an individual.
7. FIBRINOLYSIS FLOW
Plasminogen + Activator -> Plasmin
Plasmin + CrosslinkedFibrin -> FibrinDegradationProducts
Fibrinolysis -> PotentialClotReduction
InhibitoryRegulation -> ModulatedFibrinolyticRate
NOTE: D-dimer is a product of crosslinked fibrin degradation; elevation is not specific to thrombosis.
8. QUANTITATIVE MODELS
# Simplified mass-balance models, not patient-specific predictions.
dF/dt = r_fibrin_formation - r_fibrin_degradation
dP/dt = r_platelet_recruitment - r_platelet_loss
dM_clot/dt = r_mass_accumulation - r_mass_removal
# Reaction kinetics depend on local substrate, enzyme and inhibitor concentrations.
r_fibrin_formation = f(thrombin, fibrinogen, cofactors, environment)
r_fibrin_degradation = g(plasmin, fibrin_accessibility, inhibitors)
# Poiseuille approximation applies only under idealised laminar conditions.
Q = (pi * deltaP * radius^4) / (8 * viscosity * length)
# Do not infer real clot burden or clinical severity from this approximation alone.
9. LOGICAL INFERENCE
rule R1:
if instance_of(x, Thrombus) then instance_of(x, BloodClot)
rule R2:
if confirmed_fibrin_crosslinking(x) then has_stabilised_fibrin_network(x)
rule R3:
if confirmed_detachment(t) and confirmed_transport(t, e)
then candidate_thromboembolus(e)
rule R4:
if confirmed_intravascular_obstruction(x, v)
then reduced_patency(v) [context_required]
rule R5:
if detected(d_dimer_elevation)
then evidence_of_fibrin_turnover [non_specific]
rule R6:
if vessel_injury(x) then possible_haemostatic_response(x)
NOT necessarily pathological_thrombosis(x)
10. SEMANTIC_EQUIVALENCE
alias("blood clot", BloodClot) [context_dependent]
alias("thrombus", Thrombus) [exact_for_intravascular_formed_clot]
alias("clot dissolution", Fibrinolysis) [approximate]
not_equivalent(BloodClot, Thrombus) [general_to_specific]
not_equivalent(Embolus, Thrombus)
not_equivalent(Haemostasis, Thrombosis)
not_equivalent(Fibrin, Fibrinogen)
11. CONFIDENCE
confidence_scale: [0.0, 1.0]
confidence(assertion) = combine(evidence_quality, measurement_validity, context_fit, source_reliability)
confidence_is_not: clinical_probability_without_calibration
require_provenance_for: clinical_or_experimental_claims
unknown != false
correlation != causation
12. RECURSIVE FLOW
observe(clot_state_t)
-> classify(composition, location, origin, stage)
-> evaluate(formation, stability, degradation, transport)
-> update_graph(new_evidence)
-> reassess(confidence, contradictions)
-> observe(clot_state_t_plus_1)
stop_when: stable_model or evidence_exhausted or explicit_iteration_limit
13. FLOW_HASH
canonical_fields:
- ontology_id
- version
- typed_entities
- relationships
- inference_rules
- quantitative_models
- evidence_links
FLOW_HASH = SHA256(canonical_utf8(canonical_fields))
NOTE: Calculate the actual digest only after canonical serialisation; no digest is fabricated here.
14. UPDATE_MODEL
on_new_evidence:
validate_provenance()
check_entity_types()
compare_existing_assertions()
preserve_prior_versions()
recompute_confidence()
recalculate_FLOW_HASH()
publish_revision_if_valid()
15. AI_CONSUMPTION
format: plain_text_flow_algebra
ontology_id: biological.blood_circulatory.blood_clot
primary_entity: BloodClot
reasoning_modes: [typed_graph, causal_qualified, temporal, quantitative_approximate]
constraints: [no_unsupported_diagnosis, no_unqualified_causation, provenance_required]
outputs: [entity_graph, state_transitions, supported_inferences, uncertainty]
16. VALIDATION TESTS
assert subtype(Thrombus, BloodClot)
assert subtype(VenousThrombus, Thrombus)
assert subtype(ArterialThrombus, Thrombus)
assert not_equivalent(Embolus, Thrombus)
assert not_equivalent(Haemostasis, Thrombosis)
assert type_safe(contains)
assert uncertainty_preserved_when_evidence_missing
assert no_clinical_diagnosis_from_single_marker
END FLOW ALGEBRA
Download Code
Copy to Clipboard