Exact gcd cancellation and its finite modular criterion
ProvedEulerMascheroni.Arithmetic.pade_exact_cancellationcontinued-fractionsformalizationnumber-theory
For the classical Euler–Gompertz Padé numerator and denominator sequences, define . Then
For every positive integer , this has the exact finite criterion
The Casoratian is . Any common divisor of consequently divides both terms on the right side of the gcd formula. Conversely, adjacent denominator coprimality supplies a Bézout identity for , which shows that any common divisor of also divides . Denominator periodicity modulo gives the residue criterion.
Taking to be a prime power describes every possible cancellation in the primitive integer linear form . This is an exact arithmetic description, not a claim that the resulting forms tend to zero.
Preamble
import Definitions.Def_eulerMascheroni_padeTransform open EulerMascheroni.Arithmetic
Formal statement
theorem EulerMascheroni.Arithmetic.pade_exact_cancellation (n : ℕ) :
Int.gcd (padeP (n+1)) (padeQ (n+1)) = Int.gcd (padeQ (n+1)) ((n.factorial:ℤ)^2) ∧
∀ d : ℕ, 0 < d →
(d ∣ Int.gcd (padeP (n+1)) (padeQ (n+1)) ↔
(d:ℤ) ∣ (n.factorial:ℤ)^2 ∧ (padeQ ((n+1)%d) : ZMod d) = 0) := by sorry
Source
Explicit deductions from the classical Laguerre Padé recurrence and its Casoratian. For the recurrence and approximation family see Hessami Pilehrood and Hessami Pilehrood, On a continued fraction expansion for Euler's constant, https://arxiv.org/abs/1010.1420, the Euler–Gompertz continued fraction (34) and the following discussion. The exact cancellation and modular deductions here are supplied with complete Lean proofs; no mathematical novelty is claimed.