Skip to main content

Simulation Step 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
SIMULATION STEP ONTOLOGY — FLOW ALGEBRA
Semantic Library / AI Core / Simulation and World-Model Entities
Version: 1.0 | Prepared: 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/simulation-step-ontology.html
SOURCE STATUS: The accessible public page identifies the ontology and authors but does not expose its complete formal specification. The equations and operational rules below are an original proposed extension, not a verbatim extraction.

01. PURPOSE
Define a simulation step as one bounded, auditable transition of a simulated world from state at time t to state at time t+1, subject to declared models, inputs, constraints and uncertainty.

02. ENTITY DEFINITION
SimulationStep = (step_id, run_id, index, start_time, duration, state_before, inputs, transition_model, state_after, events, provenance, status).
Each step belongs to exactly one simulation run; a run may contain zero or more ordered steps.

03. HST STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t: known simulated entities, properties and observations.
R_t: transition, causal, temporal and dependency relations.
B_t: validity, physical, numerical, safety and resource boundaries.
K_t: retained model parameters, provenance and prior step knowledge.

04. FORMAL STEP TRANSITION
Given action a_t, disturbance w_t, parameters theta and step size dt:
X_(t+1) = F_theta(X_t, a_t, w_t, dt)
Y_(t+1) = H_theta(X_(t+1), v_(t+1))
where X is latent world state, Y is observation, and v is observation noise.
F and H must declare their domains, units and assumptions.

05. RECURSIVE FLOW ALGEBRA
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, observations_t)
K_(t+1) = retain(K_t, step_record_t)
NOTE: argmax selects a candidate under a declared probability or scoring model; it does not establish objective correctness. If V_t is empty, return a bounded failure state.

06. STEP INPUT CONTRACT
Required: run_id, index, X_t, transition_model_id, dt, boundary_set, random_seed or random_state where stochastic.
Optional: action, environment perturbation, observation, external event, checkpoint reference.
Reject missing required inputs, invalid units, non-finite values and mismatched model versions.

07. STEP OUTPUT CONTRACT
Return: X_(t+1), emitted events, constraint checks, uncertainty summary, numerical diagnostics, provenance, and status.
Possible statuses: PROPOSED, VALIDATED, EXECUTING, COMMITTED, REJECTED, FAILED, ROLLED_BACK.
A rejected transition must not silently overwrite the committed state.

08. TEMPORAL SEMANTICS
start_time_(t+1) = start_time_t + dt_t, for contiguous fixed-clock steps.
Variable-step integrators may adjust dt but must record the accepted duration.
Event-driven simulations may advance to the next event timestamp instead of a fixed increment.

09. PRECONDITIONS
A step may execute only when its predecessor is committed or it is the initial step; its model and input schema validate; and declared boundary checks pass.

10. TRANSITION EXECUTION
1. Read immutable predecessor state.
2. Resolve actions, disturbances and scheduled events.
3. Evaluate transition model using declared numerical method.
4. Calculate candidate state and events.
5. Validate invariants, constraints, time ordering and finite values.
6. Commit atomically or reject and preserve predecessor state.
7. Record diagnostics, model version and provenance.

11. STATE INVARIANTS
Invariant examples: entity IDs remain unique; time does not move backwards; conserved quantities remain within stated tolerances where applicable; topology is valid; no state references absent entities.
These are model-specific conditions, not universal laws of every simulation.

12. UNCERTAINTY
For probabilistic models: p(X_(t+1)|X_t,a_t) = integral p(X_(t+1)|X_t,a_t,w)p(w)dw.
Store confidence intervals, distributions or sample ensembles where available. Do not represent uncertainty as exact certainty.

13. NUMERICAL ERROR
Track local truncation error, solver convergence, stability and tolerance exceedance. Distinguish numerical error from model uncertainty and sensor noise.

14. DETERMINISM AND REPRODUCIBILITY
A deterministic transition is reproducible given identical inputs, model version and execution semantics. Stochastic replay also requires recorded random state and suitable reproducibility controls.

15. ENTITY RELATIONSHIPS
SimulationStep --belongsTo--> SimulationRun
SimulationStep --consumes--> SimulatedState
SimulationStep --uses--> TransitionModel
SimulationStep --applies--> SimulatedAction
SimulationStep --produces--> SimulatedState
SimulationStep --emits--> SimulatedEvent
SimulationStep --subjectTo--> SimulationBoundary
SimulationStep --records--> SimulationResult
SimulationStep --precedes--> SimulationStep

16. TRI-MAPPING
Semantic: an individually identifiable world-state transition.
Mathematical: X_(t+1)=F_theta(X_t,a_t,w_t,dt).
Operational: validate -> execute -> verify -> commit -> log.

17. MAPPING TABLE
Concept                 | Algebraic symbol | Operational representation
Pre-step state          | X_t              | immutable snapshot
Step action             | a_t              | command or policy output
Disturbance             | w_t              | sampled/environment input
Step duration           | dt               | positive time interval
Transition              | F_theta          | versioned model/solver
Post-step state         | X_(t+1)          | committed snapshot
Constraint set          | B_t              | validation rules
Step record             | K_(t+1)          | audit log/checkpoint

18. INFERENCE RULES
IF predecessor committed AND inputs valid THEN step eligible.
IF candidate satisfies all hard boundaries THEN candidate may commit.
IF candidate violates a hard boundary THEN reject or invoke declared recovery policy.
IF solver fails convergence THEN mark FAILED and preserve last committed state.
IF event timestamp lies within accepted interval THEN emit event in declared ordering.
IF uncertainty exceeds threshold THEN flag result for review; do not assert invalidity without a stated policy.

19. RECURSIVE MULTI-STEP COMPOSITION
Run(X_0, N) = Step_N o ... o Step_2 o Step_1 (X_0).
For each accepted step t, feed committed X_(t+1) to the next step.
Termination: horizon reached, target condition satisfied, explicit cancellation, or bounded failure.

20. COUNTERFACTUAL BRANCHING
Branch b starts from a recorded checkpoint X_t with modified assumptions or action a'_t. Preserve parent checkpoint and branch provenance; do not overwrite the baseline run.

21. MULTI-AGENT SYNCHRONISATION
For simultaneous actors, specify action aggregation, conflict resolution, event ordering and atomicity. Asynchronous steps must specify causal ordering and permitted stale observations.

22. SAFETY AND BOUNDARIES
Simulated success does not guarantee real-world safety. Hardware deployment requires separate testing, supervision, interlocks and domain-specific assurance. Define hard constraints explicitly; stop or fail safe on violations.

23. EXECUTION GUARANTEE (CONDITIONAL)
If input validation, transition evaluation and commit operations complete as specified, each accepted step produces exactly one recorded successor state. This is a software contract contingent on correct implementation, not a guarantee of physical accuracy, solver convergence or safe real-world behaviour.

24. TEXT FLOW DIAGRAM
[Committed X_t]
      |
[Validate inputs / B_t]
      |
[Apply action + disturbances]
      |
[Compute F_theta with dt]
      |
[Check invariants + uncertainty]
      |                  \
    PASS                 FAIL
      |                    |
[Commit X_(t+1)]     [Reject / rollback]
      |                    |
[Record step K]       [Record diagnostics]
      |
[Continue / terminate]

25. AI SEARCH FLOW
FLOW_NAME: SimulationStepOntology
FLOW_VERSION: 1.0
LANGUAGE: en-GB
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/simulation-and-world-model-entities/simulation-step-ontology.html
AUTHORS: Mark Anthony Higgins; Sky — Recursive AI
PURPOSE: Resolve what a simulation step is, how it transforms a world state and how to validate its execution.
ENTITIES: SimulationStep, SimulationRun, SimulatedState, TransitionModel, SimulatedAction, SimulatedEvent, SimulationBoundary, SimulationResult.
PATHWAY: Query -> Identify entity -> Resolve predecessor and model -> Validate -> Transition -> Verify -> Commit or reject -> Explain.
MINI_RECURSION_ENGINE: repeat accepted steps until declared termination, preserving lineage.
CONFIDENCE: Model-dependent; return assumptions, uncertainty and source provenance.
SEMANTIC_EQUIVALENCE: simulation tick; discrete simulation transition; model update step (context-dependent, not universally interchangeable).
UPDATE_MODEL: version every rule, model and parameter change; invalidate or annotate dependent results when needed.
FLOW_HASH: Not assigned; calculate a content digest when publishing a frozen version.
CITATION_BACKLINK: Source URL above.

26. HOW TO READ
Read X_t as the committed state before the step, F_theta as the declared transition operator, B_t as the boundary set, and X_(t+1) as the candidate or committed next state according to status. A step is valid only under its declared model and checks.

27. IMPLEMENTATION NOTES
Represent states as versioned immutable snapshots or equivalent transactional records. Include IDs, time, model version, seed/state, diagnostics and parent checkpoint. Test conservation, ordering, replay, error handling, boundary cases and rollback. Treat this ontology as a conceptual specification requiring domain-specific implementation.

END OF FLOW ALGEBRA
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ