Homotopical
Encryption
Hidden Hodge operators and the
Harmonic Cochain Problem
The abstract
Paper 1Select an underlined phrase for a definition, figure, or worked example.
We construct a family of on finite signed incidence data. Explicit give the family a common . A selects the operative presentation, which determines a and an embedded . The asks for the harmonic cochain selected by this operator, given the ciphertext and the public class. We prove exact byte recovery and ciphertext transport that preserves message coefficients across presentations. At positive scale, direct fresh-sign encryption uses a one-time pad with one fresh shared key bit per payload bit and reversibly encodes the masked message as a .
Sheaf backgroundFrom vertices to cochains
Homotopy primerWhat does the public class remember?
A homotopy changes one map continuously into another. Take the interval from 0 to 1. At time t, each point x moves to (1 − t)x. At t = 0 every point stays where it is. At t = 1 every point reaches the left endpoint.
At t = 0.00, the image is the entire interval [0, 1].
Collapsing the interval to a point and including that point back at 0 gives two maps. One round trip fixes the point. The slider shows how the other round trip is homotopic to the identity on the interval. This makes the interval and the point homotopy equivalent.
How does this work on cochains?
On the edge above, collapsing to the tail sends vertex values (2, 5) to (2, 2) and sends the edge value to zero. The change at the head is exactly the coboundary 5 − 2 = 3. On a closed assignment (a, a), the collapse and the identity already agree.
In general, cochain maps f and g are homotopic if a map K lowering degree by one satisfies f − g = δK + Kδ. On a closed cochain c, the difference is the coboundary δKc. The maps therefore give the same cohomology class. The Stacks Project · Complexes
In Paper 1, each pair of presentations at fixed dimensions has an explicit, invertible cochain map. It preserves the coboundary equations, so both presentations give the same answers to the public tests for nonzero cohomology.
For example, changing the coupling from 0 to 1 sends the harmonic lattice point (0, 1, 0) to (0, 1, 1). Both encode the coefficient 1. The public class is shared, while the private witness selects which embedded lattice is used for recovery.
Paper 1 · Same public class and message coefficientsGiven the generating lattice basis, an for the recovers the encoded harmonic cochain as the unique lattice point closest to the ciphertext. At fixed public parameters, 2n keys and 2n messages yield 2n ciphertexts, each compatible with one message per key. The corresponding lattices have distinct closest points at the same distance from that ciphertext. For independent uniform keys and messages, optimal public recovery succeeds with probability 2−n even given all these points. Supplying the generating basis raises that probability to one, a 2n-fold gain.
How does a basis generate the lattice?
Which edge values encode the message?
See the closest point in the generating lattice
One-bit geometryOne ciphertext, two closest points
The ciphertext (0, 0, 2) appears at (0, 2) in this plot. Reveal a generating key to select a closest point. Then choose transport to see where the ciphertext moves when the message stays fixed.
Related one-bit visualization in Joshua Levy’s explainerRecovery · AnimationWhere the 2n-fold gain comes from
Follow two key bits and two message bits through the fresh-sign construction. Each public ciphertext leaves four possible messages.
In the one-use experiment we also publish the , keeping its uniform 256-bit nonce private. Even with the same CVP solver fixed before the experiment, a public decoder with a budget of Q adaptive queries to the after release recovers the message with probability at most 2−n + (Q + 2)2−256. Exact squared-distance decision for integer parity targets is NP-complete when the integer coupling matrix is part of the input.
Security · Worked exampleHow to read the one-use recovery bound
In the two-bit example, a uniform guess succeeds with probability ¼. Publishing the operator commitment adds a possible advantage. The theorem bounds that advantage by (Q + 2) / 2256, where Q counts the decoder’s byte-oracle queries after release.
With ten such queries, the theorem gives an upper bound of ¼ + 12 / 2256 on full-message recovery. The decoder still has the same fixed ideal CVP solver.
Distance · Interactive plotIs a lattice point within the threshold?
Move an integer target or change the squared-distance threshold to see when the answer changes.
Paper 1 by section
IntroductionWhat does the recipient know?
Sender and recipient can share a fresh secret sign for each message bit. With one bit, the public ciphertext tells you whether the key sign and the message sign agree. If they agree, both could be positive or both negative. The recipient knows the key sign and can immediately read the message. The opening example draws both possibilities as lattice points.
§1 · PrimitivesWhy does projection undo encryption?
In the operative presentation, each ciphertext has a unique decomposition into three mutually perpendicular parts. The sender places the message in the harmonic part. The opening supplies an exact part from vertex data and a coexact part from face data. Projection onto the harmonic space removes both opening terms, however long they are.
§2 · The Harmonic Cochain ProblemWhen can one public observation have two answers?
The public input is a class and a cochain. The target is the projection of that cochain onto the kernel of the operative Hodge operator. Doubling an operator leaves its kernel and its projection unchanged. To exhibit ambiguity, the paper finds two presentations in the same public class that give different projections of the same cochain.
§3 · Coupled Hodge EncryptionWhich bytes decode to an integer message?
For a fixed integer coupling B, a harmonic lattice point has coordinates (0, z, Bz), so its information coordinates give the integer message z. The byte decoder parses the cochain, computes the projection exactly over the rationals, and checks integrality. With B = [1], the cochain (0, 0, 2) gives coefficient 1. Changing the last entry to 1 gives ½ and the decoder rejects it.
A strict cochain isomorphism identifies the public class across presentations. A second map transports a ciphertext while preserving its message and its opening coordinates. The section also proves that, under its prime and range bounds, each satisfying field assignment, including its private wires, lifts to unique bounded integers satisfying the ciphertext equations.
§3 · p. 8Finite-field checks · p. 13Explore one-bit transportRead the commitment bound
§4 · CVP Comparison and Kernel AmbiguityWhat changes when the solver knows the lattice?
On a generated fresh-sign ciphertext, an ideal CVP solver returns a unique closest point for each candidate basis. Every candidate has the same minimum squared distance. Identifying the generating basis selects the point whose information coordinates give the message signs.
For arbitrary integer parity targets the question changes. Given the coupling matrix and a squared-distance threshold, does any lattice point lie within it? The proof encodes a SUBSET SUM instance so that meeting the threshold forces every coefficient to be 0 or 1 and the selected weights to sum to the target. This decision problem is NP-complete.
ConclusionWhat changes on a second encryption?
Each ciphertext exposes the coordinatewise product of key signs and message signs. If you reuse the key and multiply the two public products, each key sign squares to 1, leaving the product of the two message signs. In bits this reveals the plaintext XOR. Knowing one plaintext also recovers the reused key.
Paper 2 takes the encrypted cell record into transactions and hash-addressed storage. Paper 3 follows a different construction from cochains to Reed–Solomon words and compares their distances from exactness and code membership.
Appendix A · Statement–Lean Parity TablesWhere can I check a theorem’s hypotheses?
Look up a manuscript statement to find its Lean declaration. For the NP-completeness result, for example, Lean checks the direct reduction and bounded certificates. The class-level theorem takes SUBSET SUM hardness and polynomial-time implementations of the encoded reduction and verifier on a single-tape machine as premises. The manuscript gives the bit-complexity argument.
Current Lean correspondence · p. 29Historical Palomar comparison · p. 33Read the Lean theorem