Fermat's Last Theorem for exponent 13
ProvedfermatLastTheoremThirteenThe theorem asserts FermatLastTheoremFor 13, the Mathlib predicate which, unfolded, says: for all natural numbers , , with , and , one has . There are no hypotheses and no variables: the statement is a closed assertion about the single exponent , phrased entirely in Mathlib terms (the predicate is the instance of FermatLastTheoremWith over with exponent , i.e. nonvanishing of the Fermat form with all three variables nonzero; by the standard Mathlib transfer lemmas this is equivalent to the corresponding statements over or , but only the natural-number form is asserted here). Nothing about Frey curves, modular forms or Galois representations enters; the result is obtained from the project's theorem flt_regular, which proves FermatLastTheoremFor p for an odd prime satisfying a class number condition, namely that is coprime to the (finite) cardinality of ClassGroup (𝓞 (CyclotomicField p ℚ)), the class number of the -th cyclotomic field. For this condition is verified in the strongest possible way, by showing that the class number equals .
This is Kummer's theorem on regular prime exponents specialised to , being regular because has class number one; the formal statement is the exponent- instance only, with no quantification over regular primes and no reference to Bernoulli numbers, the regularity input being supplied in the form of a class-number-one statement. Unlike the textbook formulation over , the conclusion is stated for nonzero natural numbers. It is used in FreyPackage.frey_no_cofixed_small, where the cases of the exponent of a Frey package are excluded outright, so that the small-exponent cases of the main line of argument can be dispatched without the Frey-curve machinery.
import Mathlib set_option maxHeartbeats 4000000 set_option synthInstance.maxHeartbeats 400000 set_option backward.isDefEq.respectTransparency.types false
theorem fermatLastTheoremThirteen : FermatLastTheoremFor 13 := by sorry