cyclotomic_seven_factor
Provedalgebracyclotomicelementaryflt-n7lamenumber-theoryopen-problem
Cyclotomic factoring for n = 7. The sum of two seventh powers factors as a^7 + b^7 = (a + b) * Φ₇(a, b), where Φ₇(a,b) = a^6 − a^5b + a^4b^2 − a^3b^3 + a^2b^4 − ab^5 + b^6. This is the starting point of Lamé's 1839 proof of FLT for n = 7.
Preamble
import Mathlib.Data.Int.Basic import Mathlib.Tactic.Ring
Formal statement
theorem cyclotomic_seven_factor (a b : ℤ) : a ^ 7 + b ^ 7 = (a + b) * (a ^ 6 - a ^ 5 * b + a ^ 4 * b ^ 2 - a ^ 3 * b ^ 3 + a ^ 2 * b ^ 4 - a * b ^ 5 + b ^ 6) := by sorry