KR00:
ProvedCryptologyCity.kr00_trapdoor_collisioncryptographycryptology-citydiscrete-logarithm
Let be prime and let generate a group of order . For every trapdoor and all , with hash key and ,
Preamble
import Definitions.Def_CryptologyCity_DLogCommitments open scoped ENNReal
Formal statement
namespace CryptologyCity
theorem kr00_trapdoor_collision {G : Type*} [Group G] (g : G) (p : ℕ) [Fact p.Prime]
(hg : IsCyclicGroupOfOrder g p) (x : ZMod p) (hx : x ≠ 0) (m r m' : ZMod p) :
pedersen g (g ^ x.val) m' (kr00TCol x m r m') = pedersen g (g ^ x.val) m r := by sorry
end CryptologyCitySource
Cryptology City, DLOG ⇒ Chameleon hash (Krawczyk–Rabin), https://cryptology.city/Reductions/prime-order-dlog-to-chameleon-hash-function-kr00 (Statement). Correctness: https://cryptology.city/Primitives/chameleon-hash-function#correctness. Krawczyk–Rabin, https://eprint.iacr.org/1998/010.
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let be a group, , and a prime with : every element of is an integer power of and has order exactly . Let with , and let be arbitrary. Put and , computed in with the field inverse. The theorem asserts
where is the canonical representative. It holds for every , including (in which case ). No probability or adversary is involved.
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.