Fermat's Last Theorem for exponent 11
ProvedfermatLastTheoremElevenThe theorem asserts FermatLastTheoremFor 11, i.e. the Mathlib predicate stating that for all natural numbers , , with , and one has . There are no parameters and no hypotheses: this is a closed statement about the exponent only, phrased entirely in Mathlib terms (no project-specific notion occurs in it). Note that, as with Mathlib's FermatLastTheoremFor, the quantification is over natural numbers with all three variables nonzero; the equivalent formulations over the integers or over nonzero rationals are not what is literally asserted here, though they are standard consequences. In particular nothing about the cases with one of the variables zero, or about other exponents, is claimed.
This is Fermat's Last Theorem for the regular prime exponent , in the form going back to Kummer's treatment of regular primes; the formal statement is the Mathlib predicate for a single exponent rather than the general theorem, and the input " is regular" is here supplied in the sharper shape . Within the project it is used to dispose of the exponent in the Frey-package analysis: FreyPackage.frey_no_cofixed_eleven appeals to it when the Frey package's exponent is , the hypotheses of such a package then being contradictory.
import Mathlib set_option maxHeartbeats 4000000 set_option synthInstance.maxHeartbeats 400000 set_option backward.isDefEq.respectTransparency.types false
theorem fermatLastTheoremEleven : FermatLastTheoremFor 11 := by sorry