<!-- Generated from glossary.yaml by build_reading_edition.py. -->

# Glossary for Homotopical Encryption

Look up a term as the series uses it. Each entry gives a short definition, source locators, and related concepts. Entries marked *Paper usage* describe this construction or its conventions.

[Paper 1 manuscript](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/main.pdf) · [Paper 2 manuscript](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper2/construction.pdf)

## Start With the Decoding Problem

The ciphertext is a [cochain](#cochain). The sender’s model fixes a [Hodge projection](#hodge-projection). The [public classifier](#public-classifier) can assign one label to several models. Recovering the projection for the actual hidden model is the [Harmonic Cochain Problem](#harmonic-cochain-problem).

## Find a Term

<details>
<summary>Alphabetical index</summary>

- **A** [Adjoint](#adjoint) · [Authentication](#authentication) · [Axiom Audit](#axiom-audit)
- **B** [Bounded Integer Lift](#bounded-integer-lift) · [Bounded Witness](#bounded-witness) · [Byte-Query Budget](#byte-query-budget)
- **C** [Canonical Encoding](#canonical-encoding) · [Cellular Sheaf](#cellular-sheaf) · [Certificate Subject](#proof-subject) · [Checked Decoder](#checked-decoder) · [Checked Transfer](#checked-transfer) · [Chordal Distance](#chordal-distance) · [Ciphertext Fiber](#ciphertext-fiber) · [Ciphertext Transport](#ciphertext-transport) · [Closed Cochain](#closed-cochain) · [Closed Test](#closed-test) · [Closest Vector Problem](#closest-vector-problem) · [Closest-Vector Oracle](#closest-vector-oracle) · [Coboundary](#coboundary) · [Cochain](#cochain) · [Cochain Blocks](#cochain-blocks) · [Cochain Complex](#cochain-complex) · [Cochain Isomorphism](#cochain-isomorphism) · [Cohomology](#cohomology) · [Commitment Binding and Hiding](#commitment-binding-and-hiding) · [Common Reference String](#common-reference-string) · [Content-Addressed Record](#content-addressed-record) · [Coupling Matrix](#coupling-matrix)
- **D** [Distinguishing Advantage](#distinguishing-advantage) · [Domain Separation](#domain-separation)
- **E** [Encoded Machine Realization](#encoded-machine-realization) · [Exact and Coexact](#exact-and-coexact) · [Exact Artifact](#exact-artifact)
- **F** [Finite Disclosure](#finite-disclosure) · [Fixed-Pair Indistinguishability](#fixed-pair-indistinguishability) · [Fresh-Sign Profile](#fresh-sign-profile)
- **G** [Gram Matrix](#gram-matrix) · [Graph Basis](#graph-basis)
- **H** [Harmonic Cochain](#harmonic-cochain) · [Harmonic Cochain Problem](#harmonic-cochain-problem) · [Hidden Hodge Witness](#hidden-hodge-witness) · [Hodge Decomposition](#hodge-decomposition) · [Hodge Laplacian](#hodge-laplacian) · [Hodge Opening](#hodge-opening) · [Hodge Projection](#hodge-projection) · [Homomorphic Encryption](#homomorphic-encryption) · [Homotopy Equivalence](#homotopy-equivalence)
- **I** [Intrinsic Harmonic Lattice](#intrinsic-harmonic-lattice) · [Isometry](#isometry)
- **K** [Kernel and Image](#kernel-and-image)
- **L** [Lattice](#lattice) · [Learning with Errors](#learning-with-errors) · [Lossiness and Kernel Ambiguity](#lossiness-and-kernel-ambiguity)
- **M** [Modular Cochain Distance](#modular-cochain-distance) · [Modular Wraparound](#modular-wraparound)
- **N** [Normal Equations](#normal-equations) · [NP-Completeness](#np-completeness)
- **O** [One-Time Pad](#one-time-pad) · [Operative Recovery](#operative-recovery) · [Operator Commitment](#operator-commitment) · [Operator Nonce](#operator-nonce) · [Original-Observation Certificate](#original-observation-certificate) · [Orthogonal Projection](#orthogonal-projection)
- **P** [Perfect Secrecy](#perfect-secrecy) · [Polynomial-Time Reduction](#polynomial-time-reduction) · [Positive-Definite Matrix](#positive-definite-matrix) · [Post-Quantum Cryptography](#post-quantum-cryptography) · [Posterior Distribution](#posterior-distribution) · [Predecessor Gate](#predecessor-gate) · [Presentation](#presentation) · [Prime Field](#prime-field) · [Public Classifier](#public-classifier) · [Public Observation](#public-observation) · [Public-Key Encryption](#public-key-encryption)
- **Q** [Quasi-Isomorphism](#quasi-isomorphism)
- **R** [Random Oracle](#random-oracle) · [Rank-One Constraint](#rank-one-constraint) · [Release Simulation](#release-simulation) · [Residual and Closest-Point Gap](#residual-and-closest-point-gap) · [Restriction Map](#restriction-map)
- **S** [Scalar Fold](#scalar-fold) · [Scoped Delivery Token](#scoped-delivery-token) · [Shear](#shear) · [Sign Mask](#sign-mask) · [Signed Incidence](#signed-incidence) · [Signed Intent](#signed-intent) · [Stalk](#stalk) · [Statement–Lean Correspondence](#statement-lean-correspondence) · [Subset Sum](#subset-sum)
- **T** [Two-Slot Manifest](#two-slot-manifest)
- **U** [Uniformly Exact Recovery](#uniformly-exact-recovery)
- **V** [Versioned Public Instance](#versioned-public-instance)
- **W** [Worst Case and Average Case](#worst-case-and-average-case)

</details>

## Cellular Cochains and Hodge Geometry

<h3 id="signed-incidence">Signed Incidence</h3>

A **signed incidence** is the integer coefficient with which a lower-dimensional cell enters the boundary of a higher-dimensional one.

Paper 1 requires the signed sum along vertex–edge–face incidences to vanish and works with algebraic incidence data.

See [Cellular Sheaf](#cellular-sheaf), [Coboundary](#coboundary).

[Paper 1, §1](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/02-primitives.tex),
[Hansen and Ghrist, §2.1](https://arxiv.org/html/1808.01513v2).

<h3 id="cellular-sheaf">Cellular Sheaf</h3>

A **cellular sheaf** assigns a vector space to each cell and a compatible linear map to each face-to-coface inclusion.

Paper 1 uses the algebraic version on signed incidence data. A general regular CW realization would require additional data.

See [Stalk](#stalk), [Restriction Map](#restriction-map).

[Paper 1, §1](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/02-primitives.tex),
[Hansen and Ghrist, §2.2](https://arxiv.org/html/1808.01513v2).

<h3 id="stalk">Stalk</h3>

A **stalk** is the vector space assigned to one cell.

The coupled family uses scalar edge and face stalks with standard integral coordinates.

See [Cellular Sheaf](#cellular-sheaf), [Restriction Map](#restriction-map).

[Paper 1, §3.2](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/03-coupled-encryption.tex),
[Hansen and Ghrist, §2.2](https://arxiv.org/html/1808.01513v2).

<h3 id="restriction-map">Restriction Map</h3>

A **restriction map** $R_{c\to c'}$ carries local data from a cell to a higher-dimensional incident cell in Paper 1’s convention.

The two maps along $v\prec e\prec f$ compose to $R_{v\to f}$.

See [Stalk](#stalk), [Signed Incidence](#signed-incidence).

[Paper 1, §1](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/02-primitives.tex),
[Hansen and Ghrist, §2.2](https://arxiv.org/html/1808.01513v2).

<h3 id="cochain">Cochain</h3>

A **cochain** assigns one value to each cell of a fixed dimension. In Paper 1, the value is a vector from the space attached to that cell.

A degree-zero cochain assigns vertex values. A degree-one cochain assigns edge values. The degree-one space is the direct sum of the edge stalks. Paper 1 compares different degree-one spaces in common Euclidean coordinates $V$.

See [Stalk](#stalk), [Coboundary](#coboundary).

[See this in Paper 1's explainer](homotopical-encryption-paper1-explainer.md#a-cochain-as-a-list-of-measurements).

[Paper 1, §1](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/02-primitives.tex),
[Hansen and Ghrist, §2.2.2](https://arxiv.org/html/1808.01513v2).

<h3 id="cochain-complex">Cochain Complex</h3>

A **cochain complex** is a sequence of spaces and maps that raise degree, with every two successive maps composing to zero.

The first map in Paper 1 carries vertex values to edge values. The next carries edge values to face values. A vertex assignment sent through both maps gives zero.

See [Cochain](#cochain), [Coboundary](#coboundary), [Cohomology](#cohomology).

[See this in Paper 1's explainer](homotopical-encryption-paper1-explainer.md#a-cochain-as-a-list-of-measurements).

[Paper 1, §1, lines 30–46](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/02-primitives.tex),
[Stacks Project, Tag 010V, complexes](https://stacks.math.columbia.edu/tag/010V).

<h3 id="coboundary">Coboundary</h3>

A **coboundary** is the linear map $\delta_j$ from degree-$j$ to degree-$(j+1)$ cochains, formed by adding the restriction maps with their incidence coefficients.

Adjacent maps satisfy $\delta_{j+1}\delta_j=0$.

See [Cochain](#cochain), [Cohomology](#cohomology).

[Paper 1, §1](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/02-primitives.tex),
[Hansen and Ghrist, §2.2.2](https://arxiv.org/html/1808.01513v2).

<h3 id="kernel-and-image">Kernel and Image</h3>

The **kernel** $\ker T$ consists of inputs that map to zero. The **image** $\operatorname{im}T$ consists of possible outputs.

The relation $\ker T^*=(\operatorname{im}T)^\perp$ connects these constructions.

See [Adjoint](#adjoint), [Orthogonal Projection](#orthogonal-projection).

[Paper 1, Proposition 1.2](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/02-primitives.tex),
[Hansen and Ghrist, §3.2.1](https://arxiv.org/html/1808.01513v2).

<h3 id="cohomology">Cohomology</h3>

**Cohomology** groups together closed cochains that differ by an exact cochain.

A single class can contain many different vectors. In degree one, $H^1=\ker\delta_1/\operatorname{im}\delta_0$. Once inner products are fixed, there is one harmonic representative of each class.

See [Coboundary](#coboundary), [Harmonic Cochain](#harmonic-cochain), [Closed Test](#closed-test), [Closed Cochain](#closed-cochain).

[See this in Paper 1's explainer](homotopical-encryption-paper1-explainer.md#a-cochain-as-a-list-of-measurements).

[Hansen and Ghrist, §2.2.2 and Theorem 3.1](https://arxiv.org/html/1808.01513v2),
[Paper 1, Definition 2.8](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/02-harmonic-cochain-problem.tex).

<h3 id="adjoint">Adjoint</h3>

The **adjoint** of $T$ is the map $T^*$ characterized by $\langle Tv,w\rangle=\langle v,T^*w\rangle$.

Its matrix is the transpose $T^{\mathsf T}$ in real orthonormal coordinates. It depends on the chosen inner products.

See [Hodge Laplacian](#hodge-laplacian), [Kernel and Image](#kernel-and-image).

[Hansen and Ghrist, §3.1](https://arxiv.org/html/1808.01513v2),
[Paper 1, §1](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/02-primitives.tex).

<h3 id="orthogonal-projection">Orthogonal Projection</h3>

The **orthogonal projection** onto a real subspace $W$ sends a vector $b$ to the unique nearest point of $W$.

The residual $b-P_Wb$ is perpendicular to $W$.

See [Harmonic Cochain](#harmonic-cochain), [Closest Vector Problem](#closest-vector-problem).

[Paper 1, Definition 1.1 and Proposition 1.2](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/02-primitives.tex),
[Paper 1, Proposition 4.2](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/03-cvp-comparison.tex).

<h3 id="hodge-laplacian">Hodge Laplacian</h3>

The degree-one **Hodge Laplacian** combines the incoming and outgoing coboundaries with their adjoints. Its kernel consists of the harmonic cochains.

The operator is $\Delta=\delta_0\delta_0^*+\delta_1^*\delta_1$. The inner product $\langle b,\Delta b\rangle$ sums the squared norms of $\delta_0^*b$ and $\delta_1b$.

See [Adjoint](#adjoint), [Harmonic Cochain](#harmonic-cochain).

[Paper 1, §1 and Proposition 1.2](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/02-primitives.tex),
[Hansen and Ghrist, §3.2.1](https://arxiv.org/html/1808.01513v2).

<h3 id="harmonic-cochain">Harmonic Cochain</h3>

A **harmonic cochain** lies in the kernel of the Hodge Laplacian.

In degree one it satisfies $\delta_0^*h=0$ and $\delta_1h=0$. Each cohomology class has a unique harmonic representative for the chosen inner products.

See [Hodge Laplacian](#hodge-laplacian), [Cohomology](#cohomology).

[Paper 1, Definition 1.1](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/02-primitives.tex),
[Hansen and Ghrist, Theorem 3.1](https://arxiv.org/html/1808.01513v2).

<h3 id="hodge-projection">Hodge Projection</h3>

The **Hodge projection** takes a cochain to the harmonic part of its orthogonal decomposition.

Paper 1 uses this operation to recover the message from the ciphertext. For fixed inner products the projector $P$ onto $\ker\Delta$ keeps the harmonic component and kills the exact and coexact components. The projection acts on the real cochain space. Searching a discrete lattice for a nearest point is a different problem.

See [Orthogonal Projection](#orthogonal-projection), [Harmonic Cochain](#harmonic-cochain), [Hodge Decomposition](#hodge-decomposition), [Closest Vector Problem](#closest-vector-problem).

[See this in Paper 1's explainer](homotopical-encryption-paper1-explainer.md#a-cochain-as-a-list-of-measurements).

[Paper 1, Definition 1.1 and Proposition 1.2](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/02-primitives.tex),
[Hansen and Ghrist, §3.2.1](https://arxiv.org/html/1808.01513v2).

<h3 id="exact-and-coexact">Exact and Coexact</h3>

An **exact** degree-one cochain is the coboundary of a degree-zero cochain. A **coexact** degree-one cochain is the image of a degree-two cochain under the adjoint of the coboundary from degree one to degree two.

Exact cochains have the form $\delta_0a$ and coexact cochains have the form $\delta_1^*u$. The two image subspaces are perpendicular.

See [Adjoint](#adjoint), [Hodge Decomposition](#hodge-decomposition).

[Paper 1, Proposition 1.2 and §1.1](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/02-primitives.tex),
[Hansen and Ghrist, §3.2.1](https://arxiv.org/html/1808.01513v2).

<h3 id="hodge-decomposition">Hodge Decomposition</h3>

The **Hodge decomposition** writes a cochain uniquely as a sum of pairwise perpendicular harmonic, exact, and coexact components.

The exact and coexact subspaces together make up the orthogonal complement of the harmonic space.

See [Harmonic Cochain](#harmonic-cochain), [Exact and Coexact](#exact-and-coexact), [Hodge Opening](#hodge-opening).

[Paper 1, Proposition 1.2 and §1.1](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/02-primitives.tex),
[Hansen and Ghrist, §3.2.1](https://arxiv.org/html/1808.01513v2).

<h3 id="chordal-distance">Chordal Distance</h3>

**Chordal distance** between equal-dimensional Euclidean subspaces is the Frobenius norm of the difference of their orthogonal projectors divided by $\sqrt2$.

The Frobenius norm squares and sums the entries, then takes the square root. In the fresh-sign family the squared distance is $4d/(1+d)^2$ times the number of sign positions where the keys differ.

See [Orthogonal Projection](#orthogonal-projection), [Fresh-Sign Profile](#fresh-sign-profile).

[Paper 1, Proposition 3.9](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/03-coupled-encryption.tex).

<h3 id="closed-cochain">Closed Cochain</h3>

A degree-$j$ **closed cochain (or cocycle)** has zero coboundary, so it lies in $\ker\delta_j$.

It satisfies all next-degree constraints. Since $\delta_j\delta_{j-1}=0$, each exact cochain is closed. Harmonicity also imposes the adjoint constraint.

See [Cohomology](#cohomology), [Exact and Coexact](#exact-and-coexact), [Harmonic Cochain](#harmonic-cochain).

[Paper 1, §1 and Proposition 1.2](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/02-primitives.tex),
[Hansen and Ghrist, §2.2.2 and §3.2.1](https://arxiv.org/html/1808.01513v2).

<h3 id="positive-definite-matrix">Positive-Definite Matrix</h3>

A **positive-definite matrix** is a real symmetric matrix whose quadratic form is strictly positive at every nonzero vector.

The normal-equation matrix $I+B^{\mathsf T}B$ has quadratic form $\|v\|^2+\|Bv\|^2$. Only the zero vector can belong to its kernel, so it is invertible.

See [Normal Equations](#normal-equations), [Gram Matrix](#gram-matrix), [Orthogonal Projection](#orthogonal-projection).

[See this in Paper 1's explainer](homotopical-encryption-paper1-explainer.md#how-a-matrix-selects-the-hidden-lattice).

[Paper 1, §3.3, lines 279–291](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/03-coupled-encryption.tex).

## Public Class and Hidden Witness

<h3 id="quasi-isomorphism">Quasi-Isomorphism</h3>

A **quasi-isomorphism** is a map of cochain complexes that induces an isomorphism on cohomology in every degree.

It can identify cohomology even if some degree maps are not invertible. The coupled family in Paper 1 has a strict cochain isomorphism with invertible degree maps.

See [Cochain Complex](#cochain-complex), [Cochain Isomorphism](#cochain-isomorphism), [Cohomology](#cohomology).

[See this in Paper 1's explainer](homotopical-encryption-paper1-explainer.md#what-the-public-class-remembers).

[Paper 1, §2, lines 138–153](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/02-harmonic-cochain-problem.tex),
[Stacks Project, Tag 0115](https://stacks.math.columbia.edu/tag/0115).

<h3 id="cochain-isomorphism">Cochain Isomorphism</h3>

A **cochain isomorphism** consists of invertible maps in each degree that commute with adjacent coboundaries.

Those maps induce isomorphisms on cohomology. A quasi-isomorphism induces isomorphisms on cohomology and may have noninvertible degree maps.

See [Cohomology](#cohomology), [Closed Test](#closed-test), [Shear](#shear).

[Paper 1, Proposition 2.9](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/02-harmonic-cochain-problem.tex),
[Paper 1, Theorem 3.3](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/03-coupled-encryption.tex).

<h3 id="homotopy-equivalence">Homotopy Equivalence</h3>

A **homotopy equivalence** between spaces is a continuous map with a continuous inverse up to homotopy. Each composition is homotopic to the identity on its space.

Paper 1 follows Helfer in using invariance of selected tests, and gives an explicit cochain isomorphism between concrete coupled presentations.

See [Closed Test](#closed-test), [Cochain Isomorphism](#cochain-isomorphism).

[Helfer, Definition 7.1 and Theorem 12.3](https://arxiv.org/abs/1908.08944v2),
[Paper 1, Proposition 2.9](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/02-harmonic-cochain-problem.tex),
[Paper 1, Theorem 3.3](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/03-coupled-encryption.tex).

<h3 id="closed-test">Closed Test</h3>

A **closed test** checks a property of a model without free input variables.

In Paper 1’s cochain realization each test asks whether one $H^j$ is nonzero. The public theory is the set of selected tests the model satisfies.

See [Cohomology](#cohomology), [Public Classifier](#public-classifier).

*Paper usage.*
[Paper 1, Definition 2.8 and Proposition 2.9](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/02-harmonic-cochain-problem.tex),
[Helfer, Theorem 12.3](https://arxiv.org/abs/1908.08944v2).

<h3 id="public-classifier">Public Classifier</h3>

A **public classifier** assigns the same label to every presentation that gives the same answers to the selected tests.

The fiber $\pi^{-1}(\alpha)$ contains every presentation with label $\alpha$. In Paper 1’s coupled family the label records which degrees have nonzero cohomology. These tests do not determine the harmonic projection.

See [Closed Test](#closed-test), [Hidden Hodge Witness](#hidden-hodge-witness).

[See this in Paper 1's explainer](homotopical-encryption-paper1-explainer.md#what-the-public-class-remembers).

*Paper usage.*
[Paper 1, §1](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/02-primitives.tex),
[Paper 1, Definitions 2.5 and 2.8, Proposition 2.9](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/02-harmonic-cochain-problem.tex).

<h3 id="lossiness-and-kernel-ambiguity">Lossiness and Kernel Ambiguity</h3>

**Lossiness** means different operators share a classifier label. **Kernel ambiguity** requires different harmonic kernels at the same label, so some common cochain is harmonic for one compatible operator and fails harmonicity for another.

See [Public Classifier](#public-classifier), [Hodge Laplacian](#hodge-laplacian).

*Paper usage.*
[Paper 1, Definitions 2.5–2.7 and Proposition 2.10](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/02-harmonic-cochain-problem.tex).

<h3 id="public-observation">Public Observation</h3>

A **public observation** in the Harmonic Cochain Problem pairs a cochain in shared coordinates with the public label assigned to its generating presentation.

The abstract observation need not be a valid byte ciphertext. Byte-level conditions belong to the concrete encryption profile.

See [Harmonic Cochain Problem](#harmonic-cochain-problem), [Public Classifier](#public-classifier), [Hidden Hodge Witness](#hidden-hodge-witness).

[See this in Paper 1's explainer](homotopical-encryption-paper1-explainer.md#what-the-public-class-remembers).

*Paper usage.*
[Paper 1, Definitions 2.1–2.2, lines 3–29](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/02-harmonic-cochain-problem.tex).

<h3 id="hidden-hodge-witness">Hidden Hodge Witness</h3>

The **hidden Hodge witness** is the private presentation that produced the observation and determines its harmonic projection.

For presentation $x$ and label $\alpha$, the classifier satisfies $\pi(x)=\alpha$. It fixes an operator $\Delta_x$ and thus a harmonic projection of the observed cochain $b$.

See [Public Classifier](#public-classifier), [Harmonic Cochain Problem](#harmonic-cochain-problem), [Presentation](#presentation).

*Paper usage.*
[Paper 1, Definitions 2.1–2.4](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/02-harmonic-cochain-problem.tex).

<h3 id="uniformly-exact-recovery">Uniformly Exact Recovery</h3>

In the Harmonic Cochain Problem, **uniformly exact recovery** requires a decoder to return the selected projection for every admitted presentation and observed cochain.

Incompatible answers for one public observation defeat this requirement. A probability of recovery also requires a sampling law.

See [Harmonic Cochain Problem](#harmonic-cochain-problem), [Public Observation](#public-observation), [Operative Recovery](#operative-recovery).

[See this in Paper 1's explainer](homotopical-encryption-paper1-explainer.md#what-the-public-class-remembers).

*Paper usage.*
[Paper 1, Definitions 2.3–2.4 and §2, lines 219–244](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/02-harmonic-cochain-problem.tex).

<h3 id="harmonic-cochain-problem">Harmonic Cochain Problem</h3>

The **Harmonic Cochain Problem (HCP)** asks for the harmonic projection of an observed cochain in the hidden presentation that generated the observation, given only the cochain and its public label.

Several hidden models can agree with those inputs and require different answers. The observation is $(\alpha,b)$ and the target for a fixed witness $x$ is $P_{\ker\Delta_x}b$. A success probability also needs a distribution on the generating choices.

See [Hidden Hodge Witness](#hidden-hodge-witness), [Lossiness and Kernel Ambiguity](#lossiness-and-kernel-ambiguity), [Closest Vector Problem](#closest-vector-problem).

[See this in Paper 1's explainer](homotopical-encryption-paper1-explainer.md#what-the-public-class-remembers).

*Paper usage.*
[Paper 1, Definitions 2.1–2.4](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/02-harmonic-cochain-problem.tex),
[Paper 1, Definition 4.6](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/03-cvp-comparison.tex).

<h3 id="isometry">Isometry</h3>

An **isometry** is a map that preserves Euclidean distances.

An invertible cochain isometry preserves the adjoints and carries each harmonic projection to the projection of the transported vector. A cochain isomorphism can preserve cohomology while changing Euclidean distances.

See [Adjoint](#adjoint), [Cochain Isomorphism](#cochain-isomorphism), [Shear](#shear), [Ciphertext Transport](#ciphertext-transport).

[Paper 1, §2.1, transport identities](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/02-harmonic-cochain-problem.tex),
[Paper 1, Theorem 3.3 and Proposition 3.5](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/03-coupled-encryption.tex).

## Coupled Construction and Encodings

<h3 id="coupling-matrix">Coupling Matrix</h3>

In Paper 1, the **coupling matrix** is the integer matrix $B\in\mathbb Z^{m\times n}$ linking $n$ information coordinates to $m$ parity coordinates.

Here $\delta_{1,B}(a,x,y)=y-Bx$ and $\delta_{0,B}(a)=(a,0,0)$. With scalar stalks, standard integral coordinates, and the Euclidean metric fixed, $B$ determines the operator and lattice.

See [Cochain Blocks](#cochain-blocks), [Graph Basis](#graph-basis).

*Paper usage.*
[Paper 1, §§3.1–3.2](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/03-coupled-encryption.tex).

<h3 id="cochain-blocks">Cochain Blocks</h3>

The **cochain blocks** are the exact, information, and parity coordinates in $\mathbb R\oplus\mathbb R^n\oplus\mathbb R^m$.

A cochain $(a,x,y)$ is harmonic when $a=0$ and $y=Bx$. Here “parity” names the determined coordinate block in integer or real arithmetic.

See [Coupling Matrix](#coupling-matrix), [Intrinsic Harmonic Lattice](#intrinsic-harmonic-lattice).

*Paper usage.*
[Paper 1, §3.2 and Proposition 3.1](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/03-coupled-encryption.tex).

<h3 id="hodge-opening">Hodge Opening</h3>

A **Hodge opening** is a pair $(a,u)$ specifying the exact and coexact terms $\delta_0a+\delta_1^*u$ added to the harmonic vector.

If $z$ is the message coefficient vector, the resulting cochain is $(a,z-B^{\mathsf T}u,Bz+u)$.

See [Exact and Coexact](#exact-and-coexact), [Coupling Matrix](#coupling-matrix), [Operator Nonce](#operator-nonce).

*Paper usage.*
[Paper 1, §1.1](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/02-primitives.tex),
[Paper 1, §§3.1 and 3.4](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/03-coupled-encryption.tex).

<h3 id="intrinsic-harmonic-lattice">Intrinsic Harmonic Lattice</h3>

The **intrinsic harmonic lattice** is the intersection of the harmonic subspace with the integral cochains.

In the coupled family $\Lambda_B=\{(0,z,Bz):z\in\mathbb Z^n\}$ spans the full real harmonic space.

See [Harmonic Cochain](#harmonic-cochain), [Graph Basis](#graph-basis), [Closest Vector Problem](#closest-vector-problem).

*Paper usage.*
[Paper 1, §1.1](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/02-primitives.tex),
[Paper 1, Propositions 3.1–3.2](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/03-coupled-encryption.tex).

<h3 id="lattice">Lattice</h3>

A **lattice** is the discrete set of integer linear combinations of a linearly independent set of vectors.

Changing the basis can preserve the same lattice. In Paper 1 different witnesses can select different lattices.

See [Intrinsic Harmonic Lattice](#intrinsic-harmonic-lattice), [Closest Vector Problem](#closest-vector-problem).

[Micciancio, §1](https://cseweb.ucsd.edu/~daniele/papers/CVPP.pdf),
[Paper 1, §3.2](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/03-coupled-encryption.tex).

<h3 id="graph-basis">Graph Basis</h3>

The **graph basis** consists of the columns of $G_B=[0;I;B]$. They generate the graph of $B$ over real coefficients and its full intrinsic lattice over integer coefficients.

See [Intrinsic Harmonic Lattice](#intrinsic-harmonic-lattice), [Gram Matrix](#gram-matrix).

*Paper usage.*
[Paper 1, Propositions 3.1–3.2](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/03-coupled-encryption.tex).

<h3 id="gram-matrix">Gram Matrix</h3>

The **Gram matrix** records pairwise inner products of the columns of a basis.

Here $G_B^{\mathsf T}G_B=I+B^{\mathsf T}B$ converts a coefficient error into a squared Euclidean displacement on the graph.

See [Graph Basis](#graph-basis), [Residual and Closest-Point Gap](#residual-and-closest-point-gap).

[Paper 1, Proposition 3.1](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/03-coupled-encryption.tex),
[Paper 1, Proposition 4.3](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/03-cvp-comparison.tex).

<h3 id="normal-equations">Normal Equations</h3>

The **normal equations** are linear equations for an orthogonal projection.

They require the difference between the target and projected point to be perpendicular to every basis vector. In Paper 1 they determine the coordinates of the harmonic projection.

See [Orthogonal Projection](#orthogonal-projection), [Gram Matrix](#gram-matrix).

[Paper 1, §3.4](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/03-coupled-encryption.tex).

<h3 id="shear">Shear</h3>

A **shear** adds a linear function of one coordinate block to another while leaving the first block fixed. In Paper 1 the map $(a,x,y)\mapsto(a,x,y+(C-B)x)$ gives a cochain isomorphism between the $B$ and $C$ presentations.

See [Cochain Isomorphism](#cochain-isomorphism), [Ciphertext Transport](#ciphertext-transport).

*Paper usage.*
[Paper 1, Theorem 3.3](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/03-coupled-encryption.tex).

<h3 id="ciphertext-transport">Ciphertext Transport</h3>

**Ciphertext transport** uses a map that preserves the message coefficient and Hodge opening coordinates when it moves a ciphertext from the $B$ presentation to the $C$ presentation.

Constructing it requires access to the defining maps for both presentations.

See [Shear](#shear), [Hodge Opening](#hodge-opening), [Homomorphic Encryption](#homomorphic-encryption).

*Paper usage.*
[Paper 1, Propositions 3.4–3.5](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/03-coupled-encryption.tex).

<h3 id="canonical-encoding">Canonical Encoding</h3>

A **canonical encoding** is a byte representation with a unique allowed string for each mathematical value.

The matrix and ciphertext codecs use distinct system-specified markers and reject redundant representations. Exact recovery uses the operative matrix.

See [Checked Decoder](#checked-decoder), [Versioned Public Instance](#versioned-public-instance).

[Paper 1, §3.4 and Proposition 3.6](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/03-coupled-encryption.tex).

<h3 id="checked-decoder">Checked Decoder</h3>

A **checked decoder** is a decoder that accepts only bytes belonging to the declared profile.

The fresh-sign decoder reconstructs the canonical ciphertext for the parsed mask and compares it with the input. Acceptance guarantees well-formedness, with sender authentication a separate property.

See [Canonical Encoding](#canonical-encoding), [Authentication](#authentication).

*Paper usage.*
[Paper 1, Proposition 3.8 and §3.8](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/03-coupled-encryption.tex).

<h3 id="rank-one-constraint">Rank-One Constraint</h3>

A **rank-one constraint** is an equation setting the product of two affine expressions in field variables equal to a third affine expression.

Paper 1 uses these for products such as $B_{ij}u_i$, and uses $e(e-1)=0$ for Boolean digits.

See [Bounded Integer Lift](#bounded-integer-lift).

[Paper 1, §3.5 and Proposition 3.7](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/03-coupled-encryption.tex).

<h3 id="bounded-integer-lift">Bounded Integer Lift</h3>

A **bounded integer lift** is an integer in a declared range representing a wire value modulo the prime $p$.

If $p>2K$ there is at most one representative in $[-K,K]$. Paper 1’s range gates ensure existence, and its stronger bounds on $p$ ensure the lifted wires obey the integer ciphertext equations.

See [Rank-One Constraint](#rank-one-constraint), [Canonical Encoding](#canonical-encoding), [Prime Field](#prime-field).

[Paper 1, Proposition 3.7](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/03-coupled-encryption.tex).

<h3 id="bounded-witness">Bounded Witness</h3>

The **bounded witness** is the private tuple $(S,B,z,a,u,\rho,r)$ containing source and operative matrices, message coefficients, Hodge opening, credential salt, and operator nonce.

The dimensions, bounds, and byte lengths in the program descriptor make the witness space finite.

See [Hodge Opening](#hodge-opening), [Versioned Public Instance](#versioned-public-instance), [Operator Nonce](#operator-nonce).

*Paper usage.*
[Paper 1, §3.6](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/03-coupled-encryption.tex),
[Paper 1, §3.9](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/operator-commitment.tex).

<h3 id="fresh-sign-profile">Fresh-Sign Profile</h3>

Paper 1’s **fresh-sign profile** uses a public integer matrix $A$ satisfying $A^{\mathsf T}A=dI$ with $d>0$, a public exact coordinate, and a uniform secret sign key sampled independently for each payload.

Its operative matrix is $C_k=A\operatorname{diag}(k)$. The scale $d$ is the squared length of each column of $A$.

See [Coupling Matrix](#coupling-matrix), [Sign Mask](#sign-mask), [One-Time Pad](#one-time-pad).

*Paper usage.*
[Paper 1, §3.7](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/03-coupled-encryption.tex).

<h3 id="sign-mask">Sign Mask</h3>

The **sign mask** is the product $\tau=k\odot s$ of key signs and message signs, multiplying corresponding entries.

With parameters fixed the ciphertext is a reversible encoding of $\tau$ as $(a,0,(d+1)A\tau)$.

See [Fresh-Sign Profile](#fresh-sign-profile), [One-Time Pad](#one-time-pad), [Ciphertext Fiber](#ciphertext-fiber).

*Paper usage.*
[Paper 1, §3.7 and Equation (3)](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/03-coupled-encryption.tex).

<h3 id="presentation">Presentation</h3>

A **presentation** consists of the concrete data used to describe a cochain model and perform its Hodge calculation.

The coupled presentation comprises cellular maps, inner products, and compatible integral stalk lattices, determined by $B$ within the fixed profile.

See [Cellular Sheaf](#cellular-sheaf), [Coupling Matrix](#coupling-matrix), [Hidden Hodge Witness](#hidden-hodge-witness).

*Paper usage.*
[Paper 1, §1](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/02-primitives.tex),
[Paper 1, §§3.1–3.2](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/03-coupled-encryption.tex).

<h3 id="modular-wraparound">Modular Wraparound</h3>

In arithmetic modulo a positive integer, **modular wraparound** occurs when distinct integers have the same residue because their difference is a nonzero multiple of the modulus.

Paper 1 separately bounds the digit sums in each range check and the arithmetic residuals after lifting the wires.

See [Prime Field](#prime-field), [Bounded Integer Lift](#bounded-integer-lift), [Rank-One Constraint](#rank-one-constraint).

[See this in Paper 1's explainer](homotopical-encryption-paper1-explainer.md#from-real-projections-to-exact-bytes).

[Paper 1, §3, finite-field refinement, lines 368–402](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/03-coupled-encryption.tex).

<h3 id="prime-field">Prime Field</h3>

A **prime field** consists of the integers modulo a prime $p$, denoted $\mathbb F_p$, with addition and multiplication modulo $p$.

Every nonzero residue has a multiplicative inverse. Paper 1 imposes wire ranges and size conditions so valid ciphertext equations over $\mathbb F_p$ translate to integer equations.

See [Rank-One Constraint](#rank-one-constraint), [Bounded Integer Lift](#bounded-integer-lift).

[Paper 1, §3.5 and Proposition 3.7](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/03-coupled-encryption.tex).

## Privacy and Integrity

<h3 id="one-time-pad">One-Time Pad</h3>

A **one-time pad** is a shared-key scheme that masks each plaintext bit with one independent uniform secret bit used once.

Under a fresh key, each mask is equally likely for every fixed plaintext. Changing from bits to signs expresses the same masking operation as coordinatewise multiplication.

See [Sign Mask](#sign-mask), [Ciphertext Fiber](#ciphertext-fiber), [Perfect Secrecy](#perfect-secrecy).

[Shannon, §10](https://www.cs.virginia.edu/~evans/greatworks/shannon1949.pdf),
[Paper 1, §§3.7–3.8](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/03-coupled-encryption.tex).

<h3 id="ciphertext-fiber">Ciphertext Fiber</h3>

A **ciphertext fiber** is the set of key–message pairs producing one ciphertext with public parameters fixed.

In the fresh-sign family the ciphertext fixes one mask, so each of the $2^n$ keys determines a different candidate message. Uniform independent key and message draws give all these candidates equal probability conditioned on the ciphertext.

See [Sign Mask](#sign-mask), [Finite Disclosure](#finite-disclosure), [Operative Recovery](#operative-recovery).

*Paper usage.*
[Paper 1, Propositions 4.10 and 4.12](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/03-cvp-comparison.tex).

<h3 id="authentication">Authentication</h3>

**Authentication** is assurance that ciphertext comes from an authorized sender, with a corresponding integrity guarantee against unauthorized changes.

Checking valid syntax or a publicly recomputable hash provides only the respective format or digest property.

See [Checked Decoder](#checked-decoder), [Versioned Public Instance](#versioned-public-instance).

[Paper 1, §3.8](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/03-coupled-encryption.tex),
[Paper 1, Proposition 3.11 and discussion](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/operator-commitment.tex).

<h3 id="operator-nonce">Operator Nonce</h3>

The **operator nonce** is a secret 32-byte value sampled independently and uniformly in the one-use game.

It is part of the operator commitment preimage and is distinct from the source credential salt $\rho$.

See [Operator Commitment](#operator-commitment), [Bounded Witness](#bounded-witness).

*Paper usage.*
[Paper 1, §3.9](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/operator-commitment.tex),
[Paper 1, §3.10](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/operator-random-oracle.tex).

<h3 id="operator-commitment">Operator Commitment</h3>

The **operator commitment** is the hash of a tagged, unambiguously framed pair of canonical operator bytes and the operator nonce.

Two distinct canonical preimages with the same digest constitute a collision. Hiding the operator is a separate property studied in the chosen-operator test and the one-use oracle game.

See [Operator Nonce](#operator-nonce), [Versioned Public Instance](#versioned-public-instance), [Random Oracle](#random-oracle), [Commitment Binding and Hiding](#commitment-binding-and-hiding).

*Paper usage.*
[Paper 1, Proposition 3.11 and Theorem 3.12](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/operator-commitment.tex),
[Paper 1, Theorem 3.13](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/operator-random-oracle.tex).

<h3 id="versioned-public-instance">Versioned Public Instance</h3>

The **versioned public instance** is the tagged tuple containing the source credential digest, the operator commitment, and the ciphertext digest.

The experiment releases this tuple together with the full ciphertext bytes.

See [Operator Commitment](#operator-commitment), [Canonical Encoding](#canonical-encoding), [Authentication](#authentication).

*Paper usage.*
[Paper 1, §3.9, Equation (4)](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/operator-commitment.tex),
[Paper 1, §3.10](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/operator-random-oracle.tex).

<h3 id="random-oracle">Random Oracle</h3>

A **random oracle** is an ideal shared function that returns an independent uniform response to each new input and repeats that response for the same input later.

Paper 1’s game has 32-byte answers, an empty initial cache, and adaptive queries after release. The random-oracle model is abbreviated ROM.

See [Byte-Query Budget](#byte-query-budget), [Fixed-Pair Indistinguishability](#fixed-pair-indistinguishability).

[Bellare and Rogaway, Abstract](https://www.cs.ucdavis.edu/~rogaway/papers/ro-abstract.html),
[Paper 1, §3.10 and Theorem 3.13](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/operator-random-oracle.tex).

<h3 id="byte-query-budget">Byte-Query Budget</h3>

The **byte-query budget** is the limit $Q$ on the number of post-release byte-oracle calls a decoder can make on any path.

Two additional constructor digest calls give the error term $(Q+2)2^{-256}$. The budget counts byte-oracle calls only, with CVP calls uncharged.

See [Random Oracle](#random-oracle), [Closest-Vector Oracle](#closest-vector-oracle).

*Paper usage.*
[Paper 1, Theorem 3.13](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/operator-random-oracle.tex),
[Paper 1, Theorem 4.13](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/03-cvp-comparison.tex).

<h3 id="distinguishing-advantage">Distinguishing Advantage</h3>

A **distinguishing advantage** measures how much a specified test's outcome probabilities differ between two experiments.

Paper 1 compares acceptance probabilities for a fixed-hash chosen-operator test. In its separate fixed-pair oracle game it bounds the absolute bias in guessing a fair challenge bit. The two quantities use different conventions.

See [Fixed-Pair Indistinguishability](#fixed-pair-indistinguishability), [Operator Commitment](#operator-commitment), [Random Oracle](#random-oracle).

[See this in Paper 1's explainer](homotopical-encryption-paper1-explainer.md#what-changes-when-a-commitment-is-public).

[Paper 1, §3.9, lines 91–107](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/operator-commitment.tex),
[Paper 1, §3.10, lines 79–99](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/operator-random-oracle.tex).

<h3 id="fixed-pair-indistinguishability">Fixed-Pair Indistinguishability</h3>

The **fixed-pair indistinguishability** game tests whether an observer can tell which of two fixed messages was encrypted after an experiment selects one by a fair bit and uses a fresh key and nonce.

The public guess’s success differs from $1/2$ by at most $(Q+2)2^{-256}$ in the stated oracle model.

See [Random Oracle](#random-oracle), [Byte-Query Budget](#byte-query-budget), [Operative Recovery](#operative-recovery).

*Paper usage.*
[Paper 1, Theorem 3.14](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/operator-random-oracle.tex).

<h3 id="posterior-distribution">Posterior Distribution</h3>

A **posterior distribution** assigns probabilities to hidden outcomes after conditioning on what was observed.

Compatible outcomes can have unequal posterior probabilities. With equal prior weights on each generating state, a target's posterior weight is proportional to how often that target occurs among the compatible states.

See [Ciphertext Fiber](#ciphertext-fiber), [Finite Disclosure](#finite-disclosure), [Perfect Secrecy](#perfect-secrecy).

[See this in Paper 1's explainer](homotopical-encryption-paper1-explainer.md#what-a-disclosure-reveals).

[Paper 1, §4, finite disclosure, lines 501–530](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/03-cvp-comparison.tex),
[Smith, §4, Definition 3](https://cs.au.dk/~askarov/lbs-course/2017/reading/fossacs09.pdf#page=10).

<h3 id="finite-disclosure">Finite Disclosure</h3>

A **finite disclosure** reveals the value of a function of a hidden state drawn uniformly from a finite set.

Optimal complete-target guessing picks the most frequent target in each disclosure fiber. For the fresh-sign ciphertext, revealing $r$ distinct key signs gives exact success $2^{r-n}$.

See [Ciphertext Fiber](#ciphertext-fiber), [Operative Recovery](#operative-recovery).

*Paper usage.*
[Paper 1, Proposition 4.12](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/03-cvp-comparison.tex),
[Paper 1, Corollary 3.15](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/operator-random-oracle.tex).

<h3 id="public-key-encryption">Public-Key Encryption</h3>

In **public-key encryption**, anyone can encrypt with a published key, while the recipient decrypts with a corresponding secret key.

The paper’s fresh-sign example assumes the sender and recipient already share a secret.

See [Learning with Errors](#learning-with-errors), [One-Time Pad](#one-time-pad).

[Regev, §1](https://cims.nyu.edu/~regev/papers/qcrypto.pdf),
[Paper 1, Fresh-sign profile](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/03-coupled-encryption.tex).

<h3 id="post-quantum-cryptography">Post-Quantum Cryptography</h3>

**Post-quantum cryptography** aims to resist adversaries with quantum computers as well as classical ones.

Security depends on the particular construction, parameters, and assumptions.

See [Learning with Errors](#learning-with-errors), [Worst Case and Average Case](#worst-case-and-average-case).

[NIST, Abstract and §1](https://csrc.nist.gov/pubs/fips/203/final).

<h3 id="learning-with-errors">Learning with Errors</h3>

**Learning with Errors (LWE)** asks for a secret given modular linear equations with independently sampled errors.

Regev relates specified LWE distributions to worst-case lattice problems and uses LWE for public-key encryption. The residual in Paper 1 belongs to a specific orthogonal complement.

See [Hodge Opening](#hodge-opening), [Closest Vector Problem](#closest-vector-problem).

[Regev, §1](https://cims.nyu.edu/~regev/papers/qcrypto.pdf),
[Paper 1, §1.1](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/02-primitives.tex).

<h3 id="homomorphic-encryption">Homomorphic Encryption</h3>

**Homomorphic encryption** permits evaluating functions on ciphertexts so that the decrypted result equals the function applied to the plaintexts.

Fully homomorphic encryption supports general circuits. Paper 1’s coefficient-preserving transport changes a ciphertext’s presentation.

See [Ciphertext Transport](#ciphertext-transport).

[Gentry, Abstract](https://crypto.stanford.edu/craig/craig-thesis.pdf),
[Paper 1, Propositions 3.4–3.5](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/03-coupled-encryption.tex).

<h3 id="perfect-secrecy">Perfect Secrecy</h3>

**Perfect secrecy** means observing the ciphertext leaves the prior distribution of the plaintext unchanged.

The ciphertext-only fresh-sign view has this property with independent uniform secret signs. The additional committed view is analyzed in a separate bounded-query experiment.

See [One-Time Pad](#one-time-pad), [Sign Mask](#sign-mask), [Random Oracle](#random-oracle).

[Shannon, §10](https://www.cs.virginia.edu/~evans/greatworks/shannon1949.pdf),
[Paper 1, §§3.7–3.8](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/03-coupled-encryption.tex),
[Paper 1, Theorem 3.13](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/operator-random-oracle.tex).

<h3 id="commitment-binding-and-hiding">Commitment Binding and Hiding</h3>

**Commitment binding** concerns whether an accepted commitment can be opened to two different values. **Hiding** concerns what the commitment reveals about its value before opening.

The paper obtains a collision implication for conflicting openings and analyzes operator hiding under a separate game.

See [Operator Commitment](#operator-commitment), [Operator Nonce](#operator-nonce).

[Paper 1, Proposition 3.11 and Theorem 3.12](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/operator-commitment.tex),
[Paper 1, Theorem 3.13](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/operator-random-oracle.tex).

<h3 id="domain-separation">Domain Separation</h3>

**Domain separation** uses different tags to distinguish otherwise similar byte inputs used for different purposes.

Paper 1 separates operator openings, source credentials, and matrix and ciphertext encodings. Framing also marks field boundaries so the intended inputs can be uniquely parsed.

See [Canonical Encoding](#canonical-encoding), [Operator Commitment](#operator-commitment), [Versioned Public Instance](#versioned-public-instance).

[Paper 1, §§3.4 and 3.6](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/03-coupled-encryption.tex),
[Paper 1, §3.9](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/operator-commitment.tex).

## Encrypted Records, Transactions, and Verification

<h3 id="exact-artifact">Exact Artifact</h3>

An **exact artifact** is the record of the exact cochain payload and its digest.

The storage context separately supplies the interpretation and snapshot binding. The exact artifact can stay fixed when a change in the harmonic message or coexact opening produces a different full ciphertext.

See [Exact and Coexact](#exact-and-coexact), [Two-Slot Manifest](#two-slot-manifest).

[See this in Paper 2's explainer](homotopical-encryption-paper2-explainer.md#one-exact-component-three-ciphertexts).

*Paper usage.*
[Paper 2, Encryption interface and artifact binding](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper2/sections/coupled-construction.tex#L57-L149),
[Lean formalization, Storage context fields](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/lean/Protocol/Storage/Context.lean#L40-L47).

<h3 id="content-addressed-record">Content-Addressed Record</h3>

A **content-addressed record** is data retrieved by a digest of its complete bytes, which a reader can recompute to check a returned candidate.

Paper 2 uses the SHA-256 digest of the canonical ciphertext. The expected digest must come from a trusted or authenticated context.

See [Canonical Encoding](#canonical-encoding), [Authentication](#authentication), [Two-Slot Manifest](#two-slot-manifest).

[See this in Paper 2's explainer](homotopical-encryption-paper2-explainer.md#what-the-recipient-needs-after-a-restart).

[Paper 2, Content-addressed encrypted cells](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper2/sections/coupled-construction.tex#L57-L149).

<h3 id="two-slot-manifest">Two-Slot Manifest</h3>

A **two-slot manifest** is a record that separately names the exact artifact and the complete ciphertext for one transaction.

Paper 2 carries the canonical manifest root through the signed intent, checked transfer, and accepted history.

See [Exact Artifact](#exact-artifact), [Content-Addressed Record](#content-addressed-record), [Signed Intent](#signed-intent).

[See this in Paper 2's explainer](homotopical-encryption-paper2-explainer.md#two-slots-give-the-owner-something-precise-to-sign).

*Paper usage.*
[Paper 2, Native ciphertext manifests and history](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper2/sections/coupled-construction.tex#L150-L234).

<h3 id="signed-intent">Signed Intent</h3>

A **signed intent** is the structured message by which the owner authorizes one named action under a specific public context and manifest root.

The intent includes the pre-proof draft and the previous evidence root. The proof and signature are appended to form the checked packet.

See [Two-Slot Manifest](#two-slot-manifest), [Authentication](#authentication), [Checked Transfer](#checked-transfer).

[See this in Paper 2's explainer](homotopical-encryption-paper2-explainer.md#what-the-owner-authorizes).

*Paper usage.*
[Paper 2, From the packet to the computed state](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper2/sections/owned-transfer.tex#L1-L71),
[Lean formalization, Intent structure](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/lean/Protocol/Evidence/TransferTranscript.lean#L159-L179).

<h3 id="checked-transfer">Checked Transfer</h3>

A **checked transfer** is an accepted state transition that consumes an active resource and creates a distinct output of the same asset and amount.

Paper 2 derives these consequences from the accepted packet under its stated authorization and payload-soundness contracts.

See [Signed Intent](#signed-intent), [Certificate Subject](#proof-subject).

[See this in Paper 2's explainer](homotopical-encryption-paper2-explainer.md#why-a-fresh-packet-still-cannot-spend-resource-0).

*Paper usage.*
[Paper 2, Accepted update and replay rejection](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper2/sections/owned-transfer.tex#L1-L71).

<h3 id="original-observation-certificate">Original-Observation Certificate</h3>

An **original-observation certificate** is evidence relating the manifest's selected ciphertext bytes and context to the original Hodge observation.

It supplies a statement about how the bytes were generated. A digest check establishes that the obtained bytes match the original name or exhibit a collision.

See [Two-Slot Manifest](#two-slot-manifest), [Hidden Hodge Witness](#hidden-hodge-witness), [Scoped Delivery Token](#scoped-delivery-token).

[See this in Paper 2's explainer](homotopical-encryption-paper2-explainer.md#two-slots-give-the-owner-something-precise-to-sign).

*Paper usage.*
[Paper 2, Native ciphertext manifests and history](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper2/sections/coupled-construction.tex#L150-L234).

<h3 id="scoped-delivery-token">Scoped Delivery Token</h3>

A **scoped delivery token** carries the transport map between two private presentations and names the recipient, epochs, and storage contexts for which it was issued.

In Paper 2, canonical token execution takes the named bytes through the recipient’s checked recovery or transport interface under the declared scope.

See [Ciphertext Transport](#ciphertext-transport), [Original-Observation Certificate](#original-observation-certificate), [Checked Decoder](#checked-decoder).

[See this in Paper 2's explainer](homotopical-encryption-paper2-explainer.md#which-bytes-the-recipient-can-read).

*Paper usage.*
[Paper 2, Scoped token delivery and recipient recovery](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper2/sections/coupled-construction.tex#L150-L234).

<h3 id="proof-subject">Certificate Subject</h3>

A **certificate subject (or proof subject)** is the statement a certificate is checked against, including the intended action, metadata, ciphertext digest, and verification profile.

Canonical decoding identifies the expected subject in the actual submission. Later checks consume the retained evidence for that same subject.

See [Signed Intent](#signed-intent), [Predecessor Gate](#predecessor-gate).

[See this in Paper 2's explainer](homotopical-encryption-paper2-explainer.md#what-the-proof-verifier-checks).

*Paper usage.*
[Paper 2, Certificate reflection at the proof boundary](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper2/sections/coupled-construction.tex#L239-L319).

<h3 id="predecessor-gate">Predecessor Gate</h3>

A **predecessor gate** requires a later verification step to include the required earlier checks on the same submitted evidence bundle.

See [Certificate Subject](#proof-subject), [Original-Observation Certificate](#original-observation-certificate).

[See this in Paper 2's explainer](homotopical-encryption-paper2-explainer.md#what-the-proof-verifier-checks).

*Paper usage.*
[Paper 2, Certificate reflection at the proof boundary](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper2/sections/coupled-construction.tex#L239-L319).

<h3 id="common-reference-string">Common Reference String</h3>

A **common reference string (CRS)** is setup data shared by a prover and verifier and used by their proof algorithms.

Paper 2's approved owner checker fixes the program, verifier key, and common reference string expected by the selected profile.

See [Certificate Subject](#proof-subject), [Release Simulation](#release-simulation).

[See this in Paper 2's explainer](homotopical-encryption-paper2-explainer.md#a-forgery-bound-for-the-raw-matrix-hash).

[Paper 2, Bounded adaptive CRS reference construction](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper2/sections/coupled-construction.tex#L509-L595).

<h3 id="release-simulation">Release Simulation</h3>

A **release simulation** is a model of the public release whose evidence and accompanying state can be compared with the output of the actual release.

Paper 2 needs a joint comparison that preserves the hidden message and the live oracle cache for the recovery experiment.

See [Random Oracle](#random-oracle), [Versioned Public Instance](#versioned-public-instance), [Distinguishing Advantage](#distinguishing-advantage).

[See this in Paper 2's explainer](homotopical-encryption-paper2-explainer.md#can-an-observer-recover-the-whole-message).

*Paper usage.*
[Paper 2, Recovery after the nonce-bearing transfer release](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper2/sections/coupled-construction.tex#L377-L501).

<h3 id="scalar-fold">Scalar Fold</h3>

A **scalar fold** combines two columns into one word by multiplying the second column by a scalar challenge and adding the first.

The Paper 2 verifier fixes the retained pair before a single uniform draw and also checks the original packet.

See [Prime Field](#prime-field), [Modular Cochain Distance](#modular-cochain-distance).

[See this in Paper 2's explainer](homotopical-encryption-paper2-explainer.md#the-optional-paper-3-challenge).

*Paper usage.*
[Paper 2, A sampled check on the retained pair](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper2/sections/coupled-construction.tex#L321-L373).

<h3 id="modular-cochain-distance">Modular Cochain Distance</h3>

A **modular cochain distance** measures how much of a reduced cochain must change to make it exact, using a declared count of sites or scalar entries.

The two counts have different normalizations in the systematic two-column layout. Converting a bound to a Euclidean residual needs separate hypotheses.

See [Scalar Fold](#scalar-fold), [Exact and Coexact](#exact-and-coexact), [Hodge Projection](#hodge-projection).

[See this in Paper 2's explainer](homotopical-encryption-paper2-explainer.md#the-optional-paper-3-challenge).

*Paper usage.*
[Paper 3, Distances for the committed cochain](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper3/sections/07-application-interface.tex#L1-L20).

## Nearest Points, Complexity, and Verification

<h3 id="closest-vector-problem">Closest Vector Problem</h3>

The **closest vector problem (CVP)** asks for a closest lattice point given a lattice basis and a target in Euclidean space.

Orthogonal projection solves the continuous subspace problem and gives the discrete answer if the projection belongs to the lattice, as it does for operative ciphertexts here.

See [Orthogonal Projection](#orthogonal-projection), [Closest-Vector Oracle](#closest-vector-oracle), [Harmonic Cochain Problem](#harmonic-cochain-problem).

[Micciancio, §1](https://cseweb.ucsd.edu/~daniele/papers/CVPP.pdf),
[Paper 1, §4.1 and Proposition 4.2](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/03-cvp-comparison.tex).

<h3 id="closest-vector-oracle">Closest-Vector Oracle</h3>

A **closest-vector oracle** is an ideal solver that takes a basis and target and returns one lattice minimizer, using a fixed choice if several exist.

Both Paper 1 decoders can call the same solver fixed independently of the challenge and the byte random oracle.

See [Closest Vector Problem](#closest-vector-problem), [Byte-Query Budget](#byte-query-budget).

[Paper 1, §§4.1 and 4.5, Theorem 4.13](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/03-cvp-comparison.tex).

<h3 id="residual-and-closest-point-gap">Residual and Closest-Point Gap</h3>

The **residual** is the ciphertext vector minus its harmonic projection. The **closest-point gap** is the difference between the smallest and the next distinct squared distances from a target to points in the same lattice.

For $n>0$ the gap in each fresh-sign lattice in Paper 1 is $d+1$. Every compatible fresh-sign lattice has the same minimum squared distance $a^2+d(d+1)n$.

See [Hodge Opening](#hodge-opening), [Gram Matrix](#gram-matrix), [Closest Vector Problem](#closest-vector-problem).

*Paper usage.*
[Paper 1, Propositions 4.3 and 4.11](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/03-cvp-comparison.tex).

<h3 id="operative-recovery">Operative Recovery</h3>

In Paper 1, **operative recovery** returns the harmonic cochain selected by the sampled witness.

At positive scale this is equivalent to returning the entire original fresh-sign message. With only the ciphertext and public class the optimum is $2^{-n}$ for uniform independent draws. With the generating basis the decoder succeeds with probability one.

See [Ciphertext Fiber](#ciphertext-fiber), [Finite Disclosure](#finite-disclosure), [Closest-Vector Oracle](#closest-vector-oracle).

*Paper usage.*
[Paper 1, Definitions 2.3–2.4](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/02-harmonic-cochain-problem.tex),
[Paper 1, Propositions 4.10–4.12 and Theorem 4.13](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/03-cvp-comparison.tex).

<h3 id="polynomial-time-reduction">Polynomial-Time Reduction</h3>

A **polynomial-time reduction** is a transformation or oracle algorithm that solves one problem using a solver for another with overhead polynomial in input bit length.

Paper 1 reduces full-column-rank rational CVP search to nearest-point search in one constructed coupled harmonic lattice whose basis is supplied.

See [Closest Vector Problem](#closest-vector-problem), [NP-Completeness](#np-completeness).

[Karp, §2](https://doi.org/10.1007/978-1-4684-2001-2_9),
[Paper 1, Proposition 4.4](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/03-cvp-comparison.tex).

<h3 id="encoded-machine-realization">Encoded Machine Realization</h3>

An **encoded machine realization** implements a reduction or verifier on a specified machine model acting on encoded inputs.

Paper 1's class-level Lean theorem takes polynomial-time single-tape realizations of the concrete reduction and verifier as premises. Other lemmas check their mathematical input–output relations.

See [NP-Completeness](#np-completeness), [Polynomial-Time Reduction](#polynomial-time-reduction), [Statement–Lean Correspondence](#statement-lean-correspondence).

[See this in Paper 1's explainer](homotopical-encryption-paper1-explainer.md#checking-the-claims-against-lean).

*Paper usage.*
[Paper 1, Appendix A.1, P1-N09 (decision), lines 140–153](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/appendices.tex).

<h3 id="np-completeness">NP-Completeness</h3>

**NP-completeness** is the property of a decision problem whose yes answers have polynomial-time verifiable certificates and to which every problem in NP reduces in polynomial time.

The paper proves this for a threshold problem with integer parity targets and the integer coupling supplied as variable input. For a supplied fresh-sign basis, CVP reduces to independent rounding.

See [Polynomial-Time Reduction](#polynomial-time-reduction), [Subset Sum](#subset-sum), [Worst Case and Average Case](#worst-case-and-average-case).

[Karp, §2](https://doi.org/10.1007/978-1-4684-2001-2_9),
[Paper 1, §4.4 and Corollary 4.5](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/03-cvp-comparison.tex).

<h3 id="subset-sum">Subset Sum</h3>

**Subset Sum** asks whether some subset of the given binary-encoded integer weights sums to the given integer target.

Paper 1 reduces this problem to its parity-target threshold decision problem.

See [NP-Completeness](#np-completeness).

[Karp, problem 18, KNAPSACK](https://doi.org/10.1007/978-1-4684-2001-2_9),
[Micciancio, §3](https://cseweb.ucsd.edu/~daniele/papers/CVPP.pdf),
[Paper 1, Corollary 4.5](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/03-cvp-comparison.tex).

<h3 id="statement-lean-correspondence">Statement–Lean Correspondence</h3>

The **statement–Lean correspondence** is a table mapping selected manuscript claims to their Lean declarations and premises.

The complexity row distinguishes checked binary reduction and verifier facts from the machine-realization premises of a class-level theorem.

See [Axiom Audit](#axiom-audit), [NP-Completeness](#np-completeness).

*Paper usage.*
[Paper 1, Appendix A.1, entry P1-N09 (decision)](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/appendices.tex),
[Lean Language Reference, Validating a Lean Proof](https://lean-lang.org/doc/reference/latest/ValidatingProofs/).

<h3 id="axiom-audit">Axiom Audit</h3>

An **axiom audit** is an inspection of the axioms a formal theorem relies on, including through dependencies.

Paper 1 records an audit of the historical Palomar selection at its own pin. Whether a Lean theorem captures the intended informal claim is a separate question.

See [Statement–Lean Correspondence](#statement-lean-correspondence).

[Paper 1, Appendix A.2](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/appendices.tex),
[Paper 1 repository, Historical Palomar verification record](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/lean/Palomar/PaperOne/README.md),
[Lean Language Reference, Printing Axioms](https://lean-lang.org/doc/reference/latest/ValidatingProofs/).

<h3 id="worst-case-and-average-case">Worst Case and Average Case</h3>

A **worst-case** result concerns the hardest inputs at a given size. An **average-case** result concerns inputs drawn from a specified distribution.

Paper 1 gives worst-case hardness for the supplied-matrix parity decision problem and a separate recovery comparison for its sampled fresh-sign inputs.

See [NP-Completeness](#np-completeness), [Fresh-Sign Profile](#fresh-sign-profile), [Operative Recovery](#operative-recovery).

[Paper 1, Corollary 4.5 and Theorem 4.13](https://github.com/what-social-construct/homotopical-encrypt/blob/eac922d4b54a6375f53bac0bb1522dec5c4dbd09/papers/paper1/sections/03-cvp-comparison.tex),
[Regev, §1](https://cims.nyu.edu/~regev/papers/qcrypto.pdf).

## Structured Glossary

Last source check 2026-12-01. The [records](glossary.yaml) and [schema](glossary.schema.json) define the term IDs and required citations.

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