Concrete depth fit for GSW decryption #
The complete raw-input decryptor and its two-copy NAND augmentation compile to fewer layers than
DepthParameters.depthBudget, for every security parameter. This is an arithmetic budget result;
it does not assume or establish LWE hardness or circular security.
Main results #
Cslib.Crypto.Homomorphic.GSW.DecryptionCircuit.layers_augment_le_depthBudget: the actual augmented circuit's layer count fits the existing GSW parameter family.
theorem Cslib.Crypto.Homomorphic.GSW.DecryptionCircuit.layers_augment_le_depthBudget (security : ℕ) :
(Circuits.Boolean.Layered.compile
(inputWidth (Parameters.dimension security) (DepthParameters.width security) + inputWidth (Parameters.dimension security) (DepthParameters.width security))
(augmentNand (circuit (Parameters.dimension security) (DepthParameters.width security))).code).1.length ≤ DepthParameters.depthBudget security
Two microlevels per De Morgan level, including the actual NAND augmentation, fit the budget.