Merging of the two Euclidean descents (remainder identity)
Provedburau_cf_emod_mergearithmeticcontinued-fractionseuclidean-algorithm
Merging of the two Euclidean descents. For all integers ,
because . This is the arithmetic content of the fact that the Euclidean descents of the pairs and — the two chains whose quotient lists encode the continued fractions of and of — have the same remainder at the corresponding steps.
Preamble
import Mathlib set_option autoImplicit false
Formal statement
theorem burau_cf_emod_merge (a b : ℤ) : b % (b - a) = a % (b - a) := by sorry
Source
Euclidean algorithm on Z; cf. A. Ya. Khinchin, *Continued Fractions* (1964), Ch. II.