FLOW ALGEBRA
TITLE: Artery Ontology
VERSION: 1.0
DOMAIN: Biological Entities / Blood and Circulatory Entities
SOURCE_URL: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/blood-and-circulatory-entities/artery-ontology.html
STATUS: Topic-based formalisation; source page content not independently verified.
AUTHORS: Mark Higgins — Sky (Recursive AI)
SITE: https://kirethresearch.org
# PURPOSE
Represent arteries as typed biological conduits, with explicit anatomy, topology, haemodynamics, regulation, evidence and machine-readable inference constraints.
# TYPES
TYPE BiologicalEntity
TYPE AnatomicalStructure <: BiologicalEntity
TYPE BloodVessel <: AnatomicalStructure
TYPE Artery <: BloodVessel
TYPE ElasticArtery <: Artery
TYPE MuscularArtery <: Artery
TYPE Arteriole <: Artery
TYPE PulmonaryArtery <: Artery
TYPE SystemicArtery <: Artery
TYPE CoronaryArtery <: Artery
TYPE TunicaIntima <: AnatomicalStructure
TYPE TunicaMedia <: AnatomicalStructure
TYPE TunicaAdventitia <: AnatomicalStructure
TYPE Endothelium <: AnatomicalStructure
TYPE VascularSmoothMuscle <: AnatomicalStructure
TYPE ElasticFibre <: AnatomicalStructure
TYPE Blood
TYPE HeartChamber
TYPE Tissue
TYPE VascularNetwork
TYPE HaemodynamicObservation
TYPE RegulatorySignal
TYPE Evidence
TYPE Measurement
TYPE TimeInstant
# ENTITY ATTRIBUTES
Artery.id: Identifier
Artery.name: String
Artery.subtype: ArterySubtype
Artery.origin: AnatomicalStructure?
Artery.destination: AnatomicalStructure?
Artery.lumen_radius: Length?
Artery.length: Length?
Artery.wall_thickness: Length?
Artery.compliance: VolumePerPressure?
Artery.flow_rate: VolumePerTime?
Artery.pressure: Pressure?
Artery.oxygenation: OxygenationState?
Artery.context: PhysiologicalContext
Artery.evidence: Evidence[]
# RELATIONSHIPS
RELATION is_a(Artery, BloodVessel)
RELATION carries(Artery, Blood)
RELATION transports_away_from_heart(Artery, HeartChamber)
RELATION branches_into(Artery, BloodVessel)
RELATION supplies(Artery, Tissue)
RELATION contains_layer(Artery, AnatomicalStructure)
RELATION lined_by(Artery, Endothelium)
RELATION regulated_by(Artery, RegulatorySignal)
RELATION connected_to(BloodVessel, BloodVessel)
RELATION measured_by(Artery, Measurement)
RELATION supported_by(Assertion, Evidence)
# STRUCTURAL CONSTRAINTS
RULE artery_has_endothelium:
IF a:Artery THEN lined_by(a, Endothelium)
RULE typical_wall_layers:
IF a:Artery AND a.context = "typical mature artery"
THEN contains_layer(a, TunicaIntima)
AND contains_layer(a, TunicaMedia)
AND contains_layer(a, TunicaAdventitia)
RULE elastic_artery:
IF a:ElasticArtery THEN is_a(a, Artery)
RULE muscular_artery:
IF a:MuscularArtery THEN is_a(a, Artery)
RULE arteriole:
IF a:Arteriole THEN is_a(a, Artery)
# FUNCTIONAL SEMANTICS
Arteries conduct blood away from the heart; oxygenation is not a defining criterion.
Pulmonary arteries generally carry relatively deoxygenated blood to the lungs.
Systemic arteries generally carry oxygenated blood, with context-dependent exceptions.
Arterioles contribute substantially to variable peripheral vascular resistance.
Elastic arteries buffer pulsatile cardiac ejection through elastic recoil.
Muscular arteries distribute flow and alter calibre through smooth-muscle tone.
# HAEMODYNAMIC EQUATIONS
EQUATION continuity:
Q = A * v
WHERE Q: volumetric flow, A: lumen cross-sectional area, v: mean velocity
EQUATION circular_lumen_area:
A = pi * r^2
EQUATION resistance_definition:
R = delta_P / Q
WHERE delta_P: pressure difference, Q: volumetric flow
EQUATION poiseuille_idealised:
R = 8 * mu * L / (pi * r^4)
ASSUMPTIONS: steady laminar Newtonian flow in a rigid cylindrical tube
LIMITATION: real arteries are compliant, pulsatile and blood is non-Newtonian in some regimes
EQUATION wall_stress_thin_wall_approximation:
sigma_theta = P * r / h
ASSUMPTIONS: thin-wall cylindrical approximation
WHERE P: transmural pressure, r: radius, h: wall thickness
EQUATION compliance:
C = dV / dP
WHERE V: vessel volume, P: transmural pressure
EQUATION mean_arterial_pressure_approximation:
MAP ~= DBP + (SBP - DBP) / 3
LIMITATION: approximate at typical resting heart rates; waveform dependent
# STATE TRANSITIONS
STATE artery_tone = {constricted, baseline, dilated}
TRANSITION baseline -> constricted WHEN net_vasoconstrictor_signal > threshold
TRANSITION baseline -> dilated WHEN net_vasodilator_signal > threshold
TRANSITION constricted -> baseline WHEN regulatory_balance_restored
TRANSITION dilated -> baseline WHEN regulatory_balance_restored
STATE arterial_integrity = {intact, remodelled, injured}
TRANSITION intact -> injured WHEN documented_wall_injury
TRANSITION injured -> remodelled WHEN tissue_remodelling_documented
# INFERENCE RULES
RULE flow_velocity:
IF known(Q) AND known(A) AND A > 0
THEN infer(v = Q / A)
RULE idealised_radius_resistance:
IF model = "poiseuille_idealised" AND r2 < r1 AND other_parameters_constant
THEN infer(R2 > R1)
RULE oxygenation_not_classification:
IF a:Artery AND blood_oxygenation(a) = "deoxygenated"
THEN retain_type(a, Artery)
RULE coronary_supply:
IF a:CoronaryArtery AND supplies(a, myocardium)
THEN infer(a participates_in myocardial_perfusion)
RULE no_unqualified_pathology:
IF abnormal_measurement(a) AND NOT corroborated_diagnostic_evidence(a)
THEN do_not_infer_specific_disease(a)
# SEMANTIC_EQUIVALENCE
EQUIVALENT_LABEL "arterial vessel" ~ "artery" WHEN anatomical_context_matches
RELATED_LABEL "arteriole" -> "small resistance artery" WHEN appropriate_context
NOT_EQUIVALENT "artery" != "vein"
NOT_EQUIVALENT "artery" != "oxygenated blood vessel"
NOT_EQUIVALENT "arterial pressure" != "arterial flow"
# CONFIDENCE
CONFIDENCE.score: Real[0,1]
CONFIDENCE.method: {direct_observation, peer_reviewed_source, validated_model, inference, hypothesis}
CONFIDENCE.context: String
CONFIDENCE.evidence_count: Integer>=0
CONFIDENCE.rule:
Derived assertions inherit provenance and cannot exceed the weakest essential premise without independent evidence.
CONFIDENCE.warning:
Model assumptions, measurement uncertainty and physiological context must accompany numeric predictions.
# PROVENANCE
PROVENANCE.source_url = SOURCE_URL
PROVENANCE.source_status = "unverified live page"
PROVENANCE.creation_date = "2026-10-19"
PROVENANCE.author_credit = "Mark Higgins — Sky (Recursive AI)"
PROVENANCE.revision_policy = "Retain previous version and record substantive changes"
# FLOW_HASH
FLOW_HASH.algorithm = "SHA-256"
FLOW_HASH.input = "canonical UTF-8 normalised flow content excluding FLOW_HASH.value"
FLOW_HASH.value = "COMPUTE_ON_PUBLICATION"
# UPDATE_MODEL
UPDATE_MODEL.trigger = {new_evidence, ontology_revision, measurement_correction, terminology_update}
UPDATE_MODEL.steps = [validate_source, check_types, reconcile_relations, test_rules, update_confidence, recompute_hash, archive_prior_version]
UPDATE_MODEL.conflict_policy = "Preserve competing evidence with provenance; do not silently overwrite"
# AI_CONSUMPTION
AI_CONSUMPTION.entity_type = "Artery"
AI_CONSUMPTION.primary_use = [semantic_search, knowledge_graph, scientific_reasoning, education]
AI_CONSUMPTION.required_fields = [id, type, anatomical_context, provenance]
AI_CONSUMPTION.optional_fields = [subtype, measurements, evidence, confidence]
AI_CONSUMPTION.guardrails = [preserve_assumptions, distinguish_observation_from_inference, avoid_diagnostic_overreach]
AI_CONSUMPTION.output = "Typed, traceable assertions with explicit units and confidence"
# VALIDATION
ASSERT Artery <: BloodVessel
ASSERT PulmonaryArtery <: Artery
ASSERT Arteriole <: Artery
ASSERT artery_classification_independent_of_oxygenation
ASSERT measured_radius > 0 WHEN radius_is_reported
ASSERT measurement_units_are_explicit
ASSERT derived_values_include_model_assumptions
ASSERT all_external_claims_support_provenance
END FLOW ALGEBRA
Download Code
Copy to Clipboard