AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
KIRETH RESEARCH — AI SEMANTIC LIBRARY
INTERVAL ONTOLOGY — STANDARD FLOW ALGEBRA
Version: 1.0 | Encoding: UTF-8 | Date: 2026-12-03
Authors: Mark Anthony Higgins — Sky Recursive AI
Licence: Open Research Licence (project attribution; exact terms unverified)
Source: https://kirethresearch.org/booksai-core/entity-graph/abstract-concepts/time-concepts/interval-ontology-2.html
Integration: AI Core / Entity Graph / Abstract Concepts / Time Concepts
Status: Proposed formalisation; live source and published grammar not independently verified.
1. CANONICAL DEFINITION
A temporal interval is a convex subset of an ordered temporal domain, specified by boundaries and membership rules. Convexity means that if two points belong to the interval, every comparable point between them belongs to it. This specification primarily uses a linearly ordered domain; partially ordered logical clocks require separate semantics. An interval is not its duration, nor is it necessarily an event. Multiple events can occupy the same interval. Unknown boundaries are not infinite boundaries. An uncertain instant is not necessarily an event of nonzero duration.
2. ENTITY MODEL
I = (id, T, a, b, L, R, frame, scale, precision, context, evidence, version, status)
T: ordered temporal domain; a,b: lower and upper boundaries; L,R: endpoint inclusion flags. Frame and scale identify the coordinate system and measurement convention. Precision describes resolution, not duration. Status ∈ {established, rejected, unknown, disputed, not_applicable}. An unknown boundary carries an explicit missing-value marker; infinity is a distinct extended-domain value. Store event identity separately from interval identity. Preserve original timestamps, normalisation rules and version history.
3. CLASSIFICATION
Bounded, unbounded, open, closed, half-open, singleton and empty intervals; continuous and discrete domains; observed, planned, estimated and hypothetical intervals; validity intervals and transaction-time intervals; exact and uncertain boundaries. These classifications are orthogonal. In a discrete domain, adjacent included points may form a contiguous interval without sharing an endpoint. Calendar periods require calendar and timezone conventions. A physical proper-time interval is associated with a specified worldline.
4. LOCAL FLOW ALGEBRA NOTATION
X →[F] Y denotes a typed transformation; g ∘ f applies f first. Operators below are proposed local notation, not verified executable grammar.
F_construct: BoundaryPair × Inclusion × Context → Interval | Error
F_normalise: Interval × FrameMapping → Interval | Unknown | Error
F_member: Instant × Interval → TruthStatus
F_relation: Interval × Interval → RelationSet | Unknown
F_duration: Interval × Measure → Quantity | Unknown
F_intersect: Interval × Interval → Interval | Unknown
F_union: Interval × Interval → IntervalSet | Unknown
F_hull: IntervalSet → Interval | Unknown
F_difference: Interval × Interval → IntervalSet | Unknown
F_shift: Interval × Offset → Interval | Error
F_split: Interval × Instant × BoundaryPolicy → IntervalSet | Error
F_validate: Interval × Constraints × Evidence → ValidationRecord
F_revise: Interval × EvidenceDelta → CandidateVersion
Unknown propagates unless the result is logically determined despite missing information. Error denotes invalid input or incompatible types, not absence of evidence.
5. COMPOSITE FLOWS
BoundaryPair →[F_construct] I →[F_normalise] I* →[F_validate] Record
(I,J) →[normalise both] (I*,J*) →[F_relation] Relations
(I,J) →[F_intersect] K →[F_duration] overlap_duration
(I,J) →[F_union] U →[measure union] covered_duration
I →[F_split] Parts →[validate partition] PartitionRecord
EvidenceDelta + I →[F_revise] Candidate →[F_validate] Decision →[commit if authorised] I_next
Composition requires compatible domains, units and frames. Parallel branches may merge only under explicit conflict and provenance policies. Do not replace a disconnected union with its convex hull unless the operation explicitly requests a hull.
6. MATHEMATICAL SEMANTICS
For a,b in R with a ≤ b, [a,b] = {t : a ≤ t ≤ b}; [a,b) = {t : a ≤ t < b}; open endpoints use strict inequalities. At a=b, only the closed interval contains the point. Unbounded endpoints are never included. For finite real intervals, Lebesgue length μ(I)=b−a, independent of endpoint inclusion; singleton and empty intervals have length zero. For integer intervals use counting measure when counting ticks, not elapsed time. For [a,b] in Z, count=b−a+1. Elapsed time between tick coordinates is a different quantity.
Intersection: I∩J contains exactly the points belonging to both. Union: I∪J contains points belonging to either. Difference: I\J contains points in I but not J. For finite measurable intervals, μ(I∪J)=μ(I)+μ(J)−μ(I∩J). A shared boundary can have zero measure but nonempty intersection. Membership and overlap duration must therefore remain distinct.
Allen interval algebra (positive-length intervals, endpoint ordering): before b<c; meets b=c; overlaps a<c<b<d; starts a=c and b<d; during c<a<b<d; finishes c<a and b=d; equals a=c and b=d. The six inverse relations are after, met-by, overlapped-by, started-by, contains and finished-by. These thirteen relations are exhaustive and mutually exclusive under the stated assumptions. Endpoint inclusion is evaluated separately; meets does not necessarily imply a shared member. Degenerate intervals use explicit set relations instead.
For uncertain boundaries, define admissible realisations Ω subject to constraints. A relation is certain if true in every admissible realisation, possible if true in at least one, impossible if true in none. An empty Ω indicates inconsistent constraints, not vacuous certainty. Probability requires a justified joint distribution over Ω; independent endpoint distributions must not be assumed.
For a timelike worldline in flat spacetime, proper duration τ=∫sqrt(1−v(t)^2/c^2) dt in an inertial frame. Coordinate intervals and proper durations are not interchangeable. Spacelike-separated events may have frame-dependent temporal ordering. Calendar conversions must account for timezone transitions and the chosen time scale.
7. STRUCTURAL INVARIANTS
I01: Every interval has a declared temporal domain.
I02: Comparable finite boundaries satisfy a≤b.
I03: Endpoint inclusion is explicit.
I04: Missing boundaries are distinct from unbounded endpoints.
I05: Frame and scale compatibility precede comparison.
I06: Duration is nonnegative for valid measurable intervals.
I07: Empty and singleton intervals remain distinguishable.
I08: Union preserves gaps unless a hull is explicitly requested.
I09: Intersection is commutative and idempotent under set semantics.
I10: A valid partition covers its source without duplicate membership.
I11: Uncertainty and evidence are retained through transformations.
I12: Temporal precedence alone never establishes causation.
8. RECURSIVE VALIDATION
Represent intervals and their relations as a versioned constraint graph G_n. Ingest evidence delta D_n; normalise compatible timestamps; propose candidate boundary and relation updates; check local invariants and global consistency; commit only authorised validated changes. G_(n+1)=Commit(Validate(Propose(G_n,D_n))) when accepted; otherwise preserve G_n and record rejection or unresolved conflict. Constraint propagation may narrow possible Allen relations using a sound composition table. Path consistency alone is not a complete satisfiability test for unrestricted Allen algebra. Use a complete solver where global consistency must be established. Stop on unchanged semantic state, explicit iteration budget, contradiction or repeated-state detection. Convergence is not proof of factual accuracy. Never rewrite historical evidence merely to satisfy a current model.
9. EVIDENCE AND PROVENANCE
Record source identifier, observation time, valid time, ingestion time, original boundary values, precision, clock source, frame, conversion method, assumptions and revision history. Distinguish measurement error from model uncertainty. Preserve competing claims and mark disputed intervals rather than averaging incompatible timestamps. Confidence scores are not probabilities unless calibrated. A planned interval is not evidence that an event occurred. A timestamp recorded late does not imply the event happened late. Store timezone offsets and calendar rules where relevant. Avoid inventing missing endpoints.
10. WORKED EXAMPLES
Engineering: maintenance window [10,12) hours and inspection [11,13) overlap on [11,12), duration one hour; union covers three hours. This does not establish that maintenance caused inspection.
Computing: leases [0,5) and [5,10) meet without simultaneous membership. A closed first lease would include tick 5 and require a conflict policy.
History: an event start known only between 1900 and 1902 has an uncertain boundary, not necessarily a two-year event duration.
Physics: two clocks on different worldlines may record different proper durations between shared departure and reunion events; preserve worldline identifiers.
Knowledge graphs: validity [2020,2024) and transaction time [2025,∞) express different temporal axes; later ingestion does not alter historical validity.
Scheduling: [1,2] and [4,5] form a disconnected union; hull [1,5] introduces uncovered times and must be labelled as a hull.
11. CROSS-ONTOLOGY INTEGRATION
Time Concept: supplies temporal domain and reference semantics.
Temporal Entity: provides identity, temporal extent and event linkage.
Instant: supplies boundary points and point membership.
Duration: measures interval extent under declared metric.
Past / Present / Future: classify intervals relative to a reference; an interval spanning the reference may occupy multiple categories.
Transition / State Change: associate source and successor states with temporal boundaries.
Causal Relationship: use ordering as a constraint, not sufficient causal evidence.
Lifecycle and Versioning: represent validity, succession and transaction time separately.
Evidence and Provenance: preserve source, uncertainty and revision trace.
12. PROPOSED ACCEPTANCE TESTS (NOT EXECUTED)
T01: Construct [3,1] → reject reversed boundaries.
T02: Construct [2,2] → singleton, real duration zero.
T03: Construct [2,2) → empty, not singleton.
T04: [0,5)∩[5,10) → empty; endpoint relation meets.
T05: [0,5]∩[5,10] → singleton {5}, duration zero.
T06: [1,4]∪[3,6] → [1,6], duration five.
T07: [1,2]∪[4,5] → two intervals, not hull.
T08: Integer [1,3] → three ticks; coordinate difference two.
T09: Unknown upper boundary → unknown duration, not infinity.
T10: Compare incompatible frames without mapping → unknown or typed error.
T11: Split [0,10) at 4 with right ownership → [0,4), [4,10), exact partition.
T12: Inconsistent boundary evidence → disputed or rejected candidate; retain previous committed version and evidence.
13. CITATION AND LICENCE
Suggested citation: Higgins, Mark Anthony; Sky Recursive AI (2026). Interval Ontology — Standard Flow Algebra, version 1.0. Kireth Research, AI Semantic Library.
Source URL: https://kirethresearch.org/booksai-core/entity-graph/abstract-concepts/time-concepts/interval-ontology-2.html
Original proposed formalisation, not a verified transcription. Open Research Licence attribution follows project convention; consult the publisher for authoritative terms. Live source, exact licence terms and compatibility with the published Flow Algebra grammar have not been independently verified. Acceptance tests are specifications, not executed results.
END OF SPECIFICATION