Total serialized GSW decryption and NAND #
The algorithms read the existing fixed-width, row-major words. Missing bits are false and
excess bits are ignored. Arithmetic uses signed subtraction before reduction modulo 2 ^ w;
NAND retains integer matrix-product counts before decomposing the resulting residues.
Main definitions #
decryptResidue,decryptSerialized: the selected modular row product and its scalar decoder.nandEntry,nandSerialized: the actual modular NAND computation and complete output word.
Main results #
decryptSerialized_eq,nandSerialized_eq: agreement with the typed operations on all words.length_nandSerialized: the exact square ciphertext width on every input.decryptSerialized_nand: correctness from the actual input error equations and bounds.keyGenSerialized_encrypt_correct,keyGenSerialized_nand_correct: correctness for every supported draw of the actual word-valued key generator and encryption programs.
References #
A raw residue word is exactly the recomposition of the decoded ciphertext bits.
Signed word arithmetic returns exactly the selected modular phase of the decoded inputs.
The total word algorithm is the original decryption of the total decoded inputs.
Canonical words decrypt exactly as their typed secret and ciphertext.
A computed NAND word is the canonical residue of the typed row product.
The actual NAND program agrees with the typed operation for every pair of raw words.
Decoding a raw NAND result recovers the typed operation on the decoded inputs.
Canonical input words produce the canonical word of their actual typed NAND.
The actual serialized NAND retains the exact propagated integer error equation.
Any raw ciphertext satisfying the modular equation decrypts under the original strict noise margin. The ciphertext may be an output of previous homomorphic operations.
Canonical actual encryption words decrypt under exactly the typed fresh-noise hypotheses.
NAND on arbitrary raw ciphertext words is correct under the original propagated-noise margin. No freshness, support, or canonical-length premise is added.
Every supported actual key and encryption word is correct under the existing fresh margin.
Every pair of supported fresh actual encryption words has a correct actual NAND under the same strict fresh-NAND margin as the typed sampler theorem.