Skip to main content

Computational State Ontology

Foundations of Computational Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 09 November 2026
Audio Overview
COMPUTATIONAL STATE — FLOW ALGEBRA
Semantic Library | Foundations of Computational Entities
Authors: Mark Anthony Higgins — Sky Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/computational-entities/foundations-of-computational-entities/computational-state-ontology.html
Document type: Companion formalisation (not a verbatim extraction of embedded page specifications)
Date: 2026-11-09

01. PURPOSE
Define a computational state as a time-indexed, typed snapshot of a computational entity, together with the admissible transitions, observations, invariants and evidence needed to reason about it.

02. ENTITY MODEL
ComputationalState CS = (id, entity_id, t, variables, control, resources, environment, version, provenance).
variables: finite map from variable identifiers to typed values.
control: execution status, instruction pointer or workflow phase, where applicable.
resources: memory, compute and other resource allocations.
environment: relevant external inputs and dependencies.
version: schema and implementation version.
provenance: source observations and transformation records.
A state is valid only if all required fields are well typed and its invariants hold.

03. HST STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t: observed computational inputs and state facts.
R_t: admissible transition and inference rules.
B_t: boundary conditions, permissions and resource constraints.
K_t: retained state history, validated knowledge and provenance.
E_t = expand(I_t, R_t)
V_t = {x in E_t | constraints_B(x) AND invariants(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, observation_(t+1))
If V_t is empty, return BLOCKED or UNKNOWN; do not invent a valid transition.
The argmax expression describes selection under an explicitly defined scoring model; it does not itself establish calibrated probabilities.

04. FORMAL FLOW ALGEBRA
FLOW ComputationalStateTransition
INPUT: CS_t, event e_t, rules R, boundary B, evidence E
PRECONDITIONS:
  identity(CS_t) is defined
  schema_valid(CS_t)
  authorised(e_t, B)
  evidence_valid(E) OR evidence_status(E) = UNKNOWN
EXPAND: candidates = transition_candidates(CS_t, e_t, R)
FILTER: admissible = {c in candidates | type_safe(c) AND invariant_safe(c) AND permitted(c, B)}
SELECT: CS_(t+1) = select(admissible, declared_priority, E)
VERIFY: compare expected and observed postconditions
COMMIT: append immutable transition record if verification succeeds
OUTPUT: (CS_(t+1), status, evidence, provenance)
FAILURE: preserve CS_t; record reason; initiate controlled recovery where permitted
END FLOW

05. STATE LIFECYCLE
DEFINED -> INITIALISED -> READY -> RUNNING -> {WAITING, SUSPENDED, COMPLETED, FAILED}
WAITING -> RUNNING when dependency is satisfied.
SUSPENDED -> RUNNING only on authorised resume.
FAILED -> RECOVERING only where a recovery rule exists.
COMPLETED is terminal for that execution instance; a new run creates a new instance.
These lifecycle labels are an illustrative model and must be adapted to the entity's actual semantics.

06. RELATIONSHIP GRAPH
ComputationalEntity --hasState--> ComputationalState
ComputationalState --precedes--> ComputationalState
ComputationalState --causedBy--> Event
ComputationalState --observedBy--> Observation
ComputationalState --constrainedBy--> Invariant
ComputationalState --describedBy--> Schema
ComputationalState --derivedFrom--> Evidence
ComputationalState --belongsTo--> ExecutionInstance
ComputationalState --hasVersion--> Version

07. INFERENCE RULES
R1: If transition(CS_a,e,CS_b) is verified, infer precedes(CS_a,CS_b).
R2: If a required invariant fails, reject CS_b as an admissible committed state.
R3: If event ordering is ambiguous, retain partial ordering rather than fabricate timestamps.
R4: If evidence is missing, mark state claims UNVERIFIED, not FALSE.
R5: If two snapshots disagree, retain both with provenance pending reconciliation.
R6: If a transition changes an immutable identifier, reject it or treat the result as a distinct entity.
R7: If a boundary denies an action, return BLOCKED even if the action is otherwise computationally possible.

08. RECURSIVE REFINEMENT
At recursion depth d:
  observe current state and unresolved claims
  expand only reachable and authorised candidate transitions
  validate types, invariants and evidence
  update K with accepted evidence and rejected hypotheses
  stop when goal met, fixed point reached, budget exhausted or no candidates remain
Require finite recursion budget, cycle detection and an explicit termination condition.

09. TRI-MAPPING
ENTITY: computational state as a graph node with typed attributes.
RELATIONSHIP: typed links to entity, event, observation, predecessor and successor.
FLOW: operational transition from CS_t to CS_(t+1) with validation and provenance.
Mapping must preserve identity, time ordering and the meaning of each predicate.

10. VALIDATION INVARIANTS
INV-01: Each state has a unique identifier within its namespace.
INV-02: Every state refers to an existing or explicitly unresolved computational entity.
INV-03: Attribute values conform to the declared schema.
INV-04: Every committed transition records its triggering event or cause.
INV-05: State timestamps and causal order are not contradictory.
INV-06: A transition cannot exceed declared permissions or resource boundaries.
INV-07: Historical records are append-only or auditable if corrected.
INV-08: Unknown observations remain distinguishable from verified observations.

11. UNCERTAINTY AND PROVENANCE
Record source_id, observation_time, ingestion_time, schema_version, evidence_status and confidence_method.
Distinguish observed state, inferred state, predicted state and hypothetical state.
Do not treat confidence scores as probabilities without calibration evidence.

12. EXECUTION GUARANTEE — CONDITIONAL
If input schema, deterministic transition rules, boundary checks, invariant checks and recording are implemented correctly, the flow guarantees that any committed state passed those declared checks.
It does not guarantee that the external world was observed perfectly, that all bugs were eliminated, or that every inferred claim is true.

13. EXAMPLE
CS_0 = (job-1, worker-7, t0, {items:3}, READY, {cpu:1}, local, v1, source-A)
e = start_job
R: READY + start_job -> RUNNING, subject to permission and resource availability.
CS_1 = (job-1-state-1, worker-7, t1, {items:3}, RUNNING, {cpu:1}, local, v1, transition-record-1)
Check: t1 >= t0; event authorised; resources available; schema and invariants satisfied.

14. STATUS
Companion Flow Algebra for Computational State Ontology.
The public page identifies the ontology and an AI interpretation note but does not expose its full embedded rules in the retrieved page text. This file therefore supplies a transparent, independently authored formalisation, not a claim to reproduce hidden source code.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ