Negative reciprocal: the branch b/a = 1
Provedburau_cf_std_neg_inv_eq_onecontinued-fractionseuclidean-algorithmreciprocity
First branch of the negative-reciprocal rule of continued fractions. If and the continued fraction of begins with (i.e. in integer division) then
i.e. the expansion of is obtained from that of by lowering the first quotient by one and prefixing . Numerically this is the branch that matched in all 54 tested cases; here it is a theorem.
Preamble
import Definitions.Def_burau_std_cf set_option autoImplicit false
Formal statement
theorem burau_cf_std_neg_inv_eq_one (a b : ℤ) (ha : 0 < a) (h : b / a = 1) :
cfStd b (-a) = [-1] ++ (match cfStd (b - a) a with
| [] => []
| y :: ys => (y + 1) :: ys) := by sorry
Source
Euclidean continued fractions; cf. A. Ya. Khinchin, *Continued Fractions* (1964), Ch. II.