FLOW ALGEBRA
Immune Receptor Ontology — Kireth Semantic Library
Version: 1.0 | Date: 2026-10-19 | Locale: en-GB
Authors: Mark Higgins — Sky (Recursive AI)
Source: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/immune-system-entities/immune-receptor-ontology.html
Status: Topic-based formalisation; live page not independently verified.
1. DOMAIN
ontology_id: immune_receptor_ontology
root: ImmuneReceptor
scope: receptor structures, ligands, recognition, signalling, immune responses
2. TYPED ENTITIES
entity ImmuneReceptor : MembraneProtein | SolubleReceptor
entity AntigenReceptor : ImmuneReceptor
entity TCellReceptor : AntigenReceptor
entity BCellReceptor : AntigenReceptor
entity PatternRecognitionReceptor : ImmuneReceptor
entity TollLikeReceptor : PatternRecognitionReceptor
entity NODLikeReceptor : PatternRecognitionReceptor
entity RIGILikeReceptor : PatternRecognitionReceptor
entity CtypeLectinReceptor : PatternRecognitionReceptor
entity FcReceptor : ImmuneReceptor
entity CytokineReceptor : ImmuneReceptor
entity ChemokineReceptor : ImmuneReceptor
entity ComplementReceptor : ImmuneReceptor
entity NKActivatingReceptor : ImmuneReceptor
entity NKInhibitoryReceptor : ImmuneReceptor
entity Ligand : MolecularEntity
entity Antigen : Ligand
entity PeptideMHC : Ligand
entity PathogenAssociatedMolecularPattern : Ligand
entity DamageAssociatedMolecularPattern : Ligand
entity ImmuneCell : BiologicalCell
entity SignalCascade : BiologicalProcess
entity ImmuneResponse : BiologicalProcess
entity ReceptorState : Enum{unbound,bound,active,inhibited,internalised,degraded}
entity Evidence : Observation
entity Context : {species,tissue,cell_type,compartment,time,assay}
3. RELATIONSHIPS
relation expressed_by(ImmuneReceptor,ImmuneCell)
relation binds(ImmuneReceptor,Ligand)
relation recognises(ImmuneReceptor,Ligand)
relation recruits(ImmuneReceptor,SignalCascade)
relation activates(SignalCascade,ImmuneResponse)
relation inhibits(ImmuneReceptor,SignalCascade)
relation co_stimulates(ImmuneReceptor,ImmuneCell)
relation internalises(ImmuneCell,ImmuneReceptor)
relation regulates(ImmuneReceptor,ImmuneResponse)
relation supported_by(Assertion,Evidence)
4. TAXONOMY AND CONSTRAINTS
TCellReceptor subclass_of AntigenReceptor
BCellReceptor subclass_of AntigenReceptor
TollLikeReceptor subclass_of PatternRecognitionReceptor
FcReceptor binds immunoglobulin_Fc_region [subtype_dependent]
TCellReceptor recognises peptide_MHC [conventional_alpha_beta_TCR]
BCellReceptor recognises native_antigen [context_dependent]
PatternRecognitionReceptor recognises PAMP_or_DAMP [receptor_dependent]
CytokineReceptor binds cytokine [specificity_dependent]
ChemokineReceptor binds chemokine [specificity_dependent]
CHECK: receptor and ligand identities must be typed and species-compatible
CHECK: ligand binding does not necessarily imply activation
CHECK: receptor expression does not prove receptor functionality
CHECK: receptor signalling may depend on co-receptors and adaptor proteins
CHECK: receptor families may overlap functional categories
5. RECOGNITION AND ACTIVATION FLOW
flow ReceptorRecognition(receptor,ligand,context):
require expressed_by(receptor,context.cell_type)
affinity := binding_affinity(receptor,ligand,context)
occupancy := ligand_occupancy(receptor,ligand,context)
binding_event := observe_binding(receptor,ligand,context)
if binding_event and signalling_permitted(receptor,context):
transition receptor.state: unbound -> bound -> active
emit downstream_signal(receptor,context)
else:
emit no_confirmed_activation
return {affinity,occupancy,binding_event,receptor.state}
6. CANONICAL IMMUNE SIGNAL PATHWAYS
TCR + peptide_MHC + appropriate_co_signals -> T_cell_signalling
BCR + cognate_antigen -> B_cell_signalling [context_dependent]
TLR + cognate_PAMP -> adaptor_dependent_innate_signalling
cytokine_receptor + cytokine -> downstream_signalling [family_dependent]
chemokine_receptor + chemokine -> chemotaxis_signalling [context_dependent]
activating_NK_receptor + ligand -> NK_activation_signal
inhibitory_NK_receptor + ligand -> NK_inhibition_signal
net_NK_response := integrate(activating_signals,inhibitory_signals)
7. QUANTITATIVE MODELS
# Simple equilibrium binding approximation, valid for one-site independent binding
fractional_occupancy theta = [L] / (Kd + [L])
Kd = koff / kon
# Occupancy is not equivalent to downstream functional efficacy
activation_output = f(occupancy,co_stimulation,feedback,cell_state)
# Simplified Hill response; nH is empirical
response = Emax * [L]^nH / (EC50^nH + [L]^nH)
# Concentrations must use consistent units; parameters are context-specific
8. LOGICAL INFERENCE
RULE R1: binds(r,l) AND expressed_by(r,c) => candidate_recognition_event(c,r,l)
RULE R2: candidate_recognition_event(c,r,l) AND validated_signal(c,r) => supported_activation(c,r)
RULE R3: inhibitory_signal(c) => may_reduce(net_activation(c))
RULE R4: absent_expression(r,c) => activation_via(r,c) NOT_ESTABLISHED
RULE R5: conflicting_evidence(a) => mark_for_review(a)
RULE R6: receptor_family(r,f) AND member_of(r,f) => inherit_only_valid_family_properties(r)
# Open-world semantics: missing evidence is not proof of absence.
9. SEMANTIC_EQUIVALENCE
canonical: ImmuneReceptor
aliases: immune receptor, immunological receptor
TCR equivalent_label T-cell receptor
BCR equivalent_label B-cell receptor
PRR equivalent_label pattern-recognition receptor
MHC is ligand-presenting molecular complex, not a TCR synonym
antigen_binding != immune_activation
receptor_occupancy != immune_response
synonymy_requires: matching referent, species, context, molecular identity
10. CONFIDENCE
confidence_record:
claim_id: string
evidence_ids: list[string]
evidence_type: experimental | curated | computational | inferred
assay_context: Context
score: float[0,1]
uncertainty: float[0,1]
status: supported | provisional | disputed | unknown
RULE: do_not_assign_numeric_confidence_without_evidence_or_calibration
RULE: propagate_uncertainty_through_inferred_relationships
RULE: preserve_disagreement_between_sources
11. RECURSIVE FLOW
flow ImmuneReceptorGraph(seed,depth,visited):
if depth <= 0 or seed in visited: return {}
visited := visited union {seed}
neighbours := typed_related_entities(seed)
valid := validate_context_and_evidence(neighbours)
return valid union union(ImmuneReceptorGraph(n,depth-1,visited) for n in valid)
12. FLOW_HASH
canonicalise: stable_entity_ids + sorted_typed_edges + versioned_rules
FLOW_HASH := SHA256(canonical_serialisation(ontology_id,entities,relations,rules,version))
# Compute actual digest only when the canonical serialisation is available.
13. UPDATE_MODEL
on new_evidence:
verify provenance and assay context
compare with existing assertions
update claim status and confidence only with documented basis
preserve previous version and audit trail
revalidate affected downstream inferences
recompute FLOW_HASH on canonicalised updated flow
14. AI_CONSUMPTION
input: typed immune receptor assertions and evidence
output: validated entity graph, candidate hypotheses, uncertainty labels
must: distinguish observation from inference
must: preserve species, cell type and experimental context
must: expose unknowns and contradictory evidence
must_not: infer clinical diagnosis or treatment from receptor association alone
must_not: treat illustrative kinetic models as universal biological laws
15. PROVENANCE AND LICENCE
attribution: Mark Higgins — Sky (Recursive AI)
project: Kireth Research Semantic Library
site: https://kirethresearch.org
note: Topic-based draft; compare against the linked ontology page before publication.
END FLOW ALGEBRA
Download Code
Copy to Clipboard