The GCH is the statement that $\forall \kappa \geq \aleph_0 : 2^\kappa = \kappa^+$. That is, $\forall \alpha :2^{\aleph_\alpha}=\aleph_{\alpha+1}$.
I was told that the Generalized Continuum Hypothesis is equivalent to the following identities. I'm curious of the proof but have no idea how to work it out.
$\sum_{\mu <\kappa}2^{\mu}=\kappa$.
$\kappa^{\text{cf}(\kappa)}=\kappa^+$ for any infinite $\kappa$.
To be clear on definitions: $\kappa^+$ is a successor cardinal; $\text{cf}(\kappa)$ denotes the cofinality of $\kappa$, which is the least limit ordinal $\theta$ cut that there is an increasing sequence over $\theta$ that is cofinal in $\kappa$.
I'd appreciate it if someone could explain these proofs.