State Model

Definition

The UOR state model captures evaluation context — the bindings, frames, and transitions that comprise a computation. The state/ namespace provides four mutually disjoint classes.

Classes

ClassDescription
ContextEvaluation environment (quantum level, capacity)
BindingA name bound to a typed value
FrameSnapshot of context with active bindings
TransitionChange from one frame to another

These four classes are mutually owl:disjointWith — a Context is never a Binding, a Frame, or a Transition.

Context

A Context is the runtime environment:

PropertyDescription
quantumQuantum level n of the ring
capacityMaximum number of bindings
contentAddressContent address of the context

Binding

A Binding associates an address with a value:

PropertyDescription
addressAddress within the context
contentBound value
boundTypeType of the bound value
timestampStep count when binding was created

Frame

A Frame is an immutable snapshot:

PropertyDescription
contextThe containing context (functional)
activeBindingsCount of active bindings
constraintOptional constraint on the frame

Transition

A Transition records a state change:

PropertyDescription
fromSource frame (functional)
toTarget frame (functional)
addedBindingsCount of bindings added
removedBindingsCount of bindings removed
traceComputation trace for this transition

Example Lifecycle

Context (quantum=8) → Frame-0 (0 bindings) → Transition → Frame-1 (1 binding)
                                                ↓
                                          ComputationTrace

This is validated by SHACL test test4_state_lifecycle.