GGM ⇒ CDH
Statement
In the generic group model, CDH is hard in groups of prime order : every generic algorithm making group-operation queries computes from with probability , so solving CDH generically takes queries, matching baby-step giant-step — Sho97.
Sketch
Treat as indeterminates, answer group-oracle queries with random labels, record the affine polynomial each label represents, and choose only after the adversary halts. It wins only if two distinct recorded polynomials agree at or its output’s polynomial agrees with there; each is the vanishing of a nonzero polynomial of degree at most at a uniform point of , probability at most , over events.