Time-Constrained Distance in Temporal Metrics
- Time-constrained distance is a framework where temporal rules are embedded into distance definitions, ensuring only time-admissible paths or events contribute to the computed metric.
- The methodology spans diverse domains such as Lorentzian geometry, transportation, temporal graphs, timed automata, and phase-change memory by applying unique max-min and sliding-window strategies.
- Key implications include establishing metric definiteness via local anti-Lipschitz conditions, optimizing worst-case route times, and enabling rigorous analyses of collision prediction and system conformance.
In the supplied literature, time-constrained distance is not a single standardized invariant but a family of constructions in which temporal structure restricts how separation is measured. The temporal ingredient may be a time function on a spacetime, a departure-time window on a transportation system, waiting-time bounds in a temporal graph, timestamps in a timed trace, or a sliding rewrite window in a memory array. In each case, the central operation is similar: admissible objects are first filtered by a temporal rule, and only then is an infimum, supremum, or metric-like quantity formed (Nigri, 9 Jul 2025, Halpern, 2015, Carnevale et al., 12 Feb 2026, Rosenmann, 2019, Analooee et al., 2019, Qin et al., 2012).
1. Comparative framework
| Setting | Basic object | Distance principle |
|---|---|---|
| Lorentzian geometry | Piecewise-causal curve | Infimum of null length |
| Transportation | Route over departure time | Max over of quickest-route times |
| Temporal graphs | Temporal path | Optimize EA, LD, FT, ST, MH, or MW |
| Timed automata | Timed trace / timed language | Sup-inf of timestamp deviation |
| Collision prediction | Moving objects in | Time until contact |
| Phase-change memory | Rewrite sequence | Sliding-window cumulative Hamming cost |
A common pattern is that the temporal rule is not an accessory constraint added after the fact. It is part of the definition of the quantity itself. In Lorentzian geometry, only piecewise-causal curves contribute to . In transportation, route times are first minimized at fixed departure time and then maximized over the observation window. In timed automata, traces of different untimed shape are placed at distance . In phase-change memory, the relevant “distance” is cumulative rewrite cost over every time window of length and every spatial window of cells (Nigri, 9 Jul 2025, Halpern, 2015, Rosenmann, 2019, Qin et al., 2012).
The literature also separates genuine metrics from more general temporal costs. The null distance is in general only a semi-metric, but becomes a metric exactly under the local anti-Lipschitz condition. Halpern’s travel-time function is constructed to satisfy the metric axioms. By contrast, the six temporal distances in D-TMB are optimization objectives on temporal paths, and the TD collision framework defines a time-to-contact quantity that may take value (Nigri, 9 Jul 2025, Halpern, 2015, Carnevale et al., 12 Feb 2026, Analooee et al., 2019).
2. Null distance, temporal functions, and Lorentzian causality
For a spacetime and a continuous time function 0, the null distance is defined from piecewise-causal curves. If 1 is piecewise causal, with partition 2, its null length is
3
and the induced null distance is
4
Equivalently,
5
For any piecewise-causal 6 from 7 to 8, one has 9, hence 0. In particular, 1 implies 2 (Nigri, 9 Jul 2025).
Definiteness is controlled exactly by the local anti-Lipschitz condition. A time function 3 is locally anti-Lipschitz if for every 4 there is a neighborhood 5, a Riemannian metric 6 on 7, and a constant 8 such that
9
The associated proposition states that 0 is definite, hence a true metric, if and only if 1 is locally anti-Lipschitz; when this holds, 2 induces the manifold topology (Nigri, 9 Jul 2025).
Temporal functions provide a particularly important class. A 3 function 4 is temporal if 5 is everywhere past-directed timelike. Sormani and Vega showed that the class of 6 temporal functions coincides with that of 7 locally anti-Lipschitz time functions. On a regular level set
8
the induced metric
9
is Riemannian. If 0 is smooth and 1 on 2, then the main comparison theorem gives
3
The proof outline uses normal coordinates, a local Minkowski model, two null segments through an “4-slim” cone, and a Lebesgue-number-lemma/chaining argument (Nigri, 9 Jul 2025).
The cosmological-time application turns this comparison into a singularity theorem. Cosmological time is defined by
5
When 6 is regular, Andersson, Galloway, and Howard showed that it is a locally anti-Lipschitz time function, that 7 exists almost everywhere and is past-directed timelike with unit norm, and that through each 8 there is a unique future-directed unit-speed geodesic generator 9 with 0. Since 1, one obtains
2
If 3 as 4, then the initial singularity 5 is a single point 6, confirming a conjecture of Sakovich and Sormani (Nigri, 9 Jul 2025, Sakovich et al., 2024).
A common misconception is that null distance is automatically metric because it is defined by an infimum over curve lengths. The cited result rules this out: without local anti-Lipschitz control, 7 may vanish for distinct points (Nigri, 9 Jul 2025).
3. Travel-time metrics and collision-time fields
In transportation, Halpern defined a travel-time metric on a point-set 8 over a closed time-interval 9. For each ordered pair 0 and departure time 1, 2 is the set of admissible routes from 3 to 4, each route 5 carrying an empirical travel time 6. The consistency axioms are identity, positivity, existence, and composition. The quickest-route travel time at fixed 7 is
8
The metric is then defined by the max-min formula
9
Its construction is explicitly designed to satisfy non-negativity, identity of indiscernibles, symmetry, and the triangle inequality; the latter is derived from the time-shifted composition law
0
whenever the departure and shifted arrival times remain in 1 (Halpern, 2015).
The max-min step is essential. A pure min-min aggregate over departure times can violate the triangle inequality, as shown in the paper’s three-node example with 2 h and 3 min. The max-min construction restores metric behavior by taking the worst quickest-route time in each direction (Halpern, 2015).
A different use of temporal distance appears in collision prediction and path planning. In the TD framework, the relative TD between two moving objects 4 and 5 is defined as “the time interval that must elapse for them to come into contact. If they never meet, TD = 6.” For a moving polygon 7, the TD to a point 8 is the minimum over its edge TD functions; for a moving circle,
9
The configuration-time field is assembled from obstacle TD functions and 0 penalties: 1 A Route Function
2
is then used to carve out a safe corridor 3, while collision warning is based on
4
Here the quantity is operational rather than metric: it is a time-to-contact field for dynamic free-space construction and collision alarms (Analooee et al., 2019).
4. Temporal graphs, waiting-time constraints, and broadcast distances
A temporal graph may be presented as 5, where 6 is a finite vertex set, 7 is the lifetime, and 8 is a set of time-stamped edges. A temporal walk
9
requires 0 and 1, and it is a temporal path if the vertices are pairwise distinct. The 2-restless variant adds the waiting-time bound
3
RESTLESS TEMPORAL PATH is NP-complete already for any fixed 4, even when 5 and each edge appears exactly once. It is W[1]-hard parameterized by the vertex-deletion distance of the underlying graph to a disjoint union of paths, and therefore W[1]-hard parameterized by the feedback vertex number or the pathwidth. Positive results are obtained for path length, feedback-edge number, and timed feedback vertex number (Casteigts et al., 2019).
A broader optimization framework is D-Temporal Multi-Broadcast (D-TMB), which studies six temporal distances on temporal paths 6:
| Distance | Definition |
|---|---|
| EA | 7 |
| LD | 8 |
| FT | 9 |
| ST | 00 |
| MH | 01 |
| MW | 02 |
For 03, the objective is to minimize 04; for 05, it is to maximize 06. For a single source, EA-TMB and LD-TMB are in polynomial time, while FT, ST, MH, and MW are NP-complete and hard to approximate. For multiple sources, if feasibility is not assumed a priori, then no finite-factor approximation exists unless 07, even with just two sources. Feasibility itself is NP-complete for 08, 09, and 10 (Carnevale et al., 12 Feb 2026).
The tractable cases are structurally specific. If 11 for every edge, then EA-TMB and LD-TMB are in polynomial time for arbitrary 12. On a tree with 13 on all 14-to-15 paths, EA-TMB and LD-TMB can also be solved in polynomial time by merging single-source solutions (Carnevale et al., 12 Feb 2026).
A plausible implication is that waiting-time constraints and temporal-distance objectives alter complexity for different reasons. In restless paths, the combinatorial difficulty comes from bounding local waiting. In D-TMB, the difficulty comes from choosing labels so that a global worst-case temporal distance is optimized (Casteigts et al., 2019, Carnevale et al., 12 Feb 2026).
5. Timed automata and conformance distance
For timed automata, the relevant distance is defined on timed traces and then lifted to languages. A finite timed trace over 16 is
17
with 18 and 19. The max-metric on timed traces is
20
For timed languages 21, the conformance distance is
22
and the symmetrized distance is
23
One has 24, and if 25, then 26 in the Euclidean topology (Rosenmann, 2019).
Rosenmann’s construction digitizes nondeterministic timed automata into deterministic discretized automata. Starting from an augmented region automaton 27 with an absolute-time clock 28, one builds a discretized timed automaton 29 over the time domain 30, with one clock 31 reset at every transition. If a region edge has weight 32 and the source and target fractional parts induce 33, the corresponding transition in 34 has guard 35 or 36. The resulting approximation satisfies
37
After the 38 speed-up used in the paper’s inclusion-gap theorem, if 39 and 40, then
41
Hence
42
Under a bounded-cycle restriction, the paper also gives a decision procedure for whether the distance is infinite by analyzing untimed witnesses and positive-delay simple cycles in a time-product construction (Rosenmann, 2019).
The critical distinction here is between exact language inclusion and quantitative conformance. The distance formalism does not merely ask whether an implementation is accepted by a specification; it asks how far each timed trace can be from the closest matching trace when exact inclusion fails (Rosenmann, 2019).
6. Windowed rewrite distance and adjacent delayed-distance notions
In phase-change memory, the temporal restriction is imposed on cumulative rewrite cost. A binary memory state at time 43 is 44, and the rewrite cost from 45 to 46 is the Hamming distance
47
A sequence satisfies the 48-constraint if, for every time window of length 49 and every spatial window of 50 contiguous cells,
51
The paper explicitly interprets this as a time-constrained distance on sequences: 52 with the requirement 53 on every length-54 segment. This is not a single-step Hamming constraint; it is an aggregated sliding-window constraint in both time and space. The general upper bound is
55
and one-dimensional special cases reduce to window-weight-limited constraints such as
56
The paper also gives explicit lower-bound constructions, including the trivial block-partitioning rate 57 (Qin et al., 2012).
A related but distinct delayed-distance notion appears in time-delay cosmography. In a strong lens system, the observed time delay 58 between two images satisfies
59
with
60
This is not a metric on points or traces. It is a cosmological distance inferred from observed delays. Under the mass-sheet transformation 61, the Fermat potential difference scales as 62, so the inferred time-delay distance rescales as
63
The cited work shows that this degeneracy can be broken in a cosmology-model-independent way by combining lensing with SN Ia and BAO to constrain 64, yielding model-independent distance measurements in time-delay cosmography under mass-sheet transformations (Chen et al., 2020).
Taken together, these constructions show that time-constrained distance can denote a metric, a semi-metric, a worst-case route functional, a conformance gap, a time-to-collision field, or a sliding-window cost. The unifying feature is not a single formula but a recurrent research strategy: temporal admissibility is built into the distance definition itself, and both geometry and complexity change as a consequence.