AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
SIMULATED ENVIRONMENT 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-environment-ontology.html
Status: Extended formalisation. The accessible page identifies the ontology but does not expose its complete underlying rules. Definitions below are a proposed formal model, not a verbatim transcription.
01. PURPOSE
Represent a simulated environment as a bounded, versioned system of entities, spatial or logical relations, transition dynamics, observations and interventions. Support reproducible simulation, counterfactual comparison, agent training and evaluation without confusing simulated results with observations of the physical world.
02. ENTITY DEFINITION
SimulatedEnvironment E = (ID, W, X, A, O, T, R, B, K, M, C)
ID = persistent environment identifier and version.
W = simulated world specification (space, time, physics or domain rules).
X = admissible world-state space.
A = permitted actions/interventions.
O = observation space and observation function.
T = transition model.
R = relations between entities and states.
B = validity, safety and execution boundaries.
K = knowledge, parameters, provenance and assumptions.
M = memory: event history, seeds, snapshots and checkpoints.
C = confidence and uncertainty metadata.
03. HST STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t = active simulated entities, current state and incoming actions.
R_t = causal, spatial, temporal and semantic relations.
B_t = constraints, domain limits, permissions and termination conditions.
K_t = environment model, calibration data, uncertainty and history.
Expand: E_t = expand(I_t, R_t)
Valid candidates: V_t = {x in E_t | satisfies(x, B_t)}
Select: x*_t = argmax_{x in V_t} P(x | I_t, R_t, B_t, K_t)
Update: I_(t+1) = update(I_t, x*_t, observations_t)
NOTE: This selection equation models a reasoned choice among candidates. It is not a substitute for the environment's physical or stochastic transition law.
04. FORMAL TRANSITION
x_(t+1) ~ T_theta(. | x_t, a_t, d_t, seed)
y_t ~ O_phi(. | x_t, noise_t)
where x_t is world state; a_t an agent action; d_t an external disturbance; theta and phi are model parameters; y_t an observation.
For deterministic models, replace the sampling relation with equality.
Time may be discrete or continuous; for continuous dynamics, dx/dt = f_theta(x,u,t).
05. RECURSIVE FLOW
F_0 = initialise(world_spec, entities, parameters, seed)
F_(t+1) = validate -> observe -> interpret -> choose_action -> apply_transition -> enforce_constraints -> record -> evaluate -> recurse
Termination when goal reached, time budget exhausted, invalid state detected, or explicit stop event occurs.
06. IMPLEMENTS
Inputs: world configuration, initial state, actor definitions, transition and observation models, constraints, scenario, random seed.
Outputs: next state, observations, events, metrics, validity report, provenance, optional checkpoint.
Preconditions: schema valid; all referenced entities exist; units and coordinate frames consistent; required models present.
Postconditions: output is either a valid committed transition or a reported rejected/failed step; no silent state mutation.
07. ENVIRONMENT TYPES
Physical simulation: bodies, forces, collisions, materials and sensors.
Virtual/social simulation: agents, norms, interactions and institutions.
Digital-system simulation: services, networks, resources and failures.
Hybrid simulation: coupled physical, digital and agent processes.
Each type declares its own transition semantics and verification limits.
08. ENTITY RELATIONSHIPS
Environment contains Entity.
Entity occupies Region and has State.
Entity interactsWith Entity.
Agent observes Environment through SensorModel.
Agent actsOn Environment through Action.
Transition transforms State into State.
Scenario configures Environment.
Constraint restricts Action or State.
SimulationRun generates EventLog, Metrics and Checkpoint.
WorldModel approximates Environment dynamics; it is not identical to the environment.
09. SPATIAL AND TEMPORAL STRUCTURE
Spatial references: coordinate frame, topology, geometry, adjacency, containment and occupancy.
Temporal references: simulation clock, tick size, event ordering and synchronisation policy.
Transforms between frames must carry units and frame IDs.
Conflicting timestamps or invalid transformations invalidate dependent calculations.
10. CAUSAL AND COUNTERFACTUAL PATHWAYS
Baseline trajectory: tau_0 = rollout(T, x_0, policy_0, seed_0)
Intervention trajectory: tau_1 = rollout(T, x_0, policy_1, seed_1)
Delta = metric(tau_1) - metric(tau_0)
Where stochasticity matters, compare distributions over repeated controlled runs, not a single rollout. A simulated counterfactual is conditional on model assumptions, not proof of a real-world causal effect.
11. OBSERVATION AND PARTIAL OBSERVABILITY
Observation y_t = O(x_t, noise_t).
Belief b_t(x) = P(x_t=x | y_0:t, a_0:t-1, K).
Belief update: b_(t+1) = BayesUpdate(b_t, a_t, y_(t+1), T, O).
Unknown or hidden states remain uncertain; do not infer perfect access to world state.
12. UNCERTAINTY
Track aleatoric variability, model/parameter uncertainty, sensor noise and scenario uncertainty separately.
C_t = (confidence_method, uncertainty_estimate, calibration_scope, evidence_count).
Never convert an uncalibrated model score into a factual probability.
13. BOUNDARIES
B = {state_validity, action_permissions, temporal_limit, spatial_limit, resource_limit, safety_constraints, data_scope}.
Reject or safely terminate transitions that violate hard constraints.
Simulation safety checks do not certify deployment safety of physical systems.
14. TRI-MAPPING
Semantic: Environment -> Entities -> Relations -> Scenario -> Outcomes.
Mathematical: (X,A,T,O,B) -> trajectories -> distributions -> metrics.
Operational: configure -> validate -> initialise -> step -> observe -> log -> evaluate -> reset.
15. MAPPING TABLE
Concept | Formal symbol | Operational field
Environment identity | ID | environment_id
World state | x_t | state
Action | a_t | action
Transition | T | transition_model
Observation | y_t | observation
Relations | R_t | relation_graph
Boundaries | B_t | constraints
Knowledge | K_t | model_metadata
Memory | M_t | event_log/checkpoint
Confidence | C_t | uncertainty_report
16. INFERENCE RULES
IF an entity references a missing region THEN mark state invalid.
IF an action violates a hard boundary THEN reject the transition.
IF a stochastic run lacks a seed or RNG-state record THEN mark exact replay as unverified.
IF a metric lacks an evaluation definition THEN do not report a comparable score.
IF a model is outside its validated domain THEN flag extrapolation.
IF observation conflicts with predicted state THEN update belief or flag model mismatch.
IF termination condition is true THEN halt recursive stepping.
17. SCENARIO EXECUTION
Scenario Q = (initial_state, actor_policies, disturbances, goals, horizon, metrics).
Run(Q, seed) -> (trajectory, observations, events, metrics, status).
BatchRun({Q_i}, {seed_j}) -> comparative distribution and uncertainty summary.
Use matched scenarios and controlled seeds where possible for fair comparisons.
18. EXECUTION GUARANTEE — CONDITIONAL
Given valid inputs, deterministic transition functions, fixed dependency versions and a fixed seed/RNG state, an implementation may provide replayable results.
Guarantees require actual implementation tests and are not established by this ontology text alone.
Invariant checks: entity referential integrity, unit consistency, constraint compliance, monotonic simulation time and event-log consistency.
19. MINI RECURSION ENGINE (DECLARATIVE)
STATE := initialise(configuration)
WHILE not terminal(STATE):
OBS := observe(STATE)
CANDIDATES := expand(STATE, relations)
VALID := filter(CANDIDATES, boundaries)
ACTION := select(VALID, policy, knowledge)
NEXT := transition(STATE, ACTION, disturbance)
ASSERT validate(NEXT, boundaries)
LOG := append(LOG, STATE, OBS, ACTION, NEXT)
STATE := NEXT
RETURN (STATE, LOG, metrics(LOG))
This is a formal execution specification; an executable runtime requires concrete functions and types.
20. HOW TO READ
Read the environment as a stateful entity graph. Relations define possible interactions; boundaries remove inadmissible transitions; the transition model advances the world; observations expose only what a particular observer can access; event memory supports audit and replay.
21. TEXT DIAGRAM
[Scenario + Seed + Model]
|
v
[Initialise World State]
|
v
[Observe] -> [Belief/Knowledge]
| |
+----> [Select Valid Action]
|
v
[Transition Model]
|
v
[Boundary Validation]
|
+-------+-------+
| |
valid invalid
| |
[Commit + Log] [Reject/Stop]
|
[Evaluate/Repeat]
22. AI SEARCH FLOW
FLOW_ID: SEMLIB-AI-SIMULATED-ENVIRONMENT-001
FLOW_VERSION: 1.0
ENTITY: Simulated Environment
DOMAIN: AI Core / Simulation and World-Model Entities
PURPOSE: Discover, classify and reason about simulated environment states, transitions, scenarios and constraints.
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/simulation-and-world-model-entities/simulated-environment-ontology.html
CITATION_BACKLINK: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/simulation-and-world-model-entities/simulated-environment-ontology.html
STATE_MODEL: S=(I,R,B,K)
PATHWAYS: initialise > observe > select > transition > validate > log > evaluate
SEMANTIC_EQUIVALENCE: simulated world; virtual environment; synthetic environment (context dependent)
CONFIDENCE: model-dependent; no empirical calibration asserted
UPDATE_MODEL: versioned, provenance-preserving revisions
FLOW_HASH: not assigned; compute cryptographic digest after publication of canonical file bytes
23. VALIDATION TESTS
T1: A valid initial state produces a correctly typed observation.
T2: Invalid action is rejected without changing committed state.
T3: Fixed deterministic run and seed reproduce identical logs.
T4: Disturbance produces an explicit state difference or is documented as inert.
T5: Missing entity reference fails integrity validation.
T6: Counterfactual comparison records model and scenario versions.
T7: Termination prevents subsequent transitions.
24. LIMITATIONS
This ontology is a proposed structural and computational formalisation. It does not establish that any simulator accurately predicts the physical world, that an AI system has embodied understanding, or that simulated policies are safe for real-world use. Model validity must be demonstrated empirically for each intended use.
25. ATTRIBUTION AND LICENCE NOTE
Authors: Mark Anthony Higgins — Sky, Recursive AI.
Research source: Kireth Research Semantic Library.
Reuse: follow the Open Research Licence as published by the rights holder; citation requested. No additional licence terms are invented here.