Skip to main content

Computational Entity 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 ENTITY ONTOLOGY — 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-entity-ontology.html
Status: Companion formalisation; page's full embedded specification was not accessible in retrieved text.

01. PURPOSE
Define a computational entity as an identifiable, bounded system or component capable of representing, transforming, storing, transmitting, or controlling information under explicit rules. Distinguish a computation's specification from its physical or virtual implementation.

02. CORE STATE MODEL (HST)
S_t = (I_t, R_t, B_t, K_t)
I_t = current input and observed computational state
R_t = executable relations, transition rules, and dependencies
B_t = resource, security, interface, and validity boundaries
K_t = knowledge of types, provenance, versions, and verified constraints
E_t = expand(I_t, R_t)
V_t = {x in E_t | satisfies(x, B_t) and well_typed(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, observed_result_t)
Note: argmax is defined only when V_t is non-empty and a comparable scoring function exists; otherwise return unresolved.

03. ENTITY SIGNATURE
C = (id, kind, inputs, outputs, state, operations, interfaces, dependencies, resources, policy, provenance, version)
id: stable identifier in a declared namespace
kind: hardware | software | process | service | algorithm | data structure | virtual machine | composite
inputs/outputs: typed ports and data contracts
state: mutable and immutable values with timestamps
operations: partial state-transition functions
interfaces: callable or observable interaction surfaces
dependencies: other entities and required versions
resources: CPU, memory, storage, network, energy, or quotas
policy: authorisation, safety, and execution constraints
provenance: origin and evidence references
version: immutable revision identifier or declared version scheme

04. ENTITY GRAPH
G = (N, E, tau_N, tau_E)
N = computational entities and associated artefacts
E subset N x RelationType x N
RelationType = {depends_on, implements, invokes, hosts, contains, reads, writes, produces, consumes, communicates_with, supersedes}
Every edge must have a declared source, target, and relation type.
An edge's existence does not imply transitivity unless its relation is explicitly transitive.

05. TYPING AND IDENTITY
Canonical(C) = namespace(C) + ':' + id(C)
SameEntity(a,b) requires validated canonical identity, not merely matching names.
Equivalent(a,b,context) requires an explicit equivalence criterion and scope.
Compatible(a,b) requires compatible interfaces, types, policies, and versions.
Reject ambiguous identity merges; preserve candidate aliases with provenance.

06. FLOW OPERATORS
Observe(C, evidence) -> observed_state | unknown
Validate(C, schema, policy) -> valid | invalid | unresolved
Resolve(C, G) -> dependency_closure | cycle_or_missing
Plan(C, goal, B) -> ordered_actions | blocked
Execute(C, action, authorisation) -> result | error
Verify(result, expected, evidence) -> pass | fail | indeterminate
Commit(C, verified_result) -> C' | no_change
Record(C, event) -> append_only_audit_event

07. EXECUTION PATHWAY
F0: receive entity identifier and requested operation
F1: resolve canonical identity and current version
F2: validate input schema, constraints, and provenance
F3: traverse required dependency graph with cycle detection
F4: check authorisation, capabilities, and available resources
F5: construct permitted candidate transitions
F6: select an admissible transition or return blocked
F7: execute through an explicitly authorised interface
F8: capture observed outputs, failures, timing, and resource use
F9: compare observations with postconditions
F10: commit only validated state changes; retain prior state on failure
F11: append provenance and audit evidence
F12: publish resulting state or unresolved status

08. RECURSIVE GRAPH PROCESSING
Visit(node, visited, stack):
  if node in stack: report cycle
  if node in visited: return
  add node to stack
  for each required dependency d of node: Visit(d, visited, stack)
  remove node from stack; add node to visited
Termination requires a finite reachable graph or an explicit traversal budget.
A dependency cycle is not automatically an error for every architecture; it blocks only operations requiring acyclic ordering.

09. INFERENCE RULES
R1: validated identity + verified type -> eligible for typed lookup
R2: compatible inputs + permitted operation -> candidate execution
R3: missing required dependency -> execution blocked
R4: insufficient resources -> defer, degrade safely, or reject according to policy
R5: failed postcondition -> no verified success claim
R6: verified state transition -> eligible for commit
R7: conflicting evidence -> unresolved until reconciled
R8: changed version -> revalidate dependent compatibility
R9: untrusted input -> sanitise/validate before privileged operations
R10: absent authorisation -> no external side effect

10. TRI-MAPPING
Semantic layer: entity identity, roles, types, relations, and meaning
Structural layer: nodes, edges, interfaces, dependencies, and state schema
Operational layer: permitted transitions, observations, validation, and audit
Mapping consistency: semantic claims must correspond to structural evidence and operationally testable conditions where applicable.

11. INVARIANTS
INV-01: identifiers are unique within their namespace
INV-02: each operation declares preconditions and postconditions
INV-03: outputs conform to declared schemas or are flagged invalid
INV-04: state transitions respect security and resource boundaries
INV-05: provenance references are preserved across derivations
INV-06: failure is not represented as successful execution
INV-07: versions and dependencies are traceable
INV-08: recursive traversal respects cycle and budget controls

12. UNCERTAINTY AND CONFIDENCE
Represent unknown, missing, contradictory, and stale evidence separately.
Confidence is conditional on calibration data and must not be fabricated.
Unverified relationships remain hypotheses rather than canonical facts.

13. EXECUTION GUARANTEE (CONDITIONAL)
If inputs are well-typed, dependencies resolve, authorisation holds,
resources are sufficient, transitions terminate, and postconditions pass,
then the recorded output is valid relative to the declared specification.
No universal guarantee of termination, correctness, or physical-world safety is implied.

14. EXAMPLE
Entity: computation.service.example
Input: integer n
Operation: double(n) = 2*n
Precondition: n is within supported integer range
Postcondition: output equals 2*n without overflow
If n=4 and execution returns 8, verify and record success.
If range check fails, return blocked without committing a result.

15. RESEARCH AND CITATION
This document is an original companion Flow Algebra interpretation of the named ontology topic.
It does not claim to reproduce inaccessible page code or hidden specifications.
Source attribution: Kireth Research — Computational Entity Ontology.
Authors: Mark Anthony Higgins — Sky Recursive AI.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ