Skip to main content

Module spatiotemporal_predicates

Module spatiotemporal_predicates 

Source
Expand description

Spatiotemporal Datetime Predicates & Relativistic Coordinate Modality.

Provides coordinate-anchored temporal reasoning across micro-to-macro scales: relativistic light-travel offsets, gravitational potential proper time gradients, quantum biological decoherence rates, temporal mereology, and ecological persistence horizons.

Reference: docs/plans/holo/Spatiotemporal Datetime Predicates in QualiaDB.md

Structs§

SpatiotemporalPoint
A precise spatiotemporal point anchoring a nanosecond timestamp to physical 3D space.

Enums§

ObserverStatus
Observer status at perception time

Constants§

C_SQUARED
OP_ASYMMETRIC_RECURRENCE
OP_BIOMAGNIFICATION_LAG
OP_CIRCADIAN_OVERRIDE
OP_ECOLOGICAL_RESIDUE
OP_INDIGENOUS_EPOCH
OP_INTRODUCTION_EVENT
OP_LATENT_EPOCH
OP_MEREOLOGY_LIFESPAN
OP_NATURALIZATION_ONSET
OP_PERSISTENCE_HORIZON
OP_PROPER_TIME_GRADIENT
OP_SPATIAL_DECOHERENCE
OP_SPATIOTEMPORAL_ANCHOR
Modality opcodes (0x70–0x7F reserved for Spatiotemporal according to AGENTS.md)
OP_SPATIOTEMPORAL_COINCIDENCE
OP_TEMPORAL_CONTAINMENT
OP_TIME_AT_OBSERVER
SPEED_OF_LIGHT_M_S
Physical constants
STANDARD_GRAVITY_M_S2

Functions§

compile_spatiotemporal_quin
Compiles a coordinate-anchored spatiotemporal fact into a 48-byte Super-Quin (NQuin).
evaluate_light_travel_offset_nanos
Evaluates light-travel offset between source and observer in nanoseconds.
evaluate_observed_source_time
Evaluates the true source time given an observer timestamp and their respective positions.
evaluate_persistence_horizon_nanos
Evaluates an anthropogenic chemical or pesticide persistence horizon in nanoseconds.
evaluate_proper_time_drift_nanos
Evaluates net proper time drift in nanoseconds relative to standard sea-level coordinate time over a given elapsed duration in seconds.
evaluate_proper_time_rate
Evaluates General Relativistic proper time rate $d\tau / dt$ at a given elevation and speed.
evaluate_quantum_gradient_nanos
Evaluates quantum proper time gradient across microscopic nodes.
evaluate_spatial_coincidence
Evaluates spatial coincidence: checks if two 3D positions are within an epsilon tolerance.
evaluate_spatiotemporal_exposure_window
Evaluates temporal collision and exposure window between two spatiotemporal intervals using Allen’s Interval Algebra.
evaluate_temporal_containment
Evaluates temporal mereology containment: asserts that a child’s lifecycle falls entirely within the parent organism or structure’s lifespan.