Formalization of Fermat’s Last Theorem