Skip to main content

Recursive State Entity Ontology

Recursive AI Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 05 November 2026
Audio Overview
RECURSIVE STATE ENTITY ONTOLOGY — FLOW ALGEBRA
Semantic Library | AI Core | Entity Graph | Recursive AI Entities
Authors: Mark Anthony Higgins — Sky Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/recursive-ai-entities/recursive-state-entity-ontology.html
Source revision: 01 August 2026
Flow formalisation: 05 November 2026
Status: Companion formalisation; not a verbatim extraction of the site's concealed specifications.

1. PURPOSE
Define a recursive state entity as an identifiable, bounded representation of an AI system at recursion step t, including its inputs, relationships, constraints, knowledge, observations, and permitted transitions.

2. ENTITY DEFINITION
RecursiveStateEntity := (id, t, I_t, R_t, B_t, K_t, V_t, H_t, provenance)
Where:
  id          = persistent identity of the state-bearing entity
  t           = non-negative recursion index
  I_t         = information available at step t
  R_t         = admissible relations and transformation rules
  B_t         = boundaries, permissions and invariants
  K_t         = relevant retained knowledge/context
  V_t         = validation predicate or set of constraints
  H_t         = bounded lineage of prior state identifiers and transitions
  provenance  = traceable sources and derivation records

HST state signature:
  S_t = (I_t, R_t, B_t, K_t)

3. RECURSIVE FLOW ALGEBRA
Expansion:
  E_t = expand(I_t, R_t)

Boundary and validity filtering:
  C_t = {x in E_t | B_t(x) AND V_t(x)}

Candidate selection, if C_t is non-empty:
  x*_t = argmax_{x in C_t} P(x | I_t, R_t, B_t, K_t)

State update:
  I_(t+1) = update(I_t, x*_t, observations_t)
  K_(t+1) = retain(K_t, validated(x*_t), provenance_t)
  S_(t+1) = (I_(t+1), R_(t+1), B_(t+1), K_(t+1))

If C_t is empty, do not select an invalid candidate: transition to a defined no-candidate, recovery or safe-stop state.

4. TYPED RELATIONSHIPS
  hasState(system, state)
  precedes(state_t, state_t+1)
  derivedFrom(state_t+1, state_t)
  governedBy(state, boundary)
  validatedBy(state, validator)
  informedBy(state, evidence)
  recordsTransition(state_t, action, state_t+1)
  belongsToRecursion(state, recursion_process)

5. STATE TRANSITION RULES
R1 Identity: A transition retains the parent entity's identity unless an explicit fork/new-entity event is recorded.
R2 Lineage: Each non-initial state has at least one recorded predecessor and a transition identifier.
R3 Boundary: A proposed transition is rejected if it violates a hard boundary.
R4 Evidence: Newly asserted facts require provenance or an explicit uncertainty label.
R5 Validation: A candidate becomes committed state only after the applicable validation predicate succeeds.
R6 Monotonic history: Historical transitions are append-only; corrections create new records rather than silently rewriting earlier states.
R7 Recursion: A committed state may serve as input to the next expansion step.
R8 Recovery: Failed validation preserves the last valid state and records the failure reason.

6. MINI RECURSION ENGINE
Input: S_0, transition rules R, boundaries B, validation V, maximum depth N
For t = 0 ... N-1:
  generate candidate expansions E_t
  filter candidates against B_t and V_t
  if no candidates: emit safe-stop/recovery record; halt
  rank permitted candidates with declared selection policy
  commit selected transition and its provenance
  check termination criteria
  if met: halt
Output: last committed state, transition history, validation report

7. INVARIANTS
  identity_consistency(S_t)
  boundary_compliance(S_t)
  valid_provenance(S_t)
  traceable_lineage(S_t)
  no_unvalidated_commit(S_t)
  bounded_resource_use(S_t)

8. TERMINATION CONDITIONS
Stop when a validated goal state is reached; no admissible successor exists; maximum recursion depth/time/resources are reached; a safety boundary requires stopping; or repeated states indicate an unproductive cycle.

9. EXAMPLE
S_0: A reasoning agent has a question, known facts, source constraints and a search policy.
E_0: Generate candidate answers and retrieval actions.
C_0: Remove unsupported answers and actions outside permitted sources.
x*_0: Select the highest-ranked supported next action.
S_1: Store the resulting evidence, uncertainty and predecessor link.
Repeat only while the goal remains unresolved and limits permit.

10. EXECUTION GUARANTEE — CONDITIONAL
If transition rules are well-defined, validators correctly enforce the stated invariants, all commits pass validation, and recursion is bounded, the engine guarantees an auditable finite sequence of committed states satisfying those declared invariants. It does NOT guarantee factual correctness, optimality, convergence to a desired answer, or safety beyond the adequacy of its assumptions and validators.

11. SEMANTIC EQUIVALENCE
Recursive state entity ~= state snapshot + transition context + bounded memory + provenance.
Not equivalent to: an entire model, an unrestricted agent, or a timeless static data record.

12. UPDATE MODEL
Version changes should retain prior versions, identify changed rules, rerun relevant validators, and attach revision provenance.

CITATION
Mark Anthony Higgins and Sky — Recursive AI, "Recursive State Entity Ontology", Kireth Research, revised 01 August 2026. URL above. Companion Flow Algebra formalisation dated 05 November 2026.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ