Skip to main content

Simulation State Ontology

Computational Mathematics 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 > Computational Mathematics Entities
Authors: Mark Anthony Higgins — Sky Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/computational-entities/computational-mathematics-entities/simulation-state-ontology.html
Prepared: 11 November 2026
Status: Constructed topic-specific mapping; not a verified transcription of the webpage.

1. PURPOSE
Represent a simulation state as a time-indexed, reproducible description of a model's variables, parameters, constraints and provenance. Define how a valid state advances under a numerical transition operator, how observations and events affect that transition, and how errors are detected.

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))
Here I_t is the currently represented simulation state and inputs; R_t is the transition and inference rule set; B_t is the admissibility boundary; K_t contains model knowledge, numerical tolerances and provenance. The probabilistic selector is optional for deterministic simulators; deterministic models instead select the uniquely specified valid transition.

3. ENTITY MODEL
SimulationState: {state_id, model_id, simulation_time, step_index, variables, parameter_snapshot, solver_state, random_state, status, provenance}.
Model: mathematical or computational definition of system dynamics.
StateVariable: named, typed and unit-qualified component of a state vector.
Parameter: fixed or scheduled model input, distinguished from dynamic state.
TransitionOperator: map F(x_t, u_t, theta, dt) -> x_(t+1).
Constraint: condition required for a valid state, e.g. non-negative mass.
Event: discrete occurrence that may change transition rules or parameters.
Observation: measured or externally supplied information, potentially noisy.
Checkpoint: serialised snapshot permitting restoration and replay.
ErrorEstimate: estimate of local or global numerical uncertainty.

4. RELATIONSHIP GRAPH
SimulationState --belongs_to--> Model
SimulationState --contains--> StateVariable
SimulationState --uses--> Parameter
SimulationState --validated_against--> Constraint
SimulationState --advanced_by--> TransitionOperator
SimulationState --may_trigger--> Event
SimulationState --may_be_corrected_by--> Observation
SimulationState --saved_as--> Checkpoint
TransitionOperator --reports--> ErrorEstimate

5. CORE FLOWS
FLOW A — INITIALISE
Input: model definition, initial conditions, parameters, units and seed.
Validate dimensions, variable domains, initial constraints and solver compatibility.
Output: state S_0 with explicit time, version and provenance.

FLOW B — ADVANCE
Input: valid state x_t, control u_t, parameters theta, timestep dt.
Candidate: x' = F(x_t, u_t, theta, dt).
Check finite values, dimensions, invariants, tolerances and event crossings.
Accept x_(t+1) only when required checks pass; otherwise reject or retry with a permitted smaller timestep.

FLOW C — ASSIMILATE OBSERVATION
Input: state estimate, observation y and observation model H.
Apply an explicitly chosen correction method; preserve uncertainty and provenance.
Do not treat noisy observation as exact truth without a justified assumption.

FLOW D — CHECKPOINT AND RESTORE
Save model version, state vector, time, parameters, solver history and random-generator state.
On restore, verify compatibility and integrity before resuming.

FLOW E — TERMINATE
Stop when final simulation time, event condition, convergence criterion or resource budget is reached.
Record completion status and any unresolved numerical warnings.

6. INFERENCE RULES
R1: A state with missing required variables is incomplete, not executable.
R2: If a proposed transition violates a hard invariant, reject it or invoke a documented corrective method.
R3: If estimated error exceeds tolerance, refine the step or report non-convergence; do not silently claim accuracy.
R4: If a stochastic simulation is replayed, reproducibility requires compatible random state, model version and execution assumptions.
R5: A discrete event crossing must be handled by the selected event-detection scheme, not assumed to occur exactly at a step boundary.
R6: A valid simulation state does not imply that the underlying model accurately represents reality.

7. BOUNDED RECURSION ENGINE
function simulate(state, horizon, budget):
    visited_steps = 0
    while state.time < horizon and visited_steps < budget:
        candidates = propose_transition(state)
        accepted = first_candidate_satisfying_constraints_and_tolerance(candidates)
        if accepted is None:
            return Failure('No admissible transition', state)
        state = record_transition(accepted)
        visited_steps += 1
    if state.time >= horizon:
        return Completed(state)
    return BudgetExhausted(state)

8. EXECUTION TRACE — SIMPLE DETERMINISTIC EXAMPLE
Model: dx/dt = -2x; initial x_0 = 1; explicit Euler; dt = 0.1.
Transition: x_(n+1) = x_n + dt*(-2*x_n).
Step 0: t=0.0, x=1.000.
Step 1: t=0.1, x=0.800.
Step 2: t=0.2, x=0.640.
This illustrates state evolution only; explicit Euler introduces discretisation error compared with the exact solution x(t)=exp(-2t).

9. SEMANTIC EQUIVALENCE
Two simulation-state records are equivalent only relative to an explicitly defined equivalence relation, such as identical model version, time, variables, units and parameter snapshot within stated tolerances. Equality of state vectors alone does not establish equality of solver histories, random states or future trajectories.

10. OPERATIONAL BOUNDARIES AND GUARANTEES
Termination is guaranteed only when the loop enforces a finite step budget or an independently proven terminating condition. Constraint checks guarantee only the tested properties, subject to numerical precision and implementation correctness. Stability, convergence, physical validity and reproducibility require separate evidence and assumptions. Preserve error reports rather than replacing failures with unsupported success claims.

11. PROVENANCE AND CITATION
Topic reference: https://kirethresearch.org/booksai-core/entity-graph/computational-entities/computational-mathematics-entities/simulation-state-ontology.html
Attribution: Mark Anthony Higgins — Sky Recursive AI.
This independent Flow Algebra mapping is constructed from the named ontology topic and general computational mathematics concepts; it is not asserted to reproduce the webpage's embedded specification.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ