Euclidean division of a negated dividend (ceiling form)
Provedburau_cf_ediv_neg_of_posarithmeticcontinued-fractionseuclidean-algorithm
Euclidean division of a negated dividend. For positive integers , the Euclidean quotient of by is minus the ceiling of :
where the last quotient is the integer division. This uniform formula (no case distinction on the size of and ) is the arithmetic input that makes the continued-fraction rule a single recursion instead of a case analysis; it is used in the Euclidean-descent analysis of behind the three-strand Burau faithfulness statement.
Preamble
import Mathlib set_option autoImplicit false
Formal statement
theorem burau_cf_ediv_neg_of_pos (a b : ℤ) (ha : 0 < a) (hb : 0 < b) :
(-a) / b = -((a + b - 1) / b) := by sorry
Source
Euclidean algorithm on Z; cf. A. Ya. Khinchin, *Continued Fractions* (1964), Ch. II.