gcd_coprime_pow
Provedcoprimedirichletelementaryfltgcdgraph-theorynumber-theoryopen-problem
GCD of coprime powers. If gcd(a, b) = 1 then gcd(a, b^n) = 1 for all n : ℕ. This follows from the fact that if a prime p divides both a and b^n, it must divide b (by Euclid's lemma applied n times), contradicting gcd(a,b)=1. Used in Dirichlet's FLT-5 proof to show gcd(D, b^4) = 1 from gcd(a+b, b) = 1.
Preamble
import Mathlib.Data.Int.Basic import Mathlib.Data.Int.GCD
Formal statement
theorem gcd_coprime_pow (a b : ℤ) (n : ℕ) (h : Int.gcd a b = 1) : Int.gcd a (b ^ n) = 1 := by sorry