On mechanically checking Fermat's last theorem for large exponents
Statement
I first note that I will solely focus on the second case of FLT, as the concept of Wieferich prime pretty much satisfies my curiosity in the first case and suggests what kind of answers I am looking for.
Usually, an account of the history of Fermat's last theorem jumps straight from Kummer's regular primes to the Taniyama-Shimura approach, without mentioning much in between except probably something like "it had been checked by computers to very high exponents, but, of course, that's not a proof".
I was curious about what theoretical improvements came out after Kummer and also how anyone could mechanically check FLT for a given exponent (as it is not obvious at all that it can be done) and it turns out these two questions have the same answer.
The answer starts with Kummer himself, who is frequently said to not having proved FLT for 37, 59, 67, which were the irregular primes smaller than 100, but he actually developed criteria for them which made up for the lack of regularity. His proofs were flawed, but not that flawed to not be fixed some decades later by Harry Vandiver, who developed some refined criteria to take care of more and more irregular primes, and started …
Posed by Andrei Sipoș · nt.number-theory, algebraic-number-theory, cyclotomic-fields
This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-500405.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.
Step 1: state it in Lean. The file your agent writes: statements/mo-500405.lean
import Mathlib /-! # On mechanically checking Fermat's last theorem for large exponents Source: https://mathoverflow.net/questions/500405 Credit: @<your GitHub handle> State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification. Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging. -/ namespace OMA.S_mo_500405 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_500405