FLOW ALGEBRA
Ontology: Helper T Cell Ontology
Version: 1.0
Domain: Biological Entities / Immune System Entities
Source: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/immune-system-entities/helper-t-cell-ontology.html
Status: Topic-based formalisation; source page not independently verified.
Authors: Mark Higgins — Sky (Recursive AI)
Website: https://kirethresearch.org
01. PURPOSE
Model CD4+ helper T lymphocytes as typed immune entities, their activation, differentiation, cytokine signalling, coordination of adaptive immunity, and state transitions. Rules express biological tendencies subject to cellular context; they are not universal deterministic laws.
02. TYPE SYSTEM
ENTITY HelperTCell <: CD4PositiveTCell <: TCell <: Lymphocyte <: ImmuneCell
ENTITY NaiveCD4TCell <: HelperTCell
ENTITY ActivatedCD4TCell <: HelperTCell
ENTITY Th1Cell <: HelperTCell
ENTITY Th2Cell <: HelperTCell
ENTITY Th17Cell <: HelperTCell
ENTITY TfhCell <: HelperTCell
ENTITY MemoryCD4TCell <: HelperTCell
ENTITY RegulatoryTCell <: CD4PositiveTCell # distinct regulatory lineage, not synonymous with conventional helper subsets
ENTITY AntigenPresentingCell <: ImmuneCell
ENTITY DendriticCell <: AntigenPresentingCell
ENTITY BCell <: Lymphocyte
ENTITY Macrophage <: ImmuneCell
ENTITY PeptideMHCII <: AntigenPresentationComplex
ENTITY TCellReceptor <: Receptor
ENTITY CD4 <: Coreceptor
ENTITY CD28 <: CostimulatoryReceptor
ENTITY CD80CD86 <: CostimulatoryLigand
ENTITY Cytokine <: SignallingMolecule
ENTITY TranscriptionFactor <: RegulatoryProtein
ENTITY LymphNode <: LymphoidOrgan
ENTITY Antigen <: MolecularEntity
ENTITY ImmuneResponse <: BiologicalProcess
ENTITY CellState <: BiologicalState
ENTITY Evidence <: ProvenanceEntity
03. RELATIONSHIP SIGNATURES
REL is_a(Entity, Entity) -> Boolean
REL expresses(ImmuneCell, MolecularEntity) -> Boolean
REL recognises(TCellReceptor, PeptideMHCII) -> Boolean
REL presents(AntigenPresentingCell, PeptideMHCII) -> Boolean
REL binds(MolecularEntity, MolecularEntity) -> Boolean
REL costimulates(AntigenPresentingCell, HelperTCell) -> Boolean
REL secretes(ImmuneCell, Cytokine) -> Boolean
REL differentiates_into(HelperTCell, HelperTCell) -> Boolean
REL promotes(Cytokine, BiologicalProcess) -> ContextualEffect
REL inhibits(Cytokine, BiologicalProcess) -> ContextualEffect
REL assists(HelperTCell, ImmuneCell) -> ContextualEffect
REL located_in(ImmuneCell, LymphoidOrgan) -> Boolean
REL supported_by(Assertion, Evidence) -> Boolean
REL has_confidence(Assertion, Probability) -> Boolean
04. CELL IDENTIFICATION
HelperTCell(x) => TCell(x) AND typically_expresses(x, CD4)
HelperTCell(x) DOES_NOT_IMPLY exclusively_expresses(x, CD4)
CD4PositiveTCell(x) DOES_NOT_IMPLY conventional_HelperTCell(x)
Phenotype identification should combine surface markers, transcriptional state, function, and experimental context.
05. ANTIGEN RECOGNITION AND ACTIVATION
INPUT: naive CD4 T cell T, professional APC A, peptide p, inflammatory context C
SIGNAL_1 := TCR(T) recognises peptide_MHCII(A,p)
SIGNAL_2 := CD28(T) binds CD80_or_CD86(A)
SIGNAL_3 := cytokine_context(A,C)
RULE: SIGNAL_1 AND SIGNAL_2 AND permissive_context(C) -> activation_possible(T)
RULE: SIGNAL_1 AND NOT SIGNAL_2 -> anergy_or_tolerance_possible(T), context_dependent
RULE: activation_possible(T) -> IL2_signalling_possible(T) AND proliferation_possible(T)
RULE: activated(T) AND polarising_signals(C) -> differentiation_distribution(T,C)
No single signal guarantees activation, tolerance, or a fixed helper lineage.
06. HELPER SUBSET DIFFERENTIATION
Th1: IL12/IFNg-associated polarisation; TBX21(T-bet); IFNg production; macrophage-oriented immunity.
Th2: IL4-associated polarisation; GATA3; IL4/IL5/IL13; type-2 responses and eosinophil support.
Th17: IL6/IL1beta/IL23 and TGFbeta context dependent; RORC(RORgt); IL17A/IL17F/IL22; barrier inflammation.
Tfh: ICOS and BCL6-associated programme; CXCR5; IL21; germinal-centre B-cell help.
Treg: FOXP3-associated regulatory programme; immune suppression and tolerance; classification kept separate.
RULE: polarisation signals alter probabilities of lineage programmes rather than assigning immutable identities.
RULE: mixed or plastic phenotypes are permitted where supported by observations.
07. IMMUNE COORDINATION
Th1 --IFNg--> macrophage activation support [context dependent]
Th2 --IL4/IL13--> type-2 immune response support
Th17 --IL17--> stromal/epithelial chemokine induction and neutrophil recruitment support
Tfh --CD40L/CD40 + cytokines--> B-cell germinal-centre response, class switching and affinity maturation support
HelperTCell --cytokines/contact--> adaptive immune coordination
HelperTCell --memory differentiation--> faster recall potential after antigen re-exposure
08. STATE TRANSITION ALGEBRA
STATES := {naive, primed, activated, proliferating, effector, memory, exhausted, apoptotic}
TRANSITION naive -> primed IF cognate_antigen_encounter
TRANSITION primed -> activated IF adequate_activation_context
TRANSITION activated -> proliferating IF survival_and_growth_signals
TRANSITION proliferating -> effector IF differentiation_signals
TRANSITION effector -> memory IF persistence_and_survival_conditions
TRANSITION effector -> apoptotic IF contraction_conditions
TRANSITION effector -> exhausted IF chronic_stimulation_and_context
NOTE: states are abstractions; transitions may be heterogeneous, reversible in part, or non-linear.
09. QUANTITATIVE MODELS
Clonal population model (illustrative): dN/dt = (r_activation - d_death) * N
Cytokine concentration model: dC/dt = secretion_rate - clearance_rate * C
Receptor occupancy (simple equilibrium): theta = [L] / (Kd + [L])
Activation probability (illustrative): P(act|x) = sigmoid(w0 + sum_i(w_i*x_i))
All coefficients require empirical calibration; models are not clinical thresholds.
10. CONSTRAINTS AND INVARIANTS
CONSTRAINT confidence IN [0,1]
CONSTRAINT cell_identifier must be stable within ontology version
CONSTRAINT differentiation assertion requires biological context or provenance
CONSTRAINT receptor recognition is antigen-specific, not arbitrary binding
CONSTRAINT TCR-peptide recognition requires compatible MHC presentation
CONSTRAINT cytokine effects can be pleiotropic and context-dependent
CONSTRAINT CD4 marker alone is insufficient to infer a functional helper subtype
CONSTRAINT naive and memory are distinct states within the same cell lineage
11. SEMANTIC_EQUIVALENCE
ALIAS "helper T lymphocyte" ~ "helper T cell" [high confidence, context: conventional usage]
ALIAS "CD4+ helper T cell" ~ "CD4-positive helper T lymphocyte" [high confidence]
RELATED "CD4+ T cell" != "helper T cell" [broader category includes regulatory and other populations]
RELATED "Tfh" != "Th2" [different functional programmes]
RELATED "activated helper T cell" != "memory helper T cell" [state distinction]
Semantic equivalence must preserve species, phenotype, tissue, activation status, and assay context.
12. LOGICAL INFERENCE
RULE R1: HelperTCell(x) -> TCell(x)
RULE R2: Th1Cell(x) -> HelperTCell(x)
RULE R3: Th2Cell(x) -> HelperTCell(x)
RULE R4: Th17Cell(x) -> HelperTCell(x)
RULE R5: TfhCell(x) -> HelperTCell(x)
RULE R6: expresses(x, CD4) -/-> HelperTCell(x)
RULE R7: produces(x, IFNg) -/-> Th1Cell(x) without corroborating markers
RULE R8: recognises(TCR(x), peptideMHCII(y)) AND costimulation(y,x) -> activation_supported(x)
RULE R9: assists(x, BCell) AND Tfh_programme(x) -> germinal_centre_help_supported(x)
RULE R10: lack_of_observation(feature) -/-> biological_absence(feature)
13. CONFIDENCE
CONFIDENCE:
assertion: typed_relation_or_inference
score: real[0,1]
evidence_type: {experiment, curated_database, peer_reviewed_literature, computational_prediction}
organism: optional taxonomy identifier
tissue: optional anatomical identifier
assay: optional method identifier
condition: optional context
uncertainty: optional interval
provenance: source identifier and retrieval date
RULE: derived_confidence <= weakest_essential_premise_confidence unless independently validated
RULE: conflicting evidence -> preserve alternatives and flag review
RULE: unverified web page content must not be treated as observed evidence
14. RECURSIVE FLOW
FLOW recognise_antigen(T, APC, antigen, context)
-> validate_entities
-> evaluate_MHCII_TCR_compatibility
-> evaluate_costimulation
-> evaluate_cytokine_context
-> infer_activation_probability
-> infer_subset_distribution
-> infer_effector_relations
-> attach_confidence_and_provenance
-> test_constraints
-> emit_typed_knowledge_graph
END FLOW
15. FLOW_HASH
FLOW_HASH:
algorithm: SHA-256
input: canonical_utf8(ontology_id, version, entity_types, relationships, rules, constraints)
output: calculated_at_ingestion
purpose: integrity and change detection
note: no fabricated digest value
16. UPDATE_MODEL
UPDATE_MODEL:
trigger: {new_evidence, revised_taxonomy, corrected_rule, changed_source}
preserve: {prior_version, provenance, conflict_history}
process: validate -> compare -> revise -> version -> recompute_hash -> publish
rollback: restore_prior_validated_version
rule: revisions must not silently overwrite contradicted evidence
17. AI_CONSUMPTION
AI_CONSUMPTION:
preferred_format: typed_flow_algebra_text
extraction_targets: {entities, relations, state_transitions, rules, constraints, equations}
reasoning_policy: evidence_aware_and_context_sensitive
confidence_policy: explicit_uncertainty
semantic_policy: no_equivalence_without_scope_check
output_policy: distinguish_known_from_inferred
safety_policy: research ontology; not a diagnostic or treatment protocol
18. VALIDATION EXAMPLES
TEST: Th1Cell(A) => HelperTCell(A) [PASS]
TEST: expresses(B,CD4) => Th1Cell(B) [REJECT: insufficient evidence]
TEST: antigen_recognition AND costimulation => activation_possible [PASS, contextual]
TEST: TfhCell(C) => guaranteed_antibody_production [REJECT: unjustified certainty]
TEST: missing cytokine measurement => no cytokine secreted [REJECT]
19. INTEGRATION
PARENT: Biological Entities > Immune System Entities > Immune Entity > Lymphocyte > T Cell
RELATED: B Cell Ontology; Antigen Ontology; Cytokine Ontology; Antibody Ontology; Immune Memory Ontology
CROSS_DOMAIN: Cell Signalling; Gene Regulation; Systems Biology; Biological Metadata
20. ATTRIBUTION
Mark Higgins — Sky (Recursive AI)
Kireth Research | https://kirethresearch.org
Open research reuse subject to the current published Kireth Research licence.
Download Code
Copy to Clipboard