Skip to main content

AI Spatial State Ontology

Spatial and Environmental AI Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 05 November 2026
Audio Overview
AI SPATIAL STATE ENTITY — FLOW ALGEBRA
Semantic Library | Spatial and Environmental AI Entities
Authors: Mark Anthony Higgins — Sky Recursive AI
Companion formalisation | 05 November 2026
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/spatial-and-environmental-ai-entities/ai-spatial-state-ontology.html
Status: Derived companion model; not a verbatim transcription of embedded page specifications.

01 PURPOSE
Represent, validate, transform and update the spatial state of an AI-observed or simulated entity while retaining reference-frame, time, provenance and uncertainty.

02 HST STATE
S_t = (I_t, R_t, B_t, K_t)
I_t = spatial observations, poses, geometry and timestamped measurements.
R_t = reference-frame transforms, spatial relations, transition rules and constraints.
B_t = spatial boundaries, access permissions, safety limits and validity intervals.
K_t = accepted spatial knowledge, maps, priors and evidence provenance.
E_t = expand(I_t, R_t)
V_t = {x in E_t | satisfies(x, B_t) and supported(x, K_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+1))
If V_t is empty, return UNKNOWN or CONFLICT, not an invented position.

03 ENTITY SCHEMA
SpatialState = {
  entity_id, state_id, reference_frame_id, observed_at,
  position, orientation, velocity?, acceleration?,
  geometry?, extent?, occupancy?, relation_set,
  covariance?, confidence?, source_ids,
  validity_interval?, state_status, version
}
Required fields: entity_id, state_id, reference_frame_id, observed_at, position, source_ids, state_status, version.
Optional attributes must be explicitly absent or marked UNKNOWN; never silently imputed.

04 RELATED ENTITIES
SpatialState --describes--> SpatialAIEntity
SpatialState --located_in--> EnvironmentEntity
SpatialState --uses--> CoordinateReferenceFrame
SpatialState --measured_by--> SensorOrObservation
SpatialState --valid_at--> TimestampEntity
SpatialState --relates_to--> SpatialRelationshipEntity
SpatialState --bounded_by--> SpatialBoundaryEntity
SpatialState --precedes--> SpatialState
SpatialState --supports--> NavigationOrPlanningState
SpatialState --derived_from--> EvidenceRecord

05 SPATIAL FRAME RULES
R01: Coordinates without a declared reference frame are not globally comparable.
R02: Transform(p, A, B) is valid only if an evidenced transform T_AB exists.
R03: For rigid 3D frames, p_B = R_AB * p_A + t_AB.
R04: Frame composition must respect direction: T_AC = T_BC o T_AB.
R05: Units, axis conventions and handedness must be checked before composition.
R06: Non-invertible or unknown transforms produce UNKNOWN_TRANSFORM.
R07: A coordinate transformation preserves provenance and propagates uncertainty.

06 TEMPORAL STATE RULES
R08: Every observation carries event time and, where relevant, ingestion time.
R09: A newer ingestion does not necessarily imply a newer observation.
R10: State transitions must identify the time interval to which they apply.
R11: Contradictory simultaneous observations require reconciliation or conflict status.
R12: Extrapolation beyond the validated horizon is marked PREDICTED, not OBSERVED.
R13: Historical states remain versioned and must not be silently overwritten.

07 RELATION AND BOUNDARY RULES
R14: inside(A,B), intersects(A,B), adjacent(A,B), and distance(A,B) depend on declared geometry and frame.
R15: Collision checks require compatible frames and time-aligned geometry.
R16: Restricted or unsafe spatial regions are excluded by B_t.
R17: Unknown occupancy must not be interpreted as confirmed free space.
R18: Missing geometry prevents definitive topological assertions.
R19: A relation inferred from a map inherits the map's validity and uncertainty.

08 UNCERTAINTY MODEL
For estimated position mu_t and covariance Sigma_t:
PositionEstimate_t = (mu_t, Sigma_t, frame_id, observed_at).
Under a differentiable transform f, Sigma_out approximately equals J_f * Sigma_in * J_f^T, where J_f is the local Jacobian.
Confidence scores require calibration against measured outcomes.
Do not equate a confidence value with a guaranteed probability of correctness.

09 FLOW ALGEBRA EXECUTION
FLOW SpatialStateUpdate(observation o, state S_t):
  1. Parse and type-check o.
  2. Authenticate and attach provenance.
  3. Validate timestamp, units, geometry and frame identifier.
  4. Resolve required frame transforms or return UNKNOWN_TRANSFORM.
  5. Align observation and current state temporally.
  6. Expand candidate states using admissible relations R_t.
  7. Filter candidates against spatial and safety boundaries B_t.
  8. Evaluate consistency, evidence and uncertainty.
  9. Select the best supported candidate or return UNKNOWN/CONFLICT.
 10. Version the new state and retain predecessor and source links.
 11. Emit validated state, confidence metadata and audit record.
END FLOW

10 RECURSIVE REFINEMENT
S_(t+1) = F(S_t, O_(t+1), R_t, B_t, K_t)
Repeat only while new admissible evidence arrives or a bounded refinement step remains.
Stop on convergence, exhausted evidence, iteration limit or safety boundary breach.
Never treat recursion alone as proof of accuracy or completeness.

11 TRI-MAPPING
ENTITY: SpatialState -> reference frame -> location/pose -> spatial relations.
ALGEBRA: observation -> expansion -> boundary filter -> evidence ranking -> update.
EXECUTION: validate -> transform -> align -> infer -> verify -> version -> publish.
Each mapping preserves entity identifiers, timestamps, provenance and uncertainty.

12 VALIDATION CONDITIONS
V01: Entity identity and state version are unique within their scope.
V02: Reference frame, units and coordinate dimensionality are consistent.
V03: Temporal ordering and validity intervals are explicit.
V04: Position and orientation values meet numerical constraints.
V05: Source records are retrievable or marked unverified.
V06: Derived relationships are traceable to observations or stated assumptions.
V07: Conflicts, unknowns and boundary violations are surfaced.
V08: No unauthorised physical action follows from an unvalidated spatial state.

13 EXAMPLE
Observation: object A at (2,3) metres in frame F1 at time t1.
Known transform: translation (5,0) metres from F1 to F2; no rotation.
Derived position: object A at (7,3) metres in F2 at t1.
If the transform is absent, F2 position = UNKNOWN_TRANSFORM.
This example demonstrates transformation only, not sensor accuracy.

14 CONDITIONAL EXECUTION GUARANTEE
Given well-typed inputs, valid frame transforms, consistent temporal metadata,
applicable boundary rules and sufficient supporting evidence, the flow produces
an auditable spatial-state candidate or an explicit non-success status.
It does not guarantee physical truth, perfect localisation, sensor reliability,
real-time performance or complete world knowledge.

15 OUTPUT CONTRACT
Output = {
  status: VALIDATED | PREDICTED | UNKNOWN | CONFLICT | REJECTED,
  spatial_state?, frame_id?, timestamp?, uncertainty?,
  evidence_ids, applied_rules, boundary_checks, predecessor_state_id?, version
}

16 LICENCE AND CITATION
Open Research Licence: free use with citation as specified by Kireth Research.
Citation: Mark Anthony Higgins and Sky Recursive AI,
'AI Spatial State Entity — Flow Algebra', Semantic Library, 2026.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ