CDH ⇒ DLOG:
ProvedCryptologyCity.cdh_to_dlogLet generate a group of order . For every DLOG adversary , define the CDH adversary : run to obtain and output . Then
import Definitions.Def_CryptologyCity_DLogGames open scoped ENNReal
namespace CryptologyCity
theorem cdh_to_dlog {G : Type*} [Group G] [DecidableEq G] (g : G) (p : ℕ) [NeZero p]
(hg : IsCyclicGroupOfOrder g p) (A : DLogAdversary G p) :
dlogAdv g p A ≤ cdhAdv g p (fun X Y => (A X).map fun x' => Y ^ x'.val) := by sorry
end CryptologyCityRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let be any group with decidable equality, , and a natural number with ; assume (every element of is an integer power of , and has order exactly ; need not be prime). Let be an arbitrary DLOG adversary (no efficiency restriction). Define the CDH adversary by: on input , sample and output (natural-number power by the canonical representative ); ignores nothing else and makes exactly one call to , on only. The theorem asserts, as an inequality in ,
with (resp. ) uniform and independent in and the product in . Only is claimed, not equality.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.