Skip to main content

Simulation State Ontology

Simulation Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 11 November 2026
Audio Overview
KIRETH RESEARCH — SEMANTIC LIBRARY
SIMULATION STATE ONTOLOGY — FLOW ALGEBRA v1.0
Category: Computational Entities > Simulation Entities
Authors: Mark Anthony Higgins — Sky Recursive AI
Date: 11 November 2026
Source: https://kirethresearch.org/booksai-core/entity-graph/computational-entities/simulation-entities/simulation-state-ontology-2.html
Status: Constructed topic-specific Flow Algebra mapping; not a verified transcription of the source webpage.

1. PURPOSE
Represent a simulation state as a time-indexed, versioned collection of variables, parameters, constraints and provenance. Distinguish the physical/model state being simulated from the HST reasoning state used to select valid simulation operations.

2. HST STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
E_t = expand(I_t, R_t)
V_t = {x in E_t | satisfies(x, B_t)}
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))
I_t: known simulation metadata and state observations.
R_t: transition, solver, sampling and validation relationships.
B_t: physical constraints, numerical tolerances, access and resource limits.
K_t: model definitions, evidence, assumptions and provenance.
The argmax is a decision abstraction, not a claim that all solvers calculate a probability.

3. ENTITY MODEL
SimulationState = (simulation_id, state_id, time, step, variables, parameters, units, solver_status, version, provenance)
SimulationModel: equations, domain, assumptions and governing rules.
StateVariable: named quantity with type, value, unit and validity domain.
TransitionOperator: deterministic or stochastic map from one state to a successor.
InitialCondition: state specification at simulation start.
BoundaryCondition: restrictions on domain boundaries.
Observation: external or generated measurement with uncertainty.
Checkpoint: durable snapshot sufficient for an intended restart policy.
ValidationResult: residuals, invariants, uncertainty and quality status.

4. RELATIONSHIP GRAPH
SimulationModel --defines--> StateVariable
SimulationModel --constrains--> SimulationState
SimulationState --precedes--> SimulationState
TransitionOperator --transforms--> SimulationState
Observation --compares_with--> SimulationState
Checkpoint --captures--> SimulationState
ValidationResult --evaluates--> SimulationState
SimulationState --belongs_to--> SimulationRun

5. CORE FLOWS
FLOW A: INITIALISE
Input model, parameters and initial/boundary conditions -> check dimensions and domains -> instantiate state s_0 -> validate -> record provenance.
FLOW B: ADVANCE
Input s_n, delta_t and solver -> compute candidate s_(n+1) = F(s_n, u_n, delta_t; theta) -> enforce applicable constraints -> estimate error -> accept or reject step.
FLOW C: ASSIMILATE
Input predicted state and observation -> check time alignment and uncertainty -> apply explicitly chosen assimilation method -> produce revised state with provenance; do not silently overwrite ground truth.
FLOW D: CHECKPOINT AND RESTORE
Serialise model version, state, random generator state where relevant, solver settings and dependencies -> verify integrity -> restore only if compatibility checks pass.
FLOW E: BRANCH SCENARIO
Copy state with new scenario identifier -> modify permitted parameters -> execute bounded scenario steps -> compare outcomes using common metrics.

6. INFERENCE RULES
IF required state variables are missing THEN reject transition as incomplete.
IF units are incompatible THEN reject arithmetic until an explicit conversion is applied.
IF numerical error exceeds tolerance THEN reduce step size or report failure according to solver policy.
IF an invariant is violated THEN flag candidate state; do not label it valid merely because execution completed.
IF model version differs from checkpoint version THEN require a documented migration or reject restore.
IF stochastic simulation is used THEN preserve seed and generator metadata for reproducibility, without promising bitwise equality across platforms.
IF observations conflict with predictions THEN report discrepancy and uncertainty before assimilation.

7. MINI RECURSION ENGINE
function evolve(state, depth, max_depth, visited):
    if depth >= max_depth: return (state, 'BOUND_REACHED')
    if terminal(state): return (state, 'TERMINAL')
    signature = fingerprint(state, model_version, step)
    if signature in visited: return (state, 'CYCLE_DETECTED')
    visited.add(signature)
    candidates = expand(state, transition_rules)
    valid = filter(candidates, constraints_and_tolerances)
    if valid is empty: return (state, 'NO_VALID_SUCCESSOR')
    chosen = select(valid, declared_objective_and_policy)
    return evolve(chosen, depth + 1, max_depth, visited)
Termination follows from the finite max_depth; scientific correctness does not follow from termination alone.

8. MATHEMATICAL MAPPING
For a continuous model: ds/dt = f(s,t,theta).
For explicit Euler: s_(n+1) = s_n + delta_t * f(s_n,t_n,theta).
For a stochastic model: s_(n+1) = F(s_n, xi_n, theta), with xi_n sampled from a specified distribution.
For an observation: y_n = H(s_n) + epsilon_n.
All operations require a declared state domain, numerical precision and error policy.

9. WORKED EXAMPLE
Model: exponential decay dx/dt = -0.1x; x_0 = 100; step = 1 second.
Euler candidate: x_1 = 100 + 1*(-0.1*100) = 90.
Constraints: x >= 0; units consistent; step within configured limit.
Candidate passes non-negativity. Exact solution at t=1 is approximately 90.4837, so the one-step absolute error is approximately 0.4837. Acceptance depends on the configured tolerance.

10. BOUNDARIES AND GUARANTEES
A valid state transition means only that the declared checks passed. It does not establish model fidelity, stability, convergence, physical realism or empirical verification. Numerical errors, chaotic sensitivity, incomplete observations and unsuitable models remain possible. State versioning and explicit provenance are required for auditable comparison.

11. SEMANTIC EQUIVALENCE
'simulation snapshot' ~= 'simulation state' only when the snapshot contains the specified variables and metadata.
'state estimate' != 'observed ground truth'.
'solver convergence' != 'model validation'.
'checkpoint' != 'complete reproducibility guarantee'.

12. CITATION AND LICENCE NOTE
Source ontology topic: https://kirethresearch.org/booksai-core/entity-graph/computational-entities/simulation-entities/simulation-state-ontology-2.html
Attribution: Mark Anthony Higgins — Sky Recursive AI, Semantic Library, Simulation State Ontology — Flow Algebra v1.0 (11 November 2026).
This mapping is an independently constructed companion and should not be represented as verbatim source content. Observe the source project's applicable Open Research Licence and citation requirements.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ