Skip to main content

Testis Ontology

Reproductive Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 27 October 2026
Audio Overview
KIRETH SEMANTIC LIBRARY — TESTIS ONTOLOGY
Full Flow Algebra v1.0 | UTF-8 | 2026-10-27
Source topic: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/reproductive-entities/testis-ontology.html
Status: Newly authored conceptual formalisation; not a verified extraction of the source page and not an executable implementation.

AUTHORS: Kireth Research; Sky — Recursive AI (collaborative drafting)
CITATION_BACKLINK: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/reproductive-entities/testis-ontology.html
PURPOSE: Represent testis anatomy, spermatogenesis, endocrine functions, developmental states, relationships, evidence and bounded inferences for AI semantic retrieval.

1. STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t: typed observations and entities at time t
R_t: typed anatomical, developmental, physiological and causal relations
B_t: biological constraints, species context, uncertainty and evidence boundaries
K_t: curated definitions, provenance, taxonomic context and validated rules
E_t = expand(I_t, R_t)
V_t = {x in E_t | satisfies(x, B_t) and provenance_valid(x)}
x*_t = argmax_{x in V_t} P(x | I_t, R_t, B_t, K_t)
I_(t+1) = update(I_t, x*_t, observations_t)
IMPORTANT: This is a conceptual search-and-update scheme. P is not calibrated without a specified model and dataset.

2. ENTITY TYPES
Testis <: Gonad <: ReproductiveOrgan <: BiologicalOrgan
TestisComponent: TunicaAlbuginea | TesticularLobule | SeminiferousTubule | TubuleLumen | InterstitialTissue | ReteTestis | StraightTubule
Cell: SpermatogonialStemCell | Spermatogonium | PrimarySpermatocyte | SecondarySpermatocyte | Spermatid | Spermatozoon | SertoliCell | LeydigCell | PeritubularMyoidCell
Hormone: Testosterone | InhibinB | FSH | LH
Process: Spermatogenesis | Spermiogenesis | Spermiation | Steroidogenesis | Meiosis | Mitosis
Context: Organism | Species | LifeStage | DevelopmentalState | Sample | Observation | Evidence
Note: Structures and endocrine details are principally described for mammalian testes; do not generalise unchanged to all taxa.

3. ENTITY ATTRIBUTES
Testis(id, organism_id, species_id, laterality?, developmental_state, location?, observed_at, evidence_ref)
SeminiferousTubule(id, testis_id, histological_state?, observed_at)
CellPopulation(id, cell_type, location_id, count?, unit?, observed_at, method?, evidence_ref)
HormoneObservation(id, analyte, value, unit, sample_type, time, method, reference_context?)
Every asserted measurement must retain units, method, time and provenance; missing values remain unknown.

4. RELATIONSHIPS
part_of(SeminiferousTubule, Testis)
part_of(InterstitialTissue, Testis)
located_in(SertoliCell, SeminiferousTubule)
located_in(LeydigCell, InterstitialTissue)
supports(SertoliCell, DevelopingGermCell)
produces(LeydigCell, Testosterone)
secretes(SertoliCell, InhibinB)
stimulates(LH, LeydigCellSteroidogenesis)
regulates(FSH, SertoliCellFunction)
occurs_in(Spermatogenesis, SeminiferousTubule)
precedes(Spermatogonium, PrimarySpermatocyte)
precedes(PrimarySpermatocyte, SecondarySpermatocyte)
precedes(SecondarySpermatocyte, Spermatid)
precedes(Spermatid, Spermatozoon)
connected_to(SeminiferousTubule, StraightTubule)
connected_to(StraightTubule, ReteTestis)
Do not interpret precedes as every cell necessarily completing each stage.

5. FLOW PATHWAYS
FLOW A — Structural lookup
input: testis or component identifier
resolve taxon and specimen -> traverse part_of/located_in -> validate anatomical scope -> return structure graph with provenance

FLOW B — Germ-cell differentiation
spermatogonial lineage -> mitotic amplification/differentiation -> primary spermatocyte -> meiosis I -> secondary spermatocyte -> meiosis II -> spermatid -> spermiogenesis -> spermatozoon -> spermiation
Constraint: meiosis I/II and cell ploidy are not interchangeable; organism-specific variants require evidence.

FLOW C — Endocrine signalling
hypothalamic GnRH (pulsatile) -> pituitary LH/FSH -> Leydig steroidogenesis and Sertoli support -> testosterone/inhibin feedback
Constraint: endocrine feedback is context-dependent; avoid inferring disease from an isolated concentration.

FLOW D — Observation integration
sample -> identify species/life stage/method -> normalise units -> compare only with compatible reference context -> attach uncertainty -> update entity graph

6. MINI RECURSION ENGINE (PSEUDOCODE)
function resolve(query, state, depth, visited):
  if depth <= 0 or query in visited: return []
  candidates = typed_expand(query, state.R, state.K)
  valid = filter(candidates, respects_constraints_and_provenance)
  ranked = rank(valid, evidence_quality, context_match, uncertainty)
  return ranked + recurse_only_if_needed(ranked, depth-1, visited + query)
Guardrails: finite depth, visited-set cycle protection, explicit unknowns, no unsupported causal leaps.

7. INFERENCE RULES
R1 IF part_of(x, y) AND part_of(y, z) THEN part_of(x, z), only where part_of is declared transitive for the chosen granularity.
R2 IF cell_type(x, LeydigCell) AND located_in(x, interstitium) THEN plausible_function(x, steroidogenesis); NOT proof of active production.
R3 IF process(p, Spermatogenesis) AND occurs_in(p, tubule) THEN related_structure(p, testis_of(tubule)), if anatomical membership verified.
R4 IF stage(x, PrimarySpermatocyte) AND division_event(x, MeiosisI) THEN possible_successor(x, SecondarySpermatocyte); require observed evidence for individual lineage claims.
R5 IF measurement lacks species, time or units THEN mark insufficient_context; prohibit numerical comparison.
R6 IF inferred result conflicts with observed specimen evidence THEN retain both with conflict flag; do not silently overwrite.

8. INVARIANTS AND VALIDATION
- Every testis instance belongs to an identified organism or has explicitly unresolved ownership.
- Every component relationship has compatible anatomical type and taxonomic context.
- Germ-cell stages must not be equated with organ structures.
- A hormone observation is not the same entity as a hormone-producing cell.
- Values cannot be compared without compatible units and specimen/method context.
- Temporal succession must not be asserted solely from a static image.
- Unknown, absent, unobserved and biologically impossible are distinct states.
- No clinical diagnosis or fertility conclusion follows from ontology membership alone.

9. QUANTITATIVE MODEL TEMPLATES
Cell density D = N / V (cells per volume), where counting method and sampled volume are defined.
Proportion p_i = N_i / sum_j N_j, when populations are mutually exclusive and sampled comparably.
Relative change r = (x_t2 - x_t1) / x_t1, provided x_t1 != 0 and measurements are comparable.
Hormone time series H(t): measured concentrations with sample-specific units; no universal threshold asserted.
These are descriptive templates, not universal physiological laws.

10. TRI-MAPPING
Natural language: 'Leydig cells in the testicular interstitium produce testosterone.'
Entity graph: LeydigCell --located_in--> InterstitialTissue --part_of--> Testis; LeydigCell --produces--> Testosterone
Flow algebra: filter typed relations by organism and evidence -> rank supported path -> return contextualised claim.

11. SEMANTIC EQUIVALENCE
'Testis' and 'testicle': lexical equivalents in appropriate anatomical context.
'Testes': plural of testis, not a distinct entity class.
'Sperm cell' and 'spermatozoon': context-dependent near-equivalence; distinguish mature spermatozoa from developing germ cells.
'Gonad' is broader than 'testis'; do not collapse classes.

12. CONFIDENCE AND PROVENANCE
confidence = calibrated_model_score IF calibrated; otherwise qualitative {high, moderate, low, unknown}.
Store: source_url, source_type, observation_method, date, taxon, evidence_scope, curator, revision.
Evidence priority: directly observed and appropriately validated > supported literature-derived > rule-derived hypothesis.
Do not present a numeric confidence without empirical calibration.

13. FLOW HASH SPECIFICATION
Canonicalise UTF-8 representation (stable key order, normalised whitespace, explicit version), then compute SHA-256 of canonical bytes.
FLOW_HASH = SHA256(canonical_document_bytes)
This document does not claim a precomputed hash.

14. UPDATE MODEL
On new observation: validate schema -> reconcile identity -> compare temporal context -> preserve old assertions -> append provenance -> recompute dependent inferences -> flag conflicts -> increment revision.
Never replace evidence with inference without audit history.

15. AI SEARCH FLOW
query -> intent classification -> entity linking -> taxon/context resolution -> typed graph traversal -> constraint validation -> provenance check -> evidence ranking -> answer synthesis -> citation backlink.
Fallback: if evidence is missing, answer 'unknown from available evidence' and identify missing context.

16. HOW TO READ
Read ENTITY TYPES for the vocabulary; RELATIONSHIPS for graph edges; FLOW PATHWAYS for reasoning routes; INFERENCE RULES for allowed deductions; INVARIANTS for restrictions; PROVENANCE for traceability.

17. EXECUTION GUARANTEE / LIMITS
Guarantee is limited to the intended specification: deterministic validation is possible only once schemas, algorithms, datasets and implementations are supplied and tested. No guarantee of biological correctness, completeness, clinical validity or software execution is implied.

END OF FLOW ALGEBRA v1.0
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ