Crosswalks

Translate a state and path between two declared representations, then measure what survived and expose what could not be mapped.

The first runnable example converts a synthetic resource quota from integer KiB to integer bytes. Its versioned fixture and exact comparison rule and SHA-256 manifest are downloadable. This is one bounded unit conversion, not evidence of general translation across organisations, minds or physical systems.

Definition PROPOSED

For each domain d, define a small path category 𝖯_d: typed states as objects, recorded transitions as generating arrows, paths as composed arrows. An adapter C : 𝖯₁ → 𝖯₂ maps objects and arrows, must preserve identities and composition, and reports anything it cannot map as UNRESOLVED.

Invariants are compared through an explicit shared target J with declared maps h_i : Obj(𝖯_i) → J. For each tested state or path the adapter checks h₂(C(s)) = h₁(s), or applies a named, versioned equivalence in J, and records witnesses and counterexamples. Calling C a functor is warranted only after identity and composition preservation have been tested over its supported scope. Translation never transfers standing: the target policy decides anew.

The runnable example CANDIDATE

Synthetic Crosswalk explorer tested

Choose a registered example. The evaluator measures the declared integer quota invariant, identity, composition and an exact reverse mapping. It takes no action and makes no authority determination.

Translation result: PRESERVED · Target authority: NOT_EVALUATED

Declared checkStatusMeasurement or loss
typed domainPASSKiB states 4 → 6 → 5; exact byte images 4096 → 6144 → 5120
identityPASSC(id(4 KiB)) = id(4096 bytes)
compositionPASSC(2 + -1 KiB) = 1024 bytes; composed images = 1024 bytes
declared invariantPASSh_A(end) = 5120 bytes; h_B(end) = 5120 bytes; |difference| = 0; tolerance = 0
round tripPASS5120 bytes → 5 KiB → 5120 bytes

A failed preservation check is a comparison failure. An UNRESOLVED mapping names a boundary of this adapter. Neither is a kernel HOLD unless a separately authorised gate evaluates a submitted action.

The downloaded record is hash-bound locally, unsigned, and not stored in a ledger. A consistent replacement of this page and fixture by its host is outside this check.

What this measures

DeclarationRegistered value
State objectsNonnegative integer quotas, with intermediate states in the exact numeric range
Generating arrows and compositionInteger quota changes; compose by addition when intermediate states remain valid
Object and arrow mapsC(n KiB) = 1024n bytes; C(Δ KiB) = 1024Δ bytes
Shared comparison targetJ = exact integer bytes; h_A(n)=1024n; h_B(m)=m
Comparator and toleranceAbsolute integer difference ≤ 0 bytes
Round tripA byte value reverses to an integer KiB state only if divisible by 1024

The exact path preserves the registered quantity. A one-byte target mutation fails the invariant comparison. A 1537-byte reverse state and an unregistered unit remain unresolved. The target’s standing, policy and authority are not evaluated. The original gate fixture still HOLDs, and a comparison result here cannot change it.

Beyond this fixture PROPOSED

An adapter for another crossing class would need its own object and arrow schemas, identities, composition, target invariant, comparator, tolerance, counterexamples, reverse coverage and independent verifier. A scored relationship may propose an edge, but only declared measurements can qualify preservation. No cross-domain adapter or general functor is established here. The natural next candidates are the workbench’s synthetic crossing classes, under the transfer tests.