Jones gap dichotomy for Diophantine triples
Proveddiophantine_jones_lemmadiophantine-equationsnumber-theory
Let with , ac+1\ square and bc+1\ square. Then either (the Euler case) or . This is Lemma 4 of B. W. Jones, A second variation on a problem of Diophantus and Davenport, Fibonacci Quart. 16 (1978), restated as Lemma 1 in Section 3 of B. He, A. Togbe and V. Ziegler, arXiv:1610.04020v2. The non-Euler case is the platform theorem diophantine_triple_non_euler_lower_bound; the Euler case is definitional.
Preamble
import Mathlib.Tactic
Formal statement
theorem diophantine_jones_lemma (a b c r : Nat)
(ha : 0 < a) (hab : a < b) (hbc : b < c)
(hr : a * b + 1 = r ^ 2)
(hs : ∃ s : Nat, a * c + 1 = s ^ 2)
(ht : ∃ t : Nat, b * c + 1 = t ^ 2) :
c = a + b + 2 * r ∨ 4 * a * b < c := by sorrySource
B. W. Jones, A second variation on a problem of Diophantus and Davenport, Fibonacci Quart. 16 (1978), 155-165, Lemma 4; via B. He, A. Togbe and V. Ziegler, arXiv:1610.04020v2, Section 3, Lemma 1