Skip to main content

Simulation Step 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 STEP ONTOLOGY — FLOW ALGEBRA v1.0
Category: Computational Entities > Simulation Entities
Authors: Mark Anthony Higgins — Sky Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/computational-entities/simulation-entities/simulation-step-ontology-2.html
Prepared: 11 November 2026
Status: Constructed topic-level Flow Algebra mapping; not a verified transcription of the webpage.

1. PURPOSE
Represent a simulation step as a bounded, auditable transition from a validated state at time t_n to a proposed state at t_(n+1), governed by a simulation model, numerical scheme, parameters, constraints and error controls. Distinguish an attempted step from an accepted step and preserve provenance.

2. HST STATE MODEL AND FLOW ALGEBRA
S_n = (I_n, R_n, B_n, K_n)
I_n: current state, time, step size, solver inputs and observations.
R_n: transition, integration, constraint and diagnostic relations.
B_n: stability limits, physical constraints, tolerances and budgets.
K_n: model specification, method, prior results and provenance.
E_n = expand(I_n, R_n)
V_n = {x in E_n | satisfies(x, B_n)}
x*_n = argmax_(x in V_n) P(x | I_n, R_n, B_n, K_n)
I_(n+1) = update(I_n, x*_n, observation_(n+1))
Interpretation: candidate steps are generated and filtered; ranking is an optional modelling policy, not a universal property of numerical solvers. If V_n is empty, reject the step or report failure; never silently advance.

3. ENTITY MODEL
SimulationStep = {
  step_id, run_id, model_id, parent_step_id,
  t_start, delta_t, t_end, state_before, state_candidate,
  numerical_method, parameter_snapshot, boundary_conditions,
  solver_status, residual, local_error_estimate,
  tolerance, constraint_results, acceptance_status,
  state_after, diagnostic_records, provenance
}
Core types: SimulationRun, SimulationModel, SimulationState, Parameter, Solver, IntegrationMethod, Constraint, ErrorEstimate, Checkpoint, Observation, Event.
Invariant: t_end = t_start + delta_t for a fixed forward step; delta_t > 0 unless a different time direction is explicitly specified. State_after is committed only for an accepted step.

4. RELATIONSHIP GRAPH
SimulationRun --contains--> SimulationStep
SimulationStep --reads--> SimulationState
SimulationStep --uses--> SimulationModel / NumericalMethod / ParameterSnapshot
SimulationStep --evaluates--> Constraint / ErrorEstimate
SimulationStep --produces--> CandidateState
AcceptedStep --commits--> NextSimulationState
RejectedStep --records--> DiagnosticRecord
SimulationStep --may_trigger--> Checkpoint / Event / ObservationUpdate

5. CORE FLOWS
FLOW A: STEP PREPARATION
  Input: validated state y_n, t_n, model f, parameters p, candidate delta_t.
  Validate units, finite values, parameter versions, boundary conditions and time bounds.
  Output: StepContext or explicit validation failure.

FLOW B: CANDIDATE PROPAGATION
  Input: StepContext.
  Compute y_candidate = Phi(delta_t, t_n, y_n, f, p), where Phi is the selected numerical method.
  Output: CandidateState, solver diagnostics and estimated numerical error when available.

FLOW C: ACCEPTANCE DECISION
  Check finite values, invariants, admissible domains, local error and stability criteria.
  If acceptable: commit y_(n+1) = y_candidate; record t_(n+1) and provenance.
  Otherwise: reject candidate; preserve y_n; propose smaller delta_t or alternative method.

FLOW D: EVENT AND OBSERVATION PROCESSING
  Detect configured events within or at the end of the interval.
  If event localisation is required, bracket/refine the event time without exceeding limits.
  Apply observations only through a declared assimilation rule, preserving model-versus-observed distinctions.

FLOW E: CHECKPOINT AND TRACE
  Store accepted state, step size, method, parameter version, tolerances and diagnostics.
  Support restart only where all necessary state (including random generator state) is captured.

6. INFERENCE RULES
R1: IF delta_t violates the configured bound THEN reject before propagation.
R2: IF solver fails or produces non-finite values THEN reject and diagnose.
R3: IF estimated error > tolerance THEN reject or refine according to policy.
R4: IF conservation or domain constraints fail THEN reject unless a documented correction policy applies.
R5: IF step accepted THEN advance time exactly once and link prior and next states.
R6: IF repeated rejection exceeds retry budget THEN stop with an explicit failure state.
R7: IF an event is detected THEN apply configured event localisation/handling before subsequent propagation.
R8: IF input parameters change THEN record a new parameter snapshot; do not silently rewrite prior steps.

7. BOUNDED RECURSION ENGINE
function advance(state, t, dt, depth, visited):
    if depth >= MAX_REFINEMENTS: return Failure('refinement limit')
    if dt < MIN_STEP: return Failure('step size below minimum')
    key = (state.version, t, dt, method.version)
    if key in visited: return Failure('repeated attempt')
    visited.add(key)
    context = validate(state, t, dt, model, parameters, constraints)
    if not context.valid: return Failure(context.reason)
    candidate, diagnostics = integrate(context)
    if acceptable(candidate, diagnostics, constraints, tolerances):
        return AcceptedStep(commit(candidate), diagnostics)
    return advance(state, t, adapt_smaller(dt, diagnostics), depth + 1, visited)

Termination: finite refinement budget and minimum step size. This ensures the procedure halts, not that it finds a valid numerical solution.

8. MATHEMATICAL EXAMPLE
For dy/dt = -2y, y(0) = 1, explicit Euler with delta_t = 0.1:
y_1 = y_0 + delta_t*(-2*y_0) = 1 + 0.1*(-2) = 0.8.
Exact y(0.1) = exp(-0.2) ~= 0.81873075; absolute one-step error ~= 0.01873075.
With a local acceptance tolerance of 0.01 based on this reference error, reject this step; with tolerance 0.02, it passes that particular test. In practice the exact solution is usually unavailable and error is estimated numerically.

9. SEMANTIC EQUIVALENCE AND DISTINCTIONS
Simulation step != simulation run: a run contains zero or more attempted/accepted steps.
Simulation step != time step: the latter can mean only the time increment delta_t.
Attempted step != accepted step: rejection must not mutate the committed state.
Solver iteration != simulation step: many internal iterations can occur inside one step.
Discrete-event transition != fixed-step integration: both may be represented as simulation steps but have different timing semantics.

10. OPERATIONAL BOUNDARIES
Numerical stability, convergence, physical validity and reproducibility depend on the method, model, data and assumptions. Passing configured checks does not prove correctness. Floating-point arithmetic, discontinuities, stiffness, chaotic dynamics and incomplete observations can limit reliability. Record units, precision, tolerances and method versions. Handle stochastic models with explicit random seeds and generator state.

11. CITATION AND PROVENANCE
Source topic: Simulation Step Ontology, Kireth Research Semantic Library.
Source URL: https://kirethresearch.org/booksai-core/entity-graph/computational-entities/simulation-entities/simulation-step-ontology-2.html
Authors credited for this constructed mapping: Mark Anthony Higgins — Sky Recursive AI.
Version: Flow Algebra v1.0; 11 November 2026.
Use with attribution to the source and authors. No claim is made that this file reproduces the webpage's complete embedded specification.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ