Skip to content

The RelationalMachine is the operational instance of a relational universe R = Sh(T,J): the history site running its fiber nuclear doctrine H: T^op → HA_nucl, with the joint projection π_t = σ_t ∘ Δ_t settling propositions at each history and global sections of H* emitting newly-fixed output.
Table of contents

Relational Machine

What it is

The RelationalMachine is an IndexedAutomaton whose state is an instance of the relational universe R=Sh(T,J)R = \mathbf{Sh}(T,J): the history site (T,J)(T,J) running its fiber nuclear doctrine H:TopHAnuclH : T^{\mathrm{op}} \to \mathbf{HA_{nucl}}.

The machine’s output at each step is the global sections newly settled: Γ(Ht)Γ(Ht)\Gamma(H^*_{t'}) \setminus \Gamma(H^*_t) — the fixed propositions in HHH^* \hookrightarrow H that appear for the first time after advancing history from tt to tt'.

The four mathematical structures that constitute a RelationalMachine — one per component — are named constructs in the math, not descriptions of informal structure:

  • RelationalHistorySite (T,J)(T,J): the thin poset-category T=M(Σ,I)T = \mathbb{M}(\Sigma, I) (congruence classes of Σ\Sigma^* under the independence relation II, ordered by prefix) equipped with the Grothendieck commutation topology JJ (covering sieves = commutation partitions). This is not just a monoid: JJ is what determines the sheaf condition on HH and therefore determines RelationalHistoryFiberSaturatingNucleus σt\sigma_t.
  • RelationalHistoryFiberNuclearHeytingDoctrine H:TopHAnuclH : T^{\mathrm{op}} \to \mathbf{HA_{nucl}}: the presheaf assigning to each history tt a fiber nuclear square (Ht,σt,Δt)(H_t, \sigma_t, \Delta_t) — a finite Heyting algebra with RelationalHistoryFiberSaturatingNucleus σt\sigma_t (the sheafification projection over JJ) and RelationalHistoryFiberTransferringNucleus Δt\Delta_t (the reflection onto stimage(H(is,t))\bigcap_{s \perp t} \mathrm{image}(H(i_{s,t}))), commuting: σtΔt=Δtσt\sigma_t \circ \Delta_t = \Delta_t \circ \sigma_t. These nuclei are NOT separate params — they are structure of the doctrine functor itself, packed into the HAnucl\mathbf{HA_{nucl}} target.
  • Joint projection πt=σtΔt\pi_t = \sigma_t \circ \Delta_t: the canonical retraction HtHt=Fix(σt)Fix(Δt)H_t \twoheadrightarrow H^*_t = \mathrm{Fix}(\sigma_t) \cap \mathrm{Fix}(\Delta_t), which is itself a nucleus because σt\sigma_t and Δt\Delta_t commute. πt(a)\pi_t(a) is the joint closure of aa — the minimum element of HtH^*_t above aa, equivalently Saturate(Transfer(a))\mathrm{Saturate}(\mathrm{Transfer}(a)) in RelationalHistoryFiberDoctrineLanguage. Commutativity is required here: without it the composite need not be a nucleus and the four nuclear square positions do not cohere.
  • Global sections Γ(H)\Gamma(H^*): fixed propositions in R=Sh(T,J)R = \mathbf{Sh}(T,J) — sections 1H\mathbf{1} \to H^* of the fixed subobject HHH^* \hookrightarrow H, equivalently opens of the invariant locale Phase. The machine emits Γ(Ht)Γ(Ht)\Gamma(H^*_{t'}) \setminus \Gamma(H^*_t): the propositions that crossed the threshold from unsettled to doubly-stable between two history steps.

The machine implements this structure. It MUST be organized into four components, one per mathematical role above. See relational-machine-math-diagram for the full set-level class diagram and relational-machine-c4-diagram for the C4 architecture view.


Four-component architecture

Input Boundary

Mathematical role: (T,J)(T, J) — the history site, presented by the step set Σ\Sigma with independence relation II, carrying the Grothendieck commutation topology.

The input boundary is constituted by three distinct components, each named:

  • RelationalMachinePort — the step set (Σ,I)(\Sigma, I): the typed vocabulary of inputs the machine accepts and the commutation relation that makes order of independent steps irrelevant.
  • RelationalMachineInterface — the exposed boundary through which outside agents submit steps; the foot of the patch site inclusion where external content enters.
  • RelationalMachineSteppingMap — the family of maps γt:X(t)X(st)\gamma_t : X(t) \to X(s \star t) that advance the carrier’s state when a step ss is received.

The full interaction type — what the machine accepts and what it returns — is the RelationalMachineArena.

DataStore

Mathematical role: H:TopHAnuclH : T^{\mathrm{op}} \to \mathbf{HA_{nucl}} — the fiber nuclear doctrine over the history site.

The DataStore carries the RelationalHistoryFiberNuclearHeytingDoctrine across all histories. At each tt it holds the full fiber HtH_t and the settled sub-algebra Ht=Im(πt)H^*_t = \mathrm{Im}(\pi_t). It exposes restriction maps H(f):HtHtH(f) : H_{t'} \to H_t for each extension f:ttf : t \to t' in TT. Both nuclei σt\sigma_t and Δt\Delta_t are structure of HH — they are not held separately.

Engine

Mathematical role: πt=σtΔt\pi_t = \sigma_t \circ \Delta_t — the joint projection retraction.

The Engine applies the joint projection to HtH_t to produce Ht=Fix(σt)Fix(Δt)H^*_t = \mathrm{Fix}(\sigma_t) \cap \mathrm{Fix}(\Delta_t). The commutativity σtΔt=Δtσt\sigma_t \circ \Delta_t = \Delta_t \circ \sigma_t is required: it is what makes πt\pi_t itself a nucleus (not just a composite of nuclei), so that HtH^*_t has a nucleus reflection from HtH_t rather than merely existing as a set-theoretic intersection. Without commutativity the nuclear square does not cohere and there is no Engine.

The Engine runs Transfer-then-Saturate: the canonical term order in RelationalHistoryFiberDoctrineLanguage is Saturate(Transfer(M))\mathrm{Saturate}(\mathrm{Transfer}(M)), encoding the temporal direction — settle MM against what all extensions share first, then close against what accumulated history forces.

Observation Layer

Mathematical role: Γ(H)\Gamma(H^*) — global sections of the fixed subsheaf in R=Sh(T,J)R = \mathbf{Sh}(T,J).

The Observation Layer computes sections 1H\mathbf{1} \to H^* of the fixed subobject HHH^* \hookrightarrow H in RR. A global section is a compatible family (at)tT(a_t)_{t \in T} with atHta_t \in H^*_t and H(f)(at)=atH(f)(a_{t'}) = a_t for all extensions f:ttf : t \to t' — equivalently, an open of the invariant locale Phase. The machine’s output at each step is Γ(Ht)Γ(Ht)\Gamma(H^*_{t'}) \setminus \Gamma(H^*_t): the fixed propositions newly settled since the previous step.


Correspondence table

Math object Component Role
(Σ,I)(\Sigma, I) — step set with independence RelationalMachinePort Names the typed input vocabulary
(T,J)(T, J) — history site Input Boundary Base site for all sheaf constructions
ι:UT\iota : U \to T — patch inclusion foot RelationalMachineInterface Exposed boundary where steps enter
γt:X(t)X(st)\gamma_t : X(t) \to X(s \star t) — coalgebra map RelationalMachineSteppingMap Advances carrier state by one step
H:TopHAnuclH : T^{\mathrm{op}} \to \mathbf{HA_{nucl}} — fiber doctrine DataStore Carries fibers, restriction maps, both nuclei
πt=σtΔt\pi_t = \sigma_t \circ \Delta_t — joint projection Engine Retracts HtH_t onto HtH^*_t; requires commutativity
Γ(H)\Gamma(H^*) — global sections of HH^* in RR Observation Layer Emits newly settled fixed propositions

Peer connection

Two relational machines MAY be connected by a structure-preserving map between their fiber systems — conjecturally a geometric morphism. Connected machines could synchronize histories and share settled sections.

The connection is unformalized. The correct category of morphisms between fiber Heyting algebra systems over different monoids remains open.


Relationship to the two towers

The relational machine implements the depth-filtration tower: building RR within a fixed history monoid MM. It does NOT implement the hyperverse tower (iterating UHU_H across universes to build H\mathcal{H}). These MUST NOT be conflated.


Open questions

  • What is the right category of morphisms between relational machines?
  • How does the independence relation II propagate across a peer connection?
  • Does the Engine run one composite pass or iterate each nucleus to fixpoint? Convergence behavior may differ.
  • What does an implementation of the hyperverse tower look like as a machine?

Relations

Ast
Date modified
Fiber doctrine
Relational history fiber nuclear heyting doctrine
History site
Relational history site
Implements
Indexed automaton
Output
Relational universe fixed proposition
Referenced by