The Egyptian president has formally announced his candidacy and, lacking any real opposition in the election, is expected to win easily.