Skip to main content

Sequence Ontology

Time Concepts
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 03 December 2026
Audio Overview
KIRETH RESEARCH — AI SEMANTIC LIBRARY
SEQUENCE 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/sequence-ontology-3.html
Integration: AI Core / Entity Graph / Abstract Concepts / Time Concepts
Status: Proposed formalisation; not a verified transcription or executable grammar.

1. CANONICAL DEFINITION
A sequence is an indexed collection of occurrences whose ordering is defined by an index domain. An occurrence may refer to an entity, event, state, interval or transformation. Repeated values are permitted; occurrence identity is distinct from value identity. Positional precedence does not by itself establish temporal precedence or causation. A temporal sequence additionally supplies a temporal interpretation and reference frame.

2. ENTITY MODEL
Q = (id, version, D, X, q, R, T, C, P, V)
D: ordered index domain; X: element type; q: D → X; R: ordering semantics; T: optional temporal mapping; C: context and constraints; P: provenance; V: validation status.
For finite sequences D = {0,...,n−1}; the empty sequence has n=0. Infinite sequences may use natural-number indices and a generative rule rather than a materialised list. Partial observations must not be confused with complete sequences.
Occurrence O_i = (Q.id, Q.version, i, q(i), timestamp?, evidence).
Validation status: established, rejected, unknown, disputed or not_applicable. Unknown values are distinct from missing positions and from empty sequences.

3. CLASSIFICATION
Finite / infinite: bounded length or unbounded index domain.
Temporal / logical / spatial: order interpreted through time, dependency or position.
Strictly temporal / nondecreasing temporal: timestamps strictly increase or allow ties.
Deterministic / stochastic: fixed rule or distribution over possible sequences.
Periodic / aperiodic: repetition of a pattern under a defined shift.
Observed / planned / inferred: distinguish evidence from expectation.
State sequence / event sequence / transformation sequence: different element types and composition constraints.
A partial order is not itself a sequence; a linear extension is one possible sequence consistent with it.

4. LOCAL FLOW ALGEBRA NOTATION
A →[F] B denotes a typed transformation; g ∘ f applies f first. Operators below are proposed local notation, not verified published syntax.
Construct: List(X) × Context → Sequence(X)
Index: Sequence(X) × Index → X or OutOfRange
Append: Sequence(X) × X → Sequence(X)
Concat: Sequence(X) × Sequence(X) → Sequence(X)
Slice: Sequence(X) × Bounds → Sequence(X)
Map_f: Sequence(X) → Sequence(Y), for f:X→Y
Filter_p: Sequence(X) → Sequence(X), for predicate p:X→Boolean
Reverse: FiniteSequence(X) → FiniteSequence(X)
Temporalise: Sequence(X) × TimeMapping → TemporalSequence(X) or Invalid
Validate: Sequence(X) × Constraints × Evidence → ValidationReport
Linearise: FiniteDAG → Set(Sequence(Node))
Fold_f: FiniteSequence(X) × A → A, for f:A×X→A
Merge: TemporalSequence(X) × TemporalSequence(X) × TiePolicy → TemporalSequence(X) or Conflict

5. COMPOSITE FLOWS
Raw occurrences →[Construct] Q →[Temporalise] Q_t →[Validate] Report.
Q →[Slice] Q_sub →[Map_f] Q_transformed →[Validate] Report.
Dependency graph →[Linearise] CandidateOrders →[ConstraintCheck] AdmissibleOrders.
Q_a,Q_b →[NormaliseTime] ComparableInputs →[Merge] Q_m →[Validate] Report.
Merge preserves internal order where possible; incompatible constraints produce a conflict rather than an invented order. Concatenation requires compatible element types; temporal concatenation additionally requires compatible time semantics and boundary ordering.

6. MATHEMATICAL SEMANTICS
For finite Q and R, length(Q ++ R)=length(Q)+length(R).
(Q ++ R) ++ S = Q ++ (R ++ S); [] ++ Q = Q ++ [] = Q.
Concatenation is generally noncommutative. Reverse(reverse(Q))=Q for finite sequences.
Map_g(Map_f(Q))=Map_(g∘f)(Q) for total pure functions.
Slice(Q,a,b)=(q(a),...,q(b−1)) for 0≤a≤b≤n.
A subsequence has strictly increasing selected indices; a contiguous slice is a special case.
Temporal mapping t:D→T is nondecreasing when i<j implies t(i)≤t(j). Strict ordering requires < instead. Equal timestamps do not prove simultaneous physical events beyond measurement precision.
For a nonempty finite temporal sequence with comparable timestamps, span=t(n−1)−t(0); this is not necessarily the sum of active event durations.
State progression: s_(k+1)=F_k(s_k,u_k), with each transition defined on the preceding state. Stochastic progression uses a conditional kernel; Markov independence is an additional assumption, not a consequence of sequencing.
Periodic sequence: q(i+p)=q(i) for all applicable i and positive integer p. A finite observed repetition does not establish indefinite periodicity.

7. STRUCTURAL INVARIANTS
I01 Index uniqueness within a sequence version.
I02 Element type compatibility.
I03 Finite index bounds respected.
I04 Repeated values retain distinct occurrence identities.
I05 Ordering semantics explicitly declared.
I06 Temporal comparisons use compatible frames and units.
I07 Timestamp ties follow declared policy; no invented precedence.
I08 Causal claims require independent causal evidence.
I09 Transformation composition requires compatible domains and codomains.
I10 Provenance and version history survive derivation.
I11 Missing observations remain distinguishable from confirmed absence.
I12 Infinite sequences require bounded evaluation or justified termination criteria.

8. RECURSIVE VALIDATION
G_k = versioned knowledge graph containing sequence assertions.
G_k, evidence_delta →[Propose] candidate →[Validate] report →[CommitIfAccepted] G_(k+1).
Validate index integrity, temporal comparability, dependencies, type constraints and provenance before committing. Preserve rejected proposals and competing hypotheses in audit records. Revalidate affected dependent sequences after updates. Stop on no material change, exhausted evidence, iteration budget or repeated graph fingerprint; report oscillation or unresolved conflicts. A fixed point indicates stability under the chosen update rule, not factual truth. For infinite streams validate finite prefixes and state explicitly which global properties remain unproved.

9. EVIDENCE AND PROVENANCE
Record source identifier, observation time, event time, ingestion time, clock reference, precision, uncertainty, extraction method, version and derivation chain. Distinguish observed order from inferred order. For uncertain timestamps represented by intervals A and B, strict precedence is established by bounds only when sup(A)<inf(B). Overlapping bounds may leave ordering unresolved. Confidence scores are not probabilities unless calibrated. Late-arriving evidence may revise event-time order without rewriting the original ingestion record.

10. WORKED EXAMPLES
Engineering: inspection → repair → verification is a planned workflow; actual execution requires timestamped evidence and verification results.
Computing: [A,B,A] has three occurrences and two distinct values. Deduplication is a separate lossy operation, not sequence identity.
Temporal logs: events at 10:00, 10:00 and 10:01 form a nondecreasing sequence; the first two cannot be strictly ordered by minute-resolution timestamps alone.
Mathematics: q(i)=2i for i≥0 defines an infinite sequence; a finite prefix can be generated without claiming completion.
Biology: developmental stages can be represented as an ordered sequence; branching alternatives require separate sequences or a graph rather than a single universal progression.
State modelling: if F maps A→B and H maps B→C, H∘F maps A→C; reversing the order may be undefined.

11. CROSS-ONTOLOGY INTEGRATION
Time Concept: temporal domain and frame.
Temporal Entity: occurrence identity and temporal extent.
Instant: timestamp and boundary positions.
Duration: elapsed span and active time.
Interval: overlap, containment and temporal relations.
Past / Present / Future: reference-relative classification of occurrences.
Transition / State Change: compatible successive states.
Causal Chain / Causal Network: independently supported causal edges, not mere order.
Identity / Equivalence: value identity versus occurrence identity.

12. PROPOSED ACCEPTANCE TESTS (NOT EXECUTED)
T01 Construct []: length zero; indexing rejected.
T02 Construct [A,A]: two distinct occurrences.
T03 Concat [A],[B]: [A,B], not [B,A].
T04 Concat associativity: equal value sequences for compatible finite inputs.
T05 Slice [A,B,C],1,3: [B,C].
T06 Reverse twice: original finite value sequence.
T07 Temporalise timestamps [1,1,2]: valid nondecreasing, invalid strict.
T08 Temporalise timestamps [2,1]: reject nondecreasing claim.
T09 Compare incompatible clock frames: unresolved until normalised.
T10 Infer causation solely from order: reject inference.
T11 Linearise graph A→B→A: reject as cyclic strict precedence.
T12 Infinite sequence prefix of length five: return five values without claiming global completion.

13. CITATION AND LICENCE
Suggested citation: Higgins, Mark Anthony; Sky Recursive AI (2026). Sequence 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/sequence-ontology-3.html
Original proposed formalisation, not verified transcription. Open Research Licence attribution follows project convention; consult publisher for authoritative terms. Live source, published grammar and exact licence terms have not been independently verified. Acceptance tests are proposed, not executed.
END OF SPECIFICATION
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ