A witness extractable commitment for a language with corresponding relation is a two round commitment protocol. The receiver's message is generated using a witness , and the sender's commitment to a bit is generated using a statement . Informally speaking, the bit can be efficiently extracted when , however, when , is statistically hidden.
Witness extractable commitments that are compact means that the size of a commitment second message does not depend on the size of the verifier circuit (except for maybe its depth).
Fix a language . By and denote the relation and the verification circuit corresponding to respectively. Also, let be the depth of .
A witness extractable commitment scheme for , is a tuple of algorithms having the following interfaces:
We consider the following properties:
where, , and .
R. Ostrovsky, A. Paskin-Cherniavsky, and B. Paskin-Cherniavsky. Maliciously circuit-private FHE. In CRYPTO, pages 536–553. 2014.
on input first message and bit , output
where, is the circuit defined below and represents the random coins used in the FHE evaluation algorithm.
:
if C(x,w)=1 then
return b
else
return 0

Extractability and completeness follow immediately from completeness of FHE.
Compactness also follows from compactness of FHE. In fact, using the FHE in [OPP14], both and only depend on .
Pseudorandomness of FHE ciphertext and public keys imply pseudorandomness of the first message.
If FHE is maliciously circuit private, then, the commitment scheme is statistically hiding.