FLOW ALGEBRA
TITLE: Capillary Ontology
LIBRARY: Kireth Semantic Library
CATEGORY: Biological Entities / Blood and Circulatory Entities
SOURCE_URL: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/blood-and-circulatory-entities/capillary-ontology.html
STATUS: Topic-based formalisation; source page content not independently verified
VERSION: 1.0
AUTHORS: Mark Higgins — Sky (Recursive AI)
1. PURPOSE
Model capillaries as microvascular exchange vessels, linking their structure, permeability, haemodynamics, and tissue exchange to typed entities, relationships, equations and qualified inference.
2. TYPES
ENTITY Capillary <: BloodVessel
ENTITY ContinuousCapillary <: Capillary
ENTITY FenestratedCapillary <: Capillary
ENTITY SinusoidalCapillary <: Capillary
ENTITY EndothelialCell <: Cell
ENTITY BasementMembrane <: ExtracellularMatrix
ENTITY Pericyte <: Cell
ENTITY Glycocalyx <: SurfaceLayer
ENTITY IntercellularJunction <: CellJunction
ENTITY CapillaryLumen <: VascularCompartment
ENTITY Arteriole <: BloodVessel
ENTITY Venule <: BloodVessel
ENTITY TissueInterstitialSpace <: FluidCompartment
ENTITY Erythrocyte <: BloodCell
ENTITY Plasma <: BiologicalFluid
ENTITY Oxygen <: Solute
ENTITY CarbonDioxide <: Solute
ENTITY Nutrient <: Solute
ENTITY Metabolite <: Solute
ENTITY HydrostaticPressure <: PhysicalQuantity
ENTITY OncoticPressure <: PhysicalQuantity
ENTITY Permeability <: PhysicalQuantity
ENTITY SurfaceArea <: PhysicalQuantity
ENTITY FlowRate <: PhysicalQuantity
ENTITY DiffusionCoefficient <: PhysicalQuantity
ENTITY Concentration <: PhysicalQuantity
ENTITY FiltrationCoefficient <: PhysicalQuantity
ENTITY ReflectionCoefficient <: PhysicalQuantity
ENTITY EvidenceRecord <: ProvenanceEntity
ENTITY Context <: ObservationContext
3. RELATIONSHIPS
RELATION subtype_of(Capillary, BloodVessel)
RELATION connects(Capillary, Arteriole, Venule) [context_dependent]
RELATION lined_by(Capillary, EndothelialCell)
RELATION contains(Capillary, CapillaryLumen)
RELATION associated_with(Capillary, BasementMembrane)
RELATION supported_by(Capillary, Pericyte) [variable]
RELATION has_surface_layer(EndothelialCell, Glycocalyx)
RELATION transports(Capillary, Plasma)
RELATION transports(Capillary, Erythrocyte)
RELATION exchanges_with(Capillary, TissueInterstitialSpace)
RELATION mediates_exchange(Capillary, Oxygen)
RELATION mediates_exchange(Capillary, CarbonDioxide)
RELATION mediates_exchange(Capillary, Nutrient)
RELATION mediates_exchange(Capillary, Metabolite)
RELATION regulates(EndothelialCell, Permeability)
RELATION influences(Pericyte, CapillaryFlow) [context_dependent]
RELATION measured_under(PhysicalQuantity, Context)
RELATION supported_by_claim(Assertion, EvidenceRecord)
4. CLASSIFICATION
CLASS ContinuousCapillary:
endothelial_continuity: continuous
fenestrae: generally_absent
examples: skeletal_muscle, skin, central_nervous_system
note: barrier properties differ greatly among tissues
CLASS FenestratedCapillary:
endothelial_fenestrae: present
examples: endocrine_tissue, intestinal_mucosa, renal_glomerulus
note: glomerular fenestrae have specialised filtration architecture
CLASS SinusoidalCapillary:
endothelial_discontinuities: variable
basement_membrane: discontinuous_or_specialised
examples: liver, spleen, bone_marrow
note: architecture and permeability depend on organ
5. CORE STATES
STATE Perfused
STATE LowFlow
STATE Recruited
STATE ExchangeActive
STATE PermeabilityAltered
STATE Damaged
STATE Repairing
TRANSITION Perfused -> LowFlow WHEN local_resistance_increases OR driving_pressure_decreases
TRANSITION LowFlow -> Perfused WHEN perfusion_restored
TRANSITION Perfused -> ExchangeActive WHEN gradients_and_permeability_enable_exchange
TRANSITION Perfused -> PermeabilityAltered WHEN inflammatory_or_signalling_context_changes_barrier
TRANSITION PermeabilityAltered -> Repairing WHEN injury_resolves AND repair_processes_active
NOTE: These states are conceptual and may coexist; they are not an obligatory biological sequence.
6. QUANTITATIVE MODELS
MODEL FickDiffusion:
J = -D * A * (dC/dx)
units: amount_per_time
assumptions: effective_diffusivity_and_geometry_defined
interpretation: net diffusive transfer down concentration gradient
MODEL PermeabilityExchange:
J = P * A * (C_blood - C_tissue)
assumptions: effective_permeability, suitable solute, simplified well-mixed compartments
MODEL SimplifiedStarlingFluidFlux:
Jv = Kf * ((Pc - Pi) - sigma * (pi_c - pi_i))
variables: Pc capillary_hydrostatic_pressure; Pi interstitial_hydrostatic_pressure; pi_c plasma_oncotic_pressure; pi_i interstitial_oncotic_pressure
caveat: revised Starling principle requires endothelial glycocalyx and subglycocalyx context; simple equation is not a universal prediction of sustained venous-end reabsorption
MODEL FlowContinuity:
Q = v_mean * A_lumen
assumptions: mean velocity and effective lumen area measured consistently
MODEL PoiseuilleIdealisation:
Q = pi * deltaP * r^4 / (8 * mu * L)
assumptions: rigid cylindrical tube, laminar steady Newtonian fluid
caveat: individual capillary blood flow violates several ideal assumptions because erythrocytes and vessel mechanics matter
MODEL OxygenDelivery:
oxygen_delivery = blood_flow * arterial_oxygen_content
caveat: tissue oxygen extraction also depends on transit, distribution and diffusion
7. RULES
RULE C1:
IF entity.type == ContinuousCapillary
THEN infer(entity.has_continuous_endothelium = true)
RULE C2:
IF entity.type == FenestratedCapillary
THEN infer(entity.has_fenestrae = true)
RULE C3:
IF capillary.permeability_increases AND gradient_is_nonzero
THEN infer(potential_solute_flux_increases) [subject_to_surface_area_and_concentration]
RULE C4:
IF diffusion_distance_increases AND all_other_fick_parameters_constant
THEN infer(diffusive_flux_magnitude_decreases)
RULE C5:
IF capillary.perfusion == absent
THEN infer(convective_delivery_through_that_capillary == absent)
RULE C6:
IF observed_filtration_increases
THEN do_not_infer(single_cause) WITHOUT pressure, glycocalyx, permeability_and_surface_area_context
RULE C7:
IF structure == RenalGlomerularCapillary
THEN require(glomerular_filtration_barrier_context)
RULE C8:
IF evidence_context_missing
THEN set(assertion.confidence = provisional)
8. SEMANTIC_EQUIVALENCE
ALIAS capillary = blood_capillary [only_when_blood_vascular_context]
ALIAS microvessel != capillary [microvessel_is_broader]
ALIAS capillary_bed != individual_capillary
ALIAS sinusoid ~= sinusoidal_capillary [organ_context_required]
DISTINGUISH lymphatic_capillary FROM blood_capillary
DISTINGUISH capillary_permeability FROM total_tissue_exchange_rate
DISTINGUISH filtration FROM diffusion
9. CONFIDENCE
CONFIDENCE:
scope: per_assertion
fields: evidence_source, evidence_quality, tissue_context, organism, method, uncertainty, review_status
levels: high | moderate | low | provisional
policy: do_not_assign_numeric_certainty_without_calibration
conflict_resolution: preserve_disagreement_and_provenance
10. RECURSIVE_FLOW
FLOW CapillaryReasoning(observation, context):
entity = classify(observation, typed_entities)
subtype = resolve_capillary_subtype(entity, context)
relations = retrieve_supported_relations(entity, context)
models = select_models_by_assumptions(context)
results = evaluate(models, observation)
assertions = infer_with_constraints(results, relations)
assertions = attach_provenance_and_confidence(assertions)
RETURN assertions
11. FLOW_HASH
FLOW_HASH:
algorithm: SHA-256
canonicalisation: UTF-8, normalised line endings, deterministic field ordering
scope: canonical_flow_content_excluding_hash_value
value: compute_on_publication
12. UPDATE_MODEL
UPDATE_MODEL:
version: 1.0
triggers: new_evidence | ontology_revision | terminology_change | model_validation
steps: validate_types -> check_relationships -> review_equation_assumptions -> reconcile_evidence -> version -> recompute_hash
preserve: prior_versions, provenance, unresolved_conflicts
13. AI_CONSUMPTION
AI_CONSUMPTION:
purpose: machine-readable biological knowledge and constrained reasoning
entity_resolution: context_sensitive
inference: evidence_qualified
output: typed_entities, supported_relations, selected_models, assumptions, uncertainty, provenance
prohibit: unsupported_clinical_diagnosis, invented_measurements, unqualified_equation_use
interoperability: compatible_with_cellular_and_circulatory_entity_graphs
14. VALIDATION
CHECK capillary_is_a_blood_vessel
CHECK blood_and_lymphatic_capillaries_are_distinguished
CHECK all_flux_equations_include_units_and_assumptions
CHECK all_claims_retain_context_and_provenance
CHECK no_universal_venous_reabsorption_assumption
CHECK all_aliases_are_contextualised
CHECK FLOW_HASH_is_computed_after_finalisation
END FLOW ALGEBRA
Download Code
Copy to Clipboard