Skip to main content

Simulated State Ontology

Simulation and World-Model Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 03 November 2026
Audio Overview
SIMULATED STATE ONTOLOGY — FLOW ALGEBRA
Semantic Library | AI Core | Simulation and World-Model Entities
Version: 1.0 | 03 November 2026 | Language: en-GB
Authors: Mark Anthony Higgins — Sky, Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/simulation-and-world-model-entities/simulated-state-ontology.html
SOURCE NOTE: The public page confirms the ontology title, category, authorship and formal-reasoning intent, but does not expose the underlying full specification. The algebra below is a newly developed formalisation, not a verbatim transcription. Mathematical guarantees are conditional on the assumptions stated.

01. PURPOSE
Represent, evolve, inspect and validate the state of a simulated environment at a discrete or continuous simulation instant. Distinguish actual observed states, inferred estimates, hypothetical branches and ground truth available only inside a simulator.

02. ENTITY DEFINITION
SimulatedState := (state_id, simulation_id, time, branch_id, variables, entities, relations, provenance, uncertainty, validity)
Each state has a unique identifier scoped to a simulation and branch. Variables and relations are typed, with units and reference frames where applicable.

03. HIGGINS STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t: state information and observations
R_t: transition, constraint and inference rules
B_t: domain, temporal, resource and safety boundaries
K_t: known facts, priors, model parameters and provenance
A simulated state is an interpretation of S_t within a declared simulation model, not a claim about the real world.

04. TYPED STATE SPACE
X = X_1 × ... × X_n, with state x_t in X.
A_t in A: allowed actions; E_t in E: exogenous events.
M = (X,A,E,T,O,C) where T is a transition kernel, O an observation model and C a constraint set.
For deterministic simulations: x_(t+1) = f_M(x_t,a_t,e_t,delta_t).
For stochastic simulations: x_(t+1) ~ T_M(. | x_t,a_t,e_t,delta_t).

05. FLOW ALGEBRA CORE
Expand(I_t,R_t) := candidate next-state descriptions consistent with the rule schema.
V_t := {x in Expand(I_t,R_t) : satisfies(x,B_t) and consistent(x,K_t)}.
x*_(t+1) := argmax_(x in V_t) P_M(x | I_t,R_t,B_t,K_t,a_t,e_t).
I_(t+1) := Update(I_t,x*_(t+1),observation_(t+1)).
If V_t is empty, return CONSTRAINT_CONFLICT; do not invent a valid state.
If probabilities are unavailable, replace argmax with a declared deterministic selection policy.

06. SIMULATION TRANSITION FLOW
INPUT: state x_t, action a_t, events e_t, step delta_t, model M.
VALIDATE: types, frames, units, preconditions, boundaries.
PROPAGATE: compute candidate states via T_M.
FILTER: enforce hard invariants and admissibility constraints.
OBSERVE: generate or ingest simulated observations via O.
RECONCILE: update estimated state and uncertainty.
COMMIT: record accepted state, time, branch and provenance.
OUTPUT: state x_(t+1), diagnostics, confidence metadata and trace.

07. RECURSIVE UPDATE
F(S_t,a_t,e_t) -> (S_(t+1),trace_t,status_t).
F^n(S_0,a_0:n-1,e_0:n-1) = S_n when every transition succeeds.
Stop on terminal condition, step budget, constraint conflict, numerical failure or external cancellation. No unbounded recursion is assumed.

08. STATE COMPONENTS
Physical: pose, velocity, force, energy, temperature, contact.
Logical: task status, flags, permissions, resource availability.
Relational: containment, adjacency, ownership, interaction, causal links.
Temporal: simulation clock, event queue, timestamps, duration.
Epistemic: known, unknown, estimated, hypothetical, observed.
Not every simulation includes every component.

09. STATE IDENTITY AND EQUIVALENCE
Identity(x,y) iff simulation_id, branch_id and state_id match.
SemanticEquivalence(x,y;P,epsilon) iff all required properties P agree under declared tolerances epsilon.
Identity and semantic equivalence are distinct; equivalent states need not be identical.

10. OBSERVATION AND PARTIAL OBSERVABILITY
Observation o_t ~ O_M(. | x_t).
Belief b_t(x) := P(x_t=x | o_0:t,a_0:t-1,M).
b_(t+1)(x') proportional to O_M(o_(t+1)|x') sum_x T_M(x'|x,a_t)b_t(x).
Use filtering only where a probability model is specified; otherwise record qualitative uncertainty.

11. UNCERTAINTY
Record aleatoric uncertainty, epistemic/model uncertainty, measurement error and numerical error separately where possible.
For covariance-based linearised propagation: Sigma_(t+1) approx J Sigma_t J^T + Q.
This approximation requires differentiability, local linearisation and a valid noise model.

12. STATE CONSTRAINTS
Hard: type invariants, finite numerical values, legal domain bounds, conservation conditions when applicable.
Soft: target ranges, preferred trajectories, resource efficiency.
A hard constraint violation invalidates the candidate state. A soft constraint contributes to ranking only.

13. TEMPORAL SEMANTICS
Discrete: t in {0,1,...,N}.
Continuous: dx/dt = f(x,u,t), with numerical integration and declared tolerances.
Hybrid: mode transitions plus continuous dynamics; preserve event ordering and guard conditions.
Simulation time must not be confused with wall-clock time.

14. BRANCHING AND COUNTERFACTUALS
Fork(x_t, intervention h) -> branch b_h.
State histories on different branches are not merged without an explicit reconciliation rule.
Counterfactual result = state under the intervention and model assumptions; it is not an observed real-world outcome.

15. CAUSAL AND EVENT LINKS
CAUSES(event,state_transition) only when the model specifies causal semantics.
PRECEDES(event_1,event_2) encodes ordering, not necessarily causation.
A transition trace records triggering actions, exogenous events and rules.

16. ENTITY RELATIONSHIPS
SimulatedState --belongsTo--> Simulation
SimulatedState --describes--> SimulatedObject / SimulatedAgent / SimulatedEnvironment
SimulatedState --producedBy--> SimulationTransition
SimulatedState --observedThrough--> SimulatedObservation
SimulatedState --constrainedBy--> SimulationBoundary
SimulatedState --precedes--> SimulatedState
SimulatedState --partOf--> Scenario / Branch
SimulatedState --evaluatedBy--> ValidationRule

17. TRI-MAPPING
Ontology layer: state entity, property, relation, event, constraint.
Mathematical layer: x_t, X, T_M, O_M, C, b_t.
Execution layer: serialised state record, transition engine, validator, event log.
Each ontology property must map to a typed mathematical or operational representation, or be explicitly marked descriptive-only.

18. MAPPING TABLE
state_id -> unique key -> identity and provenance
simulation_id -> model context -> simulator registry
branch_id -> branch label -> scenario tree
simulation_time -> t -> scheduler / clock
variables -> x_t -> state store
transition_rule -> T_M or f_M -> transition engine
observation -> o_t -> observation pipeline
constraint -> C -> validator
uncertainty -> b_t / Sigma_t -> uncertainty store
trace -> transition provenance -> append-only log

19. INFERENCE RULES
R1: If a candidate violates a hard constraint, reject it.
R2: If a transition has no valid successor, emit CONSTRAINT_CONFLICT.
R3: If two state values use incompatible units or frames, require conversion before comparison.
R4: If an observation conflicts with a predicted state, record residual and update only under a declared estimator.
R5: If a state is counterfactual, label it hypothetical in all exports.
R6: If model version changes, invalidate comparability claims until migration or re-evaluation.
R7: If provenance is missing, mark the state unverified rather than asserting ground truth.

20. MINI RECURSION ENGINE
function STEP(S,a,e,M):
  require valid_schema(S,a,e,M)
  candidates = transition(M,S,a,e)
  valid = filter(candidates, hard_constraints(M))
  if empty(valid): return (S, CONSTRAINT_CONFLICT)
  next = select(valid, declared_policy(M))
  next = attach_observations_uncertainty_trace(next,M)
  return (next, OK)
function RUN(S0, inputs, M, max_steps):
  S = S0
  for k in 0..min(length(inputs),max_steps)-1:
    S,status = STEP(S,inputs[k].action,inputs[k].events,M)
    if status != OK: return (S,status,k)
  return (S,OK,k)
This is a readable operational schema; implementation must supply concrete types, models and policies.

21. AI SEARCH FLOW
FLOW_ID: SIMULATED_STATE_ONTOLOGY_V1
PURPOSE: Resolve questions about simulated states, their transitions, constraints and provenance.
INPUTS: query, simulation_id, optional branch_id, time_range, entity_filter.
ENTITY_RESOLUTION: map query terms to typed state variables and relations.
PATHWAYS: locate state -> validate scope -> retrieve transitions -> check constraints -> summarise provenance.
CONFIDENCE: distinguish model-derived, measured-in-simulation, estimated and hypothetical values.
SEMANTIC_EQUIVALENCE: compare states only with explicit property sets and tolerances.
OUTPUT: answer, supporting state identifiers, transition trace, caveats.
UPDATE_MODEL: versioned ontology and model identifiers; never silently overwrite historical states.
FLOW_HASH: calculate SHA-256 over a canonical serialisation at publication; no hash is asserted here.

22. EXECUTION CONDITIONS
Requires: a declared state schema, transition function or kernel, initial state, constraints, time semantics and stopping policy.
May require: observation model, randomness seed, numerical solver, covariance model.
Deterministic replay requires deterministic implementation, fixed inputs and controlled sources of nondeterminism.

23. CONDITIONAL EXECUTION GUARANTEE
Under schema validity, total transition/selection procedures, finite budgets and terminating numerical routines, the engine returns either a valid next state or an explicit failure status.
This does NOT guarantee physical fidelity, collision safety, correctness of learned models, convergence of estimators or accurate real-world predictions.

24. SAFETY AND VALIDATION BOUNDARIES
Keep simulator outputs separate from real-world control commands.
Validate assumptions before transferring simulated conclusions to physical systems.
Check numerical stability, constraint completeness, uncertainty calibration and distribution shift.
Maintain human oversight for safety-critical deployment.

25. TEXT DIAGRAM
[Initial Simulated State S_t]
          |
          v
[Actions + Events + Model Rules]
          |
          v
[Generate Candidate States]
          |
          v
[Check Types / Constraints / Boundaries]
       /             \
   invalid           valid
      |                |
[Failure Trace]   [Select / Estimate]
                       |
                       v
                [Attach Provenance]
                       |
                       v
               [Commit S_(t+1)]
                       |
                       +----> [Recursive Next Step]

26. EXAMPLE: SIMPLE GRID WORLD
X = {(row,col) : 0 <= row < H, 0 <= col < W, cell not blocked}.
a_t in {north,south,east,west,wait}.
T(x,a) = adjacent free cell if move is legal, otherwise x with a blocked-action diagnostic.
S_0: robot at (1,1); a_0=east; cell (1,2) free.
S_1: robot at (1,2), with provenance {action:east, model:grid_v1}.
If (1,2) is blocked, the declared policy determines whether the transition is rejected or the robot remains at (1,1).
This example illustrates the formalism and is not a claim about the source page.

27. CITATION AND LICENCE NOTE
Attribution: Mark Anthony Higgins; Sky — Recursive AI.
Canonical source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/simulation-and-world-model-entities/simulated-state-ontology.html
Refer to the publisher's current Open Research Licence for governing reuse terms. No licence text is reproduced or independently verified here.
END OF FLOW
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ