Unique Responses and Strong Special Soundness for Sigma Protocols #
Formalizes unique responses and strong special soundness for SigmaProtocol
([BS23], Exercises 19.14(a)–(c) and 19.15(a), pp. 813–814).
Unique responses at a statement y (UniqueResponsesAt P y) ask that an accepting commitment
and challenge determine the response uniquely; UniqueResponses P asks for this at every
statement. StrongSpecialSoundness P R extract strengthens SpecialSoundness so the extractor
succeeds on any two accepting conversations with the same commitment whose (c, z) pairs differ,
not only when c ≠ c'.
For the generic linear protocol linear ψ u ι, linear_uniqueResponsesAt_iff characterizes
unique responses at y as injectivity of ψ y when C is nonempty, giving specializations for
schnorr, chaumPedersen, and linearSystem (where the homogeneous system has only the zero
solution), together with schnorr_strongSpecialSoundness for prime q and g ≠ 0. Exercises
19.14(d), 19.15(b), and 19.16 (computational strong special soundness) are outside the scope of
this module.
Main definitions #
Cslib.Crypto.Protocols.SigmaProtocol.UniqueResponsesAt: unique responses at one statement.Cslib.Crypto.Protocols.SigmaProtocol.UniqueResponses: unique responses at every statement.Cslib.Crypto.Protocols.SigmaProtocol.StrongSpecialSoundness: witness extraction from any two accepting transcripts sharing a commitment with distinct(c, z).
Main results #
Cslib.Crypto.Protocols.SigmaProtocol.SpecialSoundness.strong: special soundness and unique responses yield strong special soundness with the same extractor (Exercise 19.15(a)).Cslib.Crypto.Protocols.SigmaProtocol.StrongSpecialSoundness.specialSoundness: strong special soundness implies special soundness.Cslib.Crypto.Protocols.SigmaProtocol.linear_uniqueResponsesAt_iff,Cslib.Crypto.Protocols.SigmaProtocol.linearSystem_uniqueResponsesAt_iff: equivalence with injectivity / trivial homogeneous kernel (Exercise 19.14(c)).Cslib.Crypto.Protocols.SigmaProtocol.schnorr_uniqueResponses,Cslib.Crypto.Protocols.SigmaProtocol.chaumPedersen_uniqueResponses: unique responses whenr ↦ r • gis injective (Exercise 19.14(a)–(b)).Cslib.Crypto.Protocols.SigmaProtocol.schnorr_strongSpecialSoundness: strong special soundness of Schnorr's protocol withlinearExtract.
References #
- D. Boneh, V. Shoup, A Graduate Course in Applied Cryptography, Exercises 19.14(a)–(c) and 19.15(a), pp. 813–814.
Unique responses at one statement ([BS23], Exercise 19.14): two accepting
conversations for y with the same commitment and the same challenge have the same response.
Unique responses ([BS23], Exercise 19.14): unique responses at every statement.
Strong special soundness ([BS23], Exercise 19.15): the extractor returns a witness from two accepting conversations with the same commitment that differ in the challenge or in the response.
With unique responses at y, two accepting conversations with the same commitment and
distinct (c, z) pairs must differ in the challenge.
Strong special soundness implies special soundness, with the same extractor.
Exercise 19.15(a) ([BS23], p. 814): special soundness and unique responses give strong special soundness, with the same extractor.
The sufficient direction of linear_uniqueResponsesAt_iff, kept separately because it needs
no [Nonempty C] hypothesis.
Exercise 19.14(c) ([BS23], p. 814): when C is nonempty, the linear protocol has
unique responses at y exactly when ψ y is injective (its homogeneous system has only the trivial
solution). The exercise asks for the sufficient direction; linearSystem_uniqueResponsesAt_iff
states it for the book's systems.
Exercise 19.14(a) ([BS23], p. 813): Schnorr's protocol has unique responses when
r ↦ r • g is injective.
With at least one challenge, unique responses of Schnorr's protocol at any single statement
force r ↦ r • g to be injective.
Exercise 19.14(b) ([BS23], p. 813): the Chaum–Pedersen protocol has unique
responses when r ↦ r • g is injective, at every statement (Diffie–Hellman triple or not).
Exercise 19.14(c) ([BS23], p. 814) for linearSystem: when C is nonempty,
unique responses hold at the system s exactly when its homogenized form has only the trivial
solution. The exercise asks for the sufficient direction and prints the unique solution as
α_j = 1; the trivial solution, which is what this condition states, has every α_j = 0.
Schnorr's protocol has strong special soundness ([BS23], Exercises 19.14(a) and
19.15(a), pp. 813–814) with linearExtract. Exercise 19.17(a) ([BS23], p. 815) derives
strongly secure Fiat–Shamir signatures from special soundness and unique responses; the library
does not yet prove it.