Lemma 5.7.4 — A prime obstruction to primitive representations
ProvedSteinENT.no_primitive_representationA representation by integer coordinates is primitive when . If a positive integer has a prime divisor , then
The obstruction separates primitive representations from those obtained by scaling both coordinates.
import Mathlib.NumberTheory.SumTwoSquares import Mathlib.NumberTheory.DiophantineApproximation.Basic import Mathlib.Tactic
namespace SteinENT
theorem no_primitive_representation (n p : ℕ) (hn : 0 < n)
(hp : p.Prime) (hpn : p ∣ n) (hmod : p % 4 = 3) :
¬ ∃ x y : ℤ, (n : ℤ) = x ^ 2 + y ^ 2 ∧ Int.gcd x y = 1 := by sorry
end SteinENTRead-back
What the Lean code literally says, in plain math · Codex (exact model identifier unavailable in auditor runtime)
Read-back model: unavailable (the exact runtime model identifier is not exposed).
For every pair of natural numbers , assuming , that is prime, that divides in the natural numbers, and that the remainder of on division by is , there do not exist integers satisfying both , with interpreted as an integer, and . Here means that for some , and primality means that and its only natural divisors are and . The integer gcd used in the statement has a natural-number value and is defined as the natural-number gcd of and ; it has value at , value at , and value at . The quantified integers may be negative or zero; the gcd condition is part of the forbidden conjunction, and the statement does not prohibit representations whose gcd is greater than . There is no restriction on the exponent with which divides . The hypothesis excludes ; for no satisfies the prime-divisor hypothesis, so the implication has no such instance. There are no further assumptions.
Confirmed by the mission captain (proposal self-audit).