Correctness of the Inner-Outer Ajtai Commitment #
Perfect correctness for lawful gadget decompositions: if the message and inner gadget decompositions invert their gadget matrices, an honest commitment always verifies.
References #
Honest message decompositions recover the message: G · sᵢ = mᵢ (derivedMessage = m).
Honest message decompositions pass the message gadget checks.
Honest inner decompositions satisfy the inner gadget relation G · t̂ᵢ = A sᵢ.
Honest inner decompositions pass the inner gadget checks.
Concrete instantiation over ZMod q #
The genuine base-b (binary) gadget decomposition zmodDigitDecomposition instantiates the
inner-outer commitment over R = ZMod q, giving perfect correctness whenever 1 < b, every
residue fits in the chosen digit count (q ≤ b ^ digits), and 1 ≤ deg φ.
Perfect correctness of the inner-outer Ajtai commitment for lawful decompositions.
The honest opening uses the trivial challenge cᵢ = 1, under which verify_weak reduces to the
ordinary honest check. Correctness therefore needs, beyond gadget lawfulness:
- the trivial challenge is an admissible challenge:
0 < ‖1‖₁and‖1‖₁ ≤ κ; - each honest message decomposition is
ℓ₂²-short:‖sᵢ‖₂² ≤ βSq; - the flattened honest inner decomposition is
ℓ∞-short:‖t̂‖∞ ≤ γ.
The gadget relations (derivedMessage = m, inner A sᵢ = G t̂ᵢ, outer commit) hold structurally
from lawfulness; the bounds are exactly the weak-verifier side conditions for the honest case.
Perfect correctness for genuine base-b (Hachi gadget G⁻¹) decompositions, modulo the
weak-verifier shortness side conditions. Instantiates perfectlyCorrect_of_lawful with
gadgetDecompose (lawful by gadgetDecompose_lawful), discharging gadget lawfulness; the
trivial-challenge admissibility (hκpos, hκle) and the honest shortness bounds (hβ, hγ)
remain explicit. For the concrete binary decomposition they are discharged unconditionally by
perfectlyCorrect below (via Rq.l1Norm_one and the GadgetNorms bounds).
Unconditional perfect correctness with the concrete binary decomposition. Both message
and inner decompositions are the genuine base-b digit decomposition of ZMod q
(zmodDigitDecomposition, the Hachi gadget inverse G⁻¹). All weak-verifier side conditions are
discharged automatically: the trivial challenge cᵢ = 1 is short (Rq.l1Norm_one), and the
digit decompositions are short (GadgetNorms), with βSq := (mr·md)·(deg φ)·(b-1)² and
γ := b - 1. The hypotheses are exactly those for reconstruction (1 < b, q ≤ bᵈⁱᵍⁱᵗˢ,
1 ≤ deg φ, positive digit counts), plus 1 ≤ κ and the no-wraparound condition b - 1 ≤ q/2
for the centered digit norm.