bp_FreyPackage
Definitionalgebragraph-theorynumber-theoryopen-problem
Frey package. A bundle of nonzero pairwise-coprime integers and a prime with , even, and . From a counterexample to FLT one can always normalize to a Frey package; the associated Frey curve then has a mod- Galois representation that the Mazur and Wiles–Taylor–Wiles theorems show cannot exist. Mirrors FreyPackage in the Imperial College FLT formalization (blueprint Def 2.5.1).
Definition code
import Mathlib.Algebra.Field.ZMod import Mathlib.Algebra.GCDMonoid.Nat import Mathlib.Algebra.EuclideanDomain.Int import Mathlib.Data.Nat.Prime.Basic /-- A *Frey Package* is a 4-tuple `(a, b, c, p)` of three nonzero pairwise-coprime integers `a`, `b`, `c` and a prime `p ≥ 5`, with `a ≡ 3 [ZMOD 4]`, `b ≡ 0 [ZMOD 2]`, and `a^p + b^p = c^p`. These conditions guarantee that the Frey curve `Y² = X(X − aᵖ)(X + bᵖ)` satisfies the running hypotheses of §4.1 of Serre [1987]. Mirrors `FreyPackage` from the Imperial College FLT formalization (https://github.com/ImperialCollegeLondon/FLT, blueprint Def 2.5.1). -/ structure FreyPackage where a : ℤ b : ℤ c : ℤ ha0 : a ≠ 0 hb0 : b ≠ 0 hc0 : c ≠ 0 p : ℕ pp : Nat.Prime p hp5 : 5 ≤ p hFLT : a ^ p + b ^ p = c ^ p hgcdab : gcd a b = 1 ha4 : (a : ZMod 4) = 3 hb2 : (b : ZMod 2) = 0
Source