Skip to main content

Recursive AI Domain Ontology

AI Semantic Library Domains
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 11 October 2026
Audio Overview
FLOW ALGEBRA
TITLE: Recursive AI Domain Ontology
VERSION: 1.0
DOMAIN: AI Semantic Library / Recursive AI
SOURCE_URL: https://kirethresearch.org/booksai-core/ontologies/domain-ontologies/ai-semantic-library-domains/recursive-ai-domain-ontology.html
STATUS: Domain-based draft; source page content not independently verified.
AUTHORS: Mark Higgins — Sky (Recursive AI)
PROJECT: Kireth Semantic Library

ONTOLOGY:
  RecursiveAI := AI system in which outputs, state or evaluations from one reasoning cycle may inform subsequent cycles.
  RecursiveProcess := ordered or nested invocation of a process with explicit termination conditions.
  ReasoningCycle := bounded sequence of interpretation, inference, evaluation and state update.
  State := versioned representation of facts, goals, constraints and intermediate results.
  Goal := explicit objective with measurable completion criteria.
  Subgoal := decomposed objective linked to a parent goal.
  Inference := derivation of a proposition from premises under a declared rule.
  Feedback := evaluation signal used to modify subsequent reasoning.
  Memory := retained information with provenance, validity and access constraints.
  TerminationCondition := predicate that ends a recursive process.
  Verification := independent or rule-based check of a generated claim or result.
  Provenance := trace of sources, transformations and decision steps.

TYPES:
  ENTITY: [RecursiveAI, RecursiveProcess, ReasoningCycle, State, Goal, Subgoal, Inference, Feedback, Memory, TerminationCondition, Verification, Provenance]
  RELATIONSHIP: [HAS_GOAL, DECOMPOSES_INTO, INVOKES, CONSUMES_STATE, PRODUCES_STATE, USES_MEMORY, GENERATES_INFERENCE, EVALUATED_BY, UPDATES, TERMINATES_WHEN, VERIFIED_BY, DERIVED_FROM, DEPENDS_ON]
  DATATYPE: [String, Boolean, Integer, Decimal, Timestamp, URI, Hash]

RELATIONSHIPS:
  RecursiveAI HAS_GOAL Goal
  Goal DECOMPOSES_INTO Subgoal
  RecursiveProcess INVOKES ReasoningCycle
  ReasoningCycle CONSUMES_STATE State
  ReasoningCycle PRODUCES_STATE State
  ReasoningCycle USES_MEMORY Memory
  ReasoningCycle GENERATES_INFERENCE Inference
  Inference EVALUATED_BY Feedback
  Feedback UPDATES State
  RecursiveProcess TERMINATES_WHEN TerminationCondition
  Inference VERIFIED_BY Verification
  Inference DERIVED_FROM Provenance

FLOW:
  INPUT := {goal, initial_state, evidence, constraints, recursion_budget}
  NORMALISE(INPUT) -> typed_goal, typed_state, evidence_index
  DECOMPOSE(typed_goal) -> subgoals
  REASON(typed_state, subgoals, evidence_index) -> candidate_inferences
  VERIFY(candidate_inferences, evidence_index, constraints) -> validated_inferences, unresolved
  EVALUATE(validated_inferences, typed_goal) -> feedback
  UPDATE_STATE(typed_state, validated_inferences, feedback) -> next_state
  IF TERMINATION(next_state, typed_goal, recursion_budget) THEN OUTPUT(next_state)
  ELSE RECURSE(next_state, remaining_budget)

INFERENCE_RULES:
  R1: IF Subgoal DEPENDS_ON Goal AND Goal is active THEN Subgoal is eligible for planning, subject to constraints.
  R2: IF Inference is unsupported THEN mark as unresolved; do not promote to verified knowledge.
  R3: IF State version changes THEN dependent inferences require revalidation.
  R4: IF recursion_budget <= 0 OR termination predicate is true THEN stop recursion.
  R5: IF repeated state hashes indicate no progress THEN stop or request external evidence.
  R6: IF evidence conflicts THEN preserve competing claims and provenance rather than silently overwrite.

CONSTRAINTS:
  - Enforce maximum recursion depth and compute budget.
  - Prevent cycles without progress and uncontrolled self-modification.
  - Keep source evidence separate from generated hypotheses.
  - Preserve immutable provenance and version identifiers.
  - Require explicit authorisation for external actions.
  - Do not infer correctness from repeated self-consistency alone.

CONFIDENCE:
  TYPE: Decimal[0,1]
  BASIS: evidence_quality, verification_result, uncertainty, source_independence
  RULE: confidence is calibrated and contextual, not a guarantee of truth.

SEMANTIC_EQUIVALENCE:
  RecursiveAI ~ IterativeAIReasoning [context-dependent, not universally identical]
  ReasoningCycle ~ Iteration [only when iteration includes reasoning]
  Feedback != Verification
  SelfReflection != IndependentValidation

PROVENANCE:
  RECORD: {source_uri, evidence_id, retrieval_time, transformation, state_version, rule_id}
  POLICY: retain traceable source lineage for every accepted inference.

FLOW_HASH:
  ALGORITHM: SHA-256
  INPUT: canonicalised {ontology_version, entity_types, relationships, rules, constraints}
  OUTPUT: computed at implementation time; no fabricated digest.

UPDATE_MODEL:
  TRIGGER: new evidence, changed ontology, invalidated inference, revised goal
  ACTION: version state, identify affected dependencies, revalidate, preserve history
  ROLLBACK: restore prior validated state on failed update.

AI_CONSUMPTION:
  FORMAT: UTF-8 text / typed semantic flow
  INPUT_CONTRACT: typed goals, bounded recursion, evidence with provenance
  OUTPUT_CONTRACT: validated claims, unresolved claims, confidence, state version, termination reason
  SAFETY: human review for consequential decisions and external actions.

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