Arithmetic of powers of three #
The four-point catalogue reduces to a handful of Diophantine facts about powers of three.
This file isolates them. Everything is stated over ℤ; the geometric files produce the
corresponding real equations and transfer them by exact_mod_cast.
theorem
Erdos132ThreeChain.exp_tri
{c : ℝ}
(hc : 0 < c)
{p q r : ℕ}
(hpq : p ≤ q)
(hqr : q ≤ r)
(h : (c * 3 ^ r - c * 3 ^ p - c * 3 ^ q) ^ 2 ≤ 4 * (c * 3 ^ p) * (c * 3 ^ q))
:
Exponent rigidity of a chain triangle. If a triangle has squared sides c * 3 ^ p,
c * 3 ^ q, c * 3 ^ r with p ≤ q ≤ r, then either the two largest exponents agree, or the
two smallest agree and the largest exceeds them by exactly one.
theorem
Erdos132ThreeChain.isoceles_pair_solution
{j k l : ℕ}
(hjk : j ≤ k)
(hcase : j = k ∨ l = j ∧ k = j + 1 ∨ l = k)
(heq :
3 ^ j * 3 ^ j + 3 ^ k * 3 ^ k + 3 ^ l * 3 ^ l - 2 * (3 ^ j * 3 ^ k) - 2 * (3 ^ j * 3 ^ l) - 2 * (3 ^ k * 3 ^ l) + 3 ^ l = 0)
:
The four-point equation for two points equidistant from the ends of the shortest edge.