Cantor normal form theorem