> For the complete documentation index, see [llms.txt](https://luminousxlb.gitbook.io/cryptography/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://luminousxlb.gitbook.io/cryptography/chapter-8-number-theory-and-cryptographic-hardness-assumptions/unresolved-exercise-8.15.md).

# (Unresolved) Exercise 8.15

### Problem

Formally define the CDH assumption. Prove that hardness of the CDH problem relative to $$\mathcal{G}$$ implies hardness of the discrete-logarithm problem relative to $$\mathcal{G}$$, and that hardness of the DDH problem relative to $$\mathcal{G}$$ implies hardness of the CDH problem relative to $$\mathcal{G}$$.

### Solution
