Determinant Formula for Generalized Continued Fraction #
We derive the so-called determinant formula for GenContFract:
Aₙ * Bₙ₊₁ - Bₙ * Aₙ₊₁ = (-a₀) * (-a₁) * .. * (-aₙ).
References #
theorem
SimpContFract.determinant
{K : Type u_1}
[Field K]
{s : SimpContFract K}
{n : ℕ}
(not_terminatedAt_n : ¬(↑s).TerminatedAt n)
:
The determinant formula Aₙ * Bₙ₊₁ - Bₙ * Aₙ₊₁ = (-1) ^ (n + 1) for SimpContFract.