---
title: How a Ledger Transfer Stays Bound to Its Ciphertext
description: A seven-unit transfer through Chloe van der Vlugt’s protocol, from the owner’s signed intent to recovery of the encrypted message
author: Astra 6.2 and Sol 6.2
research_date: 2026-12-01
last_updated: 2026-12-01
---
# How a Ledger Transfer Stays Bound to Its Ciphertext

<div class="edition-front">

Human oversight by **[Joshua Levy](https://github.com/jlevy)**\
Written by **Astra 6.2** and edited by **Sol 6.2**\
Explainer v0.1.0

Paper 2 by **Chloe van der Vlugt** · Source revision **eac922d4**\
[Original paper (PDF)](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper2/construction.pdf)
·
[Author’s GitHub repository](https://github.com/what-social-construct/homotopical-encrypt)

</div>

A ledger lists one live resource worth seven units.
Its owner submits a 3,524-byte packet.
The checker consumes the resource, creates a new one worth seven units for a different
owner, and records the old identifier as spent.
Even a freshly prepared packet for the same action fails against the new state.
Those are the outcomes of the finite example in Chloe van der Vlugt’s *Proof-Carrying
Transactions for Homotopical Encryption*.[^1]

Suppose the new owner also wants to read the encrypted record associated with the
transfer. Which bytes should they download?
How can they tell that those bytes encode the message produced in the original
encryption? Both questions survive a perfectly balanced ledger.
In the example, the catalogue supplies the number seven, the checked mathematical
payload represents zero, and the ciphertext slot holds the three bytes `[3, 8, 13]`.
Recovering a message from a genuine ciphertext requires more evidence than this example
exercises.[^2]

[Paper 1](homotopical-encryption-paper1-explainer.md#one-bit-example) explains how a
private projection recovers a message.
Paper 2 follows the encrypted record through a signed transfer and into the recipient’s
hands.
[Paper 3](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper3/sections/07-application-interface.tex#L1-L20)
supplies an estimate for one optional check.
The owner signs a reference to two objects, one for the mathematical check and one for
the whole ciphertext.
The accepted state transition retains that reference in its history.
A separate certificate relates the ciphertext to the original encryption.
When the named bytes are available, a recipient with the prescribed private material can
recover the original message coefficients, subject to an explicit alternative in which
the reader accepted different bytes with the same hash.[^3]

The [three-ciphertext example](#one-exact-component-three-ciphertexts) gives the
geometry from scratch.
The [accepted-update argument](#why-a-fresh-packet-still-cannot-spend-resource-0) gives
the ledger theorem. The [two security experiments](#what-the-security-bounds-measure)
specify the additional assumptions needed for claims about forgery and privacy.

Content-addressed stores already use hashes to name byte records.
Proof-carrying data gives an earlier example of attaching evidence of compliance to data
as it moves between parties.
Paper 2 uses those ideas to connect an authorized state transition to the original
encrypted object and to the private relation that opens it.[^context]

## One Exact Component, Three Ciphertexts

A **[cochain](glossary.md#cochain)** assigns a number or vector to each oriented cell,
for example a signed measurement to each edge of a network.
In the finite family used here, one list of coordinates records those measurements.
The sender chooses a geometry, puts the message along a chosen subspace, and adds two
contributions perpendicular to that subspace.
The recipient uses the private geometry to project the result back onto the message
subspace. Paper 1 calls the component that survives projection *harmonic*. The two
contributions that projection discards are called *exact* and *coexact*. They have
different jobs in the transaction.[^4]

Take the smallest case with one coordinate in each of the three blocks.
Set the private matrix $C$ to the single number $1$. The message direction is $(0,1,1)$.
A message coefficient $z$ contributes $(0,z,z)$. The exact opening $a$ contributes
$(a,0,0)$, and the coexact opening $u$ contributes $(0,-u,u)$. Adding the three vectors
gives the full ciphertext

$$
b=(a,\; z-u,\; z+u).
$$

Fix $a=1$. Here are three encryptions computed from that formula.
The recipient can recover $z$ by averaging the last two coordinates because $-u$ and
$+u$ cancel.

![Three rows fix the exact component at (1,0,0). Changing the message gives a new ciphertext, and changing only the coexact opening also gives a new ciphertext.](figures/paper2-exact-and-ciphertext.svg)

*Figure 1. All three records have the same exact component.
The first two differ in their message, and the first and third differ only in their
coexact opening. The original full ciphertext therefore needs a name of its own.*

Holding the rest of the exact artifact fixed gives identical input to any hash of that
artifact. No hash collision is needed to explain the common digest.
The full ciphertexts have different coordinates, so their canonical encodings
differ.[^4]

### Two Slots Give the Owner Something Precise to Sign

A **digest** is a fixed-length value computed from data by a hash function.
A reader who already trusts the digest of an object can check downloaded bytes by
hashing them. If different bytes pass that check, the two byte strings give a **hash
collision**, meaning that they differ but have the same digest.
This conclusion needs no assumption about how often collisions occur.
Treating deliberate substitution as infeasible requires a suitable hash function and a
security assumption.
SHA-256 is the function chosen for the paper’s concrete encrypted-cell store.[^5]

A manifest records what belongs to a bundle.
Paper 2’s **[two-slot manifest](glossary.md#two-slot-manifest)** separately names the
exact artifact and full ciphertext for one transfer.
The first contains the digest of the original
[exact artifact](glossary.md#exact-artifact).
The second contains the digest of the chosen full ciphertext bytes.
The protocol hashes a public base record together with these ordered, labelled entries
to obtain the *manifest root*. The base includes the exact payload and a context key
covering the run, schema version, snapshot root, cochain digest, topology tag, and
parameter set. Changing any field of this public base changes the input to the manifest
hash, even when the directory entries agree.
The slot labels distinguish the two objects even if a particular hash gives equal digest
values.[^6]

The parties use a **[canonical encoding](glossary.md#canonical-encoding)**, a single
prescribed byte representation for each encodable object.
The verifier can re-encode an incoming packet and check its exact public fields against
the expected values.
The raw manifest permits arbitrary bytes in its ciphertext slot, including bytes a
ciphertext decoder would reject.
The [original-observation certificate](glossary.md#original-observation-certificate)
supplies the missing interpretation.
It identifies the manifest’s context with the context of the original encryption and
establishes that decoding the full ciphertext yields the observed cochain of the
original encryption.
For the general target matrix $C$, the harmonic part of that observation is $(0,z,Cz)$.
A verifier for the exact component has a narrower claim to establish.[^3]

## The Owner, the Packet, and the New State

The ledger has a fixed **resource catalogue** that gives each identifier an owner, an
asset type, and a positive amount.
A separate *marking* $M$ counts the active copies of each identifier.
A set $U$ records which identifiers have already been spent.
The catalogue entry for resource 0 still says “seven units” after the transfer.
Its marking has fallen to zero, so it contributes nothing to the remaining inventory.
The newly active resource 1 contributes the seven units instead.[^7]

For a move $i\to j$, the checker requires that the signer match the catalogue owner of
$i$, that the identifiers differ, and that both catalogue entries specify the same asset
and amount. It requires $M(i)=1$, $M(j)=0$, and neither identifier in $U$. The action
itself determines that the only identifier to mark spent is $i$. On the mathematical
side, the checker compares the configured snapshot root with the source state and
recomputes the exact payload’s digest.
The configuration supplies the binding between the state’s topology and the snapshot
used to interpret that payload.[^7]

### What the Owner Authorizes

The pre-proof draft fixes a parent and the roots of the before-state content and
computed successor content.
The [signed intent](glossary.md#signed-intent) records the action the owner authorizes.
It includes that draft, the transfer, the original public base, the source evidence
root, and the two-slot manifest root.
The packet carries metadata identifying the statement and verification policy, the
intent, the owner’s signature, and the payload proof.
The protocol can now compute the evidence digest and complete the proposal.
The bytes used to compute a digest exclude the digest field itself.[^8]

The verifier reconstructs the expected intent from its own configuration and source
state. It parses the submitted bytes, checks their canonical re-encoding, compares the
metadata and intent with the expected values, and invokes the configured signature and
payload verifiers on this packet.
In the demonstration, changing the manifest root fails even when the altered intent
carries its matching fixture signature.
Its signed root differs from the expected root.[^8]

### Why a Fresh Packet Still Cannot Spend Resource 0

Assume the authorization check justifies the signer’s authority for the intent it
accepted. Assume the payload check justifies acceptance of the exact payload in the
original interpretation.
Proposition 4 then derives a valid candidate from the checked packet and yields its
*computed* successor.
Only two marking entries change.
Removing one copy of $i$ and inserting one of $j$ preserves the total of every asset
because the catalogue values match.
The spent set becomes $U\cup\{i\}$. If the initial state had at most one copy per
identifier and no spent identifier was active, the successor has those properties
too.[^9]

![A three-stage flow checks the expected intent and manifest, spends R0, and creates R1 with the same seven units. A changed manifest fails intent matching. A new attempt to use R0 fails against the successor.](figures/paper2-transfer-checks.svg)

*Figure 2. The fixture catches a changed manifest during the packet check.
Once the transfer succeeds, the computed state catches both a replay and a newly
prepared attempt to spend the same resource.*

Replaying the original packet against the successor fails.
Preparing a new draft using the successor’s parent and evidence root still leaves
$M(0)=0$ and $0\in U$. No choice of proposal restores the missing input.
This is a statement about a transition from a specified state.
A network with competing histories needs its own mechanism for agreeing which state to
extend.[^9]

The byte-owner fixture uses deterministic authorization bytes and accepts its fixed
proof byte for the canonical zero payload.
It exercises parsing, exact intent matching, checking, and the computed state change.
Lean also proves that executable acceptance agrees with the specified check and that the
state returned is the specified successor.
Those proofs connect the byte-level example to Proposition 4.[^2]

## What the Recipient Needs After a Restart

A **[content-addressed record](glossary.md#content-addressed-record)** is named by a
digest of its complete bytes.
The store indexes the entire encrypted cell under its SHA-256 digest.
A reader fetches at that address and hashes the *whole response*, including all the
bytes that will go to the decoder.
A separate ordered cell directory maps cell identifiers to content addresses.
Its trusted root covers the context and the complete directory.
The reader rejects duplicate identifiers.
Two verified fragments of one directory then agree on each identifier they share and
have a unique combined lookup.
For separately verified directories under the same context and root, conflicting entries
would give a collision on the directory encodings.[^10]

For the storage and recovery path, consider a transfer carrying a certified native
ciphertext. After the transfer, the recipient closes the client and opens it on a new
machine. A disk file bearing the name “latest checkpoint” cannot by itself tell them
whose history it describes.
The paper’s local writer checks the directory and all named objects before atomically
publishing the checkpoint.
On restart, the reader obtains an independent *pin*, the expected context and directory
root. It checks the checkpoint against the pin, verifies the directory, then hashes the
requested object. Atomic publication lets a reader reopen a complete checkpoint after a
process restart.
The filesystem backend still has to perform the synchronization required
for durability through power loss.[^11]

### Which Bytes the Recipient Can Read

For native recovery, call the source presentation $B$ and the target presentation $C$. A
**[scoped delivery token](glossary.md#scoped-delivery-token)** carries the rational
transport map derived from the two private presentations.
It names the recipient, source and target epochs, and the context keys at both ends.
On a genuine source sample, the issued token lets migration produce the canonical target
bytes for the same coefficients and openings.
To read target bytes using retained source material, the recipient also needs the
private source presentation $B$. The Lean reference model checks the scope, token
encoding and digest, and ciphertext digest before applying the rational map.[^13]

Proposition 1 puts these pieces together.
Start with a checked transfer, the native certificate for its original observation, the
canonical issued token for this scope, a well-formed runtime, and the original target
bytes among the available downloads.
The intent and the computed history name the same manifest.
Recovery returns the original $z$, or the content check accepted different ciphertext
bytes with the original digest.
Token substitution has a separate result.
A party must still authenticate the recipient and deliver the token confidentially.
The scope check can reject a wrongly labelled request.
A recipient who already has the matrix material can copy it.
The catalogue’s designation of an output owner and the application’s authorization to
receive this private material are separate decisions.[^3]

### How a Replica Verifies the History

The paper also specifies how to replay the ledger on a fresh replica.
A public stack manifest binds the cell directory to the public snapshot descriptor,
original cochain, and accepted proposal and verdict.
The proof-packet archive supplies the checked bytes and the ciphertext’s cell ID.
Starting from a trusted historical before-state and verifier configuration, the replica
reconstructs the signed manifest, checks the packet, and compares the recomputed vote
target. The successor becomes the input to the next archived transfer.
Objects already present and verified can be reused.
The replica activates the new history after every step passes.
A separately authenticated ledger checkpoint can shorten this process.
The replica verifies that the old ordered list of archive roots is an exact prefix of
the new list, then checks only the suffix from the checkpoint state.[^12]

Retrieval and recovery use different information.
A direct remote lookup reveals the requested digest to the store.
A reader can instead fetch a whole public bucket and select the record locally, at the
bandwidth cost of the bucket.
Either reader still checks the digest of the complete selected object.
For a fixed setup and transfer, the released view is a function of the public base,
ciphertext digest, owner signature bytes, and payload-proof bytes.
Different public input IDs distinguish releases, and repeated digests can link records.
A privacy claim depends on what the observer is allowed to see.[^10]

## What the Proof Verifier Checks

The owner’s signature covers an intent.
The verifier also needs to know *which proposition* a proof concerns.
A **[certificate subject](glossary.md#proof-subject)** is the canonical public record
that identifies the claim being checked.
It includes the full pre-proof intent, proof metadata, the computed ciphertext digest,
the selected verification profile, a claim tag, and any required calibration.
Here a *profile* selects the interpretation and checks to run.
The subject’s encoding leaves out the evidence root that will later name its proof.
A particular proof can thus be submitted and hashed without putting its digest inside
itself.[^14]

One optional profile follows a projection from committed data through a geometric
representation to an error-correcting code.
It asks whether data far from validity at the start remain far at the end.
Each **evidence leaf** encodes one public subject together with its submitted proof
bytes. Seven leaves form a single ordered bundle.
The *hard* level checks the first five claims.
These concern the projection stage, its source metric, the metric of an intermediate
geometric representation, whether the downstream quantities respect equivalence in the
public representation, and agreement with the intended interpretation.
*Naturality* adds the sixth claim, which checks two ways of following the projection.
Restricting to a piece before projecting must agree with restricting the projected
result. Computing the residual that tests the code’s constraints must likewise agree
along both routes.
The *final* level adds the seventh claim about data far from validity.
Its finite rational calibration has to realize the actual four near and far thresholds
of the mathematical certificate.[^14]

A [predecessor gate](glossary.md#predecessor-gate) requires earlier checks on the same
bundle. Reaching the final level means passing all seven checks on *this bundle*. The
checker rejects a sixth entry carrying a different intent, and it requires the fifth
check to pass. For each entry it checks the submitted proof bytes against the expected
subject. Whether proof bytes can pass for multiple subjects depends on the configured
verifier.
The guarded transfer also compares all seven computed leaf digests and the root
with the actual evidence database retained by the selected record.
A formal statement relates the decoded subject to a mathematical certificate for the
original objects. Proposition 2 says that successful checking supplies that certificate
or identifies a false acceptance by the configured backend on the actual submitted
proof.
It preserves the distinction between executing the right checks and trusting their
cryptographic soundness.[^15]

### The Optional Paper 3 Challenge

A different optional check concerns a pair of columns derived from the retained cochain
payload. Paper 3 studies how well such columns agree with a **Reed–Solomon code**, whose
words list the values of low-degree polynomials at a fixed set of points.
The verifier keeps the two columns fixed before choosing a random multiplier.
The [scalar fold](glossary.md#scalar-fold) combines the columns $v,w$ into the single
word $v+\gamma w$.[^16]

A four-site example makes the strict test visible.
Work modulo $5$ at the points $1,2,3,4$ and use affine polynomials $p(X)=a+bX$ as the
valid words. Let both columns be the values of $X^2$, namely $(1,4,4,1)$. For challenges
$0,1,2,3$, the fold is a nonzero multiple of $X^2$. An affine polynomial can agree at
any selected two points by interpolation, and agreement at three would give a nonzero
quadratic three roots.
The minimum disagreement is therefore two.
At challenge $4=-1$ the fold is zero, giving zero disagreements.
With the strict threshold of two, only one of the five challenges passes this scalar
check.

![Two identical quadratic columns over the integers modulo five produce five folds. Their minimum edit counts to an affine word are 2, 2, 2, 2, and 0. Only multiplier −1 cancels both columns.](figures/paper2-one-scalar-challenge.svg)

*Figure 3. The original pair stays fixed.
A single multiplier cancels both columns, so a reader who sees only that fold sees a
valid word. The verifier also checks the original packet in the manuscript’s protocol.*

The manuscript uses 4,096 positions in the field of integers modulo 12,289 and allows
polynomials of degree below 1,024. The verifier fixes an integer disagreement threshold
$r$ before drawing a uniform challenge $\gamma$. In the systematic layout, validity
means that both columns are Reed–Solomon codewords.
Counting whole-site changes charges one edit wherever either column changes.
The minimum fraction of whole sites requiring an edit is at least the normalized count
of scalar entries requiring change.[^metric-handoff]

The response echoes $\gamma$, supplies a polynomial and a packet, and must pass the
original packet check.
The verifier reads the entire folded word and requires **fewer than** $r$ disagreements
with the proposed polynomial.
A challenge is *bad* for this pair if some set of at least $4096-r$ positions admits
agreement with a scalar codeword, yet no pair of codewords agrees with both columns on
those same positions.
Paper 3 calls the corresponding same-set property *mutual correlated agreement*. When
the original [modular cochain distance](glossary.md#modular-cochain-distance) is at
least $r/4096$, Proposition 3 bounds the probability that any response succeeds by the
fraction of bad challenges.
The response may depend on $\gamma$.[^16]

The same calculation gives an exact probability for one pair in the paper’s 4,096-site
profile. Let both columns evaluate $X^{1024}$. For $\gamma\ne-1$, the fold evaluates
$(1+\gamma)X^{1024}$. Subtract any polynomial of degree below 1,024. The nonzero
difference has degree 1,024, hence at most 1,024 roots.
At least 3,072 positions disagree, which fails the strict test whenever $1\le r\le3072$.
At $\gamma=-1$ the columns cancel and the zero polynomial agrees everywhere.
**If a packet passes the original checker**, the probability that some response passes
in this example is exactly $1/12289$. That number applies to this fixed pair and this
range of radii. Running the protocol requires an authenticated challenge, a source of
randomness and persistent session state to enforce one draw per retained attempt.[^16]

## What the Security Bounds Measure

A checked transfer can still depend on a weak signature algorithm or disclose enough
information to read the message.
The paper studies these questions in two different experiments.
Each uses a **witness**, private data that satisfy a specified public relation.
In this case the witness contains source and target matrices $B,C$, the message
coefficients $z$, the openings $a,u$, and a salt $s$. A finite program fixes the matrix
dimensions, an absolute integer-coordinate bound $K$, and the salt’s byte length.
It checks canonical encodings, those bounds, and the public names derived from the
witness.[^17]

### A Forgery Bound for the Raw Matrix Hash

The first profile publishes three names.
One hashes the salted source credential, one hashes the target matrix’s canonical
encoding, and one hashes the full target ciphertext bytes.
The credential relation checks all three.
The same witness satisfies the geometric relation no matter which transfer it is used to
authorize. Binding a signature to a particular intent therefore requires a proof
primitive that binds the credential *and* the complete signing message.
This is the purpose of a **signature of knowledge**. A holder signs a message using a
witness for a public statement.
Chase and Lysyanskaya’s security game is the precedent the paper follows.[^18]

In the experiment, an adversary can request up to $q$ signatures and choose each request
after seeing earlier answers.
It wins by producing an accepted signature on a credential-and-message input that was
never queried. One version of the experiment explicitly gives the adversary the full
ciphertext as well as its digest.
A **[common reference string (CRS)](glossary.md#common-reference-string)** supplies
shared parameters for the proof system.
The analysis compares real signatures with ones generated using a simulated setup, then
uses an *extractor* to try to recover a valid private witness from a fresh forgery.[^18]

Theorem 6 bounds the probability of a fresh real forgery by the sum of five quantities.
The first caps how much the real fresh-forgery probability can exceed the simulated one.
The second counts fresh, verified simulated forgeries for which extraction fails to
return a valid witness.
If extraction succeeds, the resulting witness has to match the public target-matrix hash
and ciphertext digest.
Matching the original bytes in both places recovers the original coefficients by Paper
1’s decoder. Otherwise there is a collision in one of the two byte hashes.
These three possibilities supply the remaining terms.
The sum needs no independence assumption.
The paper leaves the numerical size of its terms to the selected primitive and
distribution, including how hard it is to recover the original coefficients from the
*raw-root signing transcript*.[^19]

An approval from an authenticated quorum of committee members fixes which verifier
configuration may run.
The approval covers the proposal containing a digest of the registration descriptor.
That descriptor names the exact program, verification key, CRS, proof metadata,
parameters and applicable scope.
The checker compares the expected program, parses the approved key and CRS, and checks
applicability in the current epoch.
For the paper’s single-credential application adapter, the submitted signer must have
the challenged key. Given the original-object and approved-setup equations, a freshly
accepted completion of the adversary’s returned target is a forgery in that same
experiment.
A consensus finality proof and evidence that the approved code implements the
intended relation are separate requirements.[^20]

### Can an Observer Recover the Whole Message?

The second profile adds a private 32-byte **nonce**, a value sampled for the
target-operator commitment.
The snapshot root is now a commitment to the target matrix and nonce together.
The source credential and ciphertext digest keep their roles.
Distinct versioned encodings select this relation and its owner checker.
Substituting this commitment for the raw matrix hash changes the adversary’s public
input. Theorem 6 was derived for the earlier input.[^21]

The new experiment asks how often a decoder recovers an entire uniform $n$-bit message
from Paper 1’s one-use fresh-sign family.
The decoder is allowed a declared disclosure $L(k)$ about the private sign key.
It can see the native instance, ciphertext and the transfer release.
In the [release simulation](glossary.md#release-simulation), a simulator attempts to
produce the signature and payload-proof bytes that would accompany the public data.
A public template fixed for each value of the disclosure supplies the exact artifact and
other public fields.
The intended release requires an exact artifact independent of the message.
The simulator and decoder share the ideal byte-hash oracle, whose cache retains prior
answers.
Suppose their query budgets are $S$ and $Q$. The experiment counts all attempts,
including failed releases.
Proposition 5 assumes the actual and simulated prefixes are within total variation
distance $\varepsilon$ jointly on the hidden message, disclosure, public instance and
ciphertext, optional release, and live oracle cache.
It bounds the recovery probability $p$ by the following expression.[^21]

$$
p \le \frac{|\operatorname{im} L|}{2^n}+\frac{S+Q+2}{256^{32}}+\varepsilon.
$$

The numerator of the first term counts the distinct values the key disclosure can
reveal. With one disclosure value, the first term is $2^{-n}$. The second accounts for
oracle queries, including two honest digest calls, at the scale of the 32-byte nonce
space.
The last term bounds the change in the probability of any event, including correct
recovery. Two transcripts can look alike in isolation and still have different
correlations with the hidden message.
Proving a small $\varepsilon$ for actual proof generation is unfinished work.
So are enforcing fresh geometry at issuance and protecting or retiring the corresponding
private material.[^21]

## What an Implementation Still Needs

### How Field Arithmetic Represents an Integer Ciphertext

The native relation asks about bounded integers, while many proof engines check
equations in a finite field.
In arithmetic modulo $17$, for example, the integers $1$ and $18$ represent the same
field element. A field equation alone cannot enforce the requirement that a decoded
integer lie between $-3$ and $3$.[^22]

In the general construction the ciphertext is $(a,z-C^{\mathsf T}u,Cz+u)$. For a matrix
$C$ with $m$ rows and $n$ columns, these equations use $2mn$ products and $n+m+1$ linear
equations. Each wire has an integer bound $K_w$. To check a wire $x$, the circuit
supplies the binary digits of two nonnegative numbers, $x+K_w$ and $K_w-x$, and requires
their sum to be $2K_w$. Each digit $e$ satisfies $e(e-1)=0$. With the paper’s lower
bounds on the prime modulus, the digit sums and equation errors are too small to wrap
around modulo the prime.
Every satisfying assignment to the field wires then lifts to a unique bounded assignment
to the integer wires, and its coordinates satisfy the original encryption equations.
The uniqueness applies to that whole assignment, including its private inputs.[^22]

A proof engine for the transaction still has to bind these same integers to the witness
bytes, enforce the salt or nonce and hash computations, and connect the resulting public
names to the approved verifier.
A deployment promising an encrypted seven-unit payment has one further obligation.
It must define how the recovered coefficients encode the amount and check their
agreement with the catalogue value of the resource the ledger consumes.
The reference transfer and the native recovery theorem give that application precise
objects on each side of the comparison.[^22]

## Source Notes

[^metric-handoff]: [Paper 3’s systematic distance comparison](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper3/sections/07-application-interface.tex#L1-L20).

[^context]: [Benet’s IPFS paper](https://arxiv.org/abs/1407.3561) and
    [Chiesa and Tromer’s proof-carrying data paper](https://cs-people.bu.edu/tromer/papers/pcd.pdf).

[^1]: [Van der Vlugt, *Proof-Carrying Transactions for Homotopical Encryption*](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper2/construction.pdf)
    (source revision `eac922d4`).
    [Section 4, the reference execution](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper2/sections/owned-transfer.tex#L73-L89).

[^2]: [Byte-owner fixture, authorization and zero-payload verifier](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/lean/Protocol/Transfer/Owned/DemoFixture.lean#L90-L125)
    and
    [raw bytes, changed manifest, and replay attempts](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/lean/Protocol/Transfer/Owned/DemoFixture.lean#L132-L185).

[^3]: [Paper 2, Proposition 1 and proof](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper2/sections/coupled-construction.tex#L176-L226).
    The Lean statement
    [`CheckedTransfer.native_history_recovery`](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/lean/Protocol/Transfer/Native.lean#L76-L113)
    makes the context, availability and issued-token hypotheses explicit.

[^4]: [Paper 1, the integral ciphertext map and exact byte recovery](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/03-coupled-encryption.tex#L265-L306).
    The three scalar cases above specialize that formula.
    [Paper 1 companion, “The Construction”](https://jlevy.github.io/thinking/explorations/homotopical-encryption-paper1-explainer.html#the-construction).

[^5]: [NIST, *Secure Hash Standard*](https://csrc.nist.gov/pubs/fips/180-4/upd1/final)
    and
    [the store’s SHA-256 read and collision alternative](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/lean/Protocol/Storage/EncryptedCell.lean#L37-L85).

[^6]: [Paper 2, base view and public disclosures](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper2/DRAFT.md#L63-L111),
    [context key fields](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/lean/Protocol/Storage/Context.lean#L30-L64),
    and
    [the ordered manifest and its root preimage](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper2/sections/coupled-construction.tex#L176-L191).

[^7]: [`OwnedResource.Catalog`, the marking and transfer checks](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/lean/Protocol/Ledger/OwnedResource.lean#L28-L96),
    [the seven-unit catalogue](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/lean/Protocol/Ledger/OwnedResource.lean#L218-L232),
    and
    [the executable prechecks](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/lean/Protocol/Transfer/Owned/Executable.lean#L120-L146).

[^8]: [Paper 2, packet assembly and verification](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper2/sections/owned-transfer.tex#L17-L33),
    [the executable draft and intent](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/lean/Protocol/Transfer/Owned/Executable.lean#L83-L116),
    and
    [packet verification](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/lean/Protocol/Transfer/Owned/Executable.lean#L171-L191).

[^9]: [Paper 2, Proposition 4 and proof](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper2/sections/owned-transfer.tex#L35-L59),
    [the accepted-update and replay theorems](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/lean/Protocol/Transfer/Owned.lean#L207-L252),
    and
    [`Executable.successor_eq` and `run`](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/lean/Protocol/Transfer/Owned/Executable.lean#L229-L259).

[^10]: [Paper 2, cell lookup and verified directory fragments](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper2/sections/coupled-construction.tex#L83-L100),
    [disclosure in a direct or whole-bucket read](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper2/sections/coupled-construction.tex#L145-L148),
    and
    [four varying inputs to the released transfer](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper2/sections/coupled-construction.tex#L228-L237).
    [The fixed-transfer view](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/lean/Protocol/Transfer/PublicAssembly.lean#L155-L164)
    and
    [public input ID distinction](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/lean/Protocol/Transfer/Confidentiality.lean#L117-L141).

[^11]: [Paper 2, restart and independent checkpoint pin](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper2/sections/coupled-construction.tex#L102-L108)
    and
    [reference checkpoint publication and read operations](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/lean/Protocol/Storage/CellDirectory/Persistence.lean#L31-L66).

[^12]: [Paper 2, public stack, historical replay and authenticated continuation](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper2/sections/coupled-construction.tex#L110-L143)
    and
    [the checkpoint continuation procedure](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/lean/Protocol/Storage/PublicStack/Continuation.lean#L36-L64).

[^13]: [Paper 2, scoped token delivery](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper2/sections/coupled-construction.tex#L150-L174),
    [the scoped migration and retained-source recovery operations](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/lean/Protocol/Ephemeral/NativeDelivery.lean#L92-L138),
    and
    [whole-object recovery or an accepted collision](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/lean/Protocol/Storage/Retrieval/Native.lean#L86-L116).

[^14]: [Paper 2, the public subject, calibration and evidence levels](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper2/sections/coupled-construction.tex#L239-L288),
    [all seven claim tags](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/lean/Protocol/Transfer/Certificates/Evidence.lean#L155-L202),
    and
    [the restriction and residual equalities](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/lean/Proximity/Concrete/Gates.lean#L415-L467).

[^15]: [Paper 2, Proposition 2 and the guarded database](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper2/sections/coupled-construction.tex#L290-L319)
    and
    [the theorem identifying the actual terminal proof](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/lean/Protocol/Transfer/Certificates/Projection.lean#L359-L387).
    [Bundle entry verification](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/lean/Protocol/Transfer/Certificates/Bundle.lean#L159-L177).

[^16]: [Paper 2, Proposition 3 and its example](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper2/sections/coupled-construction.tex#L321-L373),
    [the exact diagonal acceptance theorem](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/lean/Protocol/Transfer/Certificates/SampledMCA.lean#L166-L205),
    and
    [Paper 3’s two-column agreement condition](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper3/sections/01-introduction.tex#L36-L55).

[^17]: [Paper 2, the bounded witness, program and three public hashes](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper2/sections/coupled-construction.tex#L379-L412).

[^18]: [Chase and Lysyanskaya, *On Signatures of Knowledge*, §2.2](https://cs.brown.edu/people/alysyans/papers/cl06.pdf)
    and
    [Paper 2, complete signing input and bounded adaptive experiment](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper2/sections/coupled-construction.tex#L509-L551).

[^19]: [Paper 2, Theorem 6, proof and remaining premises](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper2/sections/coupled-construction.tex#L554-L595)
    and
    [the raw-root bounds including the full-ciphertext view](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/lean/Protocol/Transfer/PathSignature/NativeSecurity.lean#L334-L391).
    [The one-sided hybrid comparison and extraction event](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/lean/Protocol/Transfer/PathSignature/CRS.lean#L316-L379).

[^20]: [Paper 2, approved execution and the single-credential adapter](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper2/sections/coupled-construction.tex#L597-L675)
    and
    [the application event inclusion and native bound](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/lean/Protocol/Transfer/PathSignature/NativeApplication.lean#L293-L335).

[^21]: [Paper 2, the private-nonce public instance and owner checker](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper2/sections/coupled-construction.tex#L415-L444),
    [Proposition 5 and the fresh-geometry lifecycle](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper2/sections/coupled-construction.tex#L446-L507),
    and
    [the joint-prefix recovery theorem](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/lean/Protocol/Transfer/PathSignature/NativeCommittedRelease/Simulation.lean#L148-L177).

[^22]: [Paper 1, Proposition 3.7, wire bounds and the inequalities on the prime](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/03-coupled-encryption.tex#L346-L402)
    and
    [the unique integer assignment theorem](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/lean/Protocol/Transfer/PathSignature/NativeCircuitRanges.lean#L270-L306).
    [Paper 2, field-circuit and deployment obligations](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper2/sections/coupled-construction.tex#L677-L712)
    and
    [the distinct catalogue-to-coefficient obligation](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper2/sections/owned-transfer.tex#L62-L71).

<!-- This document follows common-doc-guidelines.md.
See github.com/jlevy/practical-prose and review guidelines before editing.
-->
