Corollaries From Approximation Lemmas (Algebra.ContinuedFractions.Computation.Approximations) #
Summary #
We show that the generalized_continued_fraction given by GeneralizedContinuedFraction.of in fact
is a (regular) continued fraction. Using the equivalence of the convergents computations
(GeneralizedContinuedFraction.convergents and GeneralizedContinuedFraction.convergents') for
continued fractions (see Algebra.ContinuedFractions.ConvergentsEquiv), it follows that the
convergents computations for GeneralizedContinuedFraction.of are equivalent.
Moreover, we show the convergence of the continued fractions computations, that is
(GeneralizedContinuedFraction.of v).convergents indeed computes v in the limit.
Main Definitions #
ContinuedFraction.ofreturns the (regular) continued fraction of a value.
Main Theorems #
GeneralizedContinuedFraction.of_convergents_eq_convergents'shows that the convergents computations forGeneralizedContinuedFraction.ofare equivalent.GeneralizedContinuedFraction.of_convergenceshows that(GeneralizedContinuedFraction.of v).convergentsconverges tov.
Tags #
convergence, fractions
Creates the simple continued fraction of a value.
Equations
- SimpleContinuedFraction.of v = { val := GeneralizedContinuedFraction.of v, property := ⋯ }
Instances For
Creates the continued fraction of a value.
Equations
- ContinuedFraction.of v = { val := SimpleContinuedFraction.of v, property := ⋯ }
Instances For
The recurrence relation for the convergents of the continued fraction expansion
of an element v of K in terms of the convergents of the inverse of its fractional part.