Let $p$ be a prime number, $g, h$ be generators of the cyclic group $Z^{*}_{p}$ , and $f$ be defined as:
$f : \lbrace 1, . . . , p − 1\rbrace^{2} → Z^{∗}_{p}; (x,y) \rightarrow g^{x}h^{y}\;mod\;p$.
Let $(x_{1} , y_{1} ), (x_{2} , y_{2})\in \lbrace 1, . . . , p − 1\rbrace^{2}$ with $(x_{1} , y_{1} ) \neq (x_{2} , y_{2} )$ and $f (x_{1} , y_{1} ) =f (x_{2} , y_{2} )$.
I need to prove that the discrete logarithm $log_{g}(h)$ mod p can be computed efficiently.
thank you very much for any help or hints