Skip to main content

Derived Trait Ontology

Evolutionary Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 28 October 2026
Audio Overview
FLOW ALGEBRA — DERIVED TRAIT ENTITY ONTOLOGY
Version: 1.0 | Date: 2026-10-28 | Encoding: UTF-8
Authors: Mark Anthony Higgins; Sky — Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/evolutionary-entities/derived-trait-ontology.html
Citation backlink: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/evolutionary-entities/derived-trait-ontology.html
Status: Original companion formalisation; page's embedded specifications not exposed in retrieved text.
Purpose: Represent derived evolutionary characters, evidence, homology and phylogenetic inference without conflating a trait with its inferred evolutionary history.

1. CORE FLOW
flow "DerivedTraitEntityOntology" v1.0
S_t = (I_t, R, B, K)
E_t = expand(I_t, R)
V_t = {x in E_t | satisfies(x, B) and supported(x, K)}
x*_t = argmax_{x in V_t} P(x | I_t, R, B, K)
I_(t+1) = update(I_t, x*_t, evidence_t)
STOP if stable(I_(t+1), I_t) or budget_exhausted or no_admissible_candidate.

2. ENTITY MODEL
DerivedTrait: character state inferred to have evolved relative to an explicitly specified ancestral state and phylogenetic context.
Character: heritable or evolutionarily informative feature being compared.
CharacterState: observed or inferred value of a character.
AncestralState: state reconstructed at a specified ancestral node.
DerivedState: state inferred to differ from the ancestral state on a particular branch.
Taxon: organismal lineage or named taxonomic group.
Clade: ancestor and all descendants in a particular phylogenetic hypothesis.
PhylogeneticTree: rooted or unrooted evolutionary relationship hypothesis.
HomologyHypothesis: proposed common evolutionary origin of compared characters.
Synapomorphy: shared derived state supporting a clade under a given reconstruction.
Autapomorphy: derived state restricted to one terminal lineage in the sampled tree.
Homoplasy: similarity due to convergence, parallel evolution or reversal rather than a shared derived origin.
Outgroup: comparative lineage used to inform rooting or polarity, subject to model assumptions.
EvidenceRecord: observation, method, provenance and uncertainty.

3. RELATIONSHIPS
has_character(Taxon, Character)
observed_state(Taxon, Character, CharacterState)
ancestral_state(Node, Character, CharacterState)
derived_on_branch(CharacterState, Branch, TreeHypothesis)
shares_derived_state(TaxonA, TaxonB, CharacterState)
supports_clade(CharacterState, Clade, TreeHypothesis)
homologous_to(CharacterA, CharacterB, HomologyHypothesis)
may_be_homoplastic(CharacterState, TreeHypothesis)
supported_by(Claim, EvidenceRecord)
contradicted_by(Claim, EvidenceRecord)

4. BOUNDARY CONDITIONS
B1: A state is derived only relative to a specified ancestor, character definition and phylogenetic hypothesis.
B2: Shared similarity alone does not establish homology or common ancestry.
B3: A shared derived state does not guarantee a unique clade when homoplasy or missing data exist.
B4: Do not infer evolutionary direction from present-day complexity or perceived progress.
B5: Record uncertainty, missing observations and alternative tree hypotheses.
B6: Do not treat a taxon's absence of an observed state as confirmed biological absence.
B7: Distinguish observations from reconstructed ancestral states.

5. PATHWAYS
P1 Observe: specimen -> character definition -> observed state -> evidence record.
P2 Compare: homologous-character assessment -> character-state matrix -> outgroup comparison.
P3 Reconstruct: rooted tree hypothesis -> ancestral-state inference -> branch-state change.
P4 Classify: inferred branch change -> synapomorphy/autapomorphy/homoplasy assessment.
P5 Validate: independent evidence -> sensitivity to rooting/model/taxon sampling -> confidence update.
P6 Publish: qualified claim -> provenance -> citation -> revision history.

6. INFERENCE RULES
R1 IF state(child, c) != inferred_state(parent, c) THEN candidate_derived_state(child, c), conditional on reconstruction.
R2 IF a derived state is shared by descendants of a reconstructed node THEN candidate_synapomorphy(node, state).
R3 IF similar states arise independently on distinct branches THEN candidate_homoplasy(state).
R4 IF a state is restricted to one sampled terminal branch THEN candidate_autapomorphy(state); sampling caveat required.
R5 IF character homology is disputed THEN suspend strong clade claims based on that character.
R6 IF alternate plausible trees reverse character polarity THEN mark derived-status as tree-dependent.
R7 IF evidence conflicts THEN preserve competing hypotheses and lower confidence, not erase conflict.

7. MINI RECURSION ENGINE
input: character_matrix, tree_hypotheses, evidence, constraints
for each tree in tree_hypotheses:
  infer ancestral states under declared model
  identify candidate state changes on branches
  classify shared derived states conditionally
  evaluate homoplasy, missingness and conflicting evidence
  update claim confidence and provenance
  repeat until stable or bounded iteration limit
output: qualified character-state claims and auditable evidence graph

8. TRI-MAPPING
Natural language: "Trait T is derived in lineage L relative to ancestor A."
Entity graph: (L)-[HAS_STATE]->(T); (A)-[RECONSTRUCTED_AS]->(T_ancestral); (T)-[DERIVED_RELATIVE_TO]->(A).
Formal: derived(T,L,A,H) := state(L,T,H) != inferred_state(A,T,H), where H identifies the phylogenetic and reconstruction assumptions.

9. CONFIDENCE AND PROVENANCE
confidence(claim) = calibrated_support(evidence_quality, model_fit, taxon_sampling, character_independence, tree_robustness)
Do not assign numerical probabilities without a declared calibration method and data.
Each claim retains: source, specimen or dataset ID, observation date, method, tree version, character coding, uncertainty and revision date.

10. EXECUTION GUARANTEE (CONDITIONAL)
Given a finite candidate set, bounded recursion and deterministic tie-breaking, evaluation terminates and emits a traceable result or an explicit unresolved status.
No guarantee of phylogenetic truth, completeness or correct ancestral reconstruction is implied.

11. AI SEARCH FLOW
intent: define | compare | classify | reconstruct | explain | trace_evidence
entities: DerivedTrait, CharacterState, AncestralState, Taxon, Clade, TreeHypothesis, EvidenceRecord
query_expansion: apomorphy, synapomorphy, autapomorphy, homoplasy, character polarity, ancestral state reconstruction
retrieval_order: definition -> context -> evidence -> tree assumptions -> inference -> confidence
response_rule: state the comparison ancestor and phylogenetic hypothesis before calling a trait derived.
semantic_equivalence: "derived character" ~ "apomorphic character state" only when evolutionary context is specified.
update_model: append new evidence; re-evaluate dependent claims; preserve previous versions.
flow_hash: generate SHA-256 from canonical UTF-8 content at deployment; not precomputed.

12. HOW TO READ
The flow separates observed characters from evolutionary reconstructions. It proposes candidate inferences, filters them by evidence and boundary rules, and records uncertainty and provenance. It is a reasoning specification, not executable biological analysis software.

END FLOW
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ