Skip to main content

Previous State Ontology

State Concepts
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 04 December 2026
Audio Overview
KIRETH RESEARCH — AI SEMANTIC LIBRARY
PREVIOUS STATE ONTOLOGY — STANDARD FLOW ALGEBRA
Version: 1.0 | Encoding: UTF-8 | Date: 2026-12-04
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/state-concepts/previous-state-ontology.html
Integration: AI Core / Entity Graph / Abstract Concepts / State Concepts
Status: Proposed formalisation; published page and grammar not independently verified.

1. CANONICAL DEFINITION
A previous state is a state of a subject that precedes a specified reference state under a declared temporal or transition ordering. Previous is relational, not an intrinsic state type. A historical state need not be the immediate predecessor. A previous recorded observation need not be the actual preceding physical state. A previous database revision need not describe an earlier real-world condition.

2. ENTITY MODEL
PreviousStateAssertion = (id, subject, predecessor, reference, order, scope, branch, evidence, status, version)
State = (id, subject, configuration, validTime, recordedTime, context, modelVersion)
Order ∈ {temporal, transition, observation, revision, causal}
Status ∈ {established, rejected, unknown, disputed, not_applicable}
Scope identifies the state variables and granularity. Branch identifies the relevant execution or history. Evidence identifies observations, records or inference supporting the relation. Preserve both valid time and transaction time. A state value may recur without implying identity of its occurrences.

3. CLASSIFICATION
Immediate predecessor: no intervening state in the declared history.
Historical predecessor: any strictly earlier state in the declared ordering.
Observed predecessor: previous available observation, potentially separated by unobserved transitions.
Inferred predecessor: reconstructed using a model and evidence; uncertainty retained.
Revision predecessor: prior version of a representation, not necessarily prior physical state.
Branch predecessor: parent state within a versioned or branching history.
Composite predecessor: compatible historical configuration of multiple subsystems, with explicit synchronisation policy.

4. LOCAL FLOW ALGEBRA NOTATION
X →[F] Y denotes a typed transformation. g ∘ f applies f before g. These operators are proposed local notation, not a verified executable grammar.
F_scope: (Subject, Context, Order) → HistoryScope
F_history: (HistoryScope, EvidenceSet) → HistoryGraph
F_ref: (HistoryGraph, ReferenceIdentifier) → ReferenceState or Unknown
F_prev: (HistoryGraph, ReferenceState, Order) → CandidateSet
F_immediate: (CandidateSet, HistoryGraph, Order) → CandidateSet
F_compare: (State, State, MetricSchema) → DifferenceRecord
F_reconstruct: (ReferenceState, Model, EvidenceSet) → CandidateDistribution or Unknown
F_validate: (CandidateSet, Constraints, EvidenceSet) → ValidationReport
F_commit: (VersionedGraph, ValidationReport, Authorisation) → VersionedGraph
F_restore: (Checkpoint, CompatibilityPolicy, Authorisation) → NewState or Rejection
F_restore creates a new occurrence; it never rewrites the original history.

5. COMPOSITE FLOWS
History retrieval: F_scope → F_history → F_ref → F_prev → F_validate.
Immediate predecessor: F_immediate ∘ F_prev, with the graph and order supplied to both operators.
Change analysis: retrieve predecessor and reference → align units and schema → F_compare → validate difference record.
Reconstruction: F_reconstruct → F_validate → publish qualified candidates.
Parallel evidence streams merge by subject, branch, scope and valid time; conflicts remain explicit. Do not merge incompatible branches or select an arbitrary predecessor when multiple candidates remain.

6. MATHEMATICAL SEMANTICS
Let H=(V,E) be a directed acyclic graph of state occurrences for one declared history. Edges point from predecessor to successor. Define u ≺ v iff a nonempty directed path exists from u to v. Define immediate predecessor in the partial order by u ≺ v and absence of w with u ≺ w ≺ v. An explicit transition edge may differ from this cover relation if shortcut edges are retained; label the chosen interpretation.
Pred(v)={u∈V : u≺v}. Imm(v)={u∈Pred(v): no w∈Pred(v) satisfies u≺w}. A root has no predecessor within H; incomplete history does not prove that none exists outside H.
For a complete discrete linear sequence s_0,...,s_n, prev(s_k)=s_(k−1) for k>0; prev(s_0) is undefined within the sequence. For continuous time there is generally no immediate earlier instant. Specify a sampling interval Δt>0, event boundary or left limit where it exists.
For comparable numeric state vectors, Δx=x_ref−x_prev. Units, coordinate frames and schema must match. A distance d(x_prev,x_ref) measures change magnitude, not causal effect. A zero distance does not imply identical occurrences.
For a stochastic transition model P(y|x), prior distribution p(x), and observed reference y, posterior p(x|y)=P(y|x)p(x)/Σ_z P(y|z)p(z), provided the denominator is positive. For continuous variables replace the sum by an integral over the appropriate measure. Inverse reconstruction may be non-unique; do not assume reversibility or invertibility. A posterior depends on the model and prior and is not a historical observation.
Example: two candidate predecessors A and B with priors 0.6 and 0.4 and likelihoods 0.2 and 0.8 yield posterior probabilities 0.12/0.44 and 0.32/0.44 respectively. Neither candidate is established solely by this calculation.

7. STRUCTURAL INVARIANTS
I01 Subject identity must match or an explicit identity mapping must exist.
I02 Every assertion identifies its reference occurrence.
I03 Strict predecessor ordering is irreflexive.
I04 A strict history ordering is acyclic; repeated values use distinct occurrence identifiers.
I05 Immediate predecessor claims require sufficient ordering coverage.
I06 Branches must remain distinguishable at forks and merges.
I07 Missing evidence is not evidence of absence.
I08 Observation time, valid time and recording time remain distinct.
I09 Inferred states retain model version and uncertainty.
I10 Differences require comparable units, scope and schema.
I11 Corrections preserve prior records and provenance.
I12 Restoration requires compatibility and authorisation and creates a new state occurrence.

8. RECURSIVE VALIDATION
Let G_k be a versioned knowledge graph and D_k newly available evidence. Construct candidate C_k=Reconcile(G_k,D_k). Validate C_k against I01–I12, temporal constraints and evidence policy. Commit G_(k+1) only if authorised; otherwise retain G_k and record unresolved findings. Re-evaluate affected descendants when predecessor assertions change. Preserve conflicting claims with provenance rather than silently overwriting them.
For fixed evidence and policy, a fixed point G*=R(G*) denotes no further accepted changes under reconciliation R. Stop on semantic equality, exhausted evidence, iteration budget or repeated graph fingerprint indicating oscillation. Fixed points do not establish truth; convergence is not guaranteed. New evidence may invalidate a prior fixed point. Never infer a historical transition solely from a graph revision.

9. EVIDENCE AND PROVENANCE
Record evidence identifier, source, observation method, subject, valid-time interval, recording time, precision, branch, model version, uncertainty, validation result and revision lineage. Timestamp ties require a secondary ordering rule or unresolved ordering status. Confidence scores are not probabilities unless calibrated. Distinguish directly observed, inferred and asserted predecessor relationships. Retain original observations even when corrected. Incomplete histories must be labelled as such.

10. WORKED EXAMPLES
A. Engineering: pump readings at 09:00 and 09:05 show 40 and 45 °C. The earlier reading is the previous observation; intervening physical states are unknown. Difference is +5 °C.
B. Software: commit C has parents A and B. Both are immediate revision predecessors; neither is uniquely previous without a branch policy.
C. Physics: x(t)=t². At t=2 there is no immediate earlier real-valued instant. A sample at t=1.9 gives x=3.61 versus 4, a difference of 0.39 in declared units.
D. AI: a model checkpoint before fine-tuning is a previous parameter configuration. Loading it later creates a new execution occurrence, not a reversal of time.
E. Biology: two observations of cell morphology bound an interval of possible transitions; unobserved stages remain unknown.
F. Knowledge graph: a correction recorded today about yesterday changes transaction history without necessarily changing yesterday's physical state.
G. Workflow: a completed task returns to pending after review. The two pending occurrences share a label but differ in identity and ordering.

11. CROSS-ONTOLOGY INTEGRATION
State Concept: supplies canonical state representation.
Initial State: identifies the root relative to a declared history boundary.
Current State: supplies a reference occurrence, not necessarily the latest recorded revision.
Time Concepts: supplies temporal ordering and interval semantics.
Change and Transformation Concepts: supplies transition and difference semantics.
Identity and Existence Concepts: distinguishes occurrence identity from value equivalence.
Engineering Entity State Graph: maps predecessor assertions to versioned asset histories.
Recursive Engineering State: integrates evidence-driven updates and state lineage.
Consistency and Coherence: validate compatible historical claims and context alignment.

12. PROPOSED ACCEPTANCE TESTS (NOT EXECUTED)
T01 Linear history A→B→C: immediate predecessor of C is B; historical predecessors A and B.
T02 Root A in complete declared history: no predecessor within scope.
T03 Missing history before B: predecessor unknown, not proven absent.
T04 Merge A→C and B→C: return both candidates unless a valid branch policy narrows them.
T05 Self-edge A→A: reject strict predecessor assertion.
T06 Cycle A→B→A: reject strict ordering; distinguish repeated values as occurrences.
T07 Continuous trajectory without sampling policy: immediate predecessor undefined.
T08 Equal values at different times: retain distinct occurrence identities.
T09 Conflicting observations: preserve provenance and disputed status.
T10 Incompatible measurement units without conversion: reject difference calculation.
T11 Late correction: retain original transaction record and revise valid-time assertion explicitly.
T12 Checkpoint restoration: create new occurrence only after compatibility and authorisation checks.

13. CITATION AND LICENCE
Suggested citation: Higgins, Mark Anthony; Sky Recursive AI (2026). Previous State Ontology — Standard Flow Algebra, version 1.0. Kireth Research, AI Semantic Library.
Source identifier: https://kirethresearch.org/booksai-core/entity-graph/abstract-concepts/state-concepts/previous-state-ontology.html
Original proposed formalisation, not a verified transcription. Open Research Licence attribution follows project convention; consult the publisher for authoritative terms. Published page content, exact licence terms and grammar compatibility 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