Skip to content

feat(FermatLastTheorem): Generalize FLT statement#14270

Closed
jcpaik wants to merge 2 commits intomasterfrom
flt-general-statement
Closed

feat(FermatLastTheorem): Generalize FLT statement#14270
jcpaik wants to merge 2 commits intomasterfrom
flt-general-statement

Conversation

@jcpaik
Copy link
Copy Markdown
Collaborator

@jcpaik jcpaik commented Jun 29, 2024

Generalize the statement of FermatLastTheorem to accommodate different kinds of rings (e.g. $R = k[X]$) and trivial solutions. A relevant Zulip discussion here.

Fermat's Last Theorem states the following for ring $R = \mathbb{Z}$ (or semiring $R = \mathbb{N}$).

Statement 1 ('zero' version): For any solutions to $a^n + b^n = c^n$ we have $abc=0$.

The Mason--Stothers theorem gives a polynomial variant of FLT for ring $R = k[X]$ with $k$ characteristic zero. But we have to change the notion of trivial solutions.

Statement 2 ('unit' version): For any solutions to $a^n + b^n = c^n$, the triple $(a, b, c)$ is a common multiple of $(a', b', c')$ where each $a', b', c'$ is either zero or unit.

We note the followings.

  1. For $R = \mathbb{N}, \mathbb{Z}$ the statements 1 and 2 are equivalent.
  2. However, for $R = \mathbb{Q}$ statement 1 is equivalent to full FLT but statement 2 is trivial.
  3. The equivalence of statements 1 and 2 for $R = \mathbb{N}, \mathbb{Z}$ also requires a bit of juggling with definitions albeit trivial.
  4. For $R = k[X]$, statement 1 is likely false but statement 2 is true.
  5. In "Fermat's Last Theorem over Number Fields" by N. Freitas, the author mostly mentions statement 1 as a generalization, but also mentions many 'trivial' solutions outside statement 1.

The relationship between statements 1 and 2 in general:

  1. If $R$ is a Dedekind domain (e.g. integral ring) then it seems that zero version implies the unit version.
  2. If the sum of two units in $R$ is never a unit in $R$, then the unit version implies the zero version. Here it is mentioned that the integral ring of $\mathbb{Q}(\sqrt{d})$ for $d < 0$ satisfy the condition unless $d = 2, 3, 6$.

This PR attempts to capture such minor differences in the notion of 'trivial' solutions.

  1. We provide a general statement for stating FLT with arbitrary notion of 'trivial' solutions. Then we give Statements 1 and 2 as specific instances.
  2. Since we are much more familiar with 'zero' version (Statement 1), we define the main FLT for integers with Statement 1.
  3. We show the equivalence between Statements 1 and 2 for $R = \mathbb{N}, \mathbb{Z}$
  4. We state the polynomial FLT with statement 2. This will be proved when we port the project I did with @seewoo5 here.

Open in Gitpod

@jcpaik jcpaik added WIP Work in progress RFC Request for comment labels Jun 29, 2024
@jcpaik jcpaik requested review from YaelDillies and kbuzzard June 29, 2024 19:36
@github-actions github-actions bot added the new-contributor This PR was made by a contributor with at most 5 merged PRs. Welcome to the community! label Jun 29, 2024
@github-actions
Copy link
Copy Markdown

github-actions bot commented Jun 29, 2024

PR summary e6ad86eaad

Import changes

Dependency changes

File Base Count Head Count Change
Mathlib.NumberTheory.FLT.Basic 980 984 +4 (+0.41%)

Declarations diff

+ FermatLastTheoremWithSolution
+ FermatLastTheoremWithSolutionUnit
+ FermatLastTheoremWithSolutionZero
+ FermatLastTheoremWithSolutionZero.mono
+ fermatLastTheoremWithPolynomial
- FermatLastTheoremWith
- FermatLastTheoremWith.mono

You can run this locally as follows
## summary with just the declaration names:
./scripts/no_lost_declarations.sh short <optional_commit>

## more verbose report:
./scripts/no_lost_declarations.sh <optional_commit>

@jcpaik
Copy link
Copy Markdown
Collaborator Author

jcpaik commented Jun 29, 2024

The current commits are full of sorries. I will proceed once we reach a general consensus on the right generalized statement.

@kbuzzard
Copy link
Copy Markdown
Member

kbuzzard commented Jul 7, 2024

I really don't mind what we do here. My original motivation with the definition was that I felt that mathlib should have some famous mathematical statements, such as FLT and the Riemann Hypothesis etc, even if we don't have proofs. If you want to manipulate things so that your proof of FLT for function fields fits into this framework this is fine by me, it doesn't affect my work.

@jcpaik jcpaik removed request for YaelDillies and kbuzzard July 7, 2024 23:01
@jcpaik jcpaik removed awaiting-review RFC Request for comment labels Jul 7, 2024
@ghost ghost added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Jul 8, 2024
@jcpaik jcpaik marked this pull request as draft July 19, 2024 07:59
@grunweg grunweg added the t-number-theory Number theory (also use t-algebra or t-analysis to specialize) label Aug 15, 2024
@jcpaik jcpaik closed this Aug 22, 2024
@YaelDillies YaelDillies deleted the flt-general-statement branch August 17, 2025 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) new-contributor This PR was made by a contributor with at most 5 merged PRs. Welcome to the community! t-number-theory Number theory (also use t-algebra or t-analysis to specialize) WIP Work in progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants